From d7cc595179a70ab6513d23844463af0caba9e61b Mon Sep 17 00:00:00 2001 From: Oleksandr Sobol Date: Wed, 23 Dec 2020 19:14:11 +0200 Subject: [PATCH] CAKE-198 | changed hint text from "Note" to "Enter your note..."; changed color of the hint text in textfield_list_row --- lib/generated/i18n.dart | 46 +++++++++---------- .../widgets/textfield_list_row.dart | 14 ++---- res/values/strings_de.arb | 2 +- res/values/strings_en.arb | 2 +- res/values/strings_es.arb | 2 +- res/values/strings_hi.arb | 2 +- res/values/strings_ja.arb | 2 +- res/values/strings_ko.arb | 2 +- res/values/strings_nl.arb | 2 +- res/values/strings_pl.arb | 2 +- res/values/strings_pt.arb | 2 +- res/values/strings_ru.arb | 2 +- res/values/strings_uk.arb | 2 +- res/values/strings_zh.arb | 2 +- 14 files changed, 40 insertions(+), 44 deletions(-) diff --git a/lib/generated/i18n.dart b/lib/generated/i18n.dart index 4157b47b7..0aea9f9c9 100644 --- a/lib/generated/i18n.dart +++ b/lib/generated/i18n.dart @@ -78,6 +78,7 @@ class S implements WidgetsLocalizations { String get delete => "Delete"; String get digit_pin => "-digit PIN"; String get edit => "Edit"; + String get enter_your_note => "Enter your note…"; String get enter_your_pin => "Enter your PIN"; String get enter_your_pin_again => "Enter your pin again"; String get error => "Error"; @@ -128,7 +129,6 @@ 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: "; @@ -780,6 +780,8 @@ class $de extends S { @override String get template => "Vorlage"; @override + String get enter_your_note => "Geben Sie Ihre Notiz ein…"; + @override String get transaction_priority_medium => "Mittel"; @override String get transaction_details_transaction_id => "Transaktions-ID"; @@ -922,8 +924,6 @@ 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)"; @@ -1492,6 +1492,8 @@ class $hi extends S { @override String get template => "खाका"; @override + String get enter_your_note => "अपना नोट दर्ज करें ..."; + @override String get transaction_priority_medium => "मध्यम"; @override String get transaction_details_transaction_id => "लेनदेन आईडी"; @@ -1634,8 +1636,6 @@ 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 (ऐच्छिक)"; @@ -2204,6 +2204,8 @@ class $ru extends S { @override String get template => "Шаблон"; @override + String get enter_your_note => "Введите примечание…"; + @override String get transaction_priority_medium => "Средний"; @override String get transaction_details_transaction_id => "ID транзакции"; @@ -2346,8 +2348,6 @@ 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 платежа (опционально)"; @@ -2916,6 +2916,8 @@ class $ko extends S { @override String get template => "주형"; @override + String get enter_your_note => "메모를 입력하세요…"; + @override String get transaction_priority_medium => "매질"; @override String get transaction_details_transaction_id => "트랜잭션 ID"; @@ -3058,8 +3060,6 @@ 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)"; @@ -3628,6 +3628,8 @@ class $pt extends S { @override String get template => "Modelo"; @override + String get enter_your_note => "Insira sua nota ..."; + @override String get transaction_priority_medium => "Média"; @override String get transaction_details_transaction_id => "ID da transação"; @@ -3770,8 +3772,6 @@ 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)"; @@ -4340,6 +4340,8 @@ class $uk extends S { @override String get template => "Шаблон"; @override + String get enter_your_note => "Введіть примітку…"; + @override String get transaction_priority_medium => "Середній"; @override String get transaction_details_transaction_id => "ID транзакції"; @@ -4482,8 +4484,6 @@ 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 платежу (опційно)"; @@ -5052,6 +5052,8 @@ class $ja extends S { @override String get template => "テンプレート"; @override + String get enter_your_note => "メモを入力してください…"; + @override String get transaction_priority_medium => "中"; @override String get transaction_details_transaction_id => "トランザクションID"; @@ -5194,8 +5196,6 @@ 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 (オプショナル)"; @@ -5768,6 +5768,8 @@ class $pl extends S { @override String get template => "Szablon"; @override + String get enter_your_note => "Wpisz notatkę…"; + @override String get transaction_priority_medium => "Średni"; @override String get transaction_details_transaction_id => "Transakcja ID"; @@ -5910,8 +5912,6 @@ 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)"; @@ -6480,6 +6480,8 @@ class $es extends S { @override String get template => "Plantilla"; @override + String get enter_your_note => "Ingresa tu nota…"; + @override String get transaction_priority_medium => "Medio"; @override String get transaction_details_transaction_id => "ID de transacción"; @@ -6622,8 +6624,6 @@ 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)"; @@ -7192,6 +7192,8 @@ class $nl extends S { @override String get template => "Sjabloon"; @override + String get enter_your_note => "Voer uw notitie in ..."; + @override String get transaction_priority_medium => "Medium"; @override String get transaction_details_transaction_id => "Transactie ID"; @@ -7334,8 +7336,6 @@ 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)"; @@ -7904,6 +7904,8 @@ class $zh extends S { @override String get template => "模板"; @override + String get enter_your_note => "輸入您的筆記..."; + @override String get transaction_priority_medium => "介质"; @override String get transaction_details_transaction_id => "交易编号"; @@ -8046,8 +8048,6 @@ 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/transaction_details/widgets/textfield_list_row.dart b/lib/src/screens/transaction_details/widgets/textfield_list_row.dart index 560428ff9..92e1fb601 100644 --- a/lib/src/screens/transaction_details/widgets/textfield_list_row.dart +++ b/lib/src/screens/transaction_details/widgets/textfield_list_row.dart @@ -41,8 +41,8 @@ class TextFieldListRow extends StatelessWidget { style: TextStyle( fontSize: titleFontSize, fontWeight: FontWeight.w500, - color: - Theme.of(context).primaryTextTheme.overline.color), + color: Theme.of(context) + .primaryTextTheme.overline.color), textAlign: TextAlign.left), TextField( controller: _textController, @@ -54,20 +54,16 @@ class TextFieldListRow extends StatelessWidget { fontSize: valueFontSize, fontWeight: FontWeight.w500, color: Theme.of(context) - .primaryTextTheme - .title - .color), + .primaryTextTheme.title.color), decoration: InputDecoration( isDense: true, contentPadding: EdgeInsets.only(top: 12, bottom: 0), - hintText: S.of(context).note, + hintText: S.of(context).enter_your_note, hintStyle: TextStyle( fontSize: valueFontSize, fontWeight: FontWeight.w500, color: Theme.of(context) - .primaryTextTheme - .title - .color), + .primaryTextTheme.overline.color), border: InputBorder.none ), onSubmitted: (value) => onSubmitted.call(value), diff --git a/res/values/strings_de.arb b/res/values/strings_de.arb index 20bdffedd..de7794eed 100644 --- a/res/values/strings_de.arb +++ b/res/values/strings_de.arb @@ -431,7 +431,7 @@ "bright_theme" : "Hell", "dark_theme" : "Dunkel", - "note" : "Hinweis", + "enter_your_note" : "Geben Sie Ihre Notiz ein…", "note_optional" : "Hinweis (optional)", "note_tap_to_change" : "Hinweis (zum Ändern tippen)", "transaction_key" : "Transaktionsschlüssel", diff --git a/res/values/strings_en.arb b/res/values/strings_en.arb index fbedfb6af..7906de59e 100644 --- a/res/values/strings_en.arb +++ b/res/values/strings_en.arb @@ -431,7 +431,7 @@ "bright_theme" : "Bright", "dark_theme" : "Dark", - "note" : "Note", + "enter_your_note" : "Enter your note…", "note_optional" : "Note (optional)", "note_tap_to_change" : "Note (tap to change)", "transaction_key" : "Transaction Key", diff --git a/res/values/strings_es.arb b/res/values/strings_es.arb index aa0d5836b..714dcebf8 100644 --- a/res/values/strings_es.arb +++ b/res/values/strings_es.arb @@ -431,7 +431,7 @@ "bright_theme" : "Brillante", "dark_theme" : "Oscura", - "note" : "Nota", + "enter_your_note" : "Ingresa tu nota…", "note_optional" : "Nota (opcional)", "note_tap_to_change" : "Nota (toque para cambiar)", "transaction_key" : "Clave de transacción", diff --git a/res/values/strings_hi.arb b/res/values/strings_hi.arb index 8cb9229a3..c8517f18c 100644 --- a/res/values/strings_hi.arb +++ b/res/values/strings_hi.arb @@ -431,7 +431,7 @@ "bright_theme" : "उज्ज्वल", "dark_theme" : "अंधेरा", - "note" : "नोट", + "enter_your_note" : "अपना नोट दर्ज करें ...", "note_optional" : "नोट (वैकल्पिक)", "note_tap_to_change" : "नोट (टैप टू चेंज)", "transaction_key" : "लेन-देन की", diff --git a/res/values/strings_ja.arb b/res/values/strings_ja.arb index f04e90ab2..0cfa01abf 100644 --- a/res/values/strings_ja.arb +++ b/res/values/strings_ja.arb @@ -431,7 +431,7 @@ "bright_theme" : "明るい", "dark_theme" : "闇", - "note" : "注意", + "enter_your_note" : "メモを入力してください…", "note_optional" : "注(オプション)", "note_tap_to_change" : "注(タップして変更)", "transaction_key" : "トランザクションキー", diff --git a/res/values/strings_ko.arb b/res/values/strings_ko.arb index a6b4098a2..d69ecec08 100644 --- a/res/values/strings_ko.arb +++ b/res/values/strings_ko.arb @@ -431,7 +431,7 @@ "bright_theme" : "선명한", "dark_theme" : "어두운", - "note" : "노트", + "enter_your_note" : "메모를 입력하세요…", "note_optional" : "참고 (선택 사항)", "note_tap_to_change" : "메모 (변경하려면 탭하세요)", "transaction_key" : "거래 키", diff --git a/res/values/strings_nl.arb b/res/values/strings_nl.arb index a6385c366..1129e3c88 100644 --- a/res/values/strings_nl.arb +++ b/res/values/strings_nl.arb @@ -431,7 +431,7 @@ "bright_theme" : "Helder", "dark_theme" : "Donker", - "note" : "Opmerking", + "enter_your_note" : "Voer uw notitie in ...", "note_optional" : "Opmerking (optioneel)", "note_tap_to_change" : "Opmerking (tik om te wijzigen)", "transaction_key" : "Transactiesleutel", diff --git a/res/values/strings_pl.arb b/res/values/strings_pl.arb index 4cf9ea031..657aaf53c 100644 --- a/res/values/strings_pl.arb +++ b/res/values/strings_pl.arb @@ -431,7 +431,7 @@ "bright_theme" : "Jasny", "dark_theme" : "Ciemny", - "note" : "Notatka", + "enter_your_note" : "Wpisz notatkę…", "note_optional" : "Notatka (opcjonalnie)", "note_tap_to_change" : "Notatka (dotknij, aby zmienić)", "transaction_key" : "Klucz transakcji", diff --git a/res/values/strings_pt.arb b/res/values/strings_pt.arb index 345bb9d6b..4598ca8f4 100644 --- a/res/values/strings_pt.arb +++ b/res/values/strings_pt.arb @@ -431,7 +431,7 @@ "bright_theme" : "Brilhante", "dark_theme" : "Sombria", - "note" : "Nota", + "enter_your_note" : "Insira sua nota ...", "note_optional" : "Nota (opcional)", "note_tap_to_change" : "Nota (toque para alterar)", "transaction_key" : "Chave de transação", diff --git a/res/values/strings_ru.arb b/res/values/strings_ru.arb index ca1e8af12..9c5e90809 100644 --- a/res/values/strings_ru.arb +++ b/res/values/strings_ru.arb @@ -431,7 +431,7 @@ "bright_theme" : "Яркая", "dark_theme" : "Темная", - "note" : "Примечание", + "enter_your_note" : "Введите примечание…", "note_optional" : "Примечание (необязательно)", "note_tap_to_change" : "Примечание (нажмите для изменения)", "transaction_key" : "Ключ транзакции", diff --git a/res/values/strings_uk.arb b/res/values/strings_uk.arb index 15f5d48da..a2168daba 100644 --- a/res/values/strings_uk.arb +++ b/res/values/strings_uk.arb @@ -431,7 +431,7 @@ "bright_theme" : "Яскрава", "dark_theme" : "Темна", - "note" : "Примітка", + "enter_your_note" : "Введіть примітку…", "note_optional" : "Примітка (необов’язково)", "note_tap_to_change" : "Примітка (натисніть для зміни)", "transaction_key" : "Ключ транзакції", diff --git a/res/values/strings_zh.arb b/res/values/strings_zh.arb index a63342b75..71ad80264 100644 --- a/res/values/strings_zh.arb +++ b/res/values/strings_zh.arb @@ -431,7 +431,7 @@ "bright_theme" : "亮", "dark_theme" : "黑暗", - "note" : "注意", + "enter_your_note" : "輸入您的筆記...", "note_optional" : "注意(可選)", "note_tap_to_change" : "注意(輕按即可更改)", "transaction_key" : "交易密碼",