mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Rename isoCode to tag (cause they are IETF tags actually)
This commit is contained in:
parent
f40b0d495d
commit
c858e0b796
5 changed files with 83 additions and 83 deletions
|
|
@ -116,7 +116,7 @@ Template.userFormsLayout.helpers({
|
|||
|
||||
languages() {
|
||||
return TAPi18n.getSupportedLanguages()
|
||||
.map(({ isoCode, name }) => ({ tag: isoCode, name }))
|
||||
.map(({ tag, name }) => ({ tag: tag, name }))
|
||||
.sort((a, b) => {
|
||||
if (a.name === b.name) {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue