From 037ade56e9463b61bdc53005e6091c8ba7ad0a60 Mon Sep 17 00:00:00 2001 From: amsul Date: Wed, 27 May 2020 15:55:21 -0400 Subject: [PATCH] Add script to validate and sync translations Signed-off-by: amsul --- .gitignore | 2 ++ .prettierrc | 9 +++++++ locales/ar_AA.json | 20 +++++++-------- locales/bg_BG.json | 20 +++++++-------- locales/cs_CZ.json | 22 ++++++++--------- locales/da_DK.json | 18 +++++++------- locales/de_DE.json | 32 ++++++++++++------------ locales/el_GR.json | 18 +++++++------- locales/es_ES.json | 22 ++++++++--------- locales/fr_FR.json | 20 +++++++-------- locales/he_IL.json | 18 +++++++------- locales/hi_IN.json | 20 +++++++-------- locales/hr_HR.json | 18 +++++++------- locales/it_IT.json | 29 +++++++++++----------- locales/ja_JP.json | 18 +++++++------- locales/ko_KR.json | 18 +++++++------- locales/nl_NL.json | 24 +++++++++--------- locales/pt_BR.json | 10 ++++---- locales/ro_RO.json | 18 +++++++------- locales/ru_RU.json | 18 +++++++------- locales/th_TH.json | 18 +++++++------- locales/tr_TR.json | 29 ++++++++++------------ locales/zh_CH.json | 20 +++++++-------- package.json | 5 ++++ scripts/validate.ts | 60 +++++++++++++++++++++++++++++++++++++++++++++ yarn.lock | 8 ++++++ 26 files changed, 298 insertions(+), 216 deletions(-) create mode 100644 .gitignore create mode 100644 .prettierrc create mode 100644 package.json create mode 100644 scripts/validate.ts create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..4fa9d148 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.DS_Store +node_modules diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..df0ad827 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,9 @@ +{ + "printWidth": 80, + "singleQuote": true, + "jsxSingleQuote": true, + "semi": false, + "useTabs": false, + "tabWidth": 2, + "trailingComma": "all", +} diff --git a/locales/ar_AA.json b/locales/ar_AA.json index 19f9763a..9ae29046 100644 --- a/locales/ar_AA.json +++ b/locales/ar_AA.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/bg_BG.json b/locales/bg_BG.json index df78397e..ae62ab03 100644 --- a/locales/bg_BG.json +++ b/locales/bg_BG.json @@ -266,7 +266,7 @@ "security": "Сигурност", "limits": "Лимити", "accounts": "Акаунти", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Провали се да зареди.", "failed-button": "Провали се да зареди", - "failed-please-try": "<0>Провали се да зареди. Моля\u00A0<1>опитайте отново.", + "failed-please-try": "<0>Провали се да зареди. Моля <1>опитайте отново.", "why-this-may-happening": "Разберете защо това се случи <0>тук." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/cs_CZ.json b/locales/cs_CZ.json index a2e128bc..c56edfcf 100644 --- a/locales/cs_CZ.json +++ b/locales/cs_CZ.json @@ -266,7 +266,7 @@ "security": "Bezpečnost", "limits": "Limity", "accounts": "Účty", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Nahrání selhalo.", "failed-button": "Nahrání selhalo.", - "failed-please-try": "<0>Nahrání selhalo. Prosím\u00A0<1>zkuste to znovu.", + "failed-please-try": "<0>Nahrání selhalo. Prosím <1>zkuste to znovu.", "why-this-may-happening": "Zjistěte prosč se to mohlo stát <0>zde." }, "datetime": { @@ -614,7 +614,7 @@ "header": "Záloha tajných slov", "desc-1": "Vašich 12 tajných slov může být použito k získání přístupu k vašim ETH, NEO a dalším účtům pokud ztratíte přístup ke svému heslu.", "desc-2": "Nezapomeňte: pokud někdo získá přístup k vašim 12 tajným slovům, budou vaše finanční prostředky v ohrožení.", - "desc-3": "Roztříhněte papír se zálohou na dvě části, zavžte jestli je nezalaminovat a neuložit na dvě různá bezpečná místa." + "desc-3": "Roztříhněte papír se zálohou na dvě části, zavžte jestli je nezalaminovat a neuložit na dvě různá bezpečná místa." }, "repeat-secret-words": { "header": "Znovu napsání vašich 12 tajných slov.", @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Vaše oblíbené trhy se\u00A0zobrazí jako odkyza zde.", + "empty": "<0>Vaše oblíbené trhy se zobrazí jako odkyza zde.", "tips": "<0>Tip <1>Přidejte si sem vaše oblíbené trhy. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Pro zobrazení vašich obchodních příkazů se přihlašte.", "signed-out": { - "title": "<0>Vyzkoušet<1>\u00A0Nash", + "title": "<0>Vyzkoušet<1> Nash", "subtitle": "Během miuty si vytvořte účet – žádné KYC není ptřeba!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Přihlásit se", "sign-out": "Odhlásit se", "password-strength": { - "label": "Bezpečnost hesla", "0": "Velice slabá", "1": "Slabá", "2": "Střední", "3": "Silná", - "4": "Velice silná" + "4": "Velice silná", + "label": "Bezpečnost hesla" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Zapomenuté heslo", "header": "Zapomněli jste heslo?", - "desc": "Zadejte vaši emailovou adresu níže a my vám\u00A0s\u00A0tím\u00A0pomůžeme.", + "desc": "Zadejte vaši emailovou adresu níže a my vám s tím pomůžeme.", "fields": { "email": { "label": "Emailová adresa", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/da_DK.json b/locales/da_DK.json index 31470267..c6a96346 100644 --- a/locales/da_DK.json +++ b/locales/da_DK.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/de_DE.json b/locales/de_DE.json index 14816639..00d0829e 100644 --- a/locales/de_DE.json +++ b/locales/de_DE.json @@ -21,7 +21,7 @@ "not-available-short": "N/A", "set-price": "Preis festlegen", "market": "Markt", - "Market price": "Marktpreis", + "market-price": "Market price", "exchange": "Börse", "receive": "Empfangen", "wallet": "Wallet", @@ -566,8 +566,7 @@ "tab-title": "Konto einrichten", "steps": [ "Allgemeine Informationen", - "Zwölf Geheimwörter", - "Zwei-Faktor-Authentifizierung (2FA)" + "Zwölf Geheimwörter" ], "general-information": { "title": "Allgemeine Informationen", @@ -1072,12 +1071,12 @@ "sign-in": "Anmelden", "sign-out": "Abmelden", "password-strength": { - "label": "Passwortstärke", "0": "Sehr schwach", "1": "Schwach", "2": "Mittel", "3": "Stark", - "4": "Sehr stark" + "4": "Sehr stark", + "label": "Passwortstärke" }, "password-form": { "password": { @@ -1177,7 +1176,7 @@ "forgot-password": { "tab-title": "Passwort vergessen", "header": "Habst du dein Passwort vergessen?", - "desc": "Gib unten deine E-Mail-Adresse ein und wir setzen das\u00A0Passwort\u00A0zurück.", + "desc": "Gib unten deine E-Mail-Adresse ein und wir setzen das Passwort zurück.", "fields": { "email": { "label": "E-Mail-Adresse", @@ -1716,7 +1715,10 @@ "title": "Wählen Sie einen Anbieter", "verify-identity": "<0>Ihre Identität überprüfen um anzufangen.", "subtitle": "Anbieter digitaler Assets sind Drittunternehmen, die mit Nash zusammenarbeiten und Ihnen den Kauf und Verkauf digitaler Assets in Landeswährung ermöglichen.", - "steps": "['Persönliche Angaben', 'Adressdaten']", + "steps": [ + "[", + "'" + ], "assets-available": "Verfügbare Vermögenswerte", "payments-methods": "Zahlungsmethoden", "general-details": "Limits und Gebühren", @@ -1995,8 +1997,6 @@ "cancel-sell-past-amount": "Stornierter Verkauf von <0 />", "fail-buy-past-amount": "Kauf fehlgeschlagen <0 />", "fail-sell-past-amount": "Verkauf fehlgeschlagen <0 />", - - "success-sell-past-amount": "Verkauft <0 />", "success-buy-past-amount": "Gekauft <0 />", "btn-confirm": "Siehe", @@ -2232,7 +2232,7 @@ "save": "Soz.vers.nr. einreichen", "field": "Sozialversicherungsnummer", "warning": "Ich verstehe, dass mein Konto nach erneuter Übermittlung meiner Adresse noch einmal überprüft werden muss und ich keine Käufe oder Verkäufe tätigen kann, bis die Überprüfung abgeschlossen ist.", - "placeholder": "" + "placeholder": "000-00-0000" }, "proof": { "add": "Adressnachweis hochladen", @@ -2497,7 +2497,7 @@ "submit-btn": "Kauf bestätigen", "taken-from-bank": "Vom Bankkonto übernommen", "taken-from-card": "Auf Karte aufgeladen", - "quote-accepted-title": "Angebot akzeptiert", + "quote-accepted-title": "Angebot akzeptiert", "title": "Digitale Assets kaufen", "total-cost": "Gesamtkosten", "total-with-provider-fee": "Total mit Gebühren", @@ -2936,7 +2936,7 @@ "title-initializing": "Transfer initializing…", "desc": "Besuche <0>Transaktionen, um den Status zu verfolgen.", "warning": "Das ganz bis zu einer Stunde dauern.", - "remain-opened": "", + "remain-opened": "Please keep Nash open while your transfer initializes. If you close Nash or sign out, it will be paused until you sign in again.", "buttons": { "finish": "Verstanden!" } @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Zwei-Faktor-Authentifizierung aktivieren", "1": { "header": "Authentifizierungs-App installieren", "desc": "Wir empfehlen <0>LastPass Authenticator, <1>Authy oder <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Den Code von deiner App eingeben", "input-placeholder": "Authentifizierungscode" - } + }, + "title": "Zwei-Faktor-Authentifizierung aktivieren" }, "disable-2fa": { "title": "Zwei-Faktor-Authentifizierung deaktivieren", @@ -3869,7 +3869,7 @@ "create-stake-sending-text": "Daten werden gesendet. Bitte lasse dieses Fenster offen. Dieser Vorgang kann bis zu einer Minute dauern.", "create-stake-error": "Es gab entweder einen Fehler oder eine Verzögerung bei der Erstellung deines Stakes. Bitte schaue in fünf Minuten noch einmal nach und versuchen es noch einmal, wenn dein Stake nicht erstellt wurde.", "create-stake-auth-error": "Authentifizierungsfehler. Bitte erneut versuchen.", - "learn-more": "", + "learn-more": "Learn more about", "footer-desc": "Mehr über NEX-Staking erfahren.", "amount-error-message": "Dieser Betrag übersteigt deinen verfügbaren Saldo.", "stake-success": { @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/el_GR.json b/locales/el_GR.json index 31470267..c6a96346 100644 --- a/locales/el_GR.json +++ b/locales/el_GR.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/es_ES.json b/locales/es_ES.json index 30533605..acd3a8e7 100644 --- a/locales/es_ES.json +++ b/locales/es_ES.json @@ -172,7 +172,7 @@ "desc": "Si tu orden puede ser emparejada inmediatamente ,entonces lo sera. Si no puede ser emparejada en su totalidad, entonces toda la orden sera cancelada." }, "ioc": { - "header": "Ejecutar inmediatamente o se cancela" + "header": "Ejecutar inmediatamente o se cancela", "desc": "Si tu orden puede ser emparejada inmediatamente se hara asi.Cualquier porcion de la orden que no se empareje se eliminara." } } @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/fr_FR.json b/locales/fr_FR.json index 2966aceb..b1b79b5d 100644 --- a/locales/fr_FR.json +++ b/locales/fr_FR.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Très faible", "1": "Faible", "2": "Moyen", "3": "Fort", - "4": "Très fort" + "4": "Très fort", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Adresse e-mail", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/he_IL.json b/locales/he_IL.json index 31470267..c6a96346 100644 --- a/locales/he_IL.json +++ b/locales/he_IL.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/hi_IN.json b/locales/hi_IN.json index 447e177b..7e376c3f 100644 --- a/locales/hi_IN.json +++ b/locales/hi_IN.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/hr_HR.json b/locales/hr_HR.json index 31470267..c6a96346 100644 --- a/locales/hr_HR.json +++ b/locales/hr_HR.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/it_IT.json b/locales/it_IT.json index a2e38c3f..fea4d843 100644 --- a/locales/it_IT.json +++ b/locales/it_IT.json @@ -266,7 +266,7 @@ "security": "Sicurezza", "limits": "Limiti", "accounts": "Conti", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Caricamento non riuscito.", "failed-button": "Caricamento non riuscito", - "failed-please-try": "<0>Caricamento non riuscito. Per favore\u00A0<1>riprova.", + "failed-please-try": "<0>Caricamento non riuscito. Per favore <1>riprova.", "why-this-may-happening": "Scopri le possibili cause per cui ciò è accaduto <0>qui." }, "datetime": { @@ -698,8 +698,8 @@ }, "no-markets": "Nessun mercato è attualmente disponibile.", "auth": { - "to-start-trading": "Per iniziare il trading" - }, + "to-start-trading": "Per iniziare il trading" + }, "balances": { "title": "Accounts" }, @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>I tuoi mercati preferiti\u00A0appear come link qui.", + "empty": "<0>I tuoi mercati preferiti appear come link qui.", "tips": "<0>Tip <1>Aggiungi i mercati preferiti come link qui. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Accedi per visualizzare i tuoi ordini.", "signed-out": { - "title": "<0>Iniziare<1>\u00A0with Nash", + "title": "<0>Iniziare<1> with Nash", "subtitle": "Crea un account in meno di un minuto – non è richiesto KYC!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Accedi", "sign-out": "Esci", "password-strength": { - "label": "Password strength", "0": "Molto debole", "1": "Debole", "2": "Media", "3": "Forte", - "4": "Molto forte" + "4": "Molto forte", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Password dimenticata", "header": "Hai dimenticato la tua password?", - "desc": "Inserisci il tuo indirizzo email di seguito e ti ricontatteremo\u00A0on\u00A0track.", + "desc": "Inserisci il tuo indirizzo email di seguito e ti ricontatteremo on track.", "fields": { "email": { "label": "Indirizzo email", @@ -1316,7 +1316,7 @@ "order-rejected-insufficient-funds": "Insufficiente {{currencySell}} nel contratto di trading. Invia fondi per continuare.", "order-rejected-daily-limit-reached": "Il tuo ordine è stato rifiutato perché hai raggiunto il limite di trading giornaliero.", "generic": "Errore durante l'ordine. Per favore riprova." - }, + }, "modals": { "exchange-info": { "title": "Come scambiare i token", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Imposta l'autenticazione a due fattori", "1": { "header": "Scarica e installa un'app di autenticazione", "desc": "Raccomandiamo <0>LastPass Authenticator, <1>Authy o <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Inserisci il codice generato dalla tua app di autenticazione", "input-placeholder": "Codice di autenticazione" - } + }, + "title": "Imposta l'autenticazione a due fattori" }, "disable-2fa": { "title": "Disabilita l'autenticazione a due fattori", @@ -3818,7 +3818,7 @@ }, "par-3": { "title": "Per quanto tempo posso mettere in stake?", - "desc": "Il periodo minimo di staking è di un mese, che offre un tasso di staking del 25%. Tuttavia, se desideri una percentuale più elevata delle commissioni di scambio, puoi mettere in stake per qualsiasi numero intero di mesi fino a un massimo di 24, il che offre un tasso di staking del 75% ". + "desc": "Il periodo minimo di staking è di un mese, che offre un tasso di staking del 25%. Tuttavia, se desideri una percentuale più elevata delle commissioni di scambio, puoi mettere in stake per qualsiasi numero intero di mesi fino a un massimo di 24, il che offre un tasso di staking del 75%" }, "par-4": { "title": "Come ricevo i miei dividendi?", @@ -3886,6 +3886,7 @@ "description-desktop": "Nuovo allo staking? Impara di più riguardo lo <0>staking dei token NEX e <1>crea il tuo primo stake.", "description-mobile": "Nuovo allo staking? Impara di più riguardo lo <0>staking dei token NEX.", "description-modal-create-link": "Crea il tuo primo stake" + }, "staking-view-header": { "stakes-in-progress": "Stake in corso", "completed-stakes": "Stake completati", @@ -4241,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/ja_JP.json b/locales/ja_JP.json index 31470267..c6a96346 100644 --- a/locales/ja_JP.json +++ b/locales/ja_JP.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/ko_KR.json b/locales/ko_KR.json index 31470267..c6a96346 100644 --- a/locales/ko_KR.json +++ b/locales/ko_KR.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/nl_NL.json b/locales/nl_NL.json index 3bcc1a59..7ebdf56b 100644 --- a/locales/nl_NL.json +++ b/locales/nl_NL.json @@ -266,7 +266,7 @@ "security": "Beveiliging", "limits": "Grenzen", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -335,12 +335,12 @@ "account-types": { "personal": "Persoonlijk account", "trading": "Handels contract", - "external": "Extern account", + "external": "Extern account" }, "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Het laden is mislukt. \u00A0<1>Probeer het opnieuw", + "failed-please-try": "<0>Het laden is mislukt.  <1>Probeer het opnieuw", "why-this-may-happening": "Kom er <0>hier achter waarom dit heeft kunnen gebeuren." }, "datetime": { @@ -407,7 +407,7 @@ }, "tier-too-low": { "title": "Uw huidige verificatieniveau is niveau {{userTier}}. Als gevolg hiervan is uw toegang tot sommige delen van het Nash-platform beperkt. ", -         "message": "Om ons volledige dienstenportfolio te gebruiken, moet u <0> upgraden naar Tier {{minTier}} ." + "message": "Om ons volledige dienstenportfolio te gebruiken, moet u <0> upgraden naar Tier {{minTier}} ." } }, "info": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/pt_BR.json b/locales/pt_BR.json index 52b3b701..ff9475ee 100644 --- a/locales/pt_BR.json +++ b/locales/pt_BR.json @@ -1071,12 +1071,12 @@ "sign-in": "Entrar no site", "sign-out": "Sair", "password-strength": { - "label": "Força da senha", "0": "Muito fraco", "1": "Fraco", "2": "Médio", "3": "Forte", - "4": "Muito forte" + "4": "Muito forte", + "label": "Força da senha" }, "password-form": { "password": { @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Configurar autenticação forte", "1": { "header": "Baixe e instale um aplicativo autenticador", "desc": "Recomendamos <0>LastPass Authenticator, <1>Authy ou <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Digite o código gerado pelo seu aplicativo autenticador", "input-placeholder": "Código de Autenticação" - } + }, + "title": "Configurar autenticação forte" }, "disable-2fa": { "title": "Desativar autenticação forte", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/ro_RO.json b/locales/ro_RO.json index 31470267..c6a96346 100644 --- a/locales/ro_RO.json +++ b/locales/ro_RO.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/ru_RU.json b/locales/ru_RU.json index 31470267..c6a96346 100644 --- a/locales/ru_RU.json +++ b/locales/ru_RU.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/th_TH.json b/locales/th_TH.json index 31470267..c6a96346 100644 --- a/locales/th_TH.json +++ b/locales/th_TH.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", diff --git a/locales/tr_TR.json b/locales/tr_TR.json index e755db01..9ac76b23 100644 --- a/locales/tr_TR.json +++ b/locales/tr_TR.json @@ -52,8 +52,7 @@ "cancel-button-label": "Geri git" }, "delete-token": { - "body": "İptal etmek istediğinizden emin misiniz? - ‘<0>’?", + "body": "İptal etmek istediğinizden emin misiniz? ‘<0>’?", "confirm-button-label": "İptal et", "cancel-button-label": "Geri git" }, @@ -79,8 +78,7 @@ "whitelisted": "Beyaz liste", "view-whitelist": "Beyaz listeyi göster", "blockchains-static": "Bitcoin, Ethereum, NEO", - "blockchains-hint": "Bu API anahtarı bu blok zincirleriyle çalışabilir -", + "blockchains-hint": "Bu API anahtarı bu blok zincirleriyle çalışabilir.", "usable-for": "için kullanılabilir", "revoke": "Kaldır", "created": "Oluşturuldu", @@ -93,8 +91,7 @@ "plus-more": "+{{count}} daha fazla" }, "create-modal": { - "credentials-step": "Kullanıcı kimlik bilgileri -", + "credentials-step": "Kullanıcı kimlik bilgileri", "whitelist-step": "Beyaz liste adresleri", "name-step": "Anahtarınızın ismi", "last-step": "Şifreni yedekle", @@ -269,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -343,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -718,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -915,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1074,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1179,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3584,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3597,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4245,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/locales/zh_CH.json b/locales/zh_CH.json index 825f432a..79e310e7 100644 --- a/locales/zh_CH.json +++ b/locales/zh_CH.json @@ -266,7 +266,7 @@ "security": "Security", "limits": "Limits", "accounts": "Accounts", - "apikeys": "API\u00A0keys" + "apikeys": "API keys" } }, "staking": { @@ -340,7 +340,7 @@ "query-errors": { "failed": "Failed to load.", "failed-button": "Failed to load", - "failed-please-try": "<0>Failed to load. Please\u00A0<1>retry.", + "failed-please-try": "<0>Failed to load. Please <1>retry.", "why-this-may-happening": "Find out why this may have happened <0>here." }, "datetime": { @@ -715,7 +715,7 @@ } }, "favorite-bar": { - "empty": "<0>Your favorite markets\u00A0appear as links here.", + "empty": "<0>Your favorite markets appear as links here.", "tips": "<0>Tip <1>Add favorite markets as links here. <2 />" }, "market-graphs": { @@ -912,7 +912,7 @@ "my-orders": { "auth": "Sign in to view your orders.", "signed-out": { - "title": "<0>Get started<1>\u00A0with Nash", + "title": "<0>Get started<1> with Nash", "subtitle": "Create an account in under a minute – no KYC required!" }, "no-results": { @@ -1071,12 +1071,12 @@ "sign-in": "Sign in", "sign-out": "Sign out", "password-strength": { - "label": "Password strength", "0": "Very weak", "1": "Weak", "2": "Medium", "3": "Strong", - "4": "Very strong" + "4": "Very strong", + "label": "Password strength" }, "password-form": { "password": { @@ -1176,7 +1176,7 @@ "forgot-password": { "tab-title": "Forgotten password", "header": "Forgotten your password?", - "desc": "Enter your email address below and we’ll get you back\u00A0on\u00A0track.", + "desc": "Enter your email address below and we’ll get you back on track.", "fields": { "email": { "label": "Email address", @@ -3581,7 +3581,6 @@ }, "modals": { "enable-2fa": { - "title": "Set up two-factor authentication", "1": { "header": "Download and install an authenticator app", "desc": "We recommend <0>LastPass Authenticator, <1>Authy or <2>Google Authenticator." @@ -3594,7 +3593,8 @@ "3": { "header": "Enter the code generated by your authenticator app", "input-placeholder": "Authentication code" - } + }, + "title": "Set up two-factor authentication" }, "disable-2fa": { "title": "Disable two-factor authentication", @@ -4242,4 +4242,4 @@ "Pacific/Apia": "(GMT+14:00) Apia", "Pacific/Kiritimati": "(GMT+14:00) Kiritimati" } -} +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 00000000..b6685b25 --- /dev/null +++ b/package.json @@ -0,0 +1,5 @@ +{ + "devDependencies": { + "prettier": "2.0.5" + } +} diff --git a/scripts/validate.ts b/scripts/validate.ts new file mode 100644 index 00000000..a06c631a --- /dev/null +++ b/scripts/validate.ts @@ -0,0 +1,60 @@ +import { + readJsonSync, + writeJsonSync, + walkSync, +} from 'https://deno.land/std/fs/mod.ts' +import traverse from 'https://cdn.pika.dev/traverse@^0.6.6' + +interface FileInfo { + path: string + name: string + isFile: boolean + isDirectory: boolean + isSymlink: boolean +} + +interface TraverseContext { + path: string[] + notLeaf: boolean + isLeaf: boolean +} + +const en = readJsonSync('./locales/en.json') +const enTraversal = traverse(en) + +for (const fileInfo of walkSync('./locales/')) { + if (!fileInfo.isFile || fileInfo.name === 'en.json') { + continue + } + syncAndValidateFile(fileInfo) +} + +function syncAndValidateFile(fileInfo: FileInfo) { + console.log('Validating %o', fileInfo.name) + + const translation = readJsonSync(fileInfo.path) + const translationTraversal = traverse(translation) + const updatedTranslationTraversal = traverse(enTraversal.clone()) + + enTraversal.forEach(function (value) { + // @ts-ignore + const context: TraverseContext = this + if (context.notLeaf) { + return + } + + const translatedValue = translationTraversal.get(context.path) + // TODO validate translatedValue + // - trimmed text + // - variables + // - components + + updatedTranslationTraversal.set( + context.path, + Boolean(translatedValue) ? translatedValue : value, + ) + }) + + const updatedTranslation = updatedTranslationTraversal.clone() + writeJsonSync(fileInfo.path, updatedTranslation, { spaces: 2 }) +} diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 00000000..bc855274 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +prettier@2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4" + integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==