Fixed localization of "View in Block Explorer" (#342)

Fixed localization of "View in Block Explorer

Mathias Herberts committed Apr 22, 2022 at 17:15 UTC 6cd07278cc5dd71bc8b5a2ffb3ef00d9847e356d
16 files changed +36 -6
lib/view_model/transaction_details_view_model.dart
+5 -5
@@ -142,7 +142,7 @@ abstract class TransactionDetailsViewModelBase with Store {
142 final type = wallet.type;
143
144 items.add(BlockExplorerListItem(
145 - title: "View in Block Explorer",
145 + title: S.current.view_in_block_explorer,
146 value: _explorerDescription(type),
147 onTap: () => launch(_explorerUrl(type, tx.id))));
148
@@ -191,13 +191,13 @@ abstract class TransactionDetailsViewModelBase with Store {
191 String _explorerDescription(WalletType type) {
192 switch (type) {
193 case WalletType.monero:
194 - return 'View Transaction on XMRChain.net';
194 + return S.current.view_transaction_on + 'XMRChain.net';
195 case WalletType.bitcoin:
196 - return 'View Transaction on Blockchain.com';
196 + return S.current.view_transaction_on + 'Blockchain.com';
197 case WalletType.litecoin:
198 - return 'View Transaction on Blockchair.com';
198 + return S.current.view_transaction_on + 'Blockchair.com';
199 case WalletType.haven:
200 - return 'View Transaction on explorer.havenprotocol.org';
200 + return S.current.view_transaction_on + 'explorer.havenprotocol.org';
201 default:
202 return '';
203 }
res/values/strings_de.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Geben Sie Ihre Bemerkung ein…",
444 "note_optional" : "Bemerkung (optional)",
445 "note_tap_to_change" : "Bemerkung (zum Ändern tippen)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Transaktionsschlüssel",
449 "confirmations" : "Bestätigungen",
450 "recipient_address" : "Empfängeradresse",
res/values/strings_en.arb
+3 -1
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Enter your note…",
444 "note_optional" : "Note (optional)",
445 "note_tap_to_change" : "Note (tap to change)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Transaction Key",
449 "confirmations" : "Confirmations",
450 "recipient_address" : "Recipient address",
@@ -529,4 +531,4 @@
531 "search": "Search",
532 "new_template" : "New Template",
533 "electrum_address_disclaimer": "We generate new addresses each time you use one, but previous addresses continue to work"
532 -}
\ No newline at end of file
534 +}
res/values/strings_es.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Ingresa tu nota…",
444 "note_optional" : "Nota (opcional)",
445 "note_tap_to_change" : "Nota (toque para cambiar)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Clave de transacción",
449 "confirmations" : "Confirmaciones",
450 "recipient_address" : "Dirección del receptor",
res/values/strings_fr.arb
+2
@@ -441,6 +441,8 @@
441 "enter_your_note" : "Entrez votre note…",
442 "note_optional" : "Note (optionnelle)",
443 "note_tap_to_change" : "Note (appuyez pour changer)",
444 + "view_in_block_explorer" : "Voir dans l'Explorateur de Blocs",
445 + "view_transaction_on" : "Voir la Transaction sur ",
446 "transaction_key" : "Clef de Transaction",
447 "confirmations" : "Confirmations",
448 "recipient_address" : "Adresse bénéficiaire",
res/values/strings_hi.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "अपना नोट दर्ज करें ...",
444 "note_optional" : "नोट (वैकल्पिक)",
445 "note_tap_to_change" : "नोट (टैप टू चेंज)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "लेन-देन की",
449 "confirmations" : "पुष्टिकरण",
450 "recipient_address" : "प्राप्तकर्ता का पता",
res/values/strings_hr.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Unesite svoju poruku…",
444 "note_optional" : "Poruka (nije obvezno)",
445 "note_tap_to_change" : "Poruka (dodirnite za promjenu)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Transakcijski ključ",
449 "confirmations" : "Potvrde",
450 "recipient_address" : "Primateljeva adresa",
res/values/strings_it.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Inserisci la tua nota…",
444 "note_optional" : "Nota (opzionale)",
445 "note_tap_to_change" : "Nota (clicca per cambiare)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Chiave Transazione",
449 "confirmations" : "Conferme",
450 "recipient_address" : "Indirizzo di destinazione",
res/values/strings_ja.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "メモを入力してください…",
444 "note_optional" : "注(オプション)",
445 "note_tap_to_change" : "注(タップして変更)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "トランザクションキー",
449 "confirmations" : "確認",
450 "recipient_address" : "受信者のアドレス",
res/values/strings_ko.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "메모를 입력하세요…",
444 "note_optional" : "참고 (선택 사항)",
445 "note_tap_to_change" : "메모 (변경하려면 탭하세요)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "거래 키",
449 "confirmations" : "확인",
450 "recipient_address" : "받는 사람 주소",
res/values/strings_nl.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Voer uw notitie in ...",
444 "note_optional" : "Opmerking (optioneel)",
445 "note_tap_to_change" : "Opmerking (tik om te wijzigen)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Transactiesleutel",
449 "confirmations" : "Bevestigingen",
450 "recipient_address" : "Adres ontvanger",
res/values/strings_pl.arb
+2
@@ -446,6 +446,8 @@
446 "enter_your_note" : "Wpisz notatkę…",
447 "note_optional" : "Notatka (opcjonalnie)",
448 "note_tap_to_change" : "Notatka (dotknij, aby zmienić)",
449 + "view_in_block_explorer" : "View in Block Explorer",
450 + "view_transaction_on" : "View Transaction on ",
451 "transaction_key" : "Klucz transakcji",
452 "confirmations" : "Potwierdzenia",
453 "recipient_address" : "Adres odbiorcy",
res/values/strings_pt.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Insira sua nota ...",
444 "note_optional" : "Nota (opcional)",
445 "note_tap_to_change" : "Nota (toque para alterar)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Chave de transação",
449 "confirmations" : "Confirmações",
450 "recipient_address" : "Endereço do destinatário",
res/values/strings_ru.arb
+2
@@ -443,6 +443,8 @@
443 "enter_your_note" : "Введите примечание…",
444 "note_optional" : "Примечание (необязательно)",
445 "note_tap_to_change" : "Примечание (нажмите для изменения)",
446 + "view_in_block_explorer" : "View in Block Explorer",
447 + "view_transaction_on" : "View Transaction on ",
448 "transaction_key" : "Ключ транзакции",
449 "confirmations" : "Подтверждения",
450 "recipient_address" : "Адрес получателя",
res/values/strings_uk.arb
+2
@@ -442,6 +442,8 @@
442 "enter_your_note" : "Введіть примітку…",
443 "note_optional" : "Примітка (необов’язково)",
444 "note_tap_to_change" : "Примітка (натисніть для зміни)",
445 + "view_in_block_explorer" : "View in Block Explorer",
446 + "view_transaction_on" : "View Transaction on ",
447 "transaction_key" : "Ключ транзакції",
448 "confirmations" : "Підтвердження",
449 "recipient_address" : "Адреса одержувача",
res/values/strings_zh.arb
+2
@@ -442,6 +442,8 @@
442 "enter_your_note" : "输入您的笔记...",
443 "note_optional" : "注释(可选)",
444 "note_tap_to_change" : "注释(轻按即可更改)",
445 + "view_in_block_explorer" : "View in Block Explorer",
446 + "view_transaction_on" : "View Transaction on ",
447 "transaction_key" : "交易密码",
448 "confirmations" : "确认",
449 "recipient_address" : "收件人地址",