Skip to content

Commit

Permalink
regenerate i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Mineev committed May 3, 2021
1 parent 9e425b6 commit 3f575a4
Show file tree
Hide file tree
Showing 18 changed files with 26 additions and 11 deletions.
1 change: 1 addition & 0 deletions frontend/app/locales/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"auth.email-address": "Email адрас",
"auth.loading": "Загрузка...",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "або",
"auth.signin": "Увайсці",
"auth.submit": "Адправіць",
Expand Down
1 change: 1 addition & 0 deletions frontend/app/locales/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"auth.email-address": "Адрес на електронна поща",
"auth.loading": "Зареждане...",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "или",
"auth.signin": "Вход",
"auth.submit": "Изпрати",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/bp.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Anterior",
"auth.email-address": "Endereço de email",
"auth.loading": "Carregando...",
"auth.oauth-source": "Use redes sociais",
"auth.oauth-button": "Entrar com {provider}",
"auth.oauth-source": "Use redes sociais",
"auth.or": "ou",
"auth.signin": "Entrar",
"auth.submit": "Enviar",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Zurück",
"auth.email-address": "E-Mail-Adresse",
"auth.loading": "Wird geladen ...",
"auth.oauth-source": "Soziales Netzwerk verwenden",
"auth.oauth-button": "Mit {provider} anmelden",
"auth.oauth-source": "Soziales Netzwerk verwenden",
"auth.or": "oder",
"auth.signin": "Einloggen",
"auth.submit": "Absenden",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Back",
"auth.email-address": "Email Address",
"auth.loading": "Loading...",
"auth.oauth-source": "Use Social Network",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "or",
"auth.signin": "Sign In",
"auth.submit": "Submit",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Volver",
"auth.email-address": "Dirección de correo electrónico",
"auth.loading": "Cargando...",
"auth.oauth-source": "Acceda a través de sus redes sociales",
"auth.oauth-button": "Inicie sesión con {provider}",
"auth.oauth-source": "Acceda a través de sus redes sociales",
"auth.or": "o",
"auth.signin": "Acceder",
"auth.submit": "Enviar",
Expand Down
1 change: 1 addition & 0 deletions frontend/app/locales/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"auth.email-address": "Sähköposti",
"auth.loading": "Ladataan...",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "tai",
"auth.signin": "Kirjaudu sisään",
"auth.submit": "Lähetä",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Retour",
"auth.email-address": "Adresse e-mail",
"auth.loading": "Chargement...",
"auth.oauth-source": "Utiliser les réseaux sociaux",
"auth.oauth-button": "Se connecter avec {provider}",
"auth.oauth-source": "Utiliser les réseaux sociaux",
"auth.or": "ou",
"auth.signin": "Se connecter",
"auth.submit": "Valider",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "戻る",
"auth.email-address": "メールアドレス",
"auth.loading": "読み込んでいます…",
"auth.oauth-source": "ソーシャルネットワークを使用",
"auth.oauth-button": "{provider} でサインイン",
"auth.oauth-source": "ソーシャルネットワークを使用",
"auth.or": "または",
"auth.signin": "サインイン",
"auth.submit": "送信",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "뒤로",
"auth.email-address": "이메일 주소",
"auth.loading": "로드 중…",
"auth.oauth-source": "소셜 네트워크 사용",
"auth.oauth-button": "{provider}(으)로 로그인",
"auth.oauth-source": "소셜 네트워크 사용",
"auth.or": "또는",
"auth.signin": "로그인",
"auth.submit": "확인",
Expand Down
1 change: 1 addition & 0 deletions frontend/app/locales/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"auth.email-address": "Adres email",
"auth.loading": "Ładuję...",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "lub",
"auth.signin": "Zaloguj się",
"auth.submit": "Potwierdź",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Назад",
"auth.email-address": "Адрес эл. почты",
"auth.loading": "Загрузка...",
"auth.oauth-source": "Использовать социальные сети",
"auth.oauth-button": "Войти через {provider}",
"auth.oauth-source": "Использовать социальные сети",
"auth.or": "или",
"auth.signin": "Войти",
"auth.submit": "Отправить",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/tr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "Geri",
"auth.email-address": "E-posta adresi",
"auth.loading": "Yükleniyor...",
"auth.oauth-source": "Sosyal Ağ Kullan",
"auth.oauth-button": "{provider} ile Oturum Aç",
"auth.oauth-source": "Sosyal Ağ Kullan",
"auth.or": "veya",
"auth.signin": "Giriş yap",
"auth.submit": "Gönder",
Expand Down
1 change: 1 addition & 0 deletions frontend/app/locales/ua.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"auth.email-address": "Email адрес",
"auth.loading": "Завантаження...",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "або",
"auth.signin": "Увійти",
"auth.submit": "Відправити",
Expand Down
1 change: 1 addition & 0 deletions frontend/app/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"auth.email-address": "Địa chỉ Email",
"auth.loading": "Đang tải...",
"auth.oauth-button": "Sign In with {provider}",
"auth.oauth-source": "Use Social Network",
"auth.or": "hoặc",
"auth.signin": "Sign In",
"auth.submit": "Gửi đi",
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"auth.back": "返回",
"auth.email-address": "电子邮件地址",
"auth.loading": "加载中...",
"auth.oauth-source": "使用社交网络",
"auth.oauth-button": "使用 {provider} 登录",
"auth.oauth-source": "使用社交网络",
"auth.or": "",
"auth.signin": "登录",
"auth.submit": "提交",
Expand Down
9 changes: 9 additions & 0 deletions frontend/app/utils/loadLocale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ export async function loadLocale(locale: string): Promise<Record<string, string>
if (locale === 'fr') {
return import(/* webpackChunkName: "fr" */ '../locales/fr.json').then((res) => res.default).catch(() => enMessages);
}
if (locale === 'ja') {
return import(/* webpackChunkName: "ja" */ '../locales/ja.json').then((res) => res.default).catch(() => enMessages);
}
if (locale === 'ko') {
return import(/* webpackChunkName: "ko" */ '../locales/ko.json').then((res) => res.default).catch(() => enMessages);
}
if (locale === 'bp') {
return import(/* webpackChunkName: "bp" */ '../locales/bp.json').then((res) => res.default).catch(() => enMessages);
}

return enMessages;
}
2 changes: 1 addition & 1 deletion frontend/tasks/supportedLocales.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["en", "ru", "de", "fi", "es", "zh", "tr", "bg", "ua", "pl", "vi", "be", "fr"]
["en", "ru", "de", "fi", "es", "zh", "tr", "bg", "ua", "pl", "vi", "be", "fr", "ja", "ko", "bp"]

0 comments on commit 3f575a4

Please sign in to comment.