mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
Merge pull request #640 from cake-tech/CW-221-Change-synchronization-status-text
Change synchronization status text
This commit is contained in:
commit
b0370b3e44
20 changed files with 21 additions and 6 deletions
|
@ -129,7 +129,7 @@ abstract class ElectrumWalletBase extends WalletBase<ElectrumBalance,
|
|||
@override
|
||||
Future<void> startSync() async {
|
||||
try {
|
||||
syncStatus = StartingSyncStatus();
|
||||
syncStatus = AttemptingSyncStatus();
|
||||
await walletAddresses.discoverAddresses();
|
||||
await updateTransactions();
|
||||
_subscribeForUpdates();
|
||||
|
|
|
@ -28,7 +28,7 @@ class NotConnectedSyncStatus extends SyncStatus {
|
|||
double progress() => 0.0;
|
||||
}
|
||||
|
||||
class StartingSyncStatus extends SyncStatus {
|
||||
class AttemptingSyncStatus extends SyncStatus {
|
||||
@override
|
||||
double progress() => 0.0;
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ abstract class HavenWalletBase extends WalletBase<MoneroBalance,
|
|||
} catch (_) {}
|
||||
|
||||
try {
|
||||
syncStatus = StartingSyncStatus();
|
||||
syncStatus = AttemptingSyncStatus();
|
||||
haven_wallet.startRefresh();
|
||||
_setListeners();
|
||||
_listener?.start();
|
||||
|
|
|
@ -150,7 +150,7 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance,
|
|||
} catch (_) {}
|
||||
|
||||
try {
|
||||
syncStatus = StartingSyncStatus();
|
||||
syncStatus = AttemptingSyncStatus();
|
||||
monero_wallet.startRefresh();
|
||||
_setListeners();
|
||||
_listener?.start();
|
||||
|
|
|
@ -14,8 +14,8 @@ String syncStatusTitle(SyncStatus syncStatus) {
|
|||
return S.current.sync_status_not_connected;
|
||||
}
|
||||
|
||||
if (syncStatus is StartingSyncStatus) {
|
||||
return S.current.sync_status_starting_sync;
|
||||
if (syncStatus is AttemptingSyncStatus) {
|
||||
return S.current.sync_status_attempting_sync;
|
||||
}
|
||||
|
||||
if (syncStatus is FailedSyncStatus) {
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "GETRENNT",
|
||||
"sync_status_connecting" : "VERBINDEN",
|
||||
"sync_status_connected" : "VERBUNDEN",
|
||||
"sync_status_attempting_sync" : "SYNC VERSUCHEN",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Langsam",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "DISCONNECTED",
|
||||
"sync_status_connecting" : "CONNECTING",
|
||||
"sync_status_connected" : "CONNECTED",
|
||||
"sync_status_attempting_sync" : "ATTEMPTING SYNC",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Slow",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "DESCONECTADO",
|
||||
"sync_status_connecting" : "CONECTANDO",
|
||||
"sync_status_connected" : "CONECTADO",
|
||||
"sync_status_attempting_sync" : "INTENTAR SINCRONIZAR",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Lento",
|
||||
|
|
|
@ -354,6 +354,7 @@
|
|||
"sync_status_failed_connect" : "DÉCONNECTÉ",
|
||||
"sync_status_connecting" : "CONNEXION EN COURS",
|
||||
"sync_status_connected" : "CONNECTÉ",
|
||||
"sync_status_attempting_sync" : "TENTATIVE DE SYNCHRONISATION",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Lent",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "डिस्कनेक्ट किया गया",
|
||||
"sync_status_connecting" : "कनेक्ट",
|
||||
"sync_status_connected" : "जुड़े हुए",
|
||||
"sync_status_attempting_sync" : "सिंक करने का प्रयास",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "धीरे",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "ISKLJUČENO",
|
||||
"sync_status_connecting" : "SPAJANJE",
|
||||
"sync_status_connected" : "SPOJENO",
|
||||
"sync_status_attempting_sync" : "POKUŠAJ SINKRONIZACIJE",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Sporo",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "DISCONNESSO",
|
||||
"sync_status_connecting" : "CONNESSIONE",
|
||||
"sync_status_connected" : "CONNESSO",
|
||||
"sync_status_attempting_sync" : "TENTATIVO DI SINCRONIZZAZIONE",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Bassa",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "切断されました",
|
||||
"sync_status_connecting" : "接続中",
|
||||
"sync_status_connected" : "接続済み",
|
||||
"sync_status_attempting_sync" : "同期を試みています",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "スロー",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "연결 해제",
|
||||
"sync_status_connecting" : "연결 중",
|
||||
"sync_status_connected" : "연결됨",
|
||||
"sync_status_attempting_sync" : "동기화 시도 중",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "느린",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "LOSGEKOPPELD",
|
||||
"sync_status_connecting" : "AANSLUITING",
|
||||
"sync_status_connected" : "VERBONDEN",
|
||||
"sync_status_attempting_sync" : "SYNCHRONISATIE PROBEREN",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Langzaam",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "NIEPOWIĄZANY",
|
||||
"sync_status_connecting" : "ZŁĄCZONY",
|
||||
"sync_status_connected" : "POŁĄCZONY",
|
||||
"sync_status_attempting_sync" : "PRÓBA SYNCHRONIZACJI",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Powolny",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "DESCONECTADO",
|
||||
"sync_status_connecting" : "CONECTANDO",
|
||||
"sync_status_connected" : "CONECTADO",
|
||||
"sync_status_attempting_sync" : "TENTANDO SINCRONIZAR",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Lenta",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "ОТКЛЮЧЕНО",
|
||||
"sync_status_connecting" : "ПОДКЛЮЧЕНИЕ",
|
||||
"sync_status_connected" : "ПОДКЛЮЧЕНО",
|
||||
"sync_status_attempting_sync" : "ПОПЫТКА СИНХРОНИЗАЦИИ",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Медленный",
|
||||
|
|
|
@ -355,6 +355,7 @@
|
|||
"sync_status_failed_connect" : "ВІДКЛЮЧЕНО",
|
||||
"sync_status_connecting" : "ПІДКЛЮЧЕННЯ",
|
||||
"sync_status_connected" : "ПІДКЛЮЧЕНО",
|
||||
"sync_status_attempting_sync" : "СПРОБА СИНХРОНІЗАЦІЇ",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "Повільний",
|
||||
|
|
|
@ -356,6 +356,7 @@
|
|||
"sync_status_failed_connect" : "断线",
|
||||
"sync_status_connecting" : "连接中",
|
||||
"sync_status_connected" : "已连接",
|
||||
"sync_status_attempting_sync" : "嘗試同步",
|
||||
|
||||
|
||||
"transaction_priority_slow" : "慢速",
|
||||
|
|
Loading…
Reference in a new issue