[skip ci] Update localization

This commit is contained in:
Serhii 2022-12-07 14:04:14 +02:00
parent c757a06293
commit 228e157b39
18 changed files with 81 additions and 35 deletions

View file

@ -27,11 +27,11 @@ class FiatApiMode extends EnumerableItem<int> with Serializable<int> {
String toString() { String toString() {
switch (this) { switch (this) {
case FiatApiMode.enabled: case FiatApiMode.enabled:
return 'enable'; return S.current.enabled;
case FiatApiMode.torOnly: case FiatApiMode.torOnly:
return 'torOnly'; return S.current.tor_only;
case FiatApiMode.disabled: case FiatApiMode.disabled:
return 'disable'; return S.current.disabled;
default: default:
return ''; return '';
} }

View file

@ -1,5 +1,6 @@
import 'dart:async'; import 'dart:async';
import 'package:cake_wallet/core/fiat_conversion_service.dart'; import 'package:cake_wallet/core/fiat_conversion_service.dart';
import 'package:cake_wallet/entities/fiat_api_mode.dart';
import 'package:cake_wallet/entities/update_haven_rate.dart'; import 'package:cake_wallet/entities/update_haven_rate.dart';
import 'package:cake_wallet/store/app_store.dart'; import 'package:cake_wallet/store/app_store.dart';
import 'package:cake_wallet/store/dashboard/fiat_conversion_store.dart'; import 'package:cake_wallet/store/dashboard/fiat_conversion_store.dart';
@ -28,7 +29,7 @@ Future<void> startFiatRateUpdate(AppStore appStore, SettingsStore settingsStore,
await updateHavenRate(fiatConversionStore); await updateHavenRate(fiatConversionStore);
} else { } else {
fiatConversionStore.prices[appStore.wallet!.currency] = fiatConversionStore.prices[appStore.wallet!.currency] =
settingsStore.shouldDisableFiat ? 0.0 settingsStore.fiatApiMode == FiatApiMode.disabled ? 0.0
: await FiatConversionService.fetchPrice( : await FiatConversionService.fetchPrice(
appStore.wallet!.currency, settingsStore.fiatCurrency); appStore.wallet!.currency, settingsStore.fiatCurrency);
} }

View file

@ -26,7 +26,7 @@ class PrivacyPage extends BasePage {
children: [ children: [
SettingsChoicesCell( SettingsChoicesCell(
ChoicesListItem<FiatApiMode>( ChoicesListItem<FiatApiMode>(
title: 'Fiat api', title: S.current.fiat_api,
items: FiatApiMode.all, items: FiatApiMode.all,
selectedItem: _privacySettingsViewModel.fiatApiMode, selectedItem: _privacySettingsViewModel.fiatApiMode,
onItemSelected: (FiatApiMode mode) => _privacySettingsViewModel.setFiatMode(mode), onItemSelected: (FiatApiMode mode) => _privacySettingsViewModel.setFiatMode(mode),

View file

@ -654,7 +654,7 @@
"use_suggested": "Vorgeschlagen verwenden", "use_suggested": "Vorgeschlagen verwenden",
"do_not_share_warning_text" : "Teilen Sie diese nicht mit anderen, einschließlich des Supports.\n\nSie werden Ihr Geld stehlen!", "do_not_share_warning_text" : "Teilen Sie diese nicht mit anderen, einschließlich des Supports.\n\nSie werden Ihr Geld stehlen!",
"help": "hilfe", "help": "hilfe",
"disable_fiat": "Fiat deaktivieren", "fiat_api": "Fiat API",
"disable_exchange": "Exchange deaktivieren", "disable_exchange": "Exchange deaktivieren",
"connection_sync": "Verbindung und Synchronisierung", "connection_sync": "Verbindung und Synchronisierung",
"security_and_backup": "Sicherheit und Datensicherung", "security_and_backup": "Sicherheit und Datensicherung",
@ -662,5 +662,8 @@
"privacy_settings": "Datenschutzeinstellungen", "privacy_settings": "Datenschutzeinstellungen",
"privacy": "Datenschutz", "privacy": "Datenschutz",
"display_settings": "Anzeigeeinstellungen", "display_settings": "Anzeigeeinstellungen",
"other_settings": "Andere Einstellungen" "other_settings": "Andere Einstellungen",
"disabled": "Deaktiviert",
"enabled": "Ermöglicht",
"tor_only": "Nur Tor"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Use Suggested", "use_suggested": "Use Suggested",
"do_not_share_warning_text" : "Do not share these with anyone else, including support.\n\nThey will steal your money!", "do_not_share_warning_text" : "Do not share these with anyone else, including support.\n\nThey will steal your money!",
"help": "help", "help": "help",
"disable_fiat": "Disable fiat", "fiat_api": "Fiat API",
"disable_exchange": "Disable exchange", "disable_exchange": "Disable exchange",
"connection_sync": "Connection and sync", "connection_sync": "Connection and sync",
"security_and_backup": "Security and backup", "security_and_backup": "Security and backup",
@ -662,5 +662,8 @@
"privacy_settings": "Privacy settings", "privacy_settings": "Privacy settings",
"privacy": "Privacy", "privacy": "Privacy",
"display_settings": "Display settings", "display_settings": "Display settings",
"other_settings": "Other settings" "other_settings": "Other settings",
"disabled": "Disabled",
"enabled": "Enabled",
"tor_only": "Tor only"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Usar sugerido", "use_suggested": "Usar sugerido",
"do_not_share_warning_text" : "No comparta estos con nadie más, incluido el soporte.\n\n¡Te robarán tu dinero!", "do_not_share_warning_text" : "No comparta estos con nadie más, incluido el soporte.\n\n¡Te robarán tu dinero!",
"help": "ayuda", "help": "ayuda",
"disable_fiat": "Deshabilitar fiat", "fiat_api": "Fiat API",
"disable_exchange": "Deshabilitar intercambio", "disable_exchange": "Deshabilitar intercambio",
"connection_sync": "Conexión y sincronización", "connection_sync": "Conexión y sincronización",
"security_and_backup": "Seguridad y respaldo", "security_and_backup": "Seguridad y respaldo",
@ -662,5 +662,8 @@
"privacy_settings": "Configuración de privacidad", "privacy_settings": "Configuración de privacidad",
"privacy": "Privacidad", "privacy": "Privacidad",
"display_settings": "Configuración de pantalla", "display_settings": "Configuración de pantalla",
"other_settings": "Otras configuraciones" "other_settings": "Otras configuraciones",
"disabled": "Desactivado",
"enabled": "Activado",
"tor_only": "solo Tor"
} }

View file

@ -652,7 +652,7 @@
"use_suggested": "Utilisation suggérée", "use_suggested": "Utilisation suggérée",
"do_not_share_warning_text" : "Ne les partagez avec personne d'autre, y compris avec l'assistance.\n\nIls vont voler votre argent!", "do_not_share_warning_text" : "Ne les partagez avec personne d'autre, y compris avec l'assistance.\n\nIls vont voler votre argent!",
"help": "aider", "help": "aider",
"disable_fiat": "Désactiver fiat", "fiat_api": "Fiat API",
"disable_exchange": "Désactiver l'échange", "disable_exchange": "Désactiver l'échange",
"connection_sync": "Connexion et synchronisation", "connection_sync": "Connexion et synchronisation",
"security_and_backup": "Sécurité et sauvegarde", "security_and_backup": "Sécurité et sauvegarde",
@ -660,5 +660,8 @@
"privacy_settings": "Paramètres de confidentialité", "privacy_settings": "Paramètres de confidentialité",
"privacy": "Confidentialité", "privacy": "Confidentialité",
"display_settings": "Paramètres d'affichage", "display_settings": "Paramètres d'affichage",
"other_settings": "Autres paramètres" "other_settings": "Autres paramètres",
"disabled": "Handicapé",
"enabled": "Activé",
"tor_only": "Tor uniquement"
} }

View file

@ -655,12 +655,15 @@
"do_not_share_warning_text" : "इन्हें समर्थन सहित किसी और के साथ साझा न करें।\n\nवे आपका पैसा चुरा लेंगे!", "do_not_share_warning_text" : "इन्हें समर्थन सहित किसी और के साथ साझा न करें।\n\nवे आपका पैसा चुरा लेंगे!",
"help": "मदद करना", "help": "मदद करना",
"disable_fiat": "िएट अक्षम करें", "disable_fiat": "िएट अक्षम करें",
"disable_exchange": "एक्सचेंज अक्षम करें", "fiat_api": "फिएट पैसे API",
"connection_sync": "कनेक्शन और सिंक", "connection_sync": "कनेक्शन और सिंक",
"security_and_backup": "सुरक्षा और बैकअप", "security_and_backup": "सुरक्षा और बैकअप",
"create_backup": "बैकअप बनाएँ", "create_backup": "बैकअप बनाएँ",
"privacy_settings": "गोपनीयता सेटिंग्स", "privacy_settings": "गोपनीयता सेटिंग्स",
"privacy": "गोपनीयता", "privacy": "गोपनीयता",
"display_settings": "प्रदर्शन सेटिंग्स", "display_settings": "प्रदर्शन सेटिंग्स",
"other_settings": "अन्य सेटिंग्स" "other_settings": "अन्य सेटिंग्स",
"disabled": "अक्षम",
"enabled": "सक्रिय",
"tor_only": "Tor केवल"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Koristite predloženo", "use_suggested": "Koristite predloženo",
"do_not_share_warning_text" : "Nemojte ih dijeliti ni s kim, uključujući podršku.\n\nUkrast će vam novac!", "do_not_share_warning_text" : "Nemojte ih dijeliti ni s kim, uključujući podršku.\n\nUkrast će vam novac!",
"help": "pomozite", "help": "pomozite",
"disable_fiat": "Isključi, fiat", "fiat_api": "Fiat API",
"disable_exchange": "Onemogući exchange", "disable_exchange": "Onemogući exchange",
"connection_sync": "Povezivanje i sinkronizacija", "connection_sync": "Povezivanje i sinkronizacija",
"security_and_backup": "Sigurnost i sigurnosna kopija", "security_and_backup": "Sigurnost i sigurnosna kopija",
@ -662,5 +662,8 @@
"privacy_settings": "Postavke privatnosti", "privacy_settings": "Postavke privatnosti",
"privacy": "Privatnost", "privacy": "Privatnost",
"display_settings": "Postavke zaslona", "display_settings": "Postavke zaslona",
"other_settings": "Ostale postavke" "other_settings": "Ostale postavke",
"disabled": "Onemogućeno",
"enabled": "Omogućeno",
"tor_only": "Samo Tor"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Usa suggerito", "use_suggested": "Usa suggerito",
"do_not_share_warning_text" : "Non condividerli con nessun altro, incluso il supporto.\n\nTi ruberanno i soldi!", "do_not_share_warning_text" : "Non condividerli con nessun altro, incluso il supporto.\n\nTi ruberanno i soldi!",
"help": "aiuto", "help": "aiuto",
"disable_fiat": "Disabilita fiat", "fiat_api": "Fiat API",
"disable_exchange": "Disabilita scambio", "disable_exchange": "Disabilita scambio",
"connection_sync": "Connessione e sincronizzazione", "connection_sync": "Connessione e sincronizzazione",
"security_and_backup": "Sicurezza e backup", "security_and_backup": "Sicurezza e backup",
@ -662,5 +662,8 @@
"privacy_settings": "Impostazioni privacy", "privacy_settings": "Impostazioni privacy",
"privacy": "Privacy", "privacy": "Privacy",
"display_settings": "Impostazioni di visualizzazione", "display_settings": "Impostazioni di visualizzazione",
"other_settings": "Altre impostazioni" "other_settings": "Altre impostazioni",
"disabled": "Disabilitato",
"enabled": "Abilitato",
"tor_only": "Solo Tor"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "推奨を使用", "use_suggested": "推奨を使用",
"do_not_share_warning_text" : "サポートを含め、これらを他の誰とも共有しないでください。\n\n彼らはあなたのお金を盗みます", "do_not_share_warning_text" : "サポートを含め、これらを他の誰とも共有しないでください。\n\n彼らはあなたのお金を盗みます",
"help": "ヘルプ", "help": "ヘルプ",
"disable_fiat": "フィアットを無効にする", "fiat_api": "不換紙幣 API",
"disable_exchange": "交換を無効にする", "disable_exchange": "交換を無効にする",
"connection_sync": "接続と同期", "connection_sync": "接続と同期",
"security_and_backup": "セキュリティとバックアップ", "security_and_backup": "セキュリティとバックアップ",
@ -662,5 +662,8 @@
"privacy_settings": "プライバシー設定", "privacy_settings": "プライバシー設定",
"privacy": "プライバシー", "privacy": "プライバシー",
"display_settings": "表示設定", "display_settings": "表示設定",
"other_settings": "その他の設定" "other_settings": "その他の設定",
"disabled": "無効",
"enabled": "有効",
"tor_only": "Torのみ"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "추천 사용", "use_suggested": "추천 사용",
"do_not_share_warning_text" : "지원을 포함하여 다른 사람과 이러한 정보를 공유하지 마십시오.\n\n그들은 당신의 돈을 훔칠 것입니다!", "do_not_share_warning_text" : "지원을 포함하여 다른 사람과 이러한 정보를 공유하지 마십시오.\n\n그들은 당신의 돈을 훔칠 것입니다!",
"help": "돕다", "help": "돕다",
"disable_fiat": "법정화폐 비활성화", "fiat_api": "명목 화폐 API",
"disable_exchange": "교환 비활성화", "disable_exchange": "교환 비활성화",
"connection_sync": "연결 및 동기화", "connection_sync": "연결 및 동기화",
"security_and_backup": "보안 및 백업", "security_and_backup": "보안 및 백업",
@ -662,5 +662,8 @@
"privacy_settings": "개인정보 설정", "privacy_settings": "개인정보 설정",
"privacy": "프라이버시", "privacy": "프라이버시",
"display_settings": "디스플레이 설정", "display_settings": "디스플레이 설정",
"other_settings": "기타 설정" "other_settings": "기타 설정",
"disabled": "장애가 있는",
"enabled": "사용",
"tor_only": "Tor 뿐"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Gebruik aanbevolen", "use_suggested": "Gebruik aanbevolen",
"do_not_share_warning_text" : "Deel deze met niemand anders, ook niet met support.\n\nZe zullen je geld stelen!", "do_not_share_warning_text" : "Deel deze met niemand anders, ook niet met support.\n\nZe zullen je geld stelen!",
"help": "helpen", "help": "helpen",
"disable_fiat": "법정화폐 비활성화", "fiat_api": "Fiat API",
"disable_exchange": "Uitwisseling uitschakelen", "disable_exchange": "Uitwisseling uitschakelen",
"connection_sync": "Verbinding en synchronisatie", "connection_sync": "Verbinding en synchronisatie",
"security_and_backup": "Beveiliging en back-up", "security_and_backup": "Beveiliging en back-up",
@ -662,5 +662,8 @@
"privacy_settings": "Privacy-instellingen", "privacy_settings": "Privacy-instellingen",
"privacy": "Privacy", "privacy": "Privacy",
"display_settings": "Weergave-instellingen", "display_settings": "Weergave-instellingen",
"other_settings": "Andere instellingen" "other_settings": "Andere instellingen",
"disabled": "Gehandicapt",
"enabled": "Ingeschakeld",
"tor_only": "Alleen Tor"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Użyj sugerowane", "use_suggested": "Użyj sugerowane",
"do_not_share_warning_text" : "Nie udostępniaj ich nikomu innemu, w tym wsparcia.\n\nUkradną twoje pieniądze!", "do_not_share_warning_text" : "Nie udostępniaj ich nikomu innemu, w tym wsparcia.\n\nUkradną twoje pieniądze!",
"help": "pomoc", "help": "pomoc",
"disable_fiat": "Wyłącz fiat", "fiat_api": "API Fiata",
"disable_exchange": "Wyłącz wymianę", "disable_exchange": "Wyłącz wymianę",
"connection_sync": "Połączenie i synchronizacja", "connection_sync": "Połączenie i synchronizacja",
"security_and_backup": "Bezpieczeństwo i kopia zapasowa", "security_and_backup": "Bezpieczeństwo i kopia zapasowa",
@ -662,5 +662,8 @@
"privacy_settings": "Ustawienia prywatności", "privacy_settings": "Ustawienia prywatności",
"privacy": "Prywatność", "privacy": "Prywatność",
"display_settings": "Ustawienia wyświetlania", "display_settings": "Ustawienia wyświetlania",
"other_settings": "Inne ustawienia" "other_settings": "Inne ustawienia",
"disabled": "Wyłączone",
"enabled": "Włączony",
"tor_only": "Tylko Tor"
} }

View file

@ -653,7 +653,7 @@
"use_suggested": "Uso sugerido", "use_suggested": "Uso sugerido",
"do_not_share_warning_text" : "Não os compartilhe com mais ninguém, incluindo suporte.\n\nEles vão roubar seu dinheiro!", "do_not_share_warning_text" : "Não os compartilhe com mais ninguém, incluindo suporte.\n\nEles vão roubar seu dinheiro!",
"help": "ajuda", "help": "ajuda",
"disable_fiat": "Desativar fiat", "fiat_api": "API da Fiat",
"disable_exchange": "Desativar troca", "disable_exchange": "Desativar troca",
"connection_sync": "Conexão e sincronização", "connection_sync": "Conexão e sincronização",
"security_and_backup": "Segurança e backup", "security_and_backup": "Segurança e backup",
@ -661,5 +661,8 @@
"privacy_settings": "Configurações de privacidade", "privacy_settings": "Configurações de privacidade",
"privacy": "Privacidade", "privacy": "Privacidade",
"display_settings": "Configurações de exibição", "display_settings": "Configurações de exibição",
"other_settings": "Outras configurações" "other_settings": "Outras configurações",
"disabled": "Desabilitado",
"enabled": "Habilitado",
"tor_only": "Tor apenas"
} }

View file

@ -654,7 +654,7 @@
"use_suggested": "Использовать предложенный", "use_suggested": "Использовать предложенный",
"do_not_share_warning_text" : "Не делитесь ими с кем-либо еще, в том числе со службой поддержки.\n\nОни украдут ваши деньги!", "do_not_share_warning_text" : "Не делитесь ими с кем-либо еще, в том числе со службой поддержки.\n\nОни украдут ваши деньги!",
"help": "помощь", "help": "помощь",
"disable_fiat": "Отключить фиат", "fiat_api": "Фиат API",
"disable_exchange": "Отключить обмен", "disable_exchange": "Отключить обмен",
"connection_sync": "Подключение и синхронизация", "connection_sync": "Подключение и синхронизация",
"security_and_backup": "Безопасность и резервное копирование", "security_and_backup": "Безопасность и резервное копирование",
@ -662,5 +662,8 @@
"privacy_settings": "Настройки конфиденциальности", "privacy_settings": "Настройки конфиденциальности",
"privacy": "Конфиденциальность", "privacy": "Конфиденциальность",
"display_settings": "Настройки отображения", "display_settings": "Настройки отображения",
"other_settings": "Другие настройки" "other_settings": "Другие настройки",
"disabled": "Отключено",
"enabled": "Включено",
"tor_only": "Только Tor"
} }

View file

@ -653,7 +653,7 @@
"use_suggested": "Використати запропоноване", "use_suggested": "Використати запропоноване",
"do_not_share_warning_text" : "Не повідомляйте їх нікому, включно зі службою підтримки.\n\nВони вкрадуть ваші гроші!", "do_not_share_warning_text" : "Не повідомляйте їх нікому, включно зі службою підтримки.\n\nВони вкрадуть ваші гроші!",
"help": "допомога", "help": "допомога",
"disable_fiat": "Вимкнути фиат", "fiat_api": "Фіат API",
"disable_exchange": "Вимкнути exchange", "disable_exchange": "Вимкнути exchange",
"connection_sync": "Підключення та синхронізація", "connection_sync": "Підключення та синхронізація",
"security_and_backup": "Безпека та резервне копіювання", "security_and_backup": "Безпека та резервне копіювання",
@ -661,6 +661,9 @@
"privacy_settings": "Налаштування конфіденційності", "privacy_settings": "Налаштування конфіденційності",
"privacy": "Конфіденційність", "privacy": "Конфіденційність",
"display_settings": "Налаштування дисплея", "display_settings": "Налаштування дисплея",
"other_settings": "Інші налаштування" "other_settings": "Інші налаштування",
"disabled": "Вимкнено",
"enabled": "Увімкнено",
"tor_only": "Тільки Tor"
} }

View file

@ -652,7 +652,7 @@
"use_suggested": "使用建议", "use_suggested": "使用建议",
"do_not_share_warning_text" : "不要與其他任何人分享這些內容,包括支持。\n\n他們會偷你的錢", "do_not_share_warning_text" : "不要與其他任何人分享這些內容,包括支持。\n\n他們會偷你的錢",
"help": "帮助", "help": "帮助",
"disable_fiat": "禁用法令", "fiat_api": "法币API",
"disable_exchange": "禁用交换", "disable_exchange": "禁用交换",
"connection_sync": "连接和同步", "connection_sync": "连接和同步",
"security_and_backup": "安全和备份", "security_and_backup": "安全和备份",
@ -660,5 +660,8 @@
"privacy_settings": "隐私设置", "privacy_settings": "隐私设置",
"privacy":"隐私", "privacy":"隐私",
"display_settings": "显示设置", "display_settings": "显示设置",
"other_settings": "其他设置" "other_settings": "其他设置",
"disabled": "禁用",
"enabled": "启用",
"tor_only": "仅限 Tor"
} }