From 139f223de85ae1022738c88dbe8f89bec9f69b68 Mon Sep 17 00:00:00 2001 From: Oleksandr Sobol Date: Wed, 23 Dec 2020 10:39:59 +0200 Subject: [PATCH] CAKE-198 | fixed string resources --- lib/generated/i18n.dart | 161 +++++++++++++++--- .../exchange_trade/exchange_trade_page.dart | 6 +- lib/src/screens/send/send_page.dart | 6 +- .../widgets/textfield_list_row.dart | 3 +- .../transaction_details_view_model.dart | 15 +- res/values/strings_de.arb | 8 +- res/values/strings_en.arb | 8 +- res/values/strings_es.arb | 8 +- res/values/strings_hi.arb | 8 +- res/values/strings_ja.arb | 8 +- res/values/strings_ko.arb | 8 +- res/values/strings_nl.arb | 8 +- res/values/strings_pl.arb | 8 +- res/values/strings_pt.arb | 8 +- res/values/strings_ru.arb | 8 +- res/values/strings_uk.arb | 8 +- res/values/strings_zh.arb | 8 +- 17 files changed, 235 insertions(+), 52 deletions(-) diff --git a/lib/generated/i18n.dart b/lib/generated/i18n.dart index 2abfd2a18..be5d653c9 100644 --- a/lib/generated/i18n.dart +++ b/lib/generated/i18n.dart @@ -63,6 +63,7 @@ class S implements WidgetsLocalizations { 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?"; String get confirm_sending => "Confirm sending"; + String get confirmations => "Confirmations"; String get contact => "Contact"; String get contact_name => "Contact Name"; String get continue_text => "Continue"; @@ -127,6 +128,9 @@ class S implements WidgetsLocalizations { String get node_test => "Test"; String get nodes => "Nodes"; String get nodes_list_reset_to_default_message => "Are you sure that you want to reset settings to default?"; + String get note => "Note"; + String get note_optional => "Note (optional)"; + String get note_tap_to_change => "Note (tap to change)"; String get offer_expires_in => "Offer expires in: "; String get ok => "OK"; String get openalias_alert_title => "XMR Recipient Detected"; @@ -212,13 +216,13 @@ class S implements WidgetsLocalizations { String get send_error_currency => "Currency can only contain numbers"; String get send_error_minimum_value => "Minimum value of amount is 0.01"; String get send_estimated_fee => "Estimated fee:"; - String get send_fee => "Fee"; + String get send_fee => "Fee:"; String get send_got_it => "Got it"; String get send_name => "Name"; String get send_new => "New"; String get send_payment_id => "Payment ID (optional)"; String get send_sending => "Sending..."; - String send_success(String crypto) => "Your ${crypto} was successfully sent"; + String get send_success => "Your Monero was successfully sent"; String get send_templates => "Templates"; String get send_title => "Send"; String get send_xmr => "Send XMR"; @@ -298,6 +302,7 @@ class S implements WidgetsLocalizations { String get transaction_details_recipient_address => "Recipient address"; String get transaction_details_title => "Transaction Details"; String get transaction_details_transaction_id => "Transaction ID"; + String get transaction_key => "Transaction Key"; String get transaction_priority_fast => "Fast"; String get transaction_priority_fastest => "Fastest"; String get transaction_priority_medium => "Medium"; @@ -402,7 +407,7 @@ class $de extends S { @override String get transaction_sent => "Transaktion gesendet!"; @override - String get send_fee => "Gebühr"; + String get send_fee => "Gebühr:"; @override String get password => "Passwort"; @override @@ -446,6 +451,8 @@ class $de extends S { @override String get placeholder_contacts => "Ihre Kontakte werden hier angezeigt"; @override + String get transaction_key => "Transaktionsschlüssel"; + @override String get card_address => "Adresse:"; @override String get seed_language_portuguese => "Portugiesisch"; @@ -518,6 +525,8 @@ class $de extends S { @override String get node_connection_successful => "Die Verbindung war erfolgreich"; @override + String get confirmations => "Bestätigungen"; + @override String get confirm => "Bestätigen"; @override String get settings_display_balance_as => "Kontostand anzeigen als"; @@ -554,6 +563,8 @@ class $de extends S { @override String get address_book_menu => "Adressbuch"; @override + String get note_optional => "Hinweis (optional)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Falsche Samenlänge"; @override String get seed_language_spanish => "Spanisch"; @@ -642,7 +653,7 @@ class $de extends S { @override String get trade_details_created_at => "Hergestellt in"; @override - String send_success(String crypto) => "Ihr ${crypto} wurde erfolgreich gesendet"; + String get send_success => "Ihr Monero wurde erfolgreich gesendet"; @override String get settings_wallets => "Brieftaschen"; @override @@ -684,6 +695,8 @@ class $de extends S { @override String get transaction_details_date => "Datum"; @override + String get note_tap_to_change => "Hinweis (zum Ändern tippen)"; + @override String get show_seed => "Seed zeigen"; @override String get send_error_currency => "Die Währung kann nur Zahlen enthalten"; @@ -906,6 +919,8 @@ class $de extends S { @override String get settings_save_recipient_address => "Empfängeradresse speichern"; @override + String get note => "Hinweis"; + @override String get change_exchange_provider => "Wechseln Sie den Exchange-Anbieter"; @override String get send_payment_id => "Zahlungs ID (wahlweise)"; @@ -1146,6 +1161,8 @@ class $hi extends S { @override String get placeholder_contacts => "आपके संपर्क यहां प्रदर्शित होंगे"; @override + String get transaction_key => "लेन-देन की"; + @override String get card_address => "पता:"; @override String get seed_language_portuguese => "पुर्तगाली"; @@ -1218,6 +1235,8 @@ class $hi extends S { @override String get node_connection_successful => "कनेक्शन सफल रहा"; @override + String get confirmations => "पुष्टिकरण"; + @override String get confirm => "की पुष्टि करें"; @override String get settings_display_balance_as => "के रूप में संतुलन प्रदर्शित करें"; @@ -1254,6 +1273,8 @@ class $hi extends S { @override String get address_book_menu => "पता पुस्तिका"; @override + String get note_optional => "नोट (वैकल्पिक)"; + @override String get wallet_restoration_store_incorrect_seed_length => "गलत बीज की लंबाई"; @override String get seed_language_spanish => "स्पेनिश"; @@ -1342,7 +1363,7 @@ class $hi extends S { @override String get trade_details_created_at => "पर बनाया गया"; @override - String send_success(String crypto) => "आपका ${crypto} सफलतापूर्वक भेजा गया"; + String get send_success => "आपका Monero सफलतापूर्वक भेजा गया"; @override String get settings_wallets => "पर्स"; @override @@ -1384,6 +1405,8 @@ class $hi extends S { @override String get transaction_details_date => "तारीख"; @override + String get note_tap_to_change => "नोट (टैप टू चेंज)"; + @override String get show_seed => "बीज दिखाओ"; @override String get send_error_currency => "मुद्रा में केवल संख्याएँ हो सकती हैं"; @@ -1606,6 +1629,8 @@ class $hi extends S { @override String get settings_save_recipient_address => "प्राप्तकर्ता का पता सहेजें"; @override + String get note => "नोट"; + @override String get change_exchange_provider => "एक्सचेंज प्रदाता बदलें"; @override String get send_payment_id => "भुगतान ID (ऐच्छिक)"; @@ -1802,7 +1827,7 @@ class $ru extends S { @override String get transaction_sent => "Tранзакция отправлена!"; @override - String get send_fee => "Комиссия"; + String get send_fee => "Комиссия:"; @override String get password => "Пароль"; @override @@ -1846,6 +1871,8 @@ class $ru extends S { @override String get placeholder_contacts => "Ваши контакты будут отображаться здесь"; @override + String get transaction_key => "Ключ транзакции"; + @override String get card_address => "Адрес:"; @override String get seed_language_portuguese => "Португальский"; @@ -1918,6 +1945,8 @@ class $ru extends S { @override String get node_connection_successful => "Подключение прошло успешно"; @override + String get confirmations => "Подтверждения"; + @override String get confirm => "Подтвердить"; @override String get settings_display_balance_as => "Отображать баланс как"; @@ -1954,6 +1983,8 @@ class $ru extends S { @override String get address_book_menu => "Адресная книга"; @override + String get note_optional => "Примечание (необязательно)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Неверная длина мнемонической фразы"; @override String get seed_language_spanish => "Испанский"; @@ -2042,7 +2073,7 @@ class $ru extends S { @override String get trade_details_created_at => "Создано"; @override - String send_success(String crypto) => "Ваш ${crypto} был успешно отправлен"; + String get send_success => "Ваш Monero был успешно отправлен"; @override String get settings_wallets => "Кошельки"; @override @@ -2084,6 +2115,8 @@ class $ru extends S { @override String get transaction_details_date => "Дата"; @override + String get note_tap_to_change => "Примечание (нажмите для изменения)"; + @override String get show_seed => "Показать мнемоническую фразу"; @override String get send_error_currency => "Валюта может содержать только цифры"; @@ -2306,6 +2339,8 @@ class $ru extends S { @override String get settings_save_recipient_address => "Сохранять адрес получателя"; @override + String get note => "Примечание"; + @override String get change_exchange_provider => "Изменить провайдера обмена"; @override String get send_payment_id => "ID платежа (опционально)"; @@ -2502,7 +2537,7 @@ class $ko extends S { @override String get transaction_sent => "거래가 전송되었습니다!"; @override - String get send_fee => "회비"; + String get send_fee => "회비:"; @override String get password => "암호"; @override @@ -2546,6 +2581,8 @@ class $ko extends S { @override String get placeholder_contacts => "연락처가 여기에 표시됩니다"; @override + String get transaction_key => "거래 키"; + @override String get card_address => "주소:"; @override String get seed_language_portuguese => "포르투갈 인"; @@ -2618,6 +2655,8 @@ class $ko extends S { @override String get node_connection_successful => "성공적으로 연결되었습니다."; @override + String get confirmations => "확인"; + @override String get confirm => "확인"; @override String get settings_display_balance_as => "잔액 표시"; @@ -2654,6 +2693,8 @@ class $ko extends S { @override String get address_book_menu => "주소록"; @override + String get note_optional => "참고 (선택 사항)"; + @override String get wallet_restoration_store_incorrect_seed_length => "시드 길이가 잘못되었습니다"; @override String get seed_language_spanish => "스페인의"; @@ -2742,7 +2783,7 @@ class $ko extends S { @override String get trade_details_created_at => "에 작성"; @override - String send_success(String crypto) => "${crypto}가 성공적으로 전송되었습니다"; + String get send_success => "Monero가 성공적으로 전송되었습니다"; @override String get settings_wallets => "지갑"; @override @@ -2784,6 +2825,8 @@ class $ko extends S { @override String get transaction_details_date => "날짜"; @override + String get note_tap_to_change => "메모 (변경하려면 탭하세요)"; + @override String get show_seed => "종자 표시"; @override String get send_error_currency => "통화는 숫자 만 포함 할 수 있습니다"; @@ -3006,6 +3049,8 @@ class $ko extends S { @override String get settings_save_recipient_address => "수신자 주소 저장"; @override + String get note => "노트"; + @override String get change_exchange_provider => "교환 공급자 변경"; @override String get send_payment_id => "지불 ID (optional)"; @@ -3202,7 +3247,7 @@ class $pt extends S { @override String get transaction_sent => "Transação enviada!"; @override - String get send_fee => "Taxa"; + String get send_fee => "Taxa:"; @override String get password => "Senha"; @override @@ -3246,6 +3291,8 @@ class $pt extends S { @override String get placeholder_contacts => "Seus contatos serão exibidos aqui"; @override + String get transaction_key => "Chave de transação"; + @override String get card_address => "Endereço:"; @override String get seed_language_portuguese => "Português"; @@ -3318,6 +3365,8 @@ class $pt extends S { @override String get node_connection_successful => "A conexão foi bem sucedida"; @override + String get confirmations => "Confirmações"; + @override String get confirm => "Confirmar"; @override String get settings_display_balance_as => "Saldo a exibir"; @@ -3354,6 +3403,8 @@ class $pt extends S { @override String get address_book_menu => "Livro de endereços"; @override + String get note_optional => "Nota (opcional)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Comprimento de semente incorreto"; @override String get seed_language_spanish => "Espanhola"; @@ -3442,7 +3493,7 @@ class $pt extends S { @override String get trade_details_created_at => "Criada em"; @override - String send_success(String crypto) => "Seu ${crypto} foi enviado com sucesso"; + String get send_success => "Seu Monero foi enviado com sucesso"; @override String get settings_wallets => "Carteiras"; @override @@ -3484,6 +3535,8 @@ class $pt extends S { @override String get transaction_details_date => "Data"; @override + String get note_tap_to_change => "Nota (toque para alterar)"; + @override String get show_seed => "Mostrar semente"; @override String get send_error_currency => "A moeda só pode conter números"; @@ -3706,6 +3759,8 @@ class $pt extends S { @override String get settings_save_recipient_address => "Salvar endereço do destinatário"; @override + String get note => "Nota"; + @override String get change_exchange_provider => "Alterar o provedor de troca"; @override String get send_payment_id => "ID de pagamento (opcional)"; @@ -3902,7 +3957,7 @@ class $uk extends S { @override String get transaction_sent => "Tранзакцію відправлено!"; @override - String get send_fee => "Комісія"; + String get send_fee => "Комісія:"; @override String get password => "Пароль"; @override @@ -3946,6 +4001,8 @@ class $uk extends S { @override String get placeholder_contacts => "Тут будуть показані ваші контакти"; @override + String get transaction_key => "Ключ транзакції"; + @override String get card_address => "Адреса:"; @override String get seed_language_portuguese => "Португальська"; @@ -4018,6 +4075,8 @@ class $uk extends S { @override String get node_connection_successful => "З'єднання було успішним"; @override + String get confirmations => "Підтвердження"; + @override String get confirm => "Підтвердити"; @override String get settings_display_balance_as => "Відображати баланс як"; @@ -4054,6 +4113,8 @@ class $uk extends S { @override String get address_book_menu => "Адресна книга"; @override + String get note_optional => "Примітка (необов’язково)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Невірна довжина мнемонічної фрази"; @override String get seed_language_spanish => "Іспанська"; @@ -4142,7 +4203,7 @@ class $uk extends S { @override String get trade_details_created_at => "Створено"; @override - String send_success(String crypto) => "Ваш ${crypto} успішно надісланий"; + String get send_success => "Ваш Monero успішно надісланий"; @override String get settings_wallets => "Гаманці"; @override @@ -4184,6 +4245,8 @@ class $uk extends S { @override String get transaction_details_date => "Дата"; @override + String get note_tap_to_change => "Примітка (натисніть для зміни)"; + @override String get show_seed => "Показати мнемонічну фразу"; @override String get send_error_currency => "Валюта може містити тільки цифри"; @@ -4406,6 +4469,8 @@ class $uk extends S { @override String get settings_save_recipient_address => "Зберігати адресу отримувача"; @override + String get note => "Примітка"; + @override String get change_exchange_provider => "Змінити провайдера обміну"; @override String get send_payment_id => "ID платежу (опційно)"; @@ -4602,7 +4667,7 @@ class $ja extends S { @override String get transaction_sent => "トランザクションが送信されました!"; @override - String get send_fee => "費用"; + String get send_fee => "費用:"; @override String get password => "パスワード"; @override @@ -4646,6 +4711,8 @@ class $ja extends S { @override String get placeholder_contacts => "連絡先はここに表示されます"; @override + String get transaction_key => "トランザクションキー"; + @override String get card_address => "住所:"; @override String get seed_language_portuguese => "ポルトガル語"; @@ -4718,6 +4785,8 @@ class $ja extends S { @override String get node_connection_successful => "接続に成功しました"; @override + String get confirmations => "確認"; + @override String get confirm => "確認する"; @override String get settings_display_balance_as => "残高を表示"; @@ -4754,6 +4823,8 @@ class $ja extends S { @override String get address_book_menu => "住所録"; @override + String get note_optional => "注(オプション)"; + @override String get wallet_restoration_store_incorrect_seed_length => "誤ったシード長s"; @override String get seed_language_spanish => "スペイン語"; @@ -4842,7 +4913,7 @@ class $ja extends S { @override String get trade_details_created_at => "で作成"; @override - String send_success(String crypto) => "${crypto}が送信されました"; + String get send_success => "Moneroが送信されました"; @override String get settings_wallets => "財布"; @override @@ -4884,6 +4955,8 @@ class $ja extends S { @override String get transaction_details_date => "日付"; @override + String get note_tap_to_change => "注(タップして変更)"; + @override String get show_seed => "シードを表示"; @override String get send_error_currency => "通貨には数字のみを含めることができます"; @@ -5106,6 +5179,8 @@ class $ja extends S { @override String get settings_save_recipient_address => "受信者のアドレスを保存"; @override + String get note => "注意"; + @override String get change_exchange_provider => "Exchangeプロバイダーの変更"; @override String get send_payment_id => "支払いID (オプショナル)"; @@ -5306,7 +5381,7 @@ class $pl extends S { @override String get transaction_sent => "Transakcja wysłana!"; @override - String get send_fee => "Opłata"; + String get send_fee => "Opłata:"; @override String get password => "Hasło"; @override @@ -5350,6 +5425,8 @@ class $pl extends S { @override String get placeholder_contacts => "Twoje kontakty zostaną wyświetlone tutaj"; @override + String get transaction_key => "Klucz transakcji"; + @override String get card_address => "Adres:"; @override String get seed_language_portuguese => "Portugalski"; @@ -5422,6 +5499,8 @@ class $pl extends S { @override String get node_connection_successful => "Połączenie powiodło się"; @override + String get confirmations => "Potwierdzenia"; + @override String get confirm => "Potwierdzać"; @override String get settings_display_balance_as => "Wyświetl saldo jako"; @@ -5458,6 +5537,8 @@ class $pl extends S { @override String get address_book_menu => "Książka adresowa"; @override + String get note_optional => "Notatka (opcjonalnie)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Nieprawidłowa długość nasion"; @override String get seed_language_spanish => "Hiszpański"; @@ -5546,7 +5627,7 @@ class $pl extends S { @override String get trade_details_created_at => "Utworzono w"; @override - String send_success(String crypto) => "Twoje ${crypto} zostało pomyślnie wysłane"; + String get send_success => "Twoje Monero zostało pomyślnie wysłane"; @override String get settings_wallets => "Portfele"; @override @@ -5588,6 +5669,8 @@ class $pl extends S { @override String get transaction_details_date => "Data"; @override + String get note_tap_to_change => "Notatka (dotknij, aby zmienić)"; + @override String get show_seed => "Pokaż nasiona"; @override String get send_error_currency => "Waluta może zawierać tylko cyfry"; @@ -5810,6 +5893,8 @@ class $pl extends S { @override String get settings_save_recipient_address => "Zapisz adres odbiorcy"; @override + String get note => "Notatka"; + @override String get change_exchange_provider => "Zmień dostawcę programu Exchange"; @override String get send_payment_id => "Identyfikator płatności (opcjonalny)"; @@ -6006,7 +6091,7 @@ class $es extends S { @override String get transaction_sent => "Transacción enviada!"; @override - String get send_fee => "Cuota"; + String get send_fee => "Cuota:"; @override String get password => "Contraseña"; @override @@ -6050,6 +6135,8 @@ class $es extends S { @override String get placeholder_contacts => "Tus contactos se mostrarán aquí"; @override + String get transaction_key => "Clave de transacción"; + @override String get card_address => "Dirección:"; @override String get seed_language_portuguese => "Portugués"; @@ -6122,6 +6209,8 @@ class $es extends S { @override String get node_connection_successful => "La conexión fue exitosa"; @override + String get confirmations => "Confirmaciones"; + @override String get confirm => "Confirmar"; @override String get settings_display_balance_as => "Mostrar saldo como"; @@ -6158,6 +6247,8 @@ class $es extends S { @override String get address_book_menu => "Libreta de direcciones"; @override + String get note_optional => "Nota (opcional)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Longitud de semilla incorrecta"; @override String get seed_language_spanish => "Español"; @@ -6246,7 +6337,7 @@ class $es extends S { @override String get trade_details_created_at => "Creado en"; @override - String send_success(String crypto) => "Su ${crypto} fue enviado con éxito"; + String get send_success => "Su Monero fue enviado con éxito"; @override String get settings_wallets => "Carteras"; @override @@ -6288,6 +6379,8 @@ class $es extends S { @override String get transaction_details_date => "Fecha"; @override + String get note_tap_to_change => "Nota (toque para cambiar)"; + @override String get show_seed => "Mostrar semilla"; @override String get send_error_currency => "La moneda solo puede contener números"; @@ -6510,6 +6603,8 @@ class $es extends S { @override String get settings_save_recipient_address => "Guardar dirección del destinatario"; @override + String get note => "Nota"; + @override String get change_exchange_provider => "Cambiar proveedor de intercambio"; @override String get send_payment_id => "ID de pago (opcional)"; @@ -6706,7 +6801,7 @@ class $nl extends S { @override String get transaction_sent => "Transactie verzonden!"; @override - String get send_fee => "Vergoeding"; + String get send_fee => "Vergoeding:"; @override String get password => "Wachtwoord"; @override @@ -6750,6 +6845,8 @@ class $nl extends S { @override String get placeholder_contacts => "Je contacten worden hier weergegeven"; @override + String get transaction_key => "Transactiesleutel"; + @override String get card_address => "Adres:"; @override String get seed_language_portuguese => "Portugees"; @@ -6822,6 +6919,8 @@ class $nl extends S { @override String get node_connection_successful => "Verbinding is gelukt"; @override + String get confirmations => "Bevestigingen"; + @override String get confirm => "Bevestigen"; @override String get settings_display_balance_as => "Toon saldo als"; @@ -6858,6 +6957,8 @@ class $nl extends S { @override String get address_book_menu => "Adresboek"; @override + String get note_optional => "Opmerking (optioneel)"; + @override String get wallet_restoration_store_incorrect_seed_length => "Onjuiste zaadlengte"; @override String get seed_language_spanish => "Spaans"; @@ -6946,7 +7047,7 @@ class $nl extends S { @override String get trade_details_created_at => "Gemaakt bij"; @override - String send_success(String crypto) => "Uw ${crypto} is succesvol verzonden"; + String get send_success => "Uw Monero is succesvol verzonden"; @override String get settings_wallets => "Portemonnee"; @override @@ -6988,6 +7089,8 @@ class $nl extends S { @override String get transaction_details_date => "Datum"; @override + String get note_tap_to_change => "Opmerking (tik om te wijzigen)"; + @override String get show_seed => "Toon zaad"; @override String get send_error_currency => "Valuta kan alleen cijfers bevatten"; @@ -7210,6 +7313,8 @@ class $nl extends S { @override String get settings_save_recipient_address => "Adres ontvanger opslaan"; @override + String get note => "Opmerking"; + @override String get change_exchange_provider => "Wijzig Exchange Provider"; @override String get send_payment_id => "Betaling ID (facultatief)"; @@ -7406,7 +7511,7 @@ class $zh extends S { @override String get transaction_sent => "交易已发送"; @override - String get send_fee => "費用"; + String get send_fee => "費用:"; @override String get password => "密码"; @override @@ -7450,6 +7555,8 @@ class $zh extends S { @override String get placeholder_contacts => "您的聯繫人將顯示在這裡"; @override + String get transaction_key => "交易密碼"; + @override String get card_address => "地址:"; @override String get seed_language_portuguese => "葡萄牙語"; @@ -7522,6 +7629,8 @@ class $zh extends S { @override String get node_connection_successful => "連接成功"; @override + String get confirmations => "確認書"; + @override String get confirm => "确认"; @override String get settings_display_balance_as => "将余额显示为"; @@ -7558,6 +7667,8 @@ class $zh extends S { @override String get address_book_menu => "地址簿"; @override + String get note_optional => "注意(可選)"; + @override String get wallet_restoration_store_incorrect_seed_length => "种子长度错误"; @override String get seed_language_spanish => "西班牙文"; @@ -7646,7 +7757,7 @@ class $zh extends S { @override String get trade_details_created_at => "创建于"; @override - String send_success(String crypto) => "你${crypto}已成功發送"; + String get send_success => "你Monero已成功發送"; @override String get settings_wallets => "皮夹"; @override @@ -7688,6 +7799,8 @@ class $zh extends S { @override String get transaction_details_date => "日期"; @override + String get note_tap_to_change => "注意(輕按即可更改)"; + @override String get show_seed => "显示种子"; @override String get send_error_currency => "货币只能包含数字"; @@ -7910,6 +8023,8 @@ class $zh extends S { @override String get settings_save_recipient_address => "保存收件人地址"; @override + String get note => "注意"; + @override String get change_exchange_provider => "更改交易所提供商"; @override String get send_payment_id => "付款编号 (可选的)"; diff --git a/lib/src/screens/exchange_trade/exchange_trade_page.dart b/lib/src/screens/exchange_trade/exchange_trade_page.dart index e43b8d8f1..64ff65972 100644 --- a/lib/src/screens/exchange_trade/exchange_trade_page.dart +++ b/lib/src/screens/exchange_trade/exchange_trade_page.dart @@ -305,11 +305,7 @@ class ExchangeTradeState extends State { padding: EdgeInsets.only( top: 220, left: 24, right: 24), child: Text( - S.of(context).send_success(widget - .exchangeTradeViewModel - .wallet - .currency - .toString()), + S.of(context).send_success, textAlign: TextAlign.center, style: TextStyle( fontSize: 22, diff --git a/lib/src/screens/send/send_page.dart b/lib/src/screens/send/send_page.dart index db943148d..54bfd4a24 100644 --- a/lib/src/screens/send/send_page.dart +++ b/lib/src/screens/send/send_page.dart @@ -320,7 +320,7 @@ class SendPage extends BasePage { fontSize: 14, fontWeight: FontWeight.w500, color: Colors.white), - hintText: 'Note (optional)', + hintText: S.of(context).note_optional, placeholderTextStyle: TextStyle( fontSize: 14, fontWeight: FontWeight.w500, @@ -668,9 +668,7 @@ class SendPage extends BasePage { padding: EdgeInsets.only( top: 220, left: 24, right: 24), child: Text( - S.of(context).send_success( - sendViewModel.currency - .toString()), + S.of(context).send_success, textAlign: TextAlign.center, style: TextStyle( fontSize: 22, diff --git a/lib/src/screens/transaction_details/widgets/textfield_list_row.dart b/lib/src/screens/transaction_details/widgets/textfield_list_row.dart index 3f2f2d877..560428ff9 100644 --- a/lib/src/screens/transaction_details/widgets/textfield_list_row.dart +++ b/lib/src/screens/transaction_details/widgets/textfield_list_row.dart @@ -1,5 +1,6 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; +import 'package:cake_wallet/generated/i18n.dart'; class TextFieldListRow extends StatelessWidget { TextFieldListRow( @@ -59,7 +60,7 @@ class TextFieldListRow extends StatelessWidget { decoration: InputDecoration( isDense: true, contentPadding: EdgeInsets.only(top: 12, bottom: 0), - hintText: 'Note', + hintText: S.of(context).note, hintStyle: TextStyle( fontSize: valueFontSize, fontWeight: FontWeight.w500, diff --git a/lib/view_model/transaction_details_view_model.dart b/lib/view_model/transaction_details_view_model.dart index e3f57c9a3..b27e6816e 100644 --- a/lib/view_model/transaction_details_view_model.dart +++ b/lib/view_model/transaction_details_view_model.dart @@ -42,8 +42,9 @@ abstract class TransactionDetailsViewModelBase with Store { ]; if (tx.key?.isNotEmpty ?? null) { - // FIXME: add translation - _items.add(StandartListItem(title: 'Transaction Key', value: tx.key)); + _items.add(StandartListItem( + title: S.current.transaction_key, + value: tx.key)); } items.addAll(_items); @@ -56,9 +57,8 @@ abstract class TransactionDetailsViewModelBase with Store { StandartListItem( title: S.current.transaction_details_date, value: dateFormat.format(tx.date)), - // FIXME: add translation StandartListItem( - title: 'Confirmations', value: tx.confirmations?.toString()), + title: S.current.confirmations, value: tx.confirmations?.toString()), StandartListItem( title: S.current.transaction_details_height, value: '${tx.height}'), StandartListItem( @@ -87,9 +87,10 @@ abstract class TransactionDetailsViewModelBase with Store { (val) => val.id == transactionInfo.id, orElse: () => null); if (description != null) { - // FIXME: add translation - items.add(TextFieldListItem(title: 'Note (tap to change)', - value: description.note, onSubmitted: (value) { + items.add(TextFieldListItem( + title: S.current.note_tap_to_change, + value: description.note, + onSubmitted: (value) { description.transactionNote = value; description.save(); })); diff --git a/res/values/strings_de.arb b/res/values/strings_de.arb index ee47ace4c..8e08be734 100644 --- a/res/values/strings_de.arb +++ b/res/values/strings_de.arb @@ -428,5 +428,11 @@ "color_theme" : "Farbthema", "light_theme" : "Licht", "bright_theme" : "Hell", - "dark_theme" : "Dunkel" + "dark_theme" : "Dunkel", + + "note" : "Hinweis", + "note_optional" : "Hinweis (optional)", + "note_tap_to_change" : "Hinweis (zum Ändern tippen)", + "transaction_key" : "Transaktionsschlüssel", + "confirmations" : "Bestätigungen" } \ No newline at end of file diff --git a/res/values/strings_en.arb b/res/values/strings_en.arb index ee6925cc0..9ce7a6c81 100644 --- a/res/values/strings_en.arb +++ b/res/values/strings_en.arb @@ -428,5 +428,11 @@ "color_theme" : "Color theme", "light_theme" : "Light", "bright_theme" : "Bright", - "dark_theme" : "Dark" + "dark_theme" : "Dark", + + "note" : "Note", + "note_optional" : "Note (optional)", + "note_tap_to_change" : "Note (tap to change)", + "transaction_key" : "Transaction Key", + "confirmations" : "Confirmations" } \ No newline at end of file diff --git a/res/values/strings_es.arb b/res/values/strings_es.arb index 7483b75e0..bf049df8d 100644 --- a/res/values/strings_es.arb +++ b/res/values/strings_es.arb @@ -428,5 +428,11 @@ "color_theme" : "Tema de color", "light_theme" : "Ligera", "bright_theme" : "Brillante", - "dark_theme" : "Oscura" + "dark_theme" : "Oscura", + + "note" : "Nota", + "note_optional" : "Nota (opcional)", + "note_tap_to_change" : "Nota (toque para cambiar)", + "transaction_key" : "Clave de transacción", + "confirmations" : "Confirmaciones" } \ No newline at end of file diff --git a/res/values/strings_hi.arb b/res/values/strings_hi.arb index 21caa7c77..3933f1001 100644 --- a/res/values/strings_hi.arb +++ b/res/values/strings_hi.arb @@ -428,5 +428,11 @@ "color_theme" : "रंग विषय", "light_theme" : "रोशनी", "bright_theme" : "उज्ज्वल", - "dark_theme" : "अंधेरा" + "dark_theme" : "अंधेरा", + + "note" : "नोट", + "note_optional" : "नोट (वैकल्पिक)", + "note_tap_to_change" : "नोट (टैप टू चेंज)", + "transaction_key" : "लेन-देन की", + "confirmations" : "पुष्टिकरण" } \ No newline at end of file diff --git a/res/values/strings_ja.arb b/res/values/strings_ja.arb index eff9adf68..752af90a2 100644 --- a/res/values/strings_ja.arb +++ b/res/values/strings_ja.arb @@ -428,5 +428,11 @@ "color_theme" : "カラーテーマ", "light_theme" : "光", "bright_theme" : "明るい", - "dark_theme" : "闇" + "dark_theme" : "闇", + + "note" : "注意", + "note_optional" : "注(オプション)", + "note_tap_to_change" : "注(タップして変更)", + "transaction_key" : "トランザクションキー", + "confirmations" : "確認" } \ No newline at end of file diff --git a/res/values/strings_ko.arb b/res/values/strings_ko.arb index ed0e78da6..7a4707c6f 100644 --- a/res/values/strings_ko.arb +++ b/res/values/strings_ko.arb @@ -428,5 +428,11 @@ "color_theme" : "색상 테마", "light_theme" : "빛", "bright_theme" : "선명한", - "dark_theme" : "어두운" + "dark_theme" : "어두운", + + "note" : "노트", + "note_optional" : "참고 (선택 사항)", + "note_tap_to_change" : "메모 (변경하려면 탭하세요)", + "transaction_key" : "거래 키", + "confirmations" : "확인" } \ No newline at end of file diff --git a/res/values/strings_nl.arb b/res/values/strings_nl.arb index b8d6a9ab4..9d03ea080 100644 --- a/res/values/strings_nl.arb +++ b/res/values/strings_nl.arb @@ -428,5 +428,11 @@ "color_theme" : "Kleur thema", "light_theme" : "Licht", "bright_theme" : "Helder", - "dark_theme" : "Donker" + "dark_theme" : "Donker", + + "note" : "Opmerking", + "note_optional" : "Opmerking (optioneel)", + "note_tap_to_change" : "Opmerking (tik om te wijzigen)", + "transaction_key" : "Transactiesleutel", + "confirmations" : "Bevestigingen" } \ No newline at end of file diff --git a/res/values/strings_pl.arb b/res/values/strings_pl.arb index 1fe58d723..7abca0b1d 100644 --- a/res/values/strings_pl.arb +++ b/res/values/strings_pl.arb @@ -428,5 +428,11 @@ "color_theme" : "Motyw kolorystyczny", "light_theme" : "Lekki", "bright_theme" : "Jasny", - "dark_theme" : "Ciemny" + "dark_theme" : "Ciemny", + + "note" : "Notatka", + "note_optional" : "Notatka (opcjonalnie)", + "note_tap_to_change" : "Notatka (dotknij, aby zmienić)", + "transaction_key" : "Klucz transakcji", + "confirmations" : "Potwierdzenia" } \ No newline at end of file diff --git a/res/values/strings_pt.arb b/res/values/strings_pt.arb index 9049b824e..1e68ea62a 100644 --- a/res/values/strings_pt.arb +++ b/res/values/strings_pt.arb @@ -428,5 +428,11 @@ "color_theme" : "Tema de cor", "light_theme" : "Luz", "bright_theme" : "Brilhante", - "dark_theme" : "Sombria" + "dark_theme" : "Sombria", + + "note" : "Nota", + "note_optional" : "Nota (opcional)", + "note_tap_to_change" : "Nota (toque para alterar)", + "transaction_key" : "Chave de transação", + "confirmations" : "Confirmações" } diff --git a/res/values/strings_ru.arb b/res/values/strings_ru.arb index f3e633512..66a8efad6 100644 --- a/res/values/strings_ru.arb +++ b/res/values/strings_ru.arb @@ -428,5 +428,11 @@ "color_theme" : "Цветовая тема", "light_theme" : "Светлая", "bright_theme" : "Яркая", - "dark_theme" : "Темная" + "dark_theme" : "Темная", + + "note" : "Примечание", + "note_optional" : "Примечание (необязательно)", + "note_tap_to_change" : "Примечание (нажмите для изменения)", + "transaction_key" : "Ключ транзакции", + "confirmations" : "Подтверждения" } \ No newline at end of file diff --git a/res/values/strings_uk.arb b/res/values/strings_uk.arb index d0906da4b..28171cef9 100644 --- a/res/values/strings_uk.arb +++ b/res/values/strings_uk.arb @@ -428,5 +428,11 @@ "color_theme" : "Кольорова тема", "light_theme" : "Світла", "bright_theme" : "Яскрава", - "dark_theme" : "Темна" + "dark_theme" : "Темна", + + "note" : "Примітка", + "note_optional" : "Примітка (необов’язково)", + "note_tap_to_change" : "Примітка (натисніть для зміни)", + "transaction_key" : "Ключ транзакції", + "confirmations" : "Підтвердження" } \ No newline at end of file diff --git a/res/values/strings_zh.arb b/res/values/strings_zh.arb index 890a3b502..7ab6221aa 100644 --- a/res/values/strings_zh.arb +++ b/res/values/strings_zh.arb @@ -428,5 +428,11 @@ "color_theme" : "顏色主題", "light_theme" : "光", "bright_theme" : "亮", - "dark_theme" : "黑暗" + "dark_theme" : "黑暗", + + "note" : "注意", + "note_optional" : "注意(可選)", + "note_tap_to_change" : "注意(輕按即可更改)", + "transaction_key" : "交易密碼", + "confirmations" : "確認書" } \ No newline at end of file