Skip to content

Commit

Permalink
chore: sort languages alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWithEmad committed Aug 16, 2023
1 parent 1b7dfde commit 846de72
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export TRANSIFEX_RESOURCE = frontend-app-discussions
transifex_resource = frontend-app-discussions
transifex_langs = "ar,fr,es_419,zh_CN,tr_TR,pl,fr_CA,fr_FR,de_DE,it_IT,pt_PT,uk,ru,hi,cs,es_AR,es_ES,fa_IR"
transifex_langs = "ar,cs,de_DE,es_419,es_AR,es_ES,fa_IR,fr,fr_CA,fr_FR,hi,it_IT,pl,pt_PT,tr_TR,uk,ru,zh_CN"

intl_imports = ./node_modules/.bin/intl-imports.js
transifex_utils = ./node_modules/.bin/transifex-utils.js
Expand Down
16 changes: 8 additions & 8 deletions src/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { messages as headerMessages } from '@edx/frontend-component-header';
import { messages as paragonMessages } from '@edx/paragon';

import arMessages from './messages/ar.json';
// no need to import en messages-- they are in the defaultMessage field
import csMessages from './messages/cs.json';
import deDEMessages from './messages/de_DE.json';
import es419Messages from './messages/es_419.json';
Expand All @@ -21,26 +20,27 @@ import ruMessages from './messages/ru.json';
import trTRMessages from './messages/tr_TR.json';
import ukMessages from './messages/uk.json';
import zhCNMessages from './messages/zh_CN.json';
// no need to import en messages-- they are in the defaultMessage field

const appMessages = {
ar: arMessages,
cs: csMessages,
'de-de': deDEMessages,
'es-419': es419Messages,
'es-AR': esARMessages,
'es-ES': esESMessages,
'fa-ir': faIRMessages,
fr: frMessages,
'fr-ca': frCAMessages,
'fr-fr': frFRMessages,
hi: hiMessages,
'it-it': itITMessages,
pl: plMessages,
'tr-tr': trTRMessages,
'zh-cn': zhCNMessages,
'pt-pt': ptPTMessages,
'tr-tr': trTRMessages,
uk: ukMessages,
ru: ruMessages,
hi: hiMessages,
cs: csMessages,
'es-AR': esARMessages,
'es-ES': esESMessages,
'fa-ir': faIRMessages,
'zh-cn': zhCNMessages,
};

export default [
Expand Down

0 comments on commit 846de72

Please sign in to comment.