Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Adding English Australian to translated languages (#8192)
Browse files Browse the repository at this point in the history
* Adding English Australian to translated languages

Co-authored-by: Tom De Moor <tom@controlaltdieliet.be>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elisabeth Kulzer <elikul@elikul.de>
  • Loading branch information
4 people authored Jun 9, 2021
1 parent 9b781de commit 1e55e87
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,86 +296,91 @@ exports[`components/admin_console/SchemaAdminSettings should match snapshot with
},
Object {
"order": 2,
"text": "English Australian (Beta)",
"value": "en-AU",
},
Object {
"order": 3,
"text": "Español",
"value": "es",
},
Object {
"order": 3,
"order": 4,
"text": "Français",
"value": "fr",
},
Object {
"order": 4,
"order": 5,
"text": "Italiano",
"value": "it",
},
Object {
"order": 5,
"text": "Magyar",
"order": 6,
"text": "Magyar (Beta)",
"value": "hu",
},
Object {
"order": 6,
"order": 7,
"text": "Nederlands",
"value": "nl",
},
Object {
"order": 7,
"order": 8,
"text": "Polski",
"value": "pl",
},
Object {
"order": 8,
"order": 9,
"text": "Português (Brasil)",
"value": "pt-BR",
},
Object {
"order": 9,
"order": 10,
"text": "Română",
"value": "ro",
},
Object {
"order": 10,
"order": 11,
"text": "Svenska",
"value": "sv",
},
Object {
"order": 11,
"order": 12,
"text": "Türkçe",
"value": "tr",
},
Object {
"order": 12,
"order": 13,
"text": "Български",
"value": "bg",
},
Object {
"order": 13,
"order": 14,
"text": "Pусский",
"value": "ru",
},
Object {
"order": 14,
"order": 15,
"text": "Yкраїнська (Alpha)",
"value": "uk",
},
Object {
"order": 15,
"order": 16,
"text": "한국어 (Alpha)",
"value": "ko",
},
Object {
"order": 16,
"order": 17,
"text": "中文 (简体)",
"value": "zh-CN",
},
Object {
"order": 17,
"order": 18,
"text": "中文 (繁體)",
"value": "zh-TW",
},
Object {
"order": 18,
"order": 19,
"text": "日本語",
"value": "ja",
},
Expand Down Expand Up @@ -417,86 +422,91 @@ exports[`components/admin_console/SchemaAdminSettings should match snapshot with
},
Object {
"order": 2,
"text": "English Australian (Beta)",
"value": "en-AU",
},
Object {
"order": 3,
"text": "Español",
"value": "es",
},
Object {
"order": 3,
"order": 4,
"text": "Français",
"value": "fr",
},
Object {
"order": 4,
"order": 5,
"text": "Italiano",
"value": "it",
},
Object {
"order": 5,
"text": "Magyar",
"order": 6,
"text": "Magyar (Beta)",
"value": "hu",
},
Object {
"order": 6,
"order": 7,
"text": "Nederlands",
"value": "nl",
},
Object {
"order": 7,
"order": 8,
"text": "Polski",
"value": "pl",
},
Object {
"order": 8,
"order": 9,
"text": "Português (Brasil)",
"value": "pt-BR",
},
Object {
"order": 9,
"order": 10,
"text": "Română",
"value": "ro",
},
Object {
"order": 10,
"order": 11,
"text": "Svenska",
"value": "sv",
},
Object {
"order": 11,
"order": 12,
"text": "Türkçe",
"value": "tr",
},
Object {
"order": 12,
"order": 13,
"text": "Български",
"value": "bg",
},
Object {
"order": 13,
"order": 14,
"text": "Pусский",
"value": "ru",
},
Object {
"order": 14,
"order": 15,
"text": "Yкраїнська (Alpha)",
"value": "uk",
},
Object {
"order": 15,
"order": 16,
"text": "한국어 (Alpha)",
"value": "ko",
},
Object {
"order": 16,
"order": 17,
"text": "中文 (简体)",
"value": "zh-CN",
},
Object {
"order": 17,
"order": 18,
"text": "中文 (繁體)",
"value": "zh-TW",
},
Object {
"order": 18,
"order": 19,
"text": "日本語",
"value": "ja",
},
Expand Down
43 changes: 25 additions & 18 deletions i18n/i18n.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
/* eslint-disable import/order */
import bg from './bg.json';
import de from './de.json';
import enAU from './en_AU.json';
import es from './es.json';
import fr from './fr.json';
import hu from './hu.json';
Expand Down Expand Up @@ -39,106 +40,112 @@ const languages = {
order: 1,
url: '',
},
'en-AU': {
value: 'en-AU',
name: 'English Australian (Beta)',
order: 2,
url: enAU,
},
es: {
value: 'es',
name: 'Español',
order: 2,
order: 3,
url: es,
},
fr: {
value: 'fr',
name: 'Français',
order: 3,
order: 4,
url: fr,
},
it: {
value: 'it',
name: 'Italiano',
order: 4,
order: 5,
url: it,
},
hu: {
value: 'hu',
name: 'Magyar',
order: 5,
name: 'Magyar (Beta)',
order: 6,
url: hu,
},
nl: {
value: 'nl',
name: 'Nederlands',
order: 6,
order: 7,
url: nl,
},
pl: {
value: 'pl',
name: 'Polski',
order: 7,
order: 8,
url: pl,
},
'pt-BR': {
value: 'pt-BR',
name: 'Português (Brasil)',
order: 8,
order: 9,
url: ptBR,
},
ro: {
value: 'ro',
name: 'Română',
order: 9,
order: 10,
url: ro,
},
sv: {
value: 'sv',
name: 'Svenska',
order: 10,
order: 11,
url: sv,
},
tr: {
value: 'tr',
name: 'Türkçe',
order: 11,
order: 12,
url: tr,
},
bg: {
value: 'bg',
name: 'Български',
order: 12,
order: 13,
url: bg,
},
ru: {
value: 'ru',
name: 'Pусский',
order: 13,
order: 14,
url: ru,
},
uk: {
value: 'uk',
name: 'Yкраїнська (Alpha)',
order: 14,
order: 15,
url: uk,
},
ko: {
value: 'ko',
name: '한국어 (Alpha)',
order: 15,
order: 16,
url: ko,
},
'zh-CN': {
value: 'zh-CN',
name: '中文 (简体)',
order: 16,
order: 17,
url: zhCN,
},
'zh-TW': {
value: 'zh-TW',
name: '中文 (繁體)',
order: 17,
order: 18,
url: zhTW,
},
ja: {
value: 'ja',
name: '日本語',
order: 18,
order: 19,
url: ja,
},
};
Expand Down

0 comments on commit 1e55e87

Please sign in to comment.