add localization

This commit is contained in:
Serhii 2023-10-27 13:27:22 +03:00
parent 208057fa0f
commit 3d9a014593
30 changed files with 63 additions and 36 deletions

View file

@ -36,7 +36,7 @@ import 'package:cake_wallet/src/screens/receive/anonpay_invoice_page.dart';
import 'package:cake_wallet/src/screens/receive/anonpay_receive_page.dart'; import 'package:cake_wallet/src/screens/receive/anonpay_receive_page.dart';
import 'package:cake_wallet/src/screens/restore/wallet_restore_choose_derivation.dart'; import 'package:cake_wallet/src/screens/restore/wallet_restore_choose_derivation.dart';
import 'package:cake_wallet/src/screens/settings/display_settings_page.dart'; import 'package:cake_wallet/src/screens/settings/display_settings_page.dart';
import 'package:cake_wallet/src/screens/settings/domain_lookups_page.dart'; import 'package:cake_wallet/src/screens/settings/domain_looksup_page.dart';
import 'package:cake_wallet/src/screens/settings/manage_nodes_page.dart'; import 'package:cake_wallet/src/screens/settings/manage_nodes_page.dart';
import 'package:cake_wallet/src/screens/settings/other_settings_page.dart'; import 'package:cake_wallet/src/screens/settings/other_settings_page.dart';
import 'package:cake_wallet/src/screens/settings/privacy_page.dart'; import 'package:cake_wallet/src/screens/settings/privacy_page.dart';

View file

@ -23,7 +23,7 @@ import 'package:cake_wallet/src/screens/dashboard/widgets/transactions_page.dart
import 'package:cake_wallet/src/screens/restore/wallet_restore_choose_derivation.dart'; import 'package:cake_wallet/src/screens/restore/wallet_restore_choose_derivation.dart';
import 'package:cake_wallet/src/screens/settings/desktop_settings/desktop_settings_page.dart'; import 'package:cake_wallet/src/screens/settings/desktop_settings/desktop_settings_page.dart';
import 'package:cake_wallet/src/screens/settings/display_settings_page.dart'; import 'package:cake_wallet/src/screens/settings/display_settings_page.dart';
import 'package:cake_wallet/src/screens/settings/domain_lookups_page.dart'; import 'package:cake_wallet/src/screens/settings/domain_looksup_page.dart';
import 'package:cake_wallet/src/screens/settings/manage_nodes_page.dart'; import 'package:cake_wallet/src/screens/settings/manage_nodes_page.dart';
import 'package:cake_wallet/src/screens/settings/other_settings_page.dart'; import 'package:cake_wallet/src/screens/settings/other_settings_page.dart';
import 'package:cake_wallet/src/screens/settings/privacy_page.dart'; import 'package:cake_wallet/src/screens/settings/privacy_page.dart';

View file

@ -1,3 +1,4 @@
import 'package:cake_wallet/generated/i18n.dart';
import 'package:cake_wallet/src/screens/base_page.dart'; import 'package:cake_wallet/src/screens/base_page.dart';
import 'package:cake_wallet/src/screens/settings/widgets/settings_switcher_cell.dart'; import 'package:cake_wallet/src/screens/settings/widgets/settings_switcher_cell.dart';
import 'package:cake_wallet/view_model/settings/privacy_settings_view_model.dart'; import 'package:cake_wallet/view_model/settings/privacy_settings_view_model.dart';
@ -8,7 +9,7 @@ class DomainLookupsPage extends BasePage {
DomainLookupsPage(this._privacySettingsViewModel); DomainLookupsPage(this._privacySettingsViewModel);
@override @override
String get title => "S.current.display_settings"; String get title => S.current.domain_looks_up;
final PrivacySettingsViewModel _privacySettingsViewModel; final PrivacySettingsViewModel _privacySettingsViewModel;
@ -21,27 +22,27 @@ class DomainLookupsPage extends BasePage {
child: Column( child: Column(
children: [ children: [
SettingsSwitcherCell( SettingsSwitcherCell(
title: 'S.current.settings_display_balance', title: 'Twitter',
value: _privacySettingsViewModel.lookupTwitter, value: _privacySettingsViewModel.lookupTwitter,
onValueChange: (_, bool value) => _privacySettingsViewModel.setLookupTwitter(value)), onValueChange: (_, bool value) => _privacySettingsViewModel.setLookupTwitter(value)),
SettingsSwitcherCell( SettingsSwitcherCell(
title: 'S.current.settings_display_balance', title: 'Mastodon',
value: _privacySettingsViewModel.looksUpMastodon, value: _privacySettingsViewModel.looksUpMastodon,
onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpMastodon(value)), onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpMastodon(value)),
SettingsSwitcherCell( SettingsSwitcherCell(
title: 'S.current.settings_display_balance', title: 'Yat service',
value: _privacySettingsViewModel.looksUpYatService, value: _privacySettingsViewModel.looksUpYatService,
onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpYatService(value)), onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpYatService(value)),
SettingsSwitcherCell( SettingsSwitcherCell(
title: 'S.current.settings_display_balance', title: 'Unstoppable Domains',
value: _privacySettingsViewModel.looksUpUnstoppableDomains, value: _privacySettingsViewModel.looksUpUnstoppableDomains,
onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpUnstoppableDomains(value)), onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpUnstoppableDomains(value)),
SettingsSwitcherCell( SettingsSwitcherCell(
title: 'S.current.settings_display_balance', title: 'OpenAlias,',
value: _privacySettingsViewModel.looksUpOpenAlias, value: _privacySettingsViewModel.looksUpOpenAlias,
onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpOpenAlias(value)), onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpOpenAlias(value)),
SettingsSwitcherCell( SettingsSwitcherCell(
title: 'S.current.settings_display_balance', title: 'Ethereum Name Service',
value: _privacySettingsViewModel.looksUpENS, value: _privacySettingsViewModel.looksUpENS,
onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpENS(value)), onValueChange: (_, bool value) => _privacySettingsViewModel.setLooksUpENS(value)),

View file

@ -87,7 +87,7 @@ class PrivacyPage extends BasePage {
_privacySettingsViewModel.setUseEtherscan(value); _privacySettingsViewModel.setUseEtherscan(value);
}), }),
SettingsCellWithArrow( SettingsCellWithArrow(
title: 'S.current.manage_nodes', title: S.current.domain_looks_up,
handler: (context) => Navigator.of(context).pushNamed(Routes.domainLookupsPage), handler: (context) => Navigator.of(context).pushNamed(Routes.domainLookupsPage),
), ),
], ],

View file

@ -722,5 +722,6 @@
"seed_key": "مفتاح البذور", "seed_key": "مفتاح البذور",
"enter_seed_phrase": "أدخل عبارة البذور الخاصة بك", "enter_seed_phrase": "أدخل عبارة البذور الخاصة بك",
"add_contact": "ﻝﺎﺼﺗﺍ ﺔﻬﺟ ﺔﻓﺎﺿﺇ", "add_contact": "ﻝﺎﺼﺗﺍ ﺔﻬﺟ ﺔﻓﺎﺿﺇ",
"exchange_provider_unsupported": "${providerName} لم يعد مدعومًا!" "exchange_provider_unsupported": "${providerName} لم يعد مدعومًا!",
"domain_looks_up": " ﻝﺎﺠﻤﻟﺍ ﺚﺤﺑ ﺕﺎﻴﻠﻤﻋ"
} }

View file

@ -718,5 +718,6 @@
"seed_key": "Ключ за семена", "seed_key": "Ключ за семена",
"enter_seed_phrase": "Въведете вашата фраза за семена", "enter_seed_phrase": "Въведете вашата фраза за семена",
"add_contact": "Добави контакт", "add_contact": "Добави контакт",
"exchange_provider_unsupported": "${providerName} вече не се поддържа!" "exchange_provider_unsupported": "${providerName} вече не се поддържа!",
"domain_looks_up": "Търсене на домейни"
} }

View file

@ -718,5 +718,6 @@
"seed_key": "Klíč semen", "seed_key": "Klíč semen",
"enter_seed_phrase": "Zadejte svou frázi semen", "enter_seed_phrase": "Zadejte svou frázi semen",
"add_contact": "Přidat kontakt", "add_contact": "Přidat kontakt",
"exchange_provider_unsupported": "${providerName} již není podporováno!" "exchange_provider_unsupported": "${providerName} již není podporováno!",
"domain_looks_up": "Vyhledávání domén"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Seed-Schlüssel", "seed_key": "Seed-Schlüssel",
"enter_seed_phrase": "Geben Sie Ihre Seed-Phrase ein", "enter_seed_phrase": "Geben Sie Ihre Seed-Phrase ein",
"add_contact": "Kontakt hinzufügen", "add_contact": "Kontakt hinzufügen",
"exchange_provider_unsupported": "${providerName} wird nicht mehr unterstützt!" "exchange_provider_unsupported": "${providerName} wird nicht mehr unterstützt!",
"domain_looks_up": "Domain-Suchen"
} }

View file

@ -727,5 +727,6 @@
"seed_key": "Seed key", "seed_key": "Seed key",
"enter_seed_phrase": "Enter your seed phrase", "enter_seed_phrase": "Enter your seed phrase",
"add_contact": "Add contact", "add_contact": "Add contact",
"exchange_provider_unsupported": "${providerName} is no longer supported!" "exchange_provider_unsupported": "${providerName} is no longer supported!",
"domain_looks_up": "Domain lookups"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Llave de semilla", "seed_key": "Llave de semilla",
"enter_seed_phrase": "Ingrese su frase de semillas", "enter_seed_phrase": "Ingrese su frase de semillas",
"add_contact": "Agregar contacto", "add_contact": "Agregar contacto",
"exchange_provider_unsupported": "¡${providerName} ya no es compatible!" "exchange_provider_unsupported": "¡${providerName} ya no es compatible!",
"domain_looks_up": "Búsquedas de dominio"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Clé de graines", "seed_key": "Clé de graines",
"enter_seed_phrase": "Entrez votre phrase de semence", "enter_seed_phrase": "Entrez votre phrase de semence",
"add_contact": "Ajouter le contact", "add_contact": "Ajouter le contact",
"exchange_provider_unsupported": "${providerName} n'est plus pris en charge!" "exchange_provider_unsupported": "${providerName} n'est plus pris en charge!",
"domain_looks_up": "Recherches de domaine"
} }

View file

@ -704,5 +704,6 @@
"seed_key": "Maɓallin iri", "seed_key": "Maɓallin iri",
"enter_seed_phrase": "Shigar da Sert Sentarku", "enter_seed_phrase": "Shigar da Sert Sentarku",
"add_contact": "Ƙara lamba", "add_contact": "Ƙara lamba",
"exchange_provider_unsupported": "${providerName}" "exchange_provider_unsupported": "${providerName}",
"domain_looks_up": "Binciken yanki"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "बीज कुंजी", "seed_key": "बीज कुंजी",
"enter_seed_phrase": "अपना बीज वाक्यांश दर्ज करें", "enter_seed_phrase": "अपना बीज वाक्यांश दर्ज करें",
"add_contact": "संपर्क जोड़ें", "add_contact": "संपर्क जोड़ें",
"exchange_provider_unsupported": "${providerName} अब समर्थित नहीं है!" "exchange_provider_unsupported": "${providerName} अब समर्थित नहीं है!",
"domain_looks_up": "डोमेन लुकअप"
} }

View file

@ -724,5 +724,6 @@
"seed_key": "Sjemenski ključ", "seed_key": "Sjemenski ključ",
"enter_seed_phrase": "Unesite svoju sjemensku frazu", "enter_seed_phrase": "Unesite svoju sjemensku frazu",
"add_contact": "Dodaj kontakt", "add_contact": "Dodaj kontakt",
"exchange_provider_unsupported": "${providerName} više nije podržan!" "exchange_provider_unsupported": "${providerName} više nije podržan!",
"domain_looks_up": "Pretraga domena"
} }

View file

@ -714,5 +714,6 @@
"seed_key": "Kunci benih", "seed_key": "Kunci benih",
"enter_seed_phrase": "Masukkan frasa benih Anda", "enter_seed_phrase": "Masukkan frasa benih Anda",
"add_contact": "Tambah kontak", "add_contact": "Tambah kontak",
"exchange_provider_unsupported": "${providerName} tidak lagi didukung!" "exchange_provider_unsupported": "${providerName} tidak lagi didukung!",
"domain_looks_up": "Pencarian domain"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Chiave di semi", "seed_key": "Chiave di semi",
"enter_seed_phrase": "Inserisci la tua frase di semi", "enter_seed_phrase": "Inserisci la tua frase di semi",
"add_contact": "Aggiungi contatto", "add_contact": "Aggiungi contatto",
"exchange_provider_unsupported": "${providerName} non è più supportato!" "exchange_provider_unsupported": "${providerName} non è più supportato!",
"domain_looks_up": "Ricerche di domini"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "シードキー", "seed_key": "シードキー",
"enter_seed_phrase": "シードフレーズを入力してください", "enter_seed_phrase": "シードフレーズを入力してください",
"add_contact": "連絡先を追加", "add_contact": "連絡先を追加",
"exchange_provider_unsupported": "${providerName}はサポートされなくなりました!" "exchange_provider_unsupported": "${providerName}はサポートされなくなりました!",
"domain_looks_up": "ドメイン検索"
} }

View file

@ -724,5 +724,6 @@
"seed_key": "시드 키", "seed_key": "시드 키",
"enter_seed_phrase": "시드 문구를 입력하십시오", "enter_seed_phrase": "시드 문구를 입력하십시오",
"add_contact": "주소록에 추가", "add_contact": "주소록에 추가",
"exchange_provider_unsupported": "${providerName}은 더 이상 지원되지 않습니다!" "exchange_provider_unsupported": "${providerName}은 더 이상 지원되지 않습니다!",
"domain_looks_up": "도메인 조회"
} }

View file

@ -724,5 +724,6 @@
"seed_key": "မျိုးစေ့သော့", "seed_key": "မျိုးစေ့သော့",
"enter_seed_phrase": "သင့်ရဲ့မျိုးစေ့စကားစုကိုရိုက်ထည့်ပါ", "enter_seed_phrase": "သင့်ရဲ့မျိုးစေ့စကားစုကိုရိုက်ထည့်ပါ",
"add_contact": "အဆက်အသွယ်ထည့်ပါ။", "add_contact": "အဆက်အသွယ်ထည့်ပါ။",
"exchange_provider_unsupported": "${providerName} မရှိတော့ပါ!" "exchange_provider_unsupported": "${providerName} မရှိတော့ပါ!",
"domain_looks_up": "ဒိုမိန်းရှာဖွေမှုများ"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Zaadsleutel", "seed_key": "Zaadsleutel",
"enter_seed_phrase": "Voer uw zaadzin in", "enter_seed_phrase": "Voer uw zaadzin in",
"add_contact": "Contactpersoon toevoegen", "add_contact": "Contactpersoon toevoegen",
"exchange_provider_unsupported": "${providerName} wordt niet langer ondersteund!" "exchange_provider_unsupported": "${providerName} wordt niet langer ondersteund!",
"domain_looks_up": "Domein opzoeken"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Klucz nasion", "seed_key": "Klucz nasion",
"enter_seed_phrase": "Wprowadź swoją frazę nasienną", "enter_seed_phrase": "Wprowadź swoją frazę nasienną",
"add_contact": "Dodaj kontakt", "add_contact": "Dodaj kontakt",
"exchange_provider_unsupported": "${providerName} nie jest już obsługiwany!" "exchange_provider_unsupported": "${providerName} nie jest już obsługiwany!",
"domain_looks_up": "Wyszukiwanie domen"
} }

View file

@ -725,5 +725,6 @@
"seed_key": "Chave de semente", "seed_key": "Chave de semente",
"enter_seed_phrase": "Digite sua frase de semente", "enter_seed_phrase": "Digite sua frase de semente",
"add_contact": "Adicionar contato", "add_contact": "Adicionar contato",
"exchange_provider_unsupported": "${providerName} não é mais suportado!" "exchange_provider_unsupported": "${providerName} não é mais suportado!",
"domain_looks_up": "Pesquisas de domínio"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Ключ семян", "seed_key": "Ключ семян",
"enter_seed_phrase": "Введите свою семенную фразу", "enter_seed_phrase": "Введите свою семенную фразу",
"add_contact": "Добавить контакт", "add_contact": "Добавить контакт",
"exchange_provider_unsupported": "${providerName} больше не поддерживается!" "exchange_provider_unsupported": "${providerName} больше не поддерживается!",
"domain_looks_up": "Поиск доменов"
} }

View file

@ -724,5 +724,6 @@
"seed_key": "คีย์เมล็ดพันธุ์", "seed_key": "คีย์เมล็ดพันธุ์",
"enter_seed_phrase": "ป้อนวลีเมล็ดพันธุ์ของคุณ", "enter_seed_phrase": "ป้อนวลีเมล็ดพันธุ์ของคุณ",
"add_contact": "เพิ่มผู้ติดต่อ", "add_contact": "เพิ่มผู้ติดต่อ",
"exchange_provider_unsupported": "${providerName} ไม่ได้รับการสนับสนุนอีกต่อไป!" "exchange_provider_unsupported": "${providerName} ไม่ได้รับการสนับสนุนอีกต่อไป!",
"domain_looks_up": "การค้นหาโดเมน"
} }

View file

@ -721,5 +721,6 @@
"seed_key": "Seed Key", "seed_key": "Seed Key",
"enter_seed_phrase": "Ipasok ang iyong pariralang binhi", "enter_seed_phrase": "Ipasok ang iyong pariralang binhi",
"add_contact": "Magdagdag ng contact", "add_contact": "Magdagdag ng contact",
"exchange_provider_unsupported": "Ang ${providerName} ay hindi na suportado!" "exchange_provider_unsupported": "Ang ${providerName} ay hindi na suportado!",
"domain_looks_up": "Mga paghahanap ng domain"
} }

View file

@ -724,5 +724,6 @@
"seed_key": "Tohum", "seed_key": "Tohum",
"enter_seed_phrase": "Tohum ifadenizi girin", "enter_seed_phrase": "Tohum ifadenizi girin",
"add_contact": "Kişi ekle", "add_contact": "Kişi ekle",
"exchange_provider_unsupported": "${providerName} artık desteklenmiyor!" "exchange_provider_unsupported": "${providerName} artık desteklenmiyor!",
"domain_looks_up": "Etki alanı aramaları"
} }

View file

@ -726,5 +726,6 @@
"seed_key": "Насіннєвий ключ", "seed_key": "Насіннєвий ключ",
"enter_seed_phrase": "Введіть свою насіннєву фразу", "enter_seed_phrase": "Введіть свою насіннєву фразу",
"add_contact": "Додати контакт", "add_contact": "Додати контакт",
"exchange_provider_unsupported": "${providerName} більше не підтримується!" "exchange_provider_unsupported": "${providerName} більше не підтримується!",
"domain_looks_up": "Пошук доменів"
} }

View file

@ -718,5 +718,6 @@
"seed_key": "بیج کی کلید", "seed_key": "بیج کی کلید",
"enter_seed_phrase": "اپنے بیج کا جملہ درج کریں", "enter_seed_phrase": "اپنے بیج کا جملہ درج کریں",
"add_contact": "۔ﮟﯾﺮﮐ ﻞﻣﺎﺷ ﮧﻄﺑﺍﺭ", "add_contact": "۔ﮟﯾﺮﮐ ﻞﻣﺎﺷ ﮧﻄﺑﺍﺭ",
"exchange_provider_unsupported": "${providerName} اب تعاون نہیں کیا جاتا ہے!" "exchange_provider_unsupported": "${providerName} اب تعاون نہیں کیا جاتا ہے!",
"domain_looks_up": " ﺎﻧﺮﮐ ﺵﻼﺗ ﻦﯿﻣﻭﮈ"
} }

View file

@ -720,5 +720,6 @@
"seed_key": "Bọtini Ose", "seed_key": "Bọtini Ose",
"enter_seed_phrase": "Tẹ ọrọ-iru irugbin rẹ", "enter_seed_phrase": "Tẹ ọrọ-iru irugbin rẹ",
"add_contact": "Fi olubasọrọ kun", "add_contact": "Fi olubasọrọ kun",
"exchange_provider_unsupported": "${providerName} ko ni atilẹyin mọ!" "exchange_provider_unsupported": "${providerName} ko ni atilẹyin mọ!",
"domain_looks_up": "Awọn wiwa agbegbe"
} }

View file

@ -725,5 +725,6 @@
"seed_key": "种子钥匙", "seed_key": "种子钥匙",
"enter_seed_phrase": "输入您的种子短语", "enter_seed_phrase": "输入您的种子短语",
"add_contact": "增加联系人", "add_contact": "增加联系人",
"exchange_provider_unsupported": "${providerName}不再支持!" "exchange_provider_unsupported": "${providerName}不再支持!",
"domain_looks_up": "域名查找"
} }