CAKE-64 | renamed 'Extra ID' on 'Destination tag' for XRP and 'Memo' for 'XLM'; applied localization to 'Destination tag' and 'Memo'
OleksandrSobol committed
Jan 13, 2021 at 11:47 UTC
944c218fd0000f81547c4550f2e65ca10f4551fd
14 files changed
+90
-13
lib/generated/i18n.dart
+46
@@ -76,6 +76,7 @@ class S implements WidgetsLocalizations {
76
String get creating_new_wallet => "Creating new wallet";
77
String get dark_theme => "Dark";
78
String get delete => "Delete";
79
+ String get destination_tag => "Destination tag:";
80
String get digit_pin => "-digit PIN";
81
String get edit => "Edit";
82
String get enter_your_note => "Enter your note…";
@@ -116,6 +117,7 @@ class S implements WidgetsLocalizations {
117
String get light_theme => "Light";
118
String get loading_your_wallet => "Loading your wallet";
119
String get login => "Login";
120
+ String get memo => "Memo:";
121
String get new_node_testing => "New node testing";
122
String get new_subaddress_create => "Create";
123
String get new_subaddress_label_name => "Label name";
@@ -1024,6 +1026,10 @@ class $de extends S {
1026
@override
1027
String get account => "Konto";
1028
@override
1029
+ String get destination_tag => "Ziel-Tag:";
1030
+ @override
1031
+ String get memo => "Memo:";
1032
+ @override
1033
String change_language_to(String language) => "Ändern Sie die Sprache in ${language}?";
1034
@override
1035
String change_current_node(String node) => "Möchten Sie den aktuellen Knoten wirklich auf ändern? ${node}?";
@@ -1740,6 +1746,10 @@ class $hi extends S {
1746
@override
1747
String get account => "लेखा";
1748
@override
1749
+ String get destination_tag => "गंतव्य टैग:";
1750
+ @override
1751
+ String get memo => "ज्ञापन:";
1752
+ @override
1753
String change_language_to(String language) => "को भाषा बदलें ${language}?";
1754
@override
1755
String change_current_node(String node) => "क्या आप वर्तमान नोड को बदलना सुनिश्चित करते हैं ${node}?";
@@ -2456,6 +2466,10 @@ class $ru extends S {
2466
@override
2467
String get account => "Аккаунт";
2468
@override
2469
+ String get destination_tag => "Целевой тег:";
2470
+ @override
2471
+ String get memo => "Памятка:";
2472
+ @override
2473
String change_language_to(String language) => "Изменить язык на ${language}?";
2474
@override
2475
String change_current_node(String node) => "Вы уверены, что хотите изменить текущую ноду на ${node}?";
@@ -3172,6 +3186,10 @@ class $ko extends S {
3186
@override
3187
String get account => "계정";
3188
@override
3189
+ String get destination_tag => "목적지 태그:";
3190
+ @override
3191
+ String get memo => "메모:";
3192
+ @override
3193
String change_language_to(String language) => "언어를로 변경 ${language}?";
3194
@override
3195
String change_current_node(String node) => "현재 노드를 다음으로 변경 하시겠습니까 ${node}?";
@@ -3888,6 +3906,10 @@ class $pt extends S {
3906
@override
3907
String get account => "Conta";
3908
@override
3909
+ String get destination_tag => "Tag de destino:";
3910
+ @override
3911
+ String get memo => "Memorando:";
3912
+ @override
3913
String change_language_to(String language) => "Alterar idioma para ${language}?";
3914
@override
3915
String change_current_node(String node) => "Você realmente deseja alterar o nó atual para ${node}?";
@@ -4604,6 +4626,10 @@ class $uk extends S {
4626
@override
4627
String get account => "Акаунт";
4628
@override
4629
+ String get destination_tag => "Тег призначення:";
4630
+ @override
4631
+ String get memo => "Пам’ятка:";
4632
+ @override
4633
String change_language_to(String language) => "Змінити мову на ${language}?";
4634
@override
4635
String change_current_node(String node) => "Ви впевнені, що хочете змінити поточний вузол на ${node}?";
@@ -5320,6 +5346,10 @@ class $ja extends S {
5346
@override
5347
String get account => "アカウント";
5348
@override
5349
+ String get destination_tag => "宛先タグ:";
5350
+ @override
5351
+ String get memo => "メモ:";
5352
+ @override
5353
String change_language_to(String language) => "言語を変更 ${language}?";
5354
@override
5355
String change_current_node(String node) => "現在のノードを変更してよろしいですか ${node}?";
@@ -6040,6 +6070,10 @@ class $pl extends S {
6070
@override
6071
String get account => "Konto";
6072
@override
6073
+ String get destination_tag => "Tag docelowy:";
6074
+ @override
6075
+ String get memo => "Notatka:";
6076
+ @override
6077
String change_language_to(String language) => "Zmień język na ${language}?";
6078
@override
6079
String change_current_node(String node) => "Czy na pewno chcesz przywrócić ustawienia domyślne? ${node}?";
@@ -6756,6 +6790,10 @@ class $es extends S {
6790
@override
6791
String get account => "Cuenta";
6792
@override
6793
+ String get destination_tag => "Etiqueta de destino:";
6794
+ @override
6795
+ String get memo => "Memorándum:";
6796
+ @override
6797
String change_language_to(String language) => "Cambiar el idioma a ${language}?";
6798
@override
6799
String change_current_node(String node) => "¿Está seguro de cambiar el nodo actual a ${node}?";
@@ -7472,6 +7510,10 @@ class $nl extends S {
7510
@override
7511
String get account => "Account";
7512
@override
7513
+ String get destination_tag => "Bestemmingstag:";
7514
+ @override
7515
+ String get memo => "Memo:";
7516
+ @override
7517
String change_language_to(String language) => "Verander de taal in ${language}?";
7518
@override
7519
String change_current_node(String node) => "Weet u zeker dat u het huidige knooppunt wilt wijzigen in ${node}?";
@@ -8188,6 +8230,10 @@ class $zh extends S {
8230
@override
8231
String get account => "帐户";
8232
@override
8233
+ String get destination_tag => "目標標籤:";
8234
+ @override
8235
+ String get memo => "備忘錄:";
8236
+ @override
8237
String change_language_to(String language) => "將語言更改為 ${language}?";
8238
@override
8239
String change_current_node(String node) => "您确定将当前节点更改为 ${node}?";
lib/view_model/exchange/exchange_trade_view_model.dart
+8
-1
@@ -1,5 +1,6 @@
1
import 'dart:async';
2
import 'package:cake_wallet/core/wallet_base.dart';
3
+import 'package:cake_wallet/entities/crypto_currency.dart';
4
import 'package:cake_wallet/exchange/changenow/changenow_exchange_provider.dart';
5
import 'package:cake_wallet/exchange/exchange_provider.dart';
6
import 'package:cake_wallet/exchange/exchange_provider_description.dart';
@@ -100,8 +101,14 @@ abstract class ExchangeTradeViewModelBase with Store {
101
title: S.current.id, data: '${trade.id}', isCopied: true));
102
103
if (trade.extraId != null) {
104
+ final title = trade.from == CryptoCurrency.xrp
105
+ ? S.current.destination_tag
106
+ : trade.from == CryptoCurrency.xlm
107
+ ? S.current.memo
108
+ : S.current.extra_id;
109
+
110
items.add(ExchangeTradeItem(
104
- title: S.current.extra_id, data: '${trade.extraId}', isCopied: false));
111
+ title: title, data: '${trade.extraId}', isCopied: false));
112
}
113
114
items.addAll([
res/values/strings_de.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Bestätigungen",
438
"recipient_address" : "Empfängeradresse",
439
440
- "extra_id" : "Zusätzliche ID:"
440
+ "extra_id" : "Zusätzliche ID:",
441
+ "destination_tag" : "Ziel-Tag:",
442
+ "memo" : "Memo:"
443
}
\ No newline at end of file
res/values/strings_en.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Confirmations",
438
"recipient_address" : "Recipient address",
439
440
- "extra_id" : "Extra ID:"
440
+ "extra_id" : "Extra ID:",
441
+ "destination_tag" : "Destination tag:",
442
+ "memo" : "Memo:"
443
}
\ No newline at end of file
res/values/strings_es.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Confirmaciones",
438
"recipient_address" : "Dirección del receptor",
439
440
- "extra_id" : "ID adicional:"
440
+ "extra_id" : "ID adicional:",
441
+ "destination_tag" : "Etiqueta de destino:",
442
+ "memo" : "Memorándum:"
443
}
\ No newline at end of file
res/values/strings_hi.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "पुष्टिकरण",
438
"recipient_address" : "प्राप्तकर्ता का पता",
439
440
- "extra_id" : "अतिरिक्त आईडी:"
440
+ "extra_id" : "अतिरिक्त आईडी:",
441
+ "destination_tag" : "गंतव्य टैग:",
442
+ "memo" : "ज्ञापन:"
443
}
\ No newline at end of file
res/values/strings_ja.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "確認",
438
"recipient_address" : "受信者のアドレス",
439
440
- "extra_id" : "追加ID:"
440
+ "extra_id" : "追加ID:",
441
+ "destination_tag" : "宛先タグ:",
442
+ "memo" : "メモ:"
443
}
\ No newline at end of file
res/values/strings_ko.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "확인",
438
"recipient_address" : "받는 사람 주소",
439
440
- "extra_id" : "추가 ID:"
440
+ "extra_id" : "추가 ID:",
441
+ "destination_tag" : "목적지 태그:",
442
+ "memo" : "메모:"
443
}
\ No newline at end of file
res/values/strings_nl.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Bevestigingen",
438
"recipient_address" : "Adres ontvanger",
439
440
- "extra_id" : "Extra ID:"
440
+ "extra_id" : "Extra ID:",
441
+ "destination_tag" : "Bestemmingstag:",
442
+ "memo" : "Memo:"
443
}
\ No newline at end of file
res/values/strings_pl.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Potwierdzenia",
438
"recipient_address" : "Adres odbiorcy",
439
440
- "extra_id" : "Dodatkowy ID:"
440
+ "extra_id" : "Dodatkowy ID:",
441
+ "destination_tag" : "Tag docelowy:",
442
+ "memo" : "Notatka:"
443
}
\ No newline at end of file
res/values/strings_pt.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Confirmações",
438
"recipient_address" : "Endereço do destinatário",
439
440
- "extra_id" : "ID extra:"
440
+ "extra_id" : "ID extra:",
441
+ "destination_tag" : "Tag de destino:",
442
+ "memo" : "Memorando:"
443
}
res/values/strings_ru.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Подтверждения",
438
"recipient_address" : "Адрес получателя",
439
440
- "extra_id" : "Дополнительный ID:"
440
+ "extra_id" : "Дополнительный ID:",
441
+ "destination_tag" : "Целевой тег:",
442
+ "memo" : "Памятка:"
443
}
\ No newline at end of file
res/values/strings_uk.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "Підтвердження",
438
"recipient_address" : "Адреса одержувача",
439
440
- "extra_id" : "Додатковий ID:"
440
+ "extra_id" : "Додатковий ID:",
441
+ "destination_tag" : "Тег призначення:",
442
+ "memo" : "Пам’ятка:"
443
}
\ No newline at end of file
res/values/strings_zh.arb
+3
-1
@@ -437,5 +437,7 @@
437
"confirmations" : "確認書",
438
"recipient_address" : "收件人地址",
439
440
- "extra_id" : "額外編號:"
440
+ "extra_id" : "額外編號:",
441
+ "destination_tag" : "目標標籤:",
442
+ "memo" : "備忘錄:"
443
}
\ No newline at end of file