diff --git a/lib/generated/i18n.dart b/lib/generated/i18n.dart index fd0c0f70e..0619124be 100644 --- a/lib/generated/i18n.dart +++ b/lib/generated/i18n.dart @@ -44,6 +44,7 @@ class S implements WidgetsLocalizations { String get authentication => "Authentication"; String get available_balance => "Available Balance"; String get biometric_auth_reason => "Scan your fingerprint to authenticate"; + String get bright_theme => "Bright"; String get buy => "Buy"; String get cake_wallet => "Cake Wallet"; String get cancel => "Cancel"; @@ -57,6 +58,7 @@ class S implements WidgetsLocalizations { String get choose_account => "Choose account"; String get choose_wallet_currency => "Please choose wallet currency:"; String get clear => "Clear"; + String get color_theme => "Color theme"; String get confirm => "Confirm"; String get confirm_delete_template => "This action will delete this template. Do you wish to continue?"; String get confirm_delete_wallet => "This action will delete this wallet. Do you wish to continue?"; @@ -71,6 +73,7 @@ class S implements WidgetsLocalizations { String get create_new => "Create New Wallet"; String get create_new_account => "Create new account"; String get creating_new_wallet => "Creating new wallet"; + String get dark_theme => "Dark"; String get delete => "Delete"; String get digit_pin => "-digit PIN"; String get edit => "Edit"; @@ -107,6 +110,7 @@ class S implements WidgetsLocalizations { String get id => "ID: "; String get incoming => "Incoming"; String get incorrect_seed => "The text entered is not valid."; + String get light_theme => "Light"; String get loading_your_wallet => "Loading your wallet"; String get login => "Login"; String get new_node_testing => "New node testing"; @@ -394,6 +398,8 @@ class $de extends S { @override String get biometric_auth_reason => "Scannen Sie Ihren Fingerabdruck zur Authentifizierung"; @override + String get dark_theme => "Dunkel"; + @override String get transaction_sent => "Transaktion gesendet!"; @override String get send_fee => "Gebühr:"; @@ -646,6 +652,8 @@ class $de extends S { @override String get filters => "Filter"; @override + String get color_theme => "Farbthema"; + @override String get settings_current_node => "Aktueller Knoten"; @override String get copy_id => "ID kopieren"; @@ -886,12 +894,16 @@ class $de extends S { @override String get trade_state_confirming => "Bestätigung"; @override + String get bright_theme => "Hell"; + @override String get send => "Senden"; @override String get send_title => "Senden Sie"; @override String get error_text_keys => "Walletschlüssel können nur 64 hexadezimale Zeichen enthalten"; @override + String get light_theme => "Licht"; + @override String get settings_save_recipient_address => "Empfängeradresse speichern"; @override String get change_exchange_provider => "Wechseln Sie den Exchange-Anbieter"; @@ -1086,6 +1098,8 @@ class $hi extends S { @override String get biometric_auth_reason => "प्रमाणित करने के लिए अपने फ़िंगरप्रिंट को स्कैन करें"; @override + String get dark_theme => "अंधेरा"; + @override String get transaction_sent => "भेजा गया लेन-देन"; @override String get send_fee => "शुल्क:"; @@ -1338,6 +1352,8 @@ class $hi extends S { @override String get filters => "फ़िल्टर"; @override + String get color_theme => "रंग विषय"; + @override String get settings_current_node => "वर्तमान नोड"; @override String get copy_id => "प्रतिलिपि ID"; @@ -1578,12 +1594,16 @@ class $hi extends S { @override String get trade_state_confirming => "पुष्टि"; @override + String get bright_theme => "उज्ज्वल"; + @override String get send => "संदेश"; @override String get send_title => "संदेश"; @override String get error_text_keys => "वॉलेट कीज़ में हेक्स में केवल 64 वर्ण हो सकते हैं"; @override + String get light_theme => "रोशनी"; + @override String get settings_save_recipient_address => "प्राप्तकर्ता का पता सहेजें"; @override String get change_exchange_provider => "एक्सचेंज प्रदाता बदलें"; @@ -1778,6 +1798,8 @@ class $ru extends S { @override String get biometric_auth_reason => "Отсканируйте свой отпечаток пальца для аутентификации"; @override + String get dark_theme => "Темная"; + @override String get transaction_sent => "Tранзакция отправлена!"; @override String get send_fee => "Комиссия:"; @@ -2030,6 +2052,8 @@ class $ru extends S { @override String get filters => "Фильтр"; @override + String get color_theme => "Цветовая тема"; + @override String get settings_current_node => "Текущая нода"; @override String get copy_id => "Скопировать ID"; @@ -2270,12 +2294,16 @@ class $ru extends S { @override String get trade_state_confirming => "Подтверждение"; @override + String get bright_theme => "Яркая"; + @override String get send => "Отправить"; @override String get send_title => "Отправить"; @override String get error_text_keys => "Ключи кошелька могут содержать только 64 символа в hex"; @override + String get light_theme => "Светлая"; + @override String get settings_save_recipient_address => "Сохранять адрес получателя"; @override String get change_exchange_provider => "Изменить провайдера обмена"; @@ -2470,6 +2498,8 @@ class $ko extends S { @override String get biometric_auth_reason => "지문을 스캔하여 인증"; @override + String get dark_theme => "어두운"; + @override String get transaction_sent => "거래가 전송되었습니다!"; @override String get send_fee => "회비:"; @@ -2722,6 +2752,8 @@ class $ko extends S { @override String get filters => "필터"; @override + String get color_theme => "색상 테마"; + @override String get settings_current_node => "현재 노드"; @override String get copy_id => "부 ID"; @@ -2962,12 +2994,16 @@ class $ko extends S { @override String get trade_state_confirming => "확인 중"; @override + String get bright_theme => "선명한"; + @override String get send => "보내다"; @override String get send_title => "보내다"; @override String get error_text_keys => "지갑 키는 16 진수로 64 자만 포함 할 수 있습니다"; @override + String get light_theme => "빛"; + @override String get settings_save_recipient_address => "수신자 주소 저장"; @override String get change_exchange_provider => "교환 공급자 변경"; @@ -3162,6 +3198,8 @@ class $pt extends S { @override String get biometric_auth_reason => "Digitalize sua impressão digital para autenticar"; @override + String get dark_theme => "Sombria"; + @override String get transaction_sent => "Transação enviada!"; @override String get send_fee => "Taxa:"; @@ -3414,6 +3452,8 @@ class $pt extends S { @override String get filters => "Filtro"; @override + String get color_theme => "Tema de cor"; + @override String get settings_current_node => "Nó atual"; @override String get copy_id => "Copiar ID"; @@ -3654,12 +3694,16 @@ class $pt extends S { @override String get trade_state_confirming => "Confirmando"; @override + String get bright_theme => "Brilhante"; + @override String get send => "Enviar"; @override String get send_title => "Enviar"; @override String get error_text_keys => "As chaves da carteira podem conter apenas 64 caracteres em hexadecimal"; @override + String get light_theme => "Luz"; + @override String get settings_save_recipient_address => "Salvar endereço do destinatário"; @override String get change_exchange_provider => "Alterar o provedor de troca"; @@ -3854,6 +3898,8 @@ class $uk extends S { @override String get biometric_auth_reason => "Відскануйте свій відбиток пальця для аутентифікації"; @override + String get dark_theme => "Темна"; + @override String get transaction_sent => "Tранзакцію відправлено!"; @override String get send_fee => "Комісія:"; @@ -4106,6 +4152,8 @@ class $uk extends S { @override String get filters => "Фільтр"; @override + String get color_theme => "Кольорова тема"; + @override String get settings_current_node => "Поточний вузол"; @override String get copy_id => "Скопіювати ID"; @@ -4346,12 +4394,16 @@ class $uk extends S { @override String get trade_state_confirming => "Підтвердження"; @override + String get bright_theme => "Яскрава"; + @override String get send => "Відправити"; @override String get send_title => "Відправити"; @override String get error_text_keys => "Ключі гаманця можуть містити тільки 64 символів в hex"; @override + String get light_theme => "Світла"; + @override String get settings_save_recipient_address => "Зберігати адресу отримувача"; @override String get change_exchange_provider => "Змінити провайдера обміну"; @@ -4546,6 +4598,8 @@ class $ja extends S { @override String get biometric_auth_reason => "प指紋をスキャンして認証する"; @override + String get dark_theme => "闇"; + @override String get transaction_sent => "トランザクションが送信されました!"; @override String get send_fee => "費用:"; @@ -4798,6 +4852,8 @@ class $ja extends S { @override String get filters => "フィルタ"; @override + String get color_theme => "カラーテーマ"; + @override String get settings_current_node => "現在のノード"; @override String get copy_id => "IDをコピー"; @@ -5038,12 +5094,16 @@ class $ja extends S { @override String get trade_state_confirming => "確認中"; @override + String get bright_theme => "明るい"; + @override String get send => "送る"; @override String get send_title => "を送信"; @override String get error_text_keys => "ウォレットキーには、16進数で64文字しか含めることができません"; @override + String get light_theme => "光"; + @override String get settings_save_recipient_address => "受信者のアドレスを保存"; @override String get change_exchange_provider => "Exchangeプロバイダーの変更"; @@ -5242,6 +5302,8 @@ class $pl extends S { @override String get biometric_auth_reason => "Zeskanuj swój odcisk palca, aby go uwierzytelnić"; @override + String get dark_theme => "Ciemny"; + @override String get transaction_sent => "Transakcja wysłana!"; @override String get send_fee => "Opłata:"; @@ -5494,6 +5556,8 @@ class $pl extends S { @override String get filters => "Filtr"; @override + String get color_theme => "Motyw kolorystyczny"; + @override String get settings_current_node => "Bieżący węzeł"; @override String get copy_id => "ID kopii"; @@ -5734,12 +5798,16 @@ class $pl extends S { @override String get trade_state_confirming => "Potwierdzam"; @override + String get bright_theme => "Jasny"; + @override String get send => "Wysłać"; @override String get send_title => "Wyślij"; @override String get error_text_keys => "Klucze portfela mogą zawierać tylko 64 znaki w systemie szesnastkowym"; @override + String get light_theme => "Lekki"; + @override String get settings_save_recipient_address => "Zapisz adres odbiorcy"; @override String get change_exchange_provider => "Zmień dostawcę programu Exchange"; @@ -5934,6 +6002,8 @@ class $es extends S { @override String get biometric_auth_reason => "Escanee su huella digital para autenticar"; @override + String get dark_theme => "Oscura"; + @override String get transaction_sent => "Transacción enviada!"; @override String get send_fee => "Cuota:"; @@ -6186,6 +6256,8 @@ class $es extends S { @override String get filters => "Filtrar"; @override + String get color_theme => "Tema de color"; + @override String get settings_current_node => "Nodo actual"; @override String get copy_id => "Copiar ID"; @@ -6426,12 +6498,16 @@ class $es extends S { @override String get trade_state_confirming => "Confirmando"; @override + String get bright_theme => "Brillante"; + @override String get send => "Enviar"; @override String get send_title => "Enviar"; @override String get error_text_keys => "Las llaves de billetera solo pueden contener 64 caracteres en hexadecimal"; @override + String get light_theme => "Ligera"; + @override String get settings_save_recipient_address => "Guardar dirección del destinatario"; @override String get change_exchange_provider => "Cambiar proveedor de intercambio"; @@ -6626,6 +6702,8 @@ class $nl extends S { @override String get biometric_auth_reason => "Scan uw vingerafdruk om te verifiëren"; @override + String get dark_theme => "Donker"; + @override String get transaction_sent => "Transactie verzonden!"; @override String get send_fee => "Vergoeding:"; @@ -6878,6 +6956,8 @@ class $nl extends S { @override String get filters => "Filter"; @override + String get color_theme => "Kleur thema"; + @override String get settings_current_node => "Huidige knooppunt"; @override String get copy_id => "ID kopiëren"; @@ -7118,12 +7198,16 @@ class $nl extends S { @override String get trade_state_confirming => "Bevestiging"; @override + String get bright_theme => "Helder"; + @override String get send => "Sturen"; @override String get send_title => "Stuur"; @override String get error_text_keys => "Portefeuillesleutels kunnen maximaal 64 tekens bevatten in hexadecimale volgorde"; @override + String get light_theme => "Licht"; + @override String get settings_save_recipient_address => "Adres ontvanger opslaan"; @override String get change_exchange_provider => "Wijzig Exchange Provider"; @@ -7318,6 +7402,8 @@ class $zh extends S { @override String get biometric_auth_reason => "掃描指紋以進行身份驗證"; @override + String get dark_theme => "黑暗"; + @override String get transaction_sent => "交易已发送"; @override String get send_fee => "費用:"; @@ -7570,6 +7656,8 @@ class $zh extends S { @override String get filters => "過濾"; @override + String get color_theme => "顏色主題"; + @override String get settings_current_node => "当前节点"; @override String get copy_id => "复印ID"; @@ -7810,12 +7898,16 @@ class $zh extends S { @override String get trade_state_confirming => "确认中"; @override + String get bright_theme => "亮"; + @override String get send => "发送"; @override String get send_title => "發送"; @override String get error_text_keys => "钱包密钥只能包含16个字符的十六进制字符"; @override + String get light_theme => "光"; + @override String get settings_save_recipient_address => "保存收件人地址"; @override String get change_exchange_provider => "更改交易所提供商"; diff --git a/lib/themes.dart b/lib/themes.dart index 4158a8d91..310acc3df 100644 --- a/lib/themes.dart +++ b/lib/themes.dart @@ -47,11 +47,11 @@ class Themes extends EnumerableItem with Serializable { String toString() { switch (this) { case Themes.light: - return 'Light'; + return S.current.light_theme; case Themes.bright: - return 'Bright'; + return S.current.bright_theme; case Themes.dark: - return 'Dark'; + return S.current.dark_theme; default: return ''; } diff --git a/lib/view_model/settings/settings_view_model.dart b/lib/view_model/settings/settings_view_model.dart index 10f152c73..08ccb40b4 100644 --- a/lib/view_model/settings/settings_view_model.dart +++ b/lib/view_model/settings/settings_view_model.dart @@ -108,7 +108,7 @@ abstract class SettingsViewModelBase with Store { } }), PickerListItem( - title: 'Color theme', + title: S.current.color_theme, items: Themes.all, selectedItem: () => theme, onItemSelected: (Themes theme) => diff --git a/res/values/strings_de.arb b/res/values/strings_de.arb index eb0a6080b..9d519a6da 100644 --- a/res/values/strings_de.arb +++ b/res/values/strings_de.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} Error", - "use_ssl" : "Verwenden Sie SSL" + "use_ssl" : "Verwenden Sie SSL", + + "color_theme" : "Farbthema", + "light_theme" : "Licht", + "bright_theme" : "Hell", + "dark_theme" : "Dunkel" } \ No newline at end of file diff --git a/res/values/strings_en.arb b/res/values/strings_en.arb index 8a1267236..d249fb024 100644 --- a/res/values/strings_en.arb +++ b/res/values/strings_en.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} error", - "use_ssl" : "Use SSL" + "use_ssl" : "Use SSL", + + "color_theme" : "Color theme", + "light_theme" : "Light", + "bright_theme" : "Bright", + "dark_theme" : "Dark" } \ No newline at end of file diff --git a/res/values/strings_es.arb b/res/values/strings_es.arb index 00acdcb0c..f5ca1310e 100644 --- a/res/values/strings_es.arb +++ b/res/values/strings_es.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} error", - "use_ssl" : "Utilice SSL" + "use_ssl" : "Utilice SSL", + + "color_theme" : "Tema de color", + "light_theme" : "Ligera", + "bright_theme" : "Brillante", + "dark_theme" : "Oscura" } \ No newline at end of file diff --git a/res/values/strings_hi.arb b/res/values/strings_hi.arb index 9a9545c5d..315c21b79 100644 --- a/res/values/strings_hi.arb +++ b/res/values/strings_hi.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} त्रुटि", - "use_ssl" : "उपयोग SSL" + "use_ssl" : "उपयोग SSL", + + "color_theme" : "रंग विषय", + "light_theme" : "रोशनी", + "bright_theme" : "उज्ज्वल", + "dark_theme" : "अंधेरा" } \ No newline at end of file diff --git a/res/values/strings_ja.arb b/res/values/strings_ja.arb index cb4b63414..8b091406f 100644 --- a/res/values/strings_ja.arb +++ b/res/values/strings_ja.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} エラー", - "use_ssl" : "SSLを使用する" + "use_ssl" : "SSLを使用する", + + "color_theme" : "カラーテーマ", + "light_theme" : "光", + "bright_theme" : "明るい", + "dark_theme" : "闇" } \ No newline at end of file diff --git a/res/values/strings_ko.arb b/res/values/strings_ko.arb index c14898fd9..0362c6e5a 100644 --- a/res/values/strings_ko.arb +++ b/res/values/strings_ko.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} 오류", - "use_ssl" : "SSL 사용" + "use_ssl" : "SSL 사용", + + "color_theme" : "색상 테마", + "light_theme" : "빛", + "bright_theme" : "선명한", + "dark_theme" : "어두운" } \ No newline at end of file diff --git a/res/values/strings_nl.arb b/res/values/strings_nl.arb index e5093a406..265d4c452 100644 --- a/res/values/strings_nl.arb +++ b/res/values/strings_nl.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} fout", - "use_ssl" : "Gebruik SSL" + "use_ssl" : "Gebruik SSL", + + "color_theme" : "Kleur thema", + "light_theme" : "Licht", + "bright_theme" : "Helder", + "dark_theme" : "Donker" } \ No newline at end of file diff --git a/res/values/strings_pl.arb b/res/values/strings_pl.arb index e6b098360..dd38e9e02 100644 --- a/res/values/strings_pl.arb +++ b/res/values/strings_pl.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} pomyłka", - "use_ssl" : "Użyj SSL" + "use_ssl" : "Użyj SSL", + + "color_theme" : "Motyw kolorystyczny", + "light_theme" : "Lekki", + "bright_theme" : "Jasny", + "dark_theme" : "Ciemny" } \ No newline at end of file diff --git a/res/values/strings_pt.arb b/res/values/strings_pt.arb index e82032d7b..73b53cd16 100644 --- a/res/values/strings_pt.arb +++ b/res/values/strings_pt.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} erro", - "use_ssl" : "Use SSL" + "use_ssl" : "Use SSL", + + "color_theme" : "Tema de cor", + "light_theme" : "Luz", + "bright_theme" : "Brilhante", + "dark_theme" : "Sombria" } diff --git a/res/values/strings_ru.arb b/res/values/strings_ru.arb index b78b86ff1..d578c851c 100644 --- a/res/values/strings_ru.arb +++ b/res/values/strings_ru.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} ошибка", - "use_ssl" : "Использовать SSL" + "use_ssl" : "Использовать SSL", + + "color_theme" : "Цветовая тема", + "light_theme" : "Светлая", + "bright_theme" : "Яркая", + "dark_theme" : "Темная" } \ No newline at end of file diff --git a/res/values/strings_uk.arb b/res/values/strings_uk.arb index be77cd293..81f69352d 100644 --- a/res/values/strings_uk.arb +++ b/res/values/strings_uk.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} помилка", - "use_ssl" : "Використати SSL" + "use_ssl" : "Використати SSL", + + "color_theme" : "Кольорова тема", + "light_theme" : "Світла", + "bright_theme" : "Яскрава", + "dark_theme" : "Темна" } \ No newline at end of file diff --git a/res/values/strings_zh.arb b/res/values/strings_zh.arb index ee633aae8..4a6d2a6b2 100644 --- a/res/values/strings_zh.arb +++ b/res/values/strings_zh.arb @@ -423,5 +423,10 @@ "provider_error" : "${provider} 錯誤", - "use_ssl" : "使用SSL" + "use_ssl" : "使用SSL", + + "color_theme" : "顏色主題", + "light_theme" : "光", + "bright_theme" : "亮", + "dark_theme" : "黑暗" } \ No newline at end of file