From 475d434ac44bfc21bee686c57b7bfb1260674c5b Mon Sep 17 00:00:00 2001 From: Willy <11148913+willyfromtheblock@users.noreply.github.com> Date: Sun, 24 Sep 2023 20:26:04 +0200 Subject: [PATCH] 1.2.1 (#241) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * version bump * Sort fiat translations alphabetically and remove VEF (#237) * Sort fiat translations alphabetically * Sort fiat symbols alphabetically * Remove VEF (Venezuelan Bolívar) * e2e tests: increase timeout for driver * update iOS files * 2do * Translated using Weblate (Swedish) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/sv/ * Translated using Weblate (Korean) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/ko/ * Translated using Weblate (Chinese (Simplified)) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/zh_Hans/ * Translated using Weblate (Norwegian Bokmål) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/nb_NO/ * Translated using Weblate (Spanish) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/es/ * Translated using Weblate (Icelandic) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/is/ * outgoing tx: check if one of the recipients is known but not the changeAddress (isSendingToSelf) * Translated using Weblate (Hindi) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/hi/ * Translated using Weblate (Danish) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/da/ * Translated using Weblate (Arabic) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/ar/ * Translated using Weblate (Japanese) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/ja/ * Translated using Weblate (Chinese (Traditional)) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/zh_Hant/ * Translated using Weblate (Portuguese) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/pt/ * Translated using Weblate (Vietnamese) Currently translated at 100.0% (499 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/vi/ * use same screen for setup language and app settings language * no need for loading animation here * it's actually a selectedLang, not initialLang * Translated using Weblate (Turkish) Currently translated at 70.1% (350 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/tr/ * Translated using Weblate (Thai) Currently translated at 70.1% (350 of 499 strings) Translation: Peercoin Flutter/Translations Translate-URL: https://weblate.ppc.lol/projects/peercoin-flutter/translations/th/ * bump dependencies * try catch wallet list init * snackbar will be displayed on catch, rm 2do * log error * add import wif to e2e test * automatically export debug logs on wallet_list init error * changelog * upgrade coinlib to release version * remove unused packages * characters is a direct dependency --------- Co-authored-by: Marius Kjærstad Co-authored-by: Marius Kjærstad --- CHANGELOG.md | 3 + assets/translations/ar.json | 152 ++++++++++++++++- assets/translations/da.json | 40 ++++- assets/translations/en.json | 139 ++++++++-------- assets/translations/es.json | 152 ++++++++++++++++- assets/translations/hi.json | 40 ++++- assets/translations/is.json | 152 ++++++++++++++++- assets/translations/ja.json | 152 ++++++++++++++++- assets/translations/ko.json | 40 ++++- assets/translations/nb_NO.json | 40 ++++- assets/translations/pt.json | 154 ++++++++++++++++- assets/translations/sv.json | 40 ++++- assets/translations/th.json | 5 +- assets/translations/tr.json | 5 +- assets/translations/vi.json | 156 +++++++++++++++++- assets/translations/zh.json | 40 ++++- assets/translations/zh_Hant.json | 40 ++++- ios/Podfile.lock | 11 +- ios/Runner.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 2 +- lib/providers/wallet_provider.dart | 52 +++++- lib/screens/language_selector.dart | 131 +++++++++++++++ .../settings/app_settings_language.dart | 101 ++---------- lib/screens/settings/app_settings_screen.dart | 52 +----- lib/screens/setup/setup_language.dart | 49 +----- lib/screens/wallet/import_wif.dart | 1 - lib/screens/wallet/wallet_home.dart | 6 +- lib/screens/wallet/wallet_list.dart | 51 +++++- lib/tools/debug_log_handler.dart | 54 ++++++ lib/tools/price_ticker.dart | 140 ++++++++-------- pubspec.lock | 46 ++---- pubspec.yaml | 16 +- test_driver/key_imported.dart | 9 +- test_driver/key_new.dart | 28 +++- 34 files changed, 1683 insertions(+), 418 deletions(-) create mode 100644 lib/screens/language_selector.dart create mode 100644 lib/tools/debug_log_handler.dart diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bd28315..ea16b735 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +### **1.2.1** (2023-09-24) +* Minor improvements and bug hunting + ### **1.2.0** (2023-09-12) * This app now uses coinlib to deal with the hard stuff behind the scenes. diff --git a/assets/translations/ar.json b/assets/translations/ar.json index a31c807a..bbd6b4de 100644 --- a/assets/translations/ar.json +++ b/assets/translations/ar.json @@ -347,5 +347,155 @@ "periodic_reminder_backup_body": "قم بإنشاء نسخة احتياطية من بيانات الاسترداد الخاصة بمحفظتك في مكان آمن لتجنب فقدان الوصول إلى عملاتك.", "wallet_pop_menu_change_title": "غير العنوان", "wallet_title_edit": "تحرير عنوان المحفظة", - "wallet_title_edit_new_title": "عنوان جديد" + "wallet_title_edit_new_title": "عنوان جديد", + "currency_AED": "درهم إماراتي", + "currency_ALL": "ليك ألباني", + "currency_AMD": "درام أرميني", + "currency_AOA": "كوانزا أنغولي", + "app_settings_wallet_order": "طلب المحفظة", + "app_settings_price_feed_search": "البحث عن رمز العملة", + "app_settings_language_search": "لغة البحث", + "currency_AZN": "مانات أذربيجاني", + "currency_BAM": "مارك البوسنة والهرسك قابل للتحويل", + "currency_BGN": "ليف بلغاري", + "currency_BHD": "دينار بحريني", + "currency_BIF": "فرنك بوروندي", + "currency_BND": "دولار بروني", + "currency_BOB": "بوليفيانو بوليفي", + "currency_BSD": "دولار باهامي", + "currency_BTN": "نغولتروم بوتاني", + "currency_BWP": "بولا بوتسواني", + "currency_BYN": "روبل بيلاروسي", + "currency_CAD": "دولار كندي", + "currency_CDF": "فرنك كونغولي", + "currency_CLP": "بيزو تشيلي", + "currency_COP": "بيزو كولومبي", + "currency_CRC": "كولون كوستاريكي", + "currency_CVE": "إسكودو الرأس الأخضر", + "currency_CZK": "كرونة تشيكية", + "currency_DOP": "بيزو دومينيكاني", + "currency_EGP": "جنيه مصري", + "currency_GEL": "لاري جورجي", + "currency_GMD": "دلاسي غامبي", + "currency_GNF": "فرنك غيني", + "currency_GTQ": "كويتزال جواتيمالي", + "currency_GYD": "دولار غياني", + "currency_HKD": "دولار هونغ كونغ", + "currency_HNL": "ليمبيرا هندوراسي", + "currency_HUF": "فورينت هنغاري", + "currency_LKR": "روبية سريلانكية", + "currency_LRD": "دولار ليبيري", + "currency_LSL": "لوتي باسوثو", + "currency_TTD": "دولار ترينيداد وتوباغو", + "currency_TWD": "دولار تايواني جديد", + "currency_UYU": "بيزو أوروغواياني", + "wallet_scan": "مسح المحفظة", + "currency_CLF": "وحدة تعزيز تشيلية", + "currency_MRU": "أوقية موريتانية", + "currency_YER": "ريال يمني", + "currency_ZWL": "دولار زيمبابوي", + "currency_STN": "دوبرا ساو تومي وبرينسيبي", + "currency_ZMW": "كواشا زامبي", + "currency_TND": "دينار تونسي", + "wallet_scan_close": "يغلق", + "currency_CHF": "فرنك سويسري", + "currency_BBD": "دولار بربادوسي أو باجان", + "currency_ERN": "ناكفا إريتري", + "currency_KPW": "وون كوري شمالي", + "currency_SBD": "دولار جزر سليمان", + "currency_SSP": "جنيه جنوب السودان", + "currency_SVC": "كولون سلفادوري", + "currency_VUV": "فاتو نيفانواتي", + "wallet_scan_notice_new": "وهذا قد يستغرق بعض الوقت.\nستغلق هذه الشاشة نفسها تلقائيًا!", + "reset_modal_description": "سيؤدي هذا إلى إعادة ضبط رصيد المحفظة وسيتحقق من جميع عناوين UTXOs.\nستتم إزالة المعاملات غير المذاعة.", + "currency_ILS": "شيكل إسرائيلي جديد", + "currency_IQD": "دينار عراقي", + "currency_ISK": "كرونة آيسلندية", + "currency_JMD": "دولار جامايكي", + "currency_JOD": "دينار أردني", + "currency_KGS": "سوم قيرغيزستاني", + "currency_KMF": "فرنك جزر القمر", + "currency_KWD": "دينار كويتي", + "currency_KZT": "تينغي كازاخستاني", + "currency_LAK": "كيب لاوسي", + "currency_LBP": "جنيه لبناني", + "currency_LYD": "دينار ليبي", + "currency_MAD": "درهم مغربي", + "currency_MDL": "ليو مولدوفي", + "currency_MGA": "أرياري مدغشقري", + "currency_MKD": "دينار مقدوني", + "currency_MNT": "توغريك منغولي", + "currency_MOP": "باتاكا ماكاوي", + "currency_MUR": "روبية موريشيوسية", + "currency_MVR": "رفيه مالديفي", + "currency_MWK": "كواشا مالاوي", + "currency_MYR": "رينغيت ماليزي", + "currency_MXN": "بيزو مكسيكي", + "currency_MZN": "متيكال موزمبيقي", + "currency_NAD": "دولار ناميبي", + "currency_NGN": "نايرا نيجيري", + "currency_NZD": "دولار نيوزيلندي", + "currency_OMR": "ريال عماني", + "currency_PEN": "سول بيروفي", + "currency_PYG": "غواراني باراغواي", + "currency_QAR": "ريال قطري", + "currency_RSD": "دينار صربي", + "currency_RWF": "فرنك رواندي", + "currency_SAR": "ريال سعودي", + "currency_SCR": "روبية سيشلية", + "currency_SDG": "جنيه سوداني", + "currency_SGD": "دولار سنغافوري", + "currency_SLL": "ليون سيراليوني", + "currency_SZL": "ليلانجي سوازيلندي", + "currency_TJS": "سوموني طاجيكستاني", + "currency_XAF": "فرنك وسط إفريقي", + "currency_XOF": "فرنك غرب إفريقي", + "currency_XPF": "فرنك سي إف بي", + "currency_ZAR": "راند جنوب إفريقي", + "currency_AFN": "أفغاني أفغاني", + "currency_ANG": "جيلدر هولندي أنتيلي", + "currency_AWG": "فلورن أروبي", + "currency_BMD": "دولار برمودي", + "currency_BZD": "دولار بليزي", + "currency_CUP": "بيزو كوبي", + "currency_DJF": "فرنك جيبوتي", + "currency_DZD": "دينار جزائري", + "currency_ETB": "بير إثيوبي", + "currency_GHS": "سيدي غانا", + "currency_GIP": "جنيه جبل طارق", + "currency_HTG": "جورد هايتي", + "currency_KHR": "رييل كمبودي", + "currency_KYD": "دولار جزر كايمان", + "currency_MMK": "كيات بورمي", + "currency_NIO": "كوردوبا نيكاراغوي", + "currency_NPR": "روبية نيبالية", + "currency_PAB": "بالبوا بنمي", + "currency_SHP": "جنيه سانت هيليني", + "currency_SOS": "شلن صومالي", + "currency_SRD": "دولار سورينامي", + "currency_SYP": "جنيه سوري", + "currency_TMT": "مانات تركمانستاني", + "currency_TOP": "بانجا تونغا", + "currency_UZS": "سوم أوزبكستاني", + "currency_VEF": "بوليفار فنزويلي", + "currency_WST": "تالا ساموا", + "currency_XCD": "دولار شرق الكاريبي", + "currency_FJD": "دولار فيجي", + "currency_PGK": "كينا بابوا غينيا الجديدة", + "scan_for_wallets": "البحث عن محافظ", + "wallet_scan_finished": "انتهى المسح", + "wallet_scan_create_success": "تم إنشاء المحفظة $title بنجاح", + "wallet_scan_scanning_finished": "انتهى المسح", + "wallet_scan_n_new_found": "تم العثور على $n محافظ جديدة", + "wallet_scan_no_new_found": "لم يتم العثور على محافظ جديدة", + "wallet_scan_wallet_already_exists": "المحفظة موجودة بالفعل: $walletName", + "wallet_scan_create_error": "فشل إنشاء المحفظة: $error", + "wallet_scanner_message_init": "تمت تهيئة المسح للحصول على $coinName في $account", + "wallet_scanner_message_newAddressFound": "تم العثور على عنوان جديد", + "wallet_scanner_message_new_wallet_found": "تم العثور على محفظة جديدة ل $coinName في $accountNumber", + "wallet_scanner_message_scan_finished": "انتهى المسح بحثًا عن $coinName في $accountNumber", + "wallet_scanner_message_scan_failed": "فشل المسح ل $coinName في ($e) $accountNumber", + "wallet_scanner_message_scan_connection_failed": "فشل المسح ل $coinName في $accountNumber (فشل الاتصال)", + "scan_modal_title": "مسح هذه المحفظة", + "reset_modal_title": "إعادة ضبط هذه المحفظة" } diff --git a/assets/translations/da.json b/assets/translations/da.json index cad6fb3c..0b4335e3 100644 --- a/assets/translations/da.json +++ b/assets/translations/da.json @@ -397,7 +397,6 @@ "currency_GTQ": "Guatemalansk quetzal", "currency_HKD": "Hongkong-dollar", "currency_HNL": "Honduransk lempira", - "currency_HRK": "Kroatisk kuna", "currency_HUF": "Ungarsk forint", "currency_ILS": "Israelsk ny shekel", "currency_IQD": "Irakisk dinar", @@ -461,5 +460,42 @@ "currency_ZWL": "Zimbabwe dollar", "currency_STN": "Sao Tomesiansk dobra", "currency_ZMW": "Zambisk kwacha", - "currency_CLF": "Unidades de Fomento" + "currency_CLF": "Unidades de Fomento", + "currency_AFN": "Afghansk afghani", + "currency_BBD": "Barbadisk dollar", + "currency_GHS": "Ghanesisk cedi", + "currency_NPR": "Nepalesisk rupier", + "currency_SVC": "Salvadoransk kolon", + "currency_FJD": "Fijiansk dollar", + "currency_ANG": "Hollandsk antilliske gylden", + "currency_AWG": "Arubanske florin", + "currency_BMD": "Bermudisk dollar", + "currency_BZD": "Belizisk dollar", + "currency_CUP": "Cubansk peso", + "currency_DJF": "Djiboutisk franc", + "currency_DZD": "Algerisk dinar", + "currency_ERN": "Eritreisk nakfa", + "currency_ETB": "Etiopisk birr", + "currency_GIP": "Gibraltar pund", + "currency_HTG": "Haitisk gourde", + "currency_KHR": "Cambodjanske riel", + "currency_KPW": "Nordkoreansk won", + "currency_KYD": "Caymansk dollar", + "currency_MMK": "Burmesisk kyat", + "currency_NIO": "Nicaraguansk cordoba", + "currency_PAB": "Panamansk balboa", + "currency_SBD": "Solomon Islander-dollar", + "currency_SHP": "Sankt Helena pund", + "currency_SOS": "Somalisk shilling", + "currency_SRD": "Surinamsk dollar", + "currency_SSP": "Sydsudansk pund", + "currency_SYP": "Syrisk pund", + "currency_TMT": "Turkmenistansk manat", + "currency_TOP": "Tongansk pa'anga", + "currency_UZS": "Usbekisk som", + "currency_VEF": "Venezuelansk bolívar", + "currency_VUV": "Vanuatu vatu", + "currency_WST": "Samoansk tala", + "currency_XCD": "Østcaribisk dollar", + "currency_PGK": "Papua Ny-Guineansk kina" } diff --git a/assets/translations/en.json b/assets/translations/en.json index dd6abbc6..04f00c0c 100644 --- a/assets/translations/en.json +++ b/assets/translations/en.json @@ -110,48 +110,80 @@ "changelog_appbar": "Changelog", "changelog_headline": "What's new?", "continue": "Continue", - "currency_ARS": "Argentine Peso", "currency_AED": "United Arab Emirates Dirham", + "currency_AFN": "Afghan Afghani", "currency_ALL": "Albanian Lek", "currency_AMD": "Armenian Dram", + "currency_ANG": "Netherlands Antillean Guilder", "currency_AOA": "Angolan Kwanza", + "currency_ARS": "Argentine Peso", + "currency_AUD": "Australian Dollar", + "currency_AWG": "Aruban Florin", "currency_AZN": "Azerbaijani Manat", "currency_BAM": "Bosnian Convertible Mark", + "currency_BBD": "Barbadian or Bajan Dollar", + "currency_BDT": "Bangladeshi Taka", "currency_BGN": "Bulgarian Lev", "currency_BHD": "Bahraini Dinar", "currency_BIF": "Burundian Franc", + "currency_BMD": "Bermudian Dollar", "currency_BND": "Bruneian Dollar", "currency_BOB": "Bolivian Bolíviano", + "currency_BRL": "Brazilian Real", "currency_BSD": "Bahamian Dollar", "currency_BTN": "Bhutanese Ngultrum", "currency_BWP": "Botswana Pula", "currency_BYN": "Belarusian Ruble", + "currency_BZD": "Belizean Dollar", "currency_CAD": "Canadian Dollar", "currency_CDF": "Congolese Franc", "currency_CHF": "Swiss Franc", + "currency_CLF": "Unidad de Fomento", "currency_CLP": "Chilean Peso", + "currency_CNY": "Chinese Yuan Renminbi", "currency_COP": "Colombian Peso", "currency_CRC": "Costa Rican Colón", + "currency_CUP": "Cuban Peso", "currency_CVE": "Cape Verdean Escudo", "currency_CZK": "Czech Koruna", + "currency_DJF": "Djiboutian Franc", + "currency_DKK": "Danish Krone", "currency_DOP": "Dominican Peso", + "currency_DZD": "Algerian Dinar", "currency_EGP": "Egyptian Pound", + "currency_ERN": "Eritrean Nakfa", + "currency_ETB": "Ethiopian Birr", + "currency_EUR": "Euro", + "currency_FJD": "Fijian Dollar", + "currency_GBP": "British Pound Sterling", "currency_GEL": "Georgian Lari", + "currency_GHS": "Ghanaian Cedi", + "currency_GIP": "Gibraltar Pound", "currency_GMD": "Gambian Dalasi", "currency_GNF": "Guinean Franc", "currency_GTQ": "Guatemalan Quetzal", "currency_GYD": "Guyanese Dollar", "currency_HKD": "Hong Kong Dollar", "currency_HNL": "Honduran Lempira", + "currency_HTG": "Haitian Gourde", "currency_HUF": "Hungarian Forint", + "currency_IDR": "Indonesian Rupiah", "currency_ILS": "Israeli New Shekel", + "currency_INR": "Indian Rupee", "currency_IQD": "Iraqi Dinar", + "currency_IRR": "Iranian Rial", "currency_ISK": "Icelandic Króna", "currency_JMD": "Jamaican Dollar", "currency_JOD": "Jordanian Dinar", + "currency_JPY": "Japanese Yen", + "currency_KES": "Kenyan Shilling", "currency_KGS": "Kyrgyzstani Som", + "currency_KHR": "Cambodian Riel", "currency_KMF": "Comorian Franc", + "currency_KPW": "North Korean Won", + "currency_KRW": "South Korean Won", "currency_KWD": "Kuwaiti Dinar", + "currency_KYD": "Caymanian Dollar", "currency_KZT": "Kazakhstani Tenge", "currency_LAK": "Lao Kip", "currency_LBP": "Lebanese Pound", @@ -163,108 +195,75 @@ "currency_MDL": "Moldovan Leu", "currency_MGA": "Malagasy Ariary", "currency_MKD": "Macedonian Denar", + "currency_MMK": "Burmese Kyat", "currency_MNT": "Mongolian Tögrög", "currency_MOP": "Macau Pataca", + "currency_MRU": "Mauritanian Ouguiya", "currency_MUR": "Mauritian Rupee", "currency_MVR": "Maldivian Rufiyaa", "currency_MWK": "Malawian Kwacha", - "currency_MYR": "Malaysian Ringgit", "currency_MXN": "Mexican Peso", + "currency_MYR": "Malaysian Ringgit", "currency_MZN": "Mozambican Metical", "currency_NAD": "Namibian Dollar", "currency_NGN": "Nigerian Naira", + "currency_NIO": "Nicaraguan Cordoba", + "currency_NOK": "Norwegian Krone", + "currency_NPR": "Nepalese Rupee", "currency_NZD": "New Zealand Dollar", "currency_OMR": "Omani Rial", + "currency_PAB": "Panamanian Balboa", "currency_PEN": "Peruvian Sol", + "currency_PGK": "Papua New Guinean Kina", + "currency_PHP": "Philippine Peso", + "currency_PKR": "Pakistani Rupee", + "currency_PLN": "Polish Zloty", "currency_PYG": "Paraguayan Guaraní", "currency_QAR": "Qatari Riyal", + "currency_RON": "Romanian Leu", "currency_RSD": "Serbian Dinar", + "currency_RUB": "Russian Ruble", "currency_RWF": "Rwandan Franc", "currency_SAR": "Saudi Riyal", + "currency_SBD": "Solomon Islander Dollar", "currency_SCR": "Seychellois Rupee", "currency_SDG": "Sudanese Pound", + "currency_SEK": "Swedish Krona", "currency_SGD": "Singapore Dollar", + "currency_SHP": "Saint Helenian Pound", "currency_SLL": "Sierra Leonean Leone", + "currency_SOS": "Somali Shilling", + "currency_SRD": "Surinamese Dollar", + "currency_SSP": "South Sudanese Pound", + "currency_STN": "Sao Tomean Dobra", + "currency_SVC": "Salvadoran Colon", + "currency_SYP": "Syrian Pound", "currency_SZL": "Swazi Lilangeni", + "currency_THB": "Thai Baht", "currency_TJS": "Tajikistani Somoni", + "currency_TMT": "Turkmenistani Manat", "currency_TND": "Tunisian Dinar", + "currency_TOP": "Tongan Pa'anga", + "currency_TRY": "Turkish Lira", "currency_TTD": "Trinidad and Tobago Dollar", "currency_TWD": "New Taiwan Dollar", - "currency_UYU": "Uruguayan Peso", - "currency_XAF": "Central African CFA Franc", - "currency_XOF": "West African CFA Franc", - "currency_XPF": "CFP Franc", - "currency_CLF": "Unidad de Fomento", - "currency_MRU": "Mauritanian Ouguiya", - "currency_YER": "Yemeni Rial", - "currency_ZWL": "Zimbabwean Dollar", - "currency_STN": "Sao Tomean Dobra", - "currency_ZMW": "Zambian Kwacha", - "currency_ZAR": "South African Rand", - "currency_AUD": "Australian Dollar", - "currency_BDT": "Bangladeshi Taka", - "currency_BRL": "Brazilian Real", - "currency_CNY": "Chinese Yuan Renminbi", - "currency_DKK": "Danish Krone", - "currency_EUR": "Euro", - "currency_GBP": "British Pound Sterling", - "currency_IDR": "Indonesian Rupiah", - "currency_INR": "Indian Rupee", - "currency_IRR": "Iranian Rial", - "currency_JPY": "Japanese Yen", - "currency_KES": "Kenyan Shilling", - "currency_KRW": "South Korean Won", - "currency_NOK": "Norwegian Krone", - "currency_PHP": "Philippine Peso", - "currency_PKR": "Pakistani Rupee", - "currency_PLN": "Polish Zloty", - "currency_RON": "Romanian Leu", - "currency_SEK": "Swedish Krona", - "currency_RUB": "Russian Ruble", - "currency_USD": "US Dollar", - "currency_THB": "Thai Baht", - "currency_TRY": "Turkish Lira", "currency_TZS": "Tanzanian Shilling", "currency_UAH": "Ukrainian Hryvnia", "currency_UGX": "Ugandan Shilling", - "currency_VND": "Vietnamese Dong", - "currency_AFN": "Afghan Afghani", - "currency_ANG": "Netherlands Antillean Guilder", - "currency_AWG": "Aruban Florin", - "currency_BBD": "Barbadian or Bajan Dollar", - "currency_BMD": "Bermudian Dollar", - "currency_BZD": "Belizean Dollar", - "currency_CUP": "Cuban Peso", - "currency_DJF": "Djiboutian Franc", - "currency_DZD": "Algerian Dinar", - "currency_ERN": "Eritrean Nakfa", - "currency_ETB": "Ethiopian Birr", - "currency_GHS": "Ghanaian Cedi", - "currency_GIP": "Gibraltar Pound", - "currency_HTG": "Haitian Gourde", - "currency_KHR": "Cambodian Riel", - "currency_KPW": "North Korean Won", - "currency_KYD": "Caymanian Dollar", - "currency_MMK": "Burmese Kyat", - "currency_NIO": "Nicaraguan Cordoba", - "currency_NPR": "Nepalese Rupee", - "currency_PAB": "Panamanian Balboa", - "currency_SBD": "Solomon Islander Dollar", - "currency_SHP": "Saint Helenian Pound", - "currency_SOS": "Somali Shilling", - "currency_SRD": "Surinamese Dollar", - "currency_SSP": "South Sudanese Pound", - "currency_SVC": "Salvadoran Colon", - "currency_SYP": "Syrian Pound", - "currency_TMT": "Turkmenistani Manat", - "currency_TOP": "Tongan Pa'anga", + "currency_USD": "US Dollar", + "currency_UYU": "Uruguayan Peso", "currency_UZS": "Uzbekistani Som", - "currency_VEF": "Venezuelan Bolívar", + "currency_VND": "Vietnamese Dong", "currency_VUV": "Ni-Vanuatu Vatu", "currency_WST": "Samoan Tala", + "currency_XAF": "Central African CFA Franc", "currency_XCD": "East Caribbean Dollar", - "currency_FJD": "Fijian Dollar", - "currency_PGK": "Papua New Guinean Kina", + "currency_XOF": "West African CFA Franc", + "currency_XPF": "CFP Franc", + "currency_YER": "Yemeni Rial", + "currency_ZAR": "South African Rand", + "currency_ZMW": "Zambian Kwacha", + "currency_ZWL": "Zimbabwean Dollar", "export_now": "Export now", "id": "Id", "import_button": "Import", diff --git a/assets/translations/es.json b/assets/translations/es.json index 5998bc2c..5f848fe5 100644 --- a/assets/translations/es.json +++ b/assets/translations/es.json @@ -347,5 +347,155 @@ "currency_THB": "Baht tailandés", "wallet_pop_menu_change_title": "Cambiar Título", "wallet_title_edit": "Editar Título de la Cartera", - "wallet_title_edit_new_title": "Nuevo Título" + "wallet_title_edit_new_title": "Nuevo Título", + "app_settings_wallet_order": "Pedido de Cartera", + "app_settings_price_feed_search": "Buscar código de moneda", + "currency_AZN": "Manat azerbaiyano", + "currency_BOB": "Boliviano boliviano", + "currency_EGP": "Libra egipcia", + "currency_ILS": "Nuevo séquel israelí", + "currency_ISK": "Corona islandesa", + "currency_JMD": "Dólar jamaicano", + "currency_MGA": "Ariary malgache", + "currency_MNT": "Tögrög mongol", + "currency_MYR": "Ringgit malayo", + "currency_NZD": "Dolar de Nueva Zelanda", + "currency_PYG": "Guaraní paraguayo", + "currency_GEL": "Lari georgiano", + "currency_TND": "Dinar tunecino", + "currency_TTD": "Dólar de Trinidad y Tobago", + "currency_XAF": "Franco CFA de África Central", + "wallet_scan_notice_new": "Esto podría tomar un tiempo.\n¡Esta pantalla se cerrará automáticamente!", + "wallet_scan_create_success": "cartera $title creada exitosamente", + "currency_MVR": "Rufiyaa de Maldivas", + "wallet_scanner_message_scan_connection_failed": "el escaneo falló para $coinName en $accountNumber (Falló la conexión)", + "scan_modal_title": "Escaneando esta Cartera", + "reset_modal_description": "Esto restablecerá el saldo de la cartera y verificará todas las direcciones en busca de UTXO.\nSe eliminarán las transacciones no transmitidas.", + "currency_KMF": "Franco comorano", + "currency_LYD": "Dinar libio", + "currency_SLL": "Leona de Sierra Leona", + "currency_TJS": "Somoni tayiko", + "currency_TWD": "Nuevo dólar taiwanés", + "currency_YER": "Rial yemení", + "currency_ZWL": "Dólar zimbabuense", + "currency_STN": "Dobra de Santo Tomé", + "currency_ZMW": "Kwacha zambiano", + "currency_ZAR": "Rand sudafricano", + "wallet_scan_wallet_already_exists": "la cartera ya existe: $walletName", + "wallet_scan_create_error": "error al crear la cartera: $error", + "wallet_scan_close": "Cerca", + "wallet_scanner_message_init": "escaneo inicializado para $coinName en $account", + "wallet_scanner_message_newAddressFound": "nueva dirección encontrada", + "wallet_scanner_message_new_wallet_found": "se encontró una nueva cartera para $coinName en $accountNumber", + "wallet_scanner_message_scan_finished": "escaneo finalizado para $coinName en $accountNumber", + "wallet_scanner_message_scan_failed": "el escaneo falló para $coinName en $accountNumber ($e))", + "currency_BAM": "Marco convertible bosnio", + "currency_BGN": "Lev búlgaro", + "currency_BHD": "Dinar bahreiní", + "currency_BIF": "Franco burundés", + "currency_BND": "Dólar de Brunei", + "reset_modal_title": "Restablecer esta Cartera", + "currency_BSD": "Dólar bahameño", + "currency_BTN": "Ngultrum butanés", + "currency_BWP": "Pula de Botsuana", + "currency_BYN": "Rublo bielorruso", + "currency_CAD": "Dolar canadiense", + "currency_CDF": "Franco congoleño", + "currency_CHF": "Franco suizo", + "currency_CLP": "Peso chileno", + "currency_COP": "Peso colombiano", + "currency_CRC": "Colón costarricense", + "currency_CZK": "Corona checa", + "currency_DOP": "Peso dominicano", + "currency_GMD": "Dalasi gambiano", + "currency_GNF": "Franco guineano", + "currency_GTQ": "Quetzal guatemalteco", + "currency_GYD": "Dólar guyanés", + "currency_HKD": "Dolar de Hong Kong", + "currency_HNL": "Lempira hondureña", + "currency_HUF": "Florín húngaro", + "currency_IQD": "Dinar iraquí", + "currency_JOD": "Dinar jordano", + "currency_KGS": "Som kirguís", + "currency_KWD": "Dinar kuwaití", + "currency_KZT": "Tenge kazajo", + "currency_LAK": "Kip laosiano", + "currency_LBP": "Libra libanesa", + "currency_LKR": "Rupia de Sri Lanka", + "currency_LRD": "Dólar liberiano", + "currency_LSL": "Loti basoto", + "currency_MAD": "Dírham marroquí", + "currency_MDL": "Leu moldavo", + "currency_MOP": "Pataca de Macao", + "currency_MUR": "Rupia de Mauricio", + "currency_MWK": "Kwacha de Malawi", + "currency_MXN": "Peso mexicano", + "currency_MZN": "Metical mozambiqueño", + "currency_NAD": "Dólar namibio", + "currency_NGN": "Naira nigeriano", + "currency_OMR": "Rial omaní", + "currency_PEN": "Sol peruano", + "currency_QAR": "Riyal catarí", + "currency_RSD": "Dinar serbio", + "currency_RWF": "Franco ruandés", + "currency_SAR": "Riyal saudí", + "currency_SCR": "Rupia de Seychelles", + "currency_SDG": "Libra sudanesa", + "currency_SGD": "Dolar de Singapur", + "currency_SZL": "Lilangeni suazi", + "currency_AFN": "Afgani afgano", + "currency_BBD": "Dólar de Barbados", + "currency_GIP": "Libra de Gibraltar", + "currency_NPR": "Rupia nepalesa", + "currency_SSP": "Libra sursudanesa", + "currency_VEF": "Bolívar venezolano", + "currency_VUV": "Vatu de Vanuatu", + "app_settings_language_search": "Idioma de búsqueda", + "currency_AED": "Dírham de los Emiratos Árabes Unidos", + "currency_ALL": "Lek albanés", + "currency_AMD": "Dram armenio", + "currency_AOA": "Kwanza angoleño", + "currency_CVE": "Escudo caboverdiano", + "currency_MKD": "Denar macedonio", + "currency_UYU": "Peso uruguayo", + "currency_XOF": "Franco CFA de África Occidental", + "currency_XPF": "Franco CFP", + "currency_CLF": "Unidad de Fomento", + "currency_MRU": "Ouguiya mauritana", + "currency_ANG": "Florín antillano neerlandés", + "currency_AWG": "Florín arubeño", + "currency_BMD": "Dólar bermudeño", + "currency_BZD": "Dólar beliceño", + "currency_CUP": "Peso cubano", + "currency_DJF": "Franco yibutiano", + "currency_DZD": "Dinar argelino", + "currency_ERN": "Nakfa eritreo", + "currency_ETB": "Birr etíope", + "currency_GHS": "Cedi ghanés", + "currency_HTG": "Gourde haitiano", + "currency_KHR": "Riel camboyano", + "currency_KPW": "Won norcoreano", + "currency_KYD": "Dólar de las Islas Caimán", + "currency_MMK": "Kyat birmano", + "currency_NIO": "Córdoba nicaragüense", + "currency_PAB": "Balboa panameño", + "currency_SBD": "Dólar de las Islas Salomón", + "currency_SHP": "Libra de Santa Elena", + "currency_SOS": "Chelín somalí", + "currency_SRD": "Dólar surinamés", + "currency_SVC": "Colón salvadoreño", + "currency_SYP": "Libra siria", + "currency_TMT": "Manat turcomano", + "currency_TOP": "Pa'anga tongano", + "currency_UZS": "Som uzbeko", + "currency_WST": "Tala samoano", + "currency_XCD": "Dólar del Caribe Oriental", + "currency_FJD": "Dólar fiyiano", + "currency_PGK": "Kina de Papúa Nueva Guinea", + "wallet_scan": "Escaneo de Cartera", + "scan_for_wallets": "Escanear en Busca de Carteras", + "wallet_scan_finished": "Escaneo Finalizado", + "wallet_scan_scanning_finished": "escaneo terminado", + "wallet_scan_n_new_found": "$n carteras nuevas encontradas", + "wallet_scan_no_new_found": "No se encontraron nuevas carteras" } diff --git a/assets/translations/hi.json b/assets/translations/hi.json index 7316248e..49f8f99b 100644 --- a/assets/translations/hi.json +++ b/assets/translations/hi.json @@ -382,7 +382,6 @@ "currency_COP": "कोलम्बियाई पेसो", "currency_EGP": "मिस्री पाउण्ड", "currency_GTQ": "ग्वाटेमाला क्वेटज़ल", - "currency_HRK": "क्रोएशियाई कुना", "currency_ISK": "आइसलैंडिक क्रोना", "currency_KMF": "कोमोरियन फ़्रैंक", "currency_LBP": "लेबनानी पाउंड", @@ -461,5 +460,42 @@ "currency_SGD": "सिंगापुर का डॉलर", "currency_SLL": "सिएरा लियोनियन लियोन", "currency_SZL": "स्वाजी लिलांगेनी", - "currency_TJS": "ताजिकिस्तानी सोमोनी" + "currency_TJS": "ताजिकिस्तानी सोमोनी", + "currency_ANG": "नीदरलैंड एंटिलीयन गिल्डर", + "currency_BBD": "बारबेडियन डॉलर", + "currency_BMD": "बरमूडा डॉलर", + "currency_BZD": "बेलीज़ीयन डॉलर", + "currency_DJF": "जिबूटियन फ्रैंक", + "currency_DZD": "अल्जीरियाई दीनार", + "currency_ERN": "इरिट्रियन नाकफा", + "currency_GHS": "घानीयन सेडी", + "currency_GIP": "जिब्राल्टर पाउंड", + "currency_HTG": "हैतियन गौर्डे", + "currency_KPW": "उत्तर कोरियाई वॉन", + "currency_KYD": "कैमेनियन डॉलर", + "currency_MMK": "बर्मीज़ क्यात", + "currency_NPR": "नेपाली रूपी", + "currency_PAB": "पनामेनियन बाल्बोआ", + "currency_SBD": "सोलोमन आइलैंडर डॉलर", + "currency_SOS": "सोमाली शिलिंग", + "currency_SRD": "सुरिनामीज़ डॉलर", + "currency_SSP": "दक्षिण सूडानी पाउंड", + "currency_SYP": "सीरियन पाउंड", + "currency_TMT": "तुर्कमेनिस्तानी मानत", + "currency_TOP": "टोंगन पा'आंगा", + "currency_VEF": "वेनेज़ुएलाई बोलिवार", + "currency_VUV": "नी-वानुआटु वातू", + "currency_WST": "सामोआन ताला", + "currency_FJD": "फ़िजियन डॉलर", + "currency_PGK": "पापुआ न्यू गिनीयन कीना", + "currency_AFN": "अफगान अफगानी", + "currency_AWG": "अरूबाई फ्लोरिन", + "currency_CUP": "क्यूबन पेसो", + "currency_ETB": "इथियोपियाई बिर्र", + "currency_KHR": "कंबोडियाई रिएल", + "currency_NIO": "निकारागुअन कोर्डोबा", + "currency_SHP": "सेंट हेलेनियन पाउंड", + "currency_SVC": "सैल्वाडोरन कोलोन", + "currency_UZS": "उज़बेकिस्तानी सॉम", + "currency_XCD": "ईस्ट कैरिबियन डॉलर" } diff --git a/assets/translations/is.json b/assets/translations/is.json index 1d90954a..924815c5 100644 --- a/assets/translations/is.json +++ b/assets/translations/is.json @@ -347,5 +347,155 @@ "setup_auth_hint": "Þú verður að slá aðgrófasetninguna þinni aftur inn þegar vefsetningin rennur út.", "about_donate_button": "Gefa PPC núna", "app_settings_delete": "Eyða reikningi", - "app_settings_delete_description": "Þar sem þú hefur ekki búið til reikning í þessu forriti, er ekkert til að eyða. Þú búðir til „veskiaðgrófasetningu“, sem er dulkóðunaraðgerð. Aðgrófasetningin þín er stærðfræði. Hún getur verið notað í hvaða forrit sem styður aðgrófasetninguna. Þú hefur ekki einnig reikninga með API bakgrunnsuppflettis eða gengisuppflettar. Þetta forrit varðveitir persónuverndina þína og er hönnuðuð með það marki." + "app_settings_delete_description": "Þar sem þú hefur ekki búið til reikning í þessu forriti, er ekkert til að eyða. Þú búðir til „veskiaðgrófasetningu“, sem er dulkóðunaraðgerð. Aðgrófasetningin þín er stærðfræði. Hún getur verið notað í hvaða forrit sem styður aðgrófasetninguna. Þú hefur ekki einnig reikninga með API bakgrunnsuppflettis eða gengisuppflettar. Þetta forrit varðveitir persónuverndina þína og er hönnuðuð með það marki.", + "currency_TWD": "Ný tænskur dalur", + "currency_MRU": "Máritönsk ouguiya", + "currency_BAM": "Bosnískur skiptanlegur mark", + "currency_TND": "Túnískt dinar", + "app_settings_wallet_order": "Panta Fyrir Veski", + "app_settings_price_feed_search": "Leitaðu að gjaldmiðilskóða", + "currency_AOA": "Angólskur kwanza", + "currency_AZN": "Aserbaídsjansk manat", + "currency_MVR": "Maldívska rufíja", + "wallet_scan_finished": "Skönnun Lokið", + "wallet_scan": "Skannaðu Veski", + "wallet_scan_wallet_already_exists": "veski er þegar til: $walletName", + "wallet_scan_scanning_finished": "skönnun lokið", + "wallet_scanner_message_init": "skönnun hófst fyrir $coinName á $account", + "wallet_scanner_message_scan_failed": "skönnun mistókst fyrir $coinName á $accountNumber ($e))", + "reset_modal_description": "Þetta mun endurstilla veskisstöðuna og athuga öll heimilisföng fyrir UTXO.\nViðskipti sem ekki eru útvarpað verða fjarlægð.", + "currency_COP": "Kólumbískur pesi", + "currency_GMD": "Gambískur dalasi", + "currency_LBP": "Líbanskt pund", + "currency_MNT": "Mongólskt tögrög", + "currency_MWK": "Malavísk kvaka", + "currency_SZL": "Svazílensk lilangeni", + "currency_CLF": "Unidad de Fomento", + "wallet_scan_notice_new": "Þetta gæti tekið smá tíma.\nÞessi skjár lokar sjálfkrafa!", + "wallet_scan_create_success": "veski $title búið til", + "wallet_scanner_message_newAddressFound": "nýtt heimilisfang fannst", + "wallet_scanner_message_new_wallet_found": "nýtt veski fannst fyrir $coinName á $accountNumber", + "scan_modal_title": "Skannaðu þetta Veski", + "currency_PAB": "Panamskur balbói", + "currency_SVC": "Salvadóranskt colón", + "currency_XCD": "Austur-Karabía dalur", + "app_settings_language_search": "Leita tungumál", + "currency_AED": "Sameinuðu arabísku furstadæmin dirham", + "currency_ALL": "Albanskur lek", + "currency_AMD": "Armenskur dram", + "currency_HNL": "Hondúrsk lempíra", + "currency_MYR": "Malasískt ringgit", + "currency_MXN": "Mexíkóskur pesi", + "currency_MZN": "Mósambísk metikal", + "currency_NAD": "Namibískur dalur", + "currency_NGN": "Nígerísk naira", + "currency_NZD": "Nýsjálenskur dalur", + "currency_OMR": "Ómanskt ríal", + "currency_PEN": "Perúskt sól", + "currency_PYG": "Paragvæskt guaraní", + "currency_QAR": "Katart ríal", + "currency_RSD": "Serbneskur dinar", + "currency_RWF": "Rúandskur franki", + "currency_SAR": "Sádi-arabískt ríal", + "currency_SCR": "Seysellísk rúpía", + "currency_SDG": "Súdansk pund", + "currency_SGD": "Singapúrskur dalur", + "currency_SLL": "Síerra leónskur leóne", + "currency_TJS": "Tadsjikskt somoni", + "currency_TTD": "Trínidad og Tóbagó-dalur", + "currency_UYU": "Úrúgvæskt pesi", + "currency_XPF": "CFP-franki", + "currency_AFN": "Afganí", + "currency_ANG": "Hollenskur gulden", + "currency_AWG": "Arúbanskur florín", + "currency_BBD": "Barbados dalur", + "currency_BMD": "Bermúdadalur", + "currency_BZD": "Belískur dalur", + "currency_CUP": "Kúbanskur pesi", + "currency_DJF": "Djíbútískur franki", + "currency_DZD": "Alsírskur denar", + "currency_ERN": "Erítresk nakfa", + "currency_ETB": "Eþíópískt birr", + "currency_GHS": "Ganverskur sedi", + "currency_GIP": "Gíbraltarspund", + "currency_HTG": "Haítískur gúrdi", + "currency_KHR": "Kambódískt riel", + "currency_KPW": "Norður-kóreskt von", + "currency_KYD": "Caymans-eyja dalur", + "currency_MMK": "Mjanmarsk kyat", + "currency_NIO": "Níkaragvískt kordóba", + "currency_NPR": "Nepalsk rúpía", + "currency_SBD": "Salómonseyskur dalur", + "currency_SHP": "Heilu Helena pund", + "currency_SOS": "Sómalískur skildingur", + "currency_SRD": "Súrínamenskur dalur", + "currency_SSP": "Suður-súdanskt pund", + "currency_SYP": "Sýrlenskt pund", + "currency_TMT": "Túrkmenskur manat", + "currency_TOP": "Tongversk pa'anga", + "currency_UZS": "Úsbekskt som", + "currency_VEF": "Venesúelskur bólivíanó", + "currency_VUV": "Vanúatú vatu", + "currency_WST": "Samóska tala", + "currency_FJD": "Fídjeyskur dalur", + "currency_PGK": "Papúa Ný-Gíneu kína", + "scan_for_wallets": "Leitaðu að Veski", + "wallet_scan_n_new_found": "$n ný veski fundust", + "wallet_scan_no_new_found": "Engin ný veski fundust", + "wallet_scan_create_error": "ekki tókst að búa til veski: $error", + "wallet_scan_close": "Loka", + "wallet_scanner_message_scan_finished": "skönnun lokið fyrir $coinName á $accountNumber", + "wallet_scanner_message_scan_connection_failed": "leit mistókst fyrir $coinName á $accountNumber (Tenging mistókst)", + "reset_modal_title": "Endurstillir þetta Veski", + "currency_XAF": "Mið-afrískur CFA-franki", + "currency_XOF": "Vestur-afrískur CFA-franki", + "currency_YER": "Jemenskt ríal", + "currency_ZWL": "Zimbabwískur dalur", + "currency_BGN": "Búlgarsk lev", + "currency_BHD": "Bareinsk dinar", + "currency_STN": "Saó Tóme og Prinsípe-dobra", + "currency_ZMW": "Sambísk kvaka", + "currency_ZAR": "Suður-afrískur rand", + "currency_BIF": "Búrúndískur franki", + "currency_BND": "Brúnelskur dalur", + "currency_BOB": "Bólivískur bólivíano", + "currency_BTN": "Bútanskur ngultrum", + "currency_BWP": "Botsvönsk púla", + "currency_BYN": "Hvítrússnesk rúbla", + "currency_CAD": "Kanadískur dalur", + "currency_CDF": "Kongóskur franki", + "currency_CHF": "Svissneskur franki", + "currency_CLP": "Síleískur pesi", + "currency_CRC": "Kostarískur colón", + "currency_CVE": "Grænhöfðaeyja-skúti escudo", + "currency_CZK": "Tékknesk krúnna", + "currency_DOP": "Dóminíska pesi", + "currency_EGP": "Egyptalandspund", + "currency_GEL": "Georgísk lari", + "currency_GNF": "Gíneufranki", + "currency_GTQ": "Gvatemalskur quetzal", + "currency_GYD": "Gvæjanskur dalur", + "currency_HUF": "Ungversk fórinta", + "currency_IQD": "Írakskur dinar", + "currency_ISK": "Íslensk króna", + "currency_JMD": "Jamaískur dalur", + "currency_JOD": "Jórdanskur dinar", + "currency_KGS": "Kirgísk som", + "currency_KMF": "Kómoreyjanskt franki", + "currency_KWD": "Kúveitskur dinar", + "currency_KZT": "Kasakstansk tengi", + "currency_LAK": "Lao kip", + "currency_LKR": "Srí Lönsk rúpía", + "currency_LRD": "Líberískur dalur", + "currency_LSL": "Lesótskót lóti", + "currency_LYD": "Líbískur dinar", + "currency_MAD": "Marokkóskur dirham", + "currency_MDL": "Moldavískt leú", + "currency_BSD": "Bahamskur dalur", + "currency_HKD": "Hong Kong-dalur", + "currency_ILS": "Ísraelskt nýr skekill", + "currency_MGA": "Madagaskar ariary", + "currency_MKD": "Makedónsk denari", + "currency_MOP": "Makaó-pataka", + "currency_MUR": "Máritísk rúpía" } diff --git a/assets/translations/ja.json b/assets/translations/ja.json index 2569060f..ed770fd1 100644 --- a/assets/translations/ja.json +++ b/assets/translations/ja.json @@ -347,5 +347,155 @@ "addressbook_dialog_addr_unwatch_unable": "$address\n視聴しないことはできません\n(残高があるか、次の変更アドレスです)", "addressbook_hide_unwatched": "未視聴を非表示にする", "addressbook_swipe_watch": "時計", - "addressbook_swipe_unwatch": "ウォッチしない" + "addressbook_swipe_unwatch": "ウォッチしない", + "currency_AED": "アラブ首長国連邦ディルハム", + "currency_BHD": "バーレーンディナール", + "currency_HUF": "ハンガリーフォリント", + "currency_JOD": "ヨルダンディナール", + "currency_STN": "サントメアン ドブラ", + "wallet_scan_notice_new": "これには少し時間がかかる場合があります。\nこの画面は自動的に閉じます。", + "wallet_scan": "ウォレットスキャン", + "scan_for_wallets": "ウォレットをスキャンする", + "wallet_scan_scanning_finished": "スキャンが完了しました", + "wallet_scan_wallet_already_exists": "ウォレットはすでに存在します: $walletName", + "wallet_scanner_message_new_wallet_found": "$accountNumber で $coinName の新しいウォレットが見つかりました", + "currency_BWP": "ボツワナ プラ", + "currency_GNF": "ギニアフラン", + "currency_KMF": "コモロフラン", + "currency_NGN": "ナイジェリア・ナイラ", + "currency_XAF": "中央アフリカCFAフラン", + "currency_XOF": "西アフリカCFAフラン", + "wallet_scanner_message_scan_connection_failed": "$accountNumber の $coinName のスキャンに失敗しました (接続に失敗しました)", + "reset_modal_description": "これにより、ウォレットの残高がリセットされ、UTXO のすべてのアドレスがチェックされます。\nブロードキャストされていないトランザクションは削除されます。", + "currency_SLL": "シエラレオネ レオン", + "currency_ANG": "オランダ領アンティル ギルダー", + "currency_AWG": "アルバ フロリン", + "currency_BBD": "バルバドス ドル", + "currency_BZD": "ベリーズ ドル", + "currency_CUP": "キューバ ペソ", + "currency_DJF": "ジブチ フラン", + "currency_ERN": "エリトリア ナクファ", + "currency_ETB": "エチオピア ビル", + "currency_GHS": "ガーナ セディ", + "currency_GIP": "ジブラルタル ポンド", + "currency_HTG": "ハイチ グールド", + "currency_KPW": "北朝鮮 ウォン", + "currency_KYD": "ケイマン諸島 ドル", + "currency_MMK": "ミャンマー チャット", + "currency_NIO": "ニカラグア コルドバ", + "currency_NPR": "ネパール ルピー", + "currency_SHP": "セントヘレナ ポンド", + "currency_SOS": "ソマリア シリング", + "currency_SRD": "スリナム ドル", + "currency_SSP": "南スーダン ポンド", + "currency_SYP": "シリア ポンド", + "currency_TMT": "トルクメニスタン マナト", + "currency_TOP": "トンガ パアンガ", + "currency_UZS": "ウズベキスタン スム", + "currency_VUV": "バヌアツ バツ", + "currency_WST": "サモア タラ", + "currency_XCD": "東カリブ ドル", + "currency_FJD": "フィジー ドル", + "currency_PGK": "パプアニューギニア キナ", + "currency_CRC": "コスタリカのコロン", + "currency_SZL": "スワジランドのリランゲニ", + "app_settings_language_search": "検索言語", + "currency_AMD": "アルメニアン ドラム", + "currency_AOA": "アンゴラ・クワンザ", + "currency_AZN": "アゼルバイジャン マナト", + "currency_BAM": "ボスニア兌換マルク", + "currency_BGN": "ブルガリアレフ", + "currency_BIF": "ブルンジフラン", + "currency_BND": "ブルネイドル", + "currency_BOB": "ボリビアのボリビアーノ", + "currency_BSD": "バハマドル", + "currency_BTN": "ブータン ニュルタム", + "currency_BYN": "ベラルーシルーブル", + "currency_CAD": "カナダドル", + "currency_CDF": "コンゴフラン", + "currency_CHF": "スイスフラン", + "currency_CLP": "チリペソ", + "currency_COP": "コロンビアペソ", + "currency_CVE": "カーボベルデのエスクード", + "currency_CZK": "チェコ コルナ", + "currency_DOP": "ドミニカペソ", + "currency_EGP": "エジプトポンド", + "currency_GEL": "グルジアラリ", + "currency_GMD": "ガンビアのダラシ", + "currency_GTQ": "グアテマラのケツァル", + "currency_GYD": "ガイアナドル", + "currency_HKD": "香港ドル", + "currency_HNL": "ホンジュラス レンピラ", + "currency_ILS": "イスラエル新シェケル", + "currency_IQD": "イラクディナール", + "currency_ISK": "アイスランド クローナ", + "currency_JMD": "ジャマイカドル", + "currency_KGS": "キルギスタンのソム", + "currency_KWD": "クウェート ディナール", + "currency_KZT": "カザフスタン テンゲ", + "currency_LBP": "レバノン ポンド", + "currency_LKR": "スリランカ ルピー", + "currency_LRD": "リベリアドル", + "currency_LSL": "バソソ・ロティ", + "currency_LYD": "リビアディナール", + "currency_MAD": "モロッコ ディルハム", + "currency_MDL": "モルドバ・レウ", + "currency_MGA": "マダガスカル アリアリー", + "currency_MKD": "マケドニア ディナール", + "currency_MNT": "モンゴルのトグログ", + "currency_MOP": "マカオ パタカ", + "currency_MUR": "モーリシャスルピー", + "currency_MVR": "モルディブ ルフィア", + "currency_MWK": "マラウイ クワチャ", + "currency_MYR": "マレーシアリンギット", + "currency_MXN": "メキシコペソ", + "currency_MZN": "モザンビーク メティカル", + "currency_NAD": "ナミビアドル", + "currency_AFN": "アフガニスタン アフガニ", + "currency_BMD": "バミューダ ドル", + "currency_NZD": "ニュージーランドドル", + "currency_OMR": "オマーン リアル", + "currency_DZD": "アルジェリア ディナール", + "currency_PEN": "ペルービアン・ソル", + "currency_KHR": "カンボジア リエル", + "currency_PAB": "パナマ バルボア", + "currency_PYG": "パラグアイ グアラニー", + "currency_QAR": "カタールリヤル", + "currency_RSD": "セルビアディナール", + "currency_RWF": "ルワンダフラン", + "currency_SAR": "サウジアラビアリヤル", + "currency_SCR": "セーシェル ルピー", + "currency_SDG": "スーダン ポンド", + "currency_SGD": "シンガポールドル", + "currency_TND": "チュニジアディナール", + "currency_TTD": "トリニダード トバゴ ドル", + "currency_SBD": "ソロモン諸島 ドル", + "currency_SVC": "エルサルバドル コロン", + "currency_TWD": "ニュー台湾ドル", + "currency_VEF": "ベネズエラ ボリバル", + "currency_UYU": "ウルグアイ ペソ", + "currency_XPF": "CFPフラン", + "currency_CLF": "ウニダード・デ・フォメント", + "currency_MRU": "モーリタニア・ウギア", + "currency_YER": "イエメン リアル", + "currency_ZWL": "ジンバブエドル", + "currency_ZMW": "ザンビアクワチャ", + "currency_ZAR": "南アフリカランド", + "wallet_scan_no_new_found": "新しいウォレットは見つかりませんでした", + "wallet_scan_create_error": "ウォレットの作成に失敗しました: $error", + "wallet_scan_close": "近い", + "wallet_scanner_message_init": "$account で $coinName のスキャンが初期化されました", + "wallet_scanner_message_newAddressFound": "新しい住所が見つかりました", + "wallet_scanner_message_scan_finished": "$accountNumber の $coinName のスキャンが終了しました", + "wallet_scanner_message_scan_failed": "$accountNumber ($e)) で $coinName のスキャンに失敗しました)", + "scan_modal_title": "このウォレットをスキャンしています", + "reset_modal_title": "このウォレットをリセットする", + "app_settings_wallet_order": "ウォレット注文", + "app_settings_price_feed_search": "通貨コードを検索する", + "currency_ALL": "アルバニアン・レク", + "currency_LAK": "ラオキップ", + "currency_TJS": "タジキスタン・ソモニ", + "wallet_scan_finished": "スキャンが完了しました", + "wallet_scan_create_success": "ウォレット $title が正常に作成されました", + "wallet_scan_n_new_found": "$n 個の新しいウォレットが見つかりました" } diff --git a/assets/translations/ko.json b/assets/translations/ko.json index 70f4161c..5d780fd5 100644 --- a/assets/translations/ko.json +++ b/assets/translations/ko.json @@ -380,7 +380,6 @@ "currency_GTQ": "과테말라 케찰", "currency_GYD": "가이아나 달러", "currency_HNL": "온두라스 렘피라", - "currency_HRK": "크로아티아 쿠나", "currency_HUF": "헝가리 포린트", "currency_ILS": "이스라엘 신 셰켈", "currency_IQD": "이라크 디나르", @@ -461,5 +460,42 @@ "wallet_scan_n_new_found": "$n개의 새 지갑이 발견되었습니다", "wallet_scan_wallet_already_exists": "지갑이 이미 존재합니다: $walletName", "wallet_scan_create_error": "지갑 생성 실패: $error", - "wallet_scan_close": "닫다" + "wallet_scan_close": "닫다", + "currency_AFN": "아프가니스탄 아프가니", + "currency_ANG": "네덜란드 앤틸리스 길더", + "currency_AWG": "아루바 플로린", + "currency_BBD": "바베이도스 달러", + "currency_BMD": "버뮤다 달러", + "currency_BZD": "벨리즈 달러", + "currency_CUP": "쿠바 페소", + "currency_DJF": "지부티 프랑", + "currency_DZD": "알제리 디나르", + "currency_ERN": "에리트리아 나크파", + "currency_ETB": "에티오피아 비르", + "currency_GHS": "가나 시디", + "currency_GIP": "지브롤터 파운드", + "currency_HTG": "아이티 구르드", + "currency_KHR": "캄보디아 리엘", + "currency_KPW": "북한 원", + "currency_KYD": "케이맨 제도 달러", + "currency_MMK": "미얀마 키얏", + "currency_NIO": "니카라과 코르도바", + "currency_NPR": "네팔 루피", + "currency_PAB": "파나마 발보아", + "currency_SBD": "솔로몬 제도 달러", + "currency_SHP": "세인트헬레나 파운드", + "currency_SOS": "소말리아 실링", + "currency_SRD": "수리남 달러", + "currency_SSP": "남수단 파운드", + "currency_SVC": "엘살바도르 콜론", + "currency_SYP": "시리아 파운드", + "currency_TMT": "투르크메니스탄 마나트", + "currency_TOP": "통가 파앙가", + "currency_UZS": "우즈베키스탄 솀", + "currency_VEF": "베네수엘라 볼리바르", + "currency_VUV": "니바두 바투", + "currency_WST": "사모아 탈라", + "currency_XCD": "동카리브 달러", + "currency_FJD": "피지 달러", + "currency_PGK": "파푸아뉴기니 키나" } diff --git a/assets/translations/nb_NO.json b/assets/translations/nb_NO.json index 48d980c3..2d1884a8 100644 --- a/assets/translations/nb_NO.json +++ b/assets/translations/nb_NO.json @@ -384,7 +384,6 @@ "currency_GYD": "Guyansk dollar", "currency_HKD": "Hongkongdollar", "currency_HNL": "Honduransk lempira", - "currency_HRK": "Kroatisk kuna", "currency_HUF": "Ungarsk forint", "currency_ILS": "Ny israelsk shekel", "currency_IQD": "Irakisk dinar", @@ -461,5 +460,42 @@ "currency_YER": "Jemenittisk rial", "currency_ZWL": "Zimbabwisk dollar", "currency_STN": "Saotomesisk dobra", - "currency_ZMW": "Zambisk kwacha" + "currency_ZMW": "Zambisk kwacha", + "currency_BZD": "Belizisk dollar", + "currency_KPW": "Nordkoreansk won", + "currency_SSP": "Sørsudanske pund", + "currency_FJD": "Fijiansk dollar", + "currency_AFN": "Afghansk afghani", + "currency_ANG": "Antillansk gylden", + "currency_AWG": "Arubansk florin", + "currency_BBD": "Barbadisk dollar", + "currency_BMD": "Bermudisk dollar", + "currency_CUP": "Cubansk peso", + "currency_DJF": "Djiboutisk franc", + "currency_DZD": "Algerisk dinar", + "currency_ERN": "Eritreisk nakfa", + "currency_ETB": "Etiopisk birr", + "currency_GHS": "Ghanesisk cedi", + "currency_GIP": "Gibraltarsk pund", + "currency_HTG": "Haitisk gourde", + "currency_KHR": "Kambodsjansk riel", + "currency_KYD": "Caymansk dollar", + "currency_MMK": "Myanmarsk kyat", + "currency_NIO": "Nicaraguansk córdoba", + "currency_NPR": "Nepalsk rupi", + "currency_PAB": "Panamansk balboa", + "currency_SBD": "Salomonsk dollar", + "currency_SHP": "Sankthelensk pund", + "currency_SOS": "Somalisk shilling", + "currency_SRD": "Surinamsk dollar", + "currency_SVC": "Salvadoransk colón", + "currency_SYP": "Syrisk pund", + "currency_TMT": "Turkmensk manat", + "currency_TOP": "Tongansk pa'anga", + "currency_UZS": "Usbekisk sum", + "currency_VEF": "Venezuelansk bolívar", + "currency_VUV": "Vanuatisk vatu", + "currency_WST": "Samoansk tala", + "currency_XCD": "Østkaribisk dollar", + "currency_PGK": "Papuansk kina" } diff --git a/assets/translations/pt.json b/assets/translations/pt.json index 38d8c16d..495e0f83 100644 --- a/assets/translations/pt.json +++ b/assets/translations/pt.json @@ -275,7 +275,7 @@ "sign_step_1_button": "Selecione", "sign_step_1_button_alt": "Mudar", "sign_step_2": "Digite a Mensagem", - "sign_step_3": "Assinar mensagem", + "sign_step_3": "Assinar Mensagem", "sign_step_3_description": "Esta é a sua assinatura. Você pode tocar duas vezes para copiá-lo para a área de transferência.", "sign_step_3_button": "Assinar", "verify_step_3_button": "Verificar", @@ -347,5 +347,155 @@ "currency_TRY": "Lira turca", "wallet_title_edit": "Editar Título da Carteira", "wallet_title_edit_new_title": "Novo Título", - "wallet_pop_menu_change_title": "Alterar Título" + "wallet_pop_menu_change_title": "Alterar Título", + "currency_EGP": "Libra Egípcia", + "currency_CLF": "Unidad de Fomento", + "currency_MRU": "Ouguiya da Mauritânia", + "currency_YER": "Rial Iemenita", + "currency_ZWL": "Dólar do Zimbábue", + "currency_STN": "Dobra de São Tomé e Príncipe", + "currency_ZMW": "Kwacha Zambiano", + "currency_GEL": "Lari Georgiano", + "currency_GMD": "Dalasi Gambiano", + "currency_GNF": "Franco Guineense", + "currency_GTQ": "Quetzal Guatemalteco", + "currency_GYD": "Dólar da Guiana", + "currency_HKD": "Dólar de Hong Kong", + "currency_HNL": "Lempira Hondurenha", + "currency_HUF": "Forint Húngaro", + "currency_ILS": "Novo Shekel Israelense", + "app_settings_wallet_order": "Pedido de Carteira", + "app_settings_price_feed_search": "Pesquisar código de moeda", + "currency_AMD": "Dram Armênio", + "currency_BND": "Dólar de Brunei", + "currency_CHF": "Franco Suíço", + "currency_IQD": "Dinar Iraquiano", + "currency_JMD": "Dólar Jamaicano", + "currency_LKR": "Rupia do Sri Lanka", + "currency_MOP": "Pataca de Macau", + "currency_SDG": "Libra Sudanesa", + "currency_TTD": "Dólar de Trinidad e Tobago", + "currency_ANG": "Florim das Antilhas Neerlandesas", + "currency_ETB": "Birr Etíope", + "currency_NIO": "Córdoba Nicaraguense", + "currency_SSP": "Libra Sul-sudanesa", + "currency_XCD": "Dólar do Caribe Oriental", + "wallet_scan": "Digitalização de Carteira", + "scan_for_wallets": "Procure Carteiras", + "wallet_scan_finished": "Digitalização Concluída", + "wallet_scan_create_success": "carteira $title criada com sucesso", + "wallet_scanner_message_init": "scan inicializado para $coinName em $account", + "wallet_scanner_message_scan_failed": "falha na verificação de $coinName em $accountNumber ($e))", + "reset_modal_description": "Isso redefinirá o saldo da carteira e verificará todos os endereços em busca de UTXOs.\nAs transações não transmitidas serão removidas.", + "currency_MZN": "Metical Moçambicano", + "currency_NAD": "Dólar Namibiano", + "currency_NGN": "Naira Nigeriano", + "currency_NZD": "Dólar da Nova Zelândia", + "currency_QAR": "Rial Catariano", + "currency_RSD": "Dinar Sérvio", + "currency_RWF": "Franco Ruandês", + "currency_SAR": "Rial Saudita", + "currency_SCR": "Rúpia das Seychelles", + "currency_DOP": "Peso Dominicano", + "app_settings_language_search": "Idioma de pesquisa", + "currency_AED": "Dirham dos Emirados Árabes Unidos", + "currency_ALL": "Lek Albanês", + "currency_AOA": "Kwanza Angolano", + "currency_AZN": "Manat Azerbaijano", + "currency_BAM": "Marco Convertível da Bósnia", + "currency_BGN": "Lev Búlgaro", + "currency_BHD": "Dinar Bahraini", + "currency_BIF": "Franco Burundiano", + "currency_BOB": "Boliviano Boliviano", + "currency_BSD": "Dólar das Bahamas", + "currency_BTN": "Ngultrum do Butão", + "currency_BWP": "Pula do Botswana", + "currency_BYN": "Rublo Bielorrusso", + "currency_CAD": "Dólar Canadense", + "currency_CDF": "Franco Congolês", + "currency_CLP": "Peso Chileno", + "currency_COP": "Peso Colombiano", + "currency_CRC": "Colón Costarriquenho", + "currency_CVE": "Escudo Cabo-verdiano", + "currency_CZK": "Coroa Tcheca", + "currency_ISK": "Coroa Islandesa", + "currency_JOD": "Dinar Jordaniano", + "currency_KGS": "Som Quirguiz", + "currency_KMF": "Franco Comoriano", + "currency_KWD": "Dinar Kuwaitiano", + "currency_KZT": "Tenge Cazaque", + "currency_LAK": "Kip do Laos", + "currency_LBP": "Libra Libanesa", + "currency_LRD": "Dólar Liberiano", + "currency_LSL": "Loti Basotho", + "currency_LYD": "Dinar Líbio", + "currency_MAD": "Dirham Marroquino", + "currency_MDL": "Leu Moldavo", + "currency_MGA": "Ariary Malgaxe", + "currency_MKD": "Dinar Macedônio", + "currency_MNT": "Tögrög Mongol", + "currency_MUR": "Rupia Mauriciana", + "currency_MVR": "Rufiyaa Maldiva", + "currency_MWK": "Kwacha Malawiano", + "currency_MYR": "Ringgit Malaio", + "currency_MXN": "Peso Mexicano", + "currency_OMR": "Rial Omanense", + "currency_PEN": "Sol Peruano", + "currency_PYG": "Guaraní Paraguaio", + "currency_SGD": "Dólar de Cingapura", + "currency_SLL": "Leone de Serra Leoa", + "currency_SZL": "Lilangeni da Suazilândia", + "currency_TJS": "Somoni Tajique", + "currency_TND": "Dinar Tunisiano", + "currency_TWD": "Novo Dólar de Taiwan", + "currency_UYU": "Peso Uruguaio", + "currency_XAF": "Franco CFA da África Central", + "currency_XOF": "Franco CFA da África Ocidental", + "currency_XPF": "Franco CFP", + "currency_ZAR": "Rand Sul-africano", + "currency_AFN": "Afegane Afegão", + "currency_AWG": "Florim Arubano", + "currency_BBD": "Dólar de Barbados", + "currency_BMD": "Dólar Bermudiano", + "currency_BZD": "Dólar Belizenho", + "currency_CUP": "Peso Cubano", + "currency_DJF": "Franco Djibutiense", + "currency_DZD": "Dinar Argelino", + "currency_ERN": "Nakfa Eritreia", + "currency_GHS": "Cedi Ganês", + "currency_GIP": "Libra de Gibraltar", + "currency_HTG": "Gourde Haitiano", + "currency_KHR": "Riel Cambojano", + "currency_KPW": "Won Norte-Coreano", + "currency_KYD": "Dólar das Ilhas Caimão", + "currency_MMK": "Kyat Birmanês", + "currency_NPR": "Rúpia Nepalesa", + "currency_PAB": "Balboa Panamenho", + "currency_SBD": "Dólar das Ilhas Salomão", + "currency_SHP": "Libra de Santa Helena", + "currency_SOS": "Xelim Somali", + "currency_SRD": "Dólar do Suriname", + "currency_SVC": "Colón Salvadorenho", + "currency_SYP": "Libra Síria", + "currency_TMT": "Manat Turquemenistano", + "currency_TOP": "Pa'anga Tonganês", + "currency_UZS": "Som Uzbeque", + "currency_VEF": "Bolívar Venezuelano", + "currency_VUV": "Vatu de Vanuatu", + "currency_WST": "Tala Samoano", + "currency_FJD": "Dólar Fijiano", + "currency_PGK": "Kina da Papua-Nova Guiné", + "wallet_scan_notice_new": "Isso pode demorar um pouco.\nEsta tela se fechará automaticamente!", + "wallet_scan_scanning_finished": "digitalização concluída", + "wallet_scan_n_new_found": "$n novas carteiras encontradas", + "wallet_scan_no_new_found": "Nenhuma nova carteira encontrada", + "wallet_scan_wallet_already_exists": "carteira já existe: $walletName", + "wallet_scan_create_error": "falha na criação da carteira: $error", + "wallet_scan_close": "Fechar", + "wallet_scanner_message_newAddressFound": "novo endereço encontrado", + "wallet_scanner_message_new_wallet_found": "nova carteira encontrada para $coinName em $accountNumber", + "wallet_scanner_message_scan_finished": "verificação concluída para $coinName em $accountNumber", + "wallet_scanner_message_scan_connection_failed": "falha na verificação de $coinName em $accountNumber (Falha na conexão)", + "scan_modal_title": "Digitalizando esta Carteira", + "reset_modal_title": "Redefinindo esta Carteira" } diff --git a/assets/translations/sv.json b/assets/translations/sv.json index 91922731..28f38b7b 100644 --- a/assets/translations/sv.json +++ b/assets/translations/sv.json @@ -356,7 +356,6 @@ "currency_CDF": "Kongolesiska franc", "currency_CHF": "Schweiziska franc", "currency_EGP": "Egyptiska pund", - "currency_HRK": "Kroatiska kuna", "currency_KMF": "Komoriska franc", "currency_LSL": "Lesothiska loti", "currency_MUR": "Mauritiska rupee", @@ -461,5 +460,42 @@ "currency_YER": "Jemenitiska rial", "currency_ZWL": "Zimbabwe dollar", "currency_STN": "Sao Tomesiska dobra", - "currency_ZMW": "Zambiska kwacha" + "currency_ZMW": "Zambiska kwacha", + "currency_ANG": "Nederländska Antillianska gulden", + "currency_AWG": "Arubanska florin", + "currency_BMD": "Bermudiska dollar", + "currency_BZD": "Belizeanska dollar", + "currency_CUP": "Kubanska peso", + "currency_DJF": "Djiboutiska franc", + "currency_DZD": "Algeriska dinar", + "currency_ERN": "Eritreanska nakfa", + "currency_ETB": "Etiopiska birr", + "currency_GHS": "Ghananska cedi", + "currency_GIP": "Gibraltar pund", + "currency_HTG": "Haitiska gourde", + "currency_KPW": "Nordkoreanska won", + "currency_KYD": "Caymanska dollar", + "currency_MMK": "Burmesiska kyat", + "currency_NIO": "Nicaraguanska cordoba", + "currency_NPR": "Nepalesiska rupier", + "currency_PAB": "Panamas balboa", + "currency_SBD": "Salomonöarnas dollar", + "currency_SOS": "Somaliska shilling", + "currency_SRD": "Surinam dollar", + "currency_SSP": "Sydsudanesiska pund", + "currency_SVC": "Salvadoranska kolon", + "currency_SYP": "Syriska pund", + "currency_TMT": "Turkmenistanska manat", + "currency_TOP": "Tonganska pa'anga", + "currency_UZS": "Uzbekistanska som", + "currency_VEF": "Venezuelanska bolívar", + "currency_VUV": "Vanuatu vatu", + "currency_WST": "Samoanska tala", + "currency_FJD": "Fijianska dollar", + "currency_PGK": "Papua Nya Guinea kina", + "currency_AFN": "Afghanska afghani", + "currency_BBD": "Barbadiska dollar", + "currency_KHR": "Kambodjanska riel", + "currency_SHP": "Sankt Helena pund", + "currency_XCD": "Östkaribiska dollar" } diff --git a/assets/translations/th.json b/assets/translations/th.json index f70a2463..8258fce9 100644 --- a/assets/translations/th.json +++ b/assets/translations/th.json @@ -347,5 +347,8 @@ "setup_auth_title": "เลือกเวลาที่เซสชันเว็บของคุณจะหมดอายุ:", "setup_auth_subtitle_singular": "เซสชันของคุณจะหมดอายุหลังจาก $days วัน", "about_donate_button": "บริจาค PPC ตอนนี้", - "app_settings_delete": "ลบบัญชี" + "app_settings_delete": "ลบบัญชี", + "app_settings_wallet_order": "สั่งซื้อกระเป๋าเงิน", + "app_settings_price_feed_search": "ค้นหารหัสสกุลเงิน", + "app_settings_language_search": "ค้นหาภาษา" } diff --git a/assets/translations/tr.json b/assets/translations/tr.json index 46e85e5c..a98baf36 100644 --- a/assets/translations/tr.json +++ b/assets/translations/tr.json @@ -347,5 +347,8 @@ "currency_UGX": "Uganda Şilini", "wallet_pop_menu_change_title": "Başlığı Değiştir", "wallet_title_edit": "Cüzdan Başlığını Düzenle", - "wallet_title_edit_new_title": "Yeni Başlık" + "wallet_title_edit_new_title": "Yeni Başlık", + "app_settings_wallet_order": "Cüzdan Siparişi", + "app_settings_price_feed_search": "Para birimi kodunu ara", + "app_settings_language_search": "Arama dili" } diff --git a/assets/translations/vi.json b/assets/translations/vi.json index 3748aebf..d73526dc 100644 --- a/assets/translations/vi.json +++ b/assets/translations/vi.json @@ -300,8 +300,8 @@ "sign_step_1_description": "Chọn địa chỉ sẽ ký thông điệp", "sign_step_1_button": "Chọn", "sign_step_1_button_alt": "Thay đổi", - "sign_step_2": "Nhập tin nhắn", - "sign_step_3": "Ký thông điệp", + "sign_step_2": "Nhập Tin Nhắn", + "sign_step_3": "Ký Thông Điệp", "sign_step_3_description": "Đây là chữ ký của bạn. Bạn có thể nhấn đúp để sao chép nó vào khay nhớ tạm.", "sign_step_3_button": "Ký", "verify_step_3_button": "Xác minh", @@ -347,5 +347,155 @@ "send_errors_cant_pay_fees": "Không thể trả phí. $feesMissing $letter_code hiện đang bị thiếu. Cân nhắc xóa địa chỉ hoặc giảm số tiền giao dịch của họ.", "currency_DKK": "Krone Đan Mạch", "currency_AUD": "Đô la Australia", - "currency_THB": "Baht Thái Lan" + "currency_THB": "Baht Thái Lan", + "app_settings_price_feed_search": "Tìm kiếm mã tiền tệ", + "app_settings_language_search": "Tìm kiếm ngôn ngữ", + "currency_ILS": "Shekel Israel", + "currency_AED": "Dirham Các Tiểu vương quốc Ả Rập Thống nhất", + "currency_ALL": "Lek Albania", + "currency_AMD": "Dram Armenia", + "currency_AOA": "Kwanza Angola", + "currency_AZN": "Manat Azerbaijan", + "currency_BAM": "Mark Bosnia-Herzegovina", + "currency_BGN": "Lev Bulgaria", + "currency_BHD": "Dinar Bahrain", + "currency_BIF": "Franc Burundi", + "currency_BND": "Đô la Brunei", + "currency_BOB": "Boliviano Bolivia", + "currency_BSD": "Đô la Bahamas", + "currency_BTN": "Ngultrum Bhutan", + "currency_BWP": "Pula Botswana", + "currency_BYN": "Ruble Belarus", + "currency_CDF": "Franc Congo", + "currency_CHF": "Franc Thụy Sỹ", + "currency_CLP": "Peso Chile", + "currency_COP": "Peso Colombia", + "currency_CRC": "Colón Costa Rica", + "currency_CVE": "Escudo Cape Verde", + "currency_CZK": "Koruna Cộng hòa Séc", + "currency_EGP": "Bảng Ai Cập", + "currency_GEL": "Lari Georgia", + "currency_GMD": "Dalasi Gambia", + "currency_GNF": "Franc Guinea", + "currency_GTQ": "Quetzal Guatemala", + "currency_GYD": "Đô la Guyana", + "currency_HKD": "Đô la Hồng Kông", + "currency_HUF": "Forint Hungary", + "currency_IQD": "Dinar Iraq", + "currency_ISK": "Króna Iceland", + "currency_JMD": "Đô la Jamaica", + "currency_JOD": "Dinar Jordan", + "currency_KGS": "Som Kyrgyzstan", + "currency_KMF": "Franc Comoros", + "currency_KWD": "Dinar Kuwait", + "currency_KZT": "Tenge Kazakhstan", + "currency_LAK": "Kip Lào", + "currency_LKR": "Rupee Sri Lanka", + "currency_LRD": "Đô la Liberia", + "currency_LSL": "Loti Lesotho", + "currency_LYD": "Dinar Libya", + "currency_MAD": "Dirham Morocco", + "currency_MDL": "Leu Moldova", + "currency_MGA": "Ariary Madagascar", + "currency_MNT": "Tögrög Mongolia", + "currency_MOP": "Pataca Macau", + "currency_MUR": "Rupee Mauritius", + "currency_MWK": "Kwacha Malawi", + "currency_MYR": "Ringgit Malaysia", + "currency_MXN": "Peso Mexico", + "currency_MZN": "Metical Mozambique", + "currency_NAD": "Đô la Namibia", + "currency_NGN": "Naira Nigeria", + "currency_OMR": "Rial Oman", + "currency_PEN": "Sol Peru", + "currency_PYG": "Guaraní Paraguay", + "currency_QAR": "Riyal Qatar", + "currency_SAR": "Riyal Saudi Arabia", + "currency_SDG": "Bảng Sudan", + "currency_SGD": "Đô la Singapore", + "currency_SLL": "Leone Sierra Leone", + "currency_TWD": "Đô la Đài Loan mới", + "currency_STN": "Dobra Sao Tome và Principe", + "currency_ZMW": "Kwacha Zambia", + "currency_ZAR": "Rand Nam Phi", + "currency_AFN": "Afghani Afghanistan", + "currency_ANG": "Guilder Hà Lan Antilles", + "currency_AWG": "Florin Aruba", + "currency_BBD": "Đô la Barbados", + "currency_BMD": "Đô la Bermuda", + "currency_BZD": "Đô la Belize", + "currency_CUP": "Peso Cuba", + "currency_DZD": "Dinar Algeria", + "currency_ERN": "Nakfa Eritrea", + "currency_ETB": "Birr Ethiopia", + "currency_GHS": "Cedi Ghana", + "currency_GIP": "Bảng Gibraltar", + "currency_KHR": "Riel Cambodia", + "currency_KPW": "Won Bắc Triều Tiên", + "currency_KYD": "Đô la Cayman", + "currency_MMK": "Kyat Myanmar", + "currency_NIO": "Cordoba Nicaragua", + "currency_PAB": "Balboa Panama", + "currency_SBD": "Đô la quần đảo Solomon", + "currency_SHP": "Bảng Saint Helena", + "currency_SOS": "Shilling Somalia", + "currency_SRD": "Đô la Suriname", + "currency_SVC": "Colón El Salvador", + "currency_SYP": "Bảng Syria", + "currency_TOP": "Pa'anga Tonga", + "currency_UZS": "Som Uzbekistan", + "currency_VEF": "Bolívar Venezuela", + "currency_VUV": "Vatu Vanuatu", + "currency_WST": "Tala Samoa", + "currency_XCD": "Đô la Đông Caribê", + "currency_FJD": "Đô la Fiji", + "currency_PGK": "Kina Papua New Guinea", + "scan_for_wallets": "Quét tìm Ví", + "wallet_scan_finished": "Quét Xong", + "wallet_scan_create_success": "ví $title được tạo thành công", + "wallet_scan_scanning_finished": "quét xong", + "wallet_scan_n_new_found": "$n ví mới được tìm thấy", + "wallet_scan_no_new_found": "Không tìm thấy ví mới", + "wallet_scan_wallet_already_exists": "ví đã tồn tại: $walletName", + "wallet_scan_create_error": "tạo ví không thành công: $error", + "wallet_scan_close": "Đóng", + "wallet_scanner_message_newAddressFound": "địa chỉ mới được tìm thấy", + "wallet_scanner_message_new_wallet_found": "đã tìm thấy ví mới cho $coinName tại $accountNumber", + "wallet_scanner_message_scan_finished": "quá trình quét đã hoàn tất cho $coinName tại $accountNumber", + "wallet_scanner_message_scan_connection_failed": "quét thất bại đối với $coinName tại $accountNumber (Kết nối không thành công)", + "scan_modal_title": "Đang quét ví này", + "reset_modal_title": "Đặt lại ví này", + "reset_modal_description": "Điều này sẽ thiết lập lại số dư ví và sẽ kiểm tra tất cả các địa chỉ để tìm UTXO.\nCác giao dịch không được phát sóng sẽ bị xóa.", + "app_settings_wallet_order": "Đơn Đặt Hàng Ví", + "currency_CAD": "Đô la Canada", + "currency_DOP": "Peso Dominican", + "currency_HNL": "Lempira Honduras", + "currency_LBP": "Bảng Lebanon", + "currency_MKD": "Denar Macedonia", + "currency_MVR": "Rufiyaa Maldives", + "currency_NZD": "Đô la New Zealand", + "currency_RSD": "Dinar Serbia", + "currency_RWF": "Franc Rwanda", + "currency_SCR": "Rupee Seychelles", + "currency_DJF": "Franc Djibouti", + "currency_HTG": "Gourde Haiti", + "currency_NPR": "Rupee Nepal", + "currency_SSP": "Bảng Nam Sudan", + "currency_TMT": "Manat Turkmenistan", + "wallet_scan_notice_new": "Có lẽ sẽ mất một lúc.\nMàn hình này sẽ tự động đóng lại!", + "wallet_scanner_message_init": "quá trình quét được khởi tạo cho $coinName ở mức $account", + "wallet_scanner_message_scan_failed": "quét không thành công đối với $coinName tại $accountNumber ($e))", + "currency_SZL": "Lilangeni Swaziland", + "currency_TJS": "Somoni Tajikistan", + "currency_TND": "Dinar Tunisia", + "currency_TTD": "Đô la Trinidad và Tobago", + "currency_UYU": "Peso Uruguay", + "currency_XAF": "Franc CFA Trung Phi", + "currency_XOF": "Franc CFA Tây Phi", + "currency_XPF": "Franc CFP", + "currency_CLF": "Unidad de Fomento", + "currency_MRU": "Ouguiya Mauritania", + "currency_YER": "Rial Yemen", + "currency_ZWL": "Đô la Zimbabwe", + "wallet_scan": "Quét Ví" } diff --git a/assets/translations/zh.json b/assets/translations/zh.json index 8fad7a5d..63e72ea3 100644 --- a/assets/translations/zh.json +++ b/assets/translations/zh.json @@ -449,7 +449,6 @@ "currency_BAM": "波斯尼亚可兑换马克", "currency_BYN": "白俄罗斯卢布", "currency_GEL": "格鲁吉亚拉里", - "currency_HRK": "克罗地亚库纳", "currency_JMD": "牙买加元", "currency_LBP": "黎巴嫩镑", "currency_MGA": "马达加斯加阿里亚里", @@ -461,5 +460,42 @@ "wallet_scanner_message_newAddressFound": "找到新地址", "wallet_scanner_message_scan_connection_failed": "扫描 $accountNumber 处的 $coinName 失败(连接失败)", "reset_modal_title": "重置此钱包", - "reset_modal_description": "这将重置钱包余额并检查所有地址的 UTXO。\n非广播交易将被删除。" + "reset_modal_description": "这将重置钱包余额并检查所有地址的 UTXO。\n非广播交易将被删除。", + "currency_AWG": "阿鲁巴弗罗林", + "currency_BBD": "巴巴多斯元", + "currency_BMD": "百慕大元", + "currency_BZD": "伯利兹元", + "currency_CUP": "古巴比索", + "currency_DJF": "吉布提法郎", + "currency_DZD": "阿尔及利亚第纳尔", + "currency_ETB": "埃塞俄比亚比尔", + "currency_GHS": "加纳塞地", + "currency_GIP": "直布罗陀镑", + "currency_HTG": "海地古德", + "currency_KHR": "柬埔寨瑞尔", + "currency_KPW": "朝鲜圆", + "currency_KYD": "开曼元", + "currency_MMK": "缅甸缅元", + "currency_NPR": "尼泊尔卢比", + "currency_PAB": "巴拿马巴波亚", + "currency_SBD": "所罗门群岛元", + "currency_SHP": "圣赫勒拿镑", + "currency_SOS": "索马里先令", + "currency_SRD": "苏里南元", + "currency_SSP": "南苏丹镑", + "currency_SYP": "叙利亚镑", + "currency_TMT": "土库曼斯坦马纳特", + "currency_TOP": "汤加潘加", + "currency_UZS": "乌兹别克斯坦苏姆", + "currency_VEF": "委内瑞拉玻利瓦尔", + "currency_VUV": "瓦努阿图瓦图", + "currency_XCD": "东加勒比元", + "currency_FJD": "斐济元", + "currency_PGK": "巴布亚新几内亚基那", + "currency_AFN": "阿富汗阿富汗尼", + "currency_ANG": "荷兰安的列斯盾", + "currency_ERN": "厄立特里亚纳克法", + "currency_NIO": "尼加拉瓜科多巴", + "currency_SVC": "萨尔瓦多科朗", + "currency_WST": "萨摩亚塔拉" } diff --git a/assets/translations/zh_Hant.json b/assets/translations/zh_Hant.json index d4caf9d8..40396731 100644 --- a/assets/translations/zh_Hant.json +++ b/assets/translations/zh_Hant.json @@ -452,7 +452,6 @@ "currency_BND": "文萊元", "currency_CAD": "加元", "currency_EGP": "埃及鎊", - "currency_HRK": "克羅地亞庫納", "currency_KGS": "吉爾吉斯斯坦索姆", "currency_LSL": "巴索托·洛蒂", "currency_XOF": "西非法郎", @@ -461,5 +460,42 @@ "wallet_scan_no_new_found": "沒有找到新的錢包", "wallet_scanner_message_newAddressFound": "找到新地址", "wallet_scanner_message_scan_failed": "掃描 $accountNumber ($e)) 處的 $coinName 失敗", - "reset_modal_description": "這將重置錢包餘額並檢查所有地址的 UTXO。\n非廣播交易將被刪除。" + "reset_modal_description": "這將重置錢包餘額並檢查所有地址的 UTXO。\n非廣播交易將被刪除。", + "currency_AFN": "阿富汗阿富汗尼", + "currency_ANG": "荷屬安的列斯盾", + "currency_AWG": "阿魯巴弗洛林", + "currency_BBD": "巴巴多斯元", + "currency_BMD": "百慕大元", + "currency_BZD": "伯利茲元", + "currency_CUP": "古巴披索", + "currency_DJF": "吉布提法郎", + "currency_DZD": "阿爾及利亞第納爾", + "currency_ERN": "厄立特里亞納克法", + "currency_ETB": "埃塞俄比亞比爾", + "currency_GHS": "加納塞地", + "currency_GIP": "直布羅陀鎊", + "currency_KHR": "柬埔寨瑞爾", + "currency_KPW": "北韓圓", + "currency_KYD": "開曼群島元", + "currency_MMK": "緬甸緬元", + "currency_NIO": "尼加拉瓜科多巴", + "currency_NPR": "尼泊爾盧比", + "currency_PAB": "巴拿馬巴波亞", + "currency_SHP": "聖赫勒拿鎊", + "currency_SOS": "索馬里先令", + "currency_SRD": "蘇里南元", + "currency_SSP": "南蘇丹鎊", + "currency_SVC": "薩爾瓦多科隆", + "currency_SYP": "敘利亞鎊", + "currency_TMT": "土庫曼馬納特", + "currency_TOP": "東加潘加", + "currency_UZS": "烏茲別克索姆", + "currency_VEF": "委內瑞拉玻利瓦", + "currency_VUV": "瓦努阿圖瓦圖", + "currency_WST": "薩摩亞塔拉", + "currency_XCD": "東加勒比元", + "currency_FJD": "斐濟元", + "currency_PGK": "巴布亞新幾內亞基那", + "currency_HTG": "海地古德", + "currency_SBD": "所羅門群島元" } diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 9b79bb6d..ffd3039d 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -1,8 +1,11 @@ PODS: - - background_fetch (1.2.0): + - background_fetch (1.2.1): - Flutter - camera_avfoundation (0.0.1): - Flutter + - coinlib_flutter (0.3.2): + - Flutter + - FlutterMacOS - connectivity_plus (0.0.1): - Flutter - ReachabilitySwift @@ -84,6 +87,7 @@ PODS: DEPENDENCIES: - background_fetch (from `.symlinks/plugins/background_fetch/ios`) - camera_avfoundation (from `.symlinks/plugins/camera_avfoundation/ios`) + - coinlib_flutter (from `.symlinks/plugins/coinlib_flutter/darwin`) - connectivity_plus (from `.symlinks/plugins/connectivity_plus/ios`) - cryptography_flutter (from `.symlinks/plugins/cryptography_flutter/ios`) - file_picker (from `.symlinks/plugins/file_picker/ios`) @@ -117,6 +121,8 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/background_fetch/ios" camera_avfoundation: :path: ".symlinks/plugins/camera_avfoundation/ios" + coinlib_flutter: + :path: ".symlinks/plugins/coinlib_flutter/darwin" connectivity_plus: :path: ".symlinks/plugins/connectivity_plus/ios" cryptography_flutter: @@ -153,8 +159,9 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/url_launcher_ios/ios" SPEC CHECKSUMS: - background_fetch: 79229f3677f19e1851b8e46d051720842e25a7fc + background_fetch: 896944864b038d2837fc750d470e9841e1e6a363 camera_avfoundation: 3125e8cd1a4387f6f31c6c63abb8a55892a9eeeb + coinlib_flutter: 6abec900d67762a6e7ccfd567a3cd3ae00bbee35 connectivity_plus: 413a8857dd5d9f1c399a39130850d02fe0feaf7e cryptography_flutter: 381bdacc984abcfbe3ca45ef7c76566ff061614c DKImagePickerController: b512c28220a2b8ac7419f21c491fc8534b7601ac diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 22c67a3e..213f676a 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -155,7 +155,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1300; + LastUpgradeCheck = 1430; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index f3d88ace..4ba725f4 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ element.address == recipientAddr, + ) != + null) { + //found recipient in the transaction that is not the changeAddress but our address + final value = buildResult.recipients[recipientAddr] ?? 0; + + LoggerWrapper.logInfo( + 'WalletProvider', + 'putOutgoingTx', + 'isSendingToSelf: $recipientAddr $value', + ); + + //write tx + openWallet.putTransaction( + WalletTransaction( + txid: buildResult.id, + timestamp: 0, + value: value, + fee: 0, + recipients: {recipientAddr: value}, + address: recipientAddr, + direction: 'in', + broadCasted: false, + confirmations: 0, + broadcastHex: '', + opReturn: buildResult.opReturn, + ), + ); + } + } + } + //flag _unusedAddress as change addr final addrInWallet = openWallet.addresses.firstWhereOrNull( - (element) => element.address == getUnusedAddress(identifier), + (element) => element.address == changeAddress, ); if (addrInWallet != null) { if (buildResult.neededChange == true) { @@ -1076,13 +1114,13 @@ class WalletProvider with ChangeNotifier { String txId, ) async { final openWallet = getSpecificCoinWallet(identifier); - final tx = openWallet.transactions.firstWhereOrNull( + final tx = openWallet.transactions.where( (element) => element.txid == txId, ); - if (tx != null) { - tx.broadCasted = true; - tx.resetBroadcastHex(); - tx.confirmations = 0; + for (final element in tx) { + element.broadCasted = true; + element.resetBroadcastHex(); + element.confirmations = 0; await openWallet.save(); } } diff --git a/lib/screens/language_selector.dart b/lib/screens/language_selector.dart new file mode 100644 index 00000000..65c71757 --- /dev/null +++ b/lib/screens/language_selector.dart @@ -0,0 +1,131 @@ +import 'package:app_bar_with_search_switch/app_bar_with_search_switch.dart'; +import 'package:flutter/material.dart'; + +import '../../tools/app_localizations.dart'; +import '../../widgets/service_container.dart'; + +class LanguageSelectorScreen extends StatefulWidget { + final Function saveLang; + final String selectedLang; + const LanguageSelectorScreen({ + super.key, + required this.saveLang, + required this.selectedLang, + }); + + @override + State createState() => _LanguageSelectorScreenState(); +} + +class _LanguageSelectorScreenState extends State { + bool _initial = true; + String _searchString = ''; + List _filteredLanguages = []; + + @override + void didChangeDependencies() async { + if (_initial == true) { + updateFilteredList(); + setState(() { + _initial = false; + }); + } + + super.didChangeDependencies(); + } + + void updateFilteredList() { + _filteredLanguages = AppLocalizations.availableLocales.keys.where((lang) { + return lang.toLowerCase().contains( + _searchString.toLowerCase(), + ) || + AppLocalizations.availableLocales[lang]!.$2.toLowerCase().contains( + _searchString.toLowerCase(), + ); + }).toList(); + } + + void _saveLang(String langToSave) async { + await widget.saveLang(langToSave); + + if (mounted) { + final scaffoldMessenger = ScaffoldMessenger.of(context); + //show notification + scaffoldMessenger.showSnackBar( + SnackBar( + content: Text( + AppLocalizations.instance.translate('app_settings_saved_snack'), + textAlign: TextAlign.center, + ), + duration: const Duration(seconds: 2), + ), + ); + } + } + + @override + Widget build(BuildContext context) { + if (_initial == true) { + return const Scaffold( + body: Center( + child: CircularProgressIndicator(), + ), + ); + } + + return Scaffold( + appBar: AppBarWithSearchSwitch( + closeOnSubmit: true, + clearOnClose: true, + fieldHintText: + AppLocalizations.instance.translate('app_settings_language_search'), + onChanged: (text) { + setState(() { + _searchString = text; + }); + updateFilteredList(); + }, + onCleared: () => setState(() { + _searchString = ''; + }), + appBarBuilder: (context) { + return AppBar( + title: Text( + AppLocalizations.instance.translate('app_settings_language'), + ), + actions: const [ + AppBarSearchButton(), + ], + ); + }, + ), + body: SingleChildScrollView( + child: Align( + child: PeerContainer( + noSpacers: true, + child: Column( + children: _filteredLanguages.map((lang) { + final (locale, langTitle) = + AppLocalizations.availableLocales[lang]!; + final countryCode = locale.countryCode ?? ''; + return InkWell( + onTap: () => _saveLang(lang), + child: ListTile( + title: Text(langTitle), + subtitle: Text('${locale.languageCode} $countryCode'), + key: Key(lang), + leading: Radio( + value: lang, + groupValue: widget.selectedLang, + onChanged: (_) => _saveLang(lang), + ), + ), + ); + }).toList(), + ), + ), + ), + ), + ); + } +} diff --git a/lib/screens/settings/app_settings_language.dart b/lib/screens/settings/app_settings_language.dart index 323b107e..bf9b941e 100644 --- a/lib/screens/settings/app_settings_language.dart +++ b/lib/screens/settings/app_settings_language.dart @@ -1,10 +1,9 @@ -import 'package:app_bar_with_search_switch/app_bar_with_search_switch.dart'; import 'package:flutter/material.dart'; +import 'package:peercoin/screens/language_selector.dart'; import 'package:provider/provider.dart'; import '../../providers/app_settings_provider.dart'; import '../../tools/app_localizations.dart'; -import '../../widgets/service_container.dart'; class AppSettingsLanguageScreen extends StatefulWidget { const AppSettingsLanguageScreen({super.key}); @@ -16,8 +15,6 @@ class AppSettingsLanguageScreen extends StatefulWidget { class _AppSettingsLanguageScreenState extends State { bool _initial = true; - String _searchString = ''; - List _filteredLanguages = []; late String _lang = ''; late AppSettingsProvider _settings; @@ -25,7 +22,9 @@ class _AppSettingsLanguageScreenState extends State { void didChangeDependencies() async { if (_initial == true) { _settings = Provider.of(context); - updateFilteredList(); + _lang = + _settings.selectedLang ?? AppLocalizations.instance.locale.toString(); + setState(() { _initial = false; }); @@ -35,99 +34,19 @@ class _AppSettingsLanguageScreenState extends State { } void saveLang(String lang) async { - final scaffoldMessenger = ScaffoldMessenger.of(context); await _settings.setSelectedLang(lang); await AppLocalizations.delegate.load(Locale(lang)); - //show notification - scaffoldMessenger.showSnackBar( - SnackBar( - content: Text( - AppLocalizations.instance.translate('app_settings_saved_snack'), - textAlign: TextAlign.center, - ), - duration: const Duration(seconds: 2), - ), - ); - } - - void updateFilteredList() { - _filteredLanguages = AppLocalizations.availableLocales.keys.where((lang) { - return lang.toLowerCase().contains( - _searchString.toLowerCase(), - ) || - AppLocalizations.availableLocales[lang]!.$2.toLowerCase().contains( - _searchString.toLowerCase(), - ); - }).toList(); + setState(() { + _lang = lang; + }); } @override Widget build(BuildContext context) { - if (_initial == true) { - return const Scaffold( - body: Center( - child: CircularProgressIndicator(), - ), - ); - } - - _lang = - _settings.selectedLang ?? AppLocalizations.instance.locale.toString(); - - return Scaffold( - appBar: AppBarWithSearchSwitch( - closeOnSubmit: true, - clearOnClose: true, - fieldHintText: - AppLocalizations.instance.translate('app_settings_language_search'), - onChanged: (text) { - setState(() { - _searchString = text; - }); - updateFilteredList(); - }, - onCleared: () => setState(() { - _searchString = ''; - }), - appBarBuilder: (context) { - return AppBar( - title: Text( - AppLocalizations.instance.translate('app_settings_language'), - ), - actions: const [ - AppBarSearchButton(), - ], - ); - }, - ), - body: SingleChildScrollView( - child: Align( - child: PeerContainer( - noSpacers: true, - child: Column( - children: _filteredLanguages.map((lang) { - final (locale, langTitle) = - AppLocalizations.availableLocales[lang]!; - final countryCode = locale.countryCode ?? ''; - return InkWell( - onTap: () => saveLang(lang), - child: ListTile( - title: Text(langTitle), - subtitle: Text('${locale.languageCode} $countryCode'), - key: Key(lang), - leading: Radio( - value: lang, - groupValue: _lang, - onChanged: (dynamic _) => saveLang(lang), - ), - ), - ); - }).toList(), - ), - ), - ), - ), + return LanguageSelectorScreen( + saveLang: saveLang, + selectedLang: _lang, ); } } diff --git a/lib/screens/settings/app_settings_screen.dart b/lib/screens/settings/app_settings_screen.dart index 69bbbd41..a8611abc 100644 --- a/lib/screens/settings/app_settings_screen.dart +++ b/lib/screens/settings/app_settings_screen.dart @@ -2,18 +2,16 @@ import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter_logs/flutter_logs.dart'; -import 'package:path_provider/path_provider.dart'; import 'package:flutter/material.dart'; import 'package:peercoin/screens/settings/settings_helpers.dart'; import 'package:provider/provider.dart'; -import 'package:share_plus/share_plus.dart'; import '../../providers/wallet_provider.dart'; import '../../providers/app_settings_provider.dart'; import '../../tools/app_localizations.dart'; import '../../tools/auth.dart'; -import '../../tools/logger_wrapper.dart'; +import '../../tools/debug_log_handler.dart'; import '../../tools/share_wrapper.dart'; import '../../widgets/buttons.dart'; import '../../widgets/double_tab_to_clipboard.dart'; @@ -52,54 +50,6 @@ class _AppSettingsScreenState extends State { super.didChangeDependencies(); } - Future initDebugLogHandler() async { - FlutterLogs.channel.setMethodCallHandler((call) async { - if (call.method == 'logsExported') { - var zipName = call.arguments.toString(); - Directory? externalDirectory; - - if (Platform.isIOS) { - externalDirectory = await getApplicationDocumentsDirectory(); - } else { - externalDirectory = await getExternalStorageDirectory(); - } - - LoggerWrapper.logInfo( - 'AppSettingsScreen', - 'found', - 'External Storage:$externalDirectory', - ); - - var file = File('${externalDirectory!.path}/$zipName'); - - LoggerWrapper.logInfo( - 'AppSettingsScreen', - 'path', - 'Path: \n${file.path}', - ); - - if (file.existsSync()) { - LoggerWrapper.logInfo( - 'AppSettingsScreen', - 'existsSync', - 'Logs zip found, opening Share overlay', - ); - await Share.shareXFiles( - [ - XFile(file.path), - ], - ); - } else { - LoggerWrapper.logError( - 'AppSettingsScreen', - 'existsSync', - 'File not found in storage.', - ); - } - } - }); - } - void revealSeedPhrase(bool biometricsAllowed) async { final seed = await context.read().seedPhrase; if (mounted) { diff --git a/lib/screens/setup/setup_language.dart b/lib/screens/setup/setup_language.dart index 587a353b..44e4ae35 100644 --- a/lib/screens/setup/setup_language.dart +++ b/lib/screens/setup/setup_language.dart @@ -1,4 +1,5 @@ import 'package:flutter/material.dart'; +import 'package:peercoin/screens/language_selector.dart'; import 'package:shared_preferences/shared_preferences.dart'; import '../../tools/app_localizations.dart'; @@ -29,58 +30,18 @@ class _SetupLanguageScreenState extends State { } void saveLang(String lang) async { - final scaffoldMessenger = ScaffoldMessenger.of(context); - await AppLocalizations.delegate.load(Locale(lang)); await prefs.setString('language_code', lang); + await AppLocalizations.delegate.load(Locale(lang)); setState(() { _lang = lang; }); - - //show notification - scaffoldMessenger.showSnackBar( - SnackBar( - content: Text( - AppLocalizations.instance.translate('app_settings_saved_snack'), - textAlign: TextAlign.center, - ), - duration: const Duration(seconds: 2), - ), - ); } @override Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar( - centerTitle: true, - title: Text( - AppLocalizations.instance.translate('app_settings_language'), - ), - ), - body: SingleChildScrollView( - child: Padding( - padding: const EdgeInsets.all(20.0), - child: Column( - children: AppLocalizations.availableLocales.keys.map((lang) { - final (locale, langTitle) = - AppLocalizations.availableLocales[lang]!; - final countryCode = locale.countryCode ?? ''; - return InkWell( - onTap: () => saveLang(lang), - child: ListTile( - title: Text(langTitle), - subtitle: Text('${locale.languageCode} $countryCode'), - leading: Radio( - value: _lang, - groupValue: lang, - onChanged: (dynamic _) => saveLang(lang), - ), - ), - ); - }).toList(), - ), - ), - ), + return LanguageSelectorScreen( + saveLang: saveLang, + selectedLang: _lang, ); } } diff --git a/lib/screens/wallet/import_wif.dart b/lib/screens/wallet/import_wif.dart index 83c3eb91..aa12c3bd 100644 --- a/lib/screens/wallet/import_wif.dart +++ b/lib/screens/wallet/import_wif.dart @@ -283,5 +283,4 @@ class _ImportWifScreenState extends State { ), ); } - //TODO add to e2e tests } diff --git a/lib/screens/wallet/wallet_home.dart b/lib/screens/wallet/wallet_home.dart index 1da9e0fb..cb4403c7 100644 --- a/lib/screens/wallet/wallet_home.dart +++ b/lib/screens/wallet/wallet_home.dart @@ -299,7 +299,10 @@ class _WalletHomeState extends State void rebroadCastUnsendTx() { var nonBroadcastedTx = _walletTransactions.where( - (element) => element.broadCasted == false && element.confirmations == 0, + (element) => + element.broadCasted == false && + element.confirmations == 0 && + element.direction == 'out', ); for (var element in nonBroadcastedTx) { _connectionProvider.broadcastTransaction( @@ -613,6 +616,7 @@ class _WalletHomeState extends State backgroundColor: back, ), BottomNavigationBarItem( + tooltip: 'Address Book', icon: const Icon(Icons.menu_book_rounded), label: AppLocalizations.instance.translate('wallet_bottom_nav_addr'), backgroundColor: back, diff --git a/lib/screens/wallet/wallet_list.dart b/lib/screens/wallet/wallet_list.dart index 2a60f4d5..d05a4582 100644 --- a/lib/screens/wallet/wallet_list.dart +++ b/lib/screens/wallet/wallet_list.dart @@ -4,8 +4,10 @@ import 'dart:io'; import 'package:collection/collection.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; +import 'package:flutter_logs/flutter_logs.dart'; import 'package:loader_overlay/loader_overlay.dart'; import 'package:package_info_plus/package_info_plus.dart'; +import 'package:peercoin/tools/logger_wrapper.dart'; import 'package:provider/provider.dart'; import 'package:shared_preferences/shared_preferences.dart'; @@ -17,6 +19,7 @@ import '../../tools/app_localizations.dart'; import '../../tools/app_routes.dart'; import '../../tools/auth.dart'; import '../../tools/background_sync.dart'; +import '../../tools/debug_log_handler.dart'; import '../../tools/periodic_reminders.dart'; import '../../tools/price_ticker.dart'; import '../../tools/share_wrapper.dart'; @@ -94,23 +97,53 @@ class _WalletListScreenState extends State ); } + Future handleInitError(Object e) async { + LoggerWrapper.logError( + 'WalletListScreen', + 'didChangeDependencies', + e.toString(), + ); + + //automatically toggle exportLogs for this event, since it is very likely app settings can not be accessed + await initDebugLogHandler(); + FlutterLogs.exportLogs(); + + if (mounted) { + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text( + AppLocalizations.instance.translate( + 'secure_storage_app_bar_title', + ), + textAlign: TextAlign.center, + ), + duration: const Duration(seconds: 5), + ), + ); + } + } + @override void didChangeDependencies() async { if (_initial) { _appSettings = Provider.of(context); _walletProvider = Provider.of(context); final navigator = Navigator.of(context); - final modalRoute = ModalRoute.of(context); - await _appSettings.init(); //only required in home widget - await _walletProvider.init(); - await _orderWallets(); - final prefs = await SharedPreferences.getInstance(); - _importedSeed = prefs.getBool('importedSeed') == true; - setState(() { - _initial = false; - }); + try { + await _appSettings.init(); //only required in home widget + await _walletProvider.init(); + await _orderWallets(); + final prefs = await SharedPreferences.getInstance(); + _importedSeed = prefs.getBool('importedSeed') == true; + } catch (e) { + await handleInitError(e); + } finally { + setState(() { + _initial = false; + }); + } //toggle price ticker update if enabled in settings if (_appSettings.selectedCurrency.isNotEmpty) { diff --git a/lib/tools/debug_log_handler.dart b/lib/tools/debug_log_handler.dart new file mode 100644 index 00000000..31b2d1ac --- /dev/null +++ b/lib/tools/debug_log_handler.dart @@ -0,0 +1,54 @@ +import 'dart:io'; + +import 'package:flutter_logs/flutter_logs.dart'; +import 'package:path_provider/path_provider.dart'; +import 'package:peercoin/tools/logger_wrapper.dart'; +import 'package:share_plus/share_plus.dart'; + +Future initDebugLogHandler() async { + FlutterLogs.channel.setMethodCallHandler((call) async { + if (call.method == 'logsExported') { + var zipName = call.arguments.toString(); + Directory? externalDirectory; + + if (Platform.isIOS) { + externalDirectory = await getApplicationDocumentsDirectory(); + } else { + externalDirectory = await getExternalStorageDirectory(); + } + + LoggerWrapper.logInfo( + 'AppSettingsScreen', + 'found', + 'External Storage:$externalDirectory', + ); + + var file = File('${externalDirectory!.path}/$zipName'); + + LoggerWrapper.logInfo( + 'AppSettingsScreen', + 'path', + 'Path: \n${file.path}', + ); + + if (file.existsSync()) { + LoggerWrapper.logInfo( + 'AppSettingsScreen', + 'existsSync', + 'Logs zip found, opening Share overlay', + ); + await Share.shareXFiles( + [ + XFile(file.path), + ], + ); + } else { + LoggerWrapper.logError( + 'AppSettingsScreen', + 'existsSync', + 'File not found in storage.', + ); + } + } + }); +} diff --git a/lib/tools/price_ticker.dart b/lib/tools/price_ticker.dart index 0985f831..966f6141 100644 --- a/lib/tools/price_ticker.dart +++ b/lib/tools/price_ticker.dart @@ -28,75 +28,80 @@ class PriceTicker { } static Map currencySymbols = { - 'ARS': '\$', - 'AUD': 'A\$', - 'BDT': '৳', - 'CNY': '¥', - 'DKK': 'Kr.', - 'BRL': 'R\$', - 'EUR': '€', - 'GBP': '£', - 'IDR': 'Rp', - 'INR': '₹', - 'IRR': '﷼', - 'JPY': '¥', - 'KES': 'KSh', - 'KRW': '₩', - 'NOK': 'kr', - 'PHP': '₱', - 'PKR': '₨', - 'PLN': 'zł', - 'USD': '\$', - 'RON': 'L', - 'RUB': '₽', - 'SEK': 'kr', - 'THB': '฿', - 'TRY': '₺', - 'TZS': 'TSh', - 'UAH': '₴', - 'UGX': 'USh', - 'VND': '₫', 'AED': 'د.إ', + 'AFN': '؋', 'ALL': 'Lek', 'AMD': '֏', + 'ANG': 'ƒ', 'AOA': 'Kz', + 'ARS': '\$', + 'AUD': 'A\$', + 'AWG': 'ƒ', 'AZN': '₼', 'BAM': 'KM', + 'BBD': '\$', + 'BDT': '৳', 'BGN': 'лв', 'BHD': 'ب.د', 'BIF': 'FBu', + 'BMD': '\$', 'BND': '\$', 'BOB': 'Bs.', + 'BRL': 'R\$', 'BSD': '\$', 'BTN': 'Nu.', 'BWP': 'P', 'BYN': 'Br', + 'BZD': 'BZ\$', 'CAD': '\$', 'CDF': 'FC', 'CHF': 'Fr.', + 'CLF': 'UF', 'CLP': '\$', + 'CNY': '¥', 'COP': '\$', 'CRC': '₡', + 'CUP': '\$', 'CVE': 'Esc', 'CZK': 'Kč', + 'DJF': 'Fdj', + 'DKK': 'Kr.', 'DOP': 'RD\$', + 'DZD': 'د.ج', 'EGP': 'ج.م', + 'ERN': 'Nfk', + 'ETB': 'ብር', + 'EUR': '€', + 'FJD': 'FJ\$', + 'GBP': '£', 'GEL': '₾', + 'GHS': '₵', + 'GIP': '£', 'GMD': 'D', 'GNF': 'FG', 'GTQ': 'Q', 'GYD': '\$', 'HKD': '\$', 'HNL': 'L', + 'HTG': 'G', 'HUF': 'Ft', + 'IDR': 'Rp', 'ILS': '₪', + 'INR': '₹', 'IQD': 'ع.د', + 'IRR': '﷼', 'ISK': 'kr', 'JMD': '\$', 'JOD': 'د.ا', + 'JPY': '¥', + 'KES': 'KSh', 'KGS': 'лв', + 'KHR': '៛', 'KMF': 'CF', + 'KPW': '₩', + 'KRW': '₩', 'KWD': 'د.ك', + 'KYD': '\$', 'KZT': '₸', 'LAK': '₭', 'LBP': 'ل.ل', @@ -108,80 +113,75 @@ class PriceTicker { 'MDL': 'L', 'MGA': 'Ar', 'MKD': 'ден', + 'MMK': 'K', 'MNT': '₮', 'MOP': 'P', + 'MRU': 'UM', 'MUR': '₨', 'MVR': 'ރ.', 'MWK': 'MK', - 'MYR': 'RM', 'MXN': '\$', + 'MYR': 'RM', 'MZN': 'MT', 'NAD': '\$', 'NGN': '₦', + 'NIO': 'C\$', + 'NOK': 'kr', + 'NPR': '₨', 'NZD': '\$', 'OMR': 'ر.ع.', + 'PAB': 'B/.', 'PEN': 'S/', + 'PGK': 'K', + 'PHP': '₱', + 'PKR': '₨', + 'PLN': 'zł', 'PYG': '₲', 'QAR': 'ر.ق', + 'RON': 'L', 'RSD': 'дин', + 'RUB': '₽', 'RWF': 'FRw', 'SAR': 'ر.س', + 'SBD': '\$', 'SCR': '₨', 'SDG': 'ج.س.', + 'SEK': 'kr', 'SGD': '\$', + 'SHP': '£', 'SLL': 'Le', + 'SOS': 'S', + 'SRD': '\$', + 'SSP': '£', + 'STN': 'Db', + 'SVC': '\$', + 'SYP': '£', 'SZL': 'L', + 'THB': '฿', 'TJS': 'SM', + 'TMT': 'T', 'TND': 'د.ت', + 'TOP': 'T\$', + 'TRY': '₺', 'TTD': '\$', 'TWD': 'NT\$', + 'TZS': 'TSh', + 'UAH': '₴', + 'UGX': 'USh', + 'USD': '\$', 'UYU': '\$U', + 'UZS': 'лв', + 'VND': '₫', + 'VUV': 'Vt', + 'WST': 'WS\$', 'XAF': 'FCFA', + 'XCD': '\$', 'XOF': 'CFA', 'XPF': '₣', - 'ZAR': 'R', - 'CLF': 'UF', - 'MRU': 'UM', 'YER': '﷼', - 'ZWL': 'Z\$', - 'STN': 'Db', + 'ZAR': 'R', 'ZMW': 'ZK', - 'XCD': '\$', - 'WST': 'WS\$', - 'VUV': 'Vt', - 'UZS': 'лв', - 'TOP': 'T\$', - 'TMT': 'T', - 'SVC': '\$', - 'SYP': '£', - 'SSP': '£', - 'SRD': '\$', - 'SOS': 'S', - 'SHP': '£', - 'SBD': '\$', - 'PGK': 'K', - 'PAB': 'B/.', - 'NPR': '₨', - 'NIO': 'C\$', - 'MMK': 'K', - 'KYD': '\$', - 'KPW': '₩', - 'KHR': '៛', - 'HTG': 'G', - 'GHS': '₵', - 'GIP': '£', - 'FJD': 'FJ\$', - 'ERN': 'Nfk', - 'ETB': 'ብር', - 'DZD': 'د.ج', - 'DJF': 'Fdj', - 'CUP': '\$', - 'BZD': 'BZ\$', - 'BMD': '\$', - 'BBD': '\$', - 'AWG': 'ƒ', - 'ANG': 'ƒ', - 'AFN': '؋', + 'ZWL': 'Z\$', }; static double renderPrice( diff --git a/pubspec.lock b/pubspec.lock index 50415b72..b1a2b01d 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -237,18 +237,18 @@ packages: dependency: transitive description: name: coinlib - sha256: c8018027801ddcb093837ad8f27e9ac014434b84860ecd3114ca28980614ec4a + sha256: "410993f49aef30e48b76bbad8a33fef33f6b90e103b15b6be0277683ffe15399" url: "https://pub.dev" source: hosted - version: "1.0.0-rc.3" + version: "1.0.0" coinlib_flutter: dependency: "direct main" description: name: coinlib_flutter - sha256: "055a1ba6404f3b1c5489d08d84193d9b6551e55357fe61ce668471f07bc16895" + sha256: d0a6a3694fc8c851f6b912bb1c552e33998e3f453efab3d62f75c0b1773d1ab9 url: "https://pub.dev" source: hosted - version: "1.0.0-rc.3" + version: "1.0.0" collection: dependency: "direct main" description: @@ -305,22 +305,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.3" - cryptography: - dependency: transitive - description: - name: cryptography - sha256: "11d083541666d80bba21190d35ff70b2497c81e064e82d1b8a07d801f7c7e282" - url: "https://pub.dev" - source: hosted - version: "2.6.0" - cryptography_flutter: - dependency: "direct main" - description: - name: cryptography_flutter - sha256: "423ac095bbc4650fe6c07c64632ddc5dda1d4851241367efa0f26ca24b0ce480" - url: "https://pub.dev" - source: hosted - version: "2.3.1" csslib: dependency: transitive description: @@ -397,10 +381,10 @@ packages: dependency: "direct main" description: name: file_picker - sha256: "9d6e95ec73abbd31ec54d0e0df8a961017e165aba1395e462e5b31ea0c165daf" + sha256: be325344c1f3070354a1d84a231a1ba75ea85d413774ec4bdf444c023342e030 url: "https://pub.dev" source: hosted - version: "5.3.1" + version: "5.5.0" fixnum: dependency: transitive description: @@ -556,10 +540,10 @@ packages: dependency: "direct main" description: name: flutter_secure_storage - sha256: "22dbf16f23a4bcf9d35e51be1c84ad5bb6f627750565edd70dab70f3ff5fff8f" + sha256: ffdbb60130e4665d2af814a0267c481bcf522c41ae2e43caf69fa0146876d685 url: "https://pub.dev" source: hosted - version: "8.1.0" + version: "9.0.0" flutter_secure_storage_linux: dependency: transitive description: @@ -596,10 +580,10 @@ packages: dependency: transitive description: name: flutter_secure_storage_windows - sha256: "38f9501c7cb6f38961ef0e1eacacee2b2d4715c63cc83fe56449c4d3d0b47255" + sha256: "5809c66f9dd3b4b93b0a6e2e8561539405322ee767ac2f64d084e2ab5429d108" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "3.0.0" flutter_slidable: dependency: "direct main" description: @@ -672,7 +656,7 @@ packages: source: hosted version: "3.2.4" hex: - dependency: "direct main" + dependency: transitive description: name: hex sha256: "4e7cd54e4b59ba026432a6be2dd9d96e4c5205725194997193bf871703b82c4a" @@ -944,10 +928,10 @@ packages: dependency: "direct main" description: name: package_info_plus - sha256: "10259b111176fba5c505b102e3a5b022b51dd97e30522e906d6922c745584745" + sha256: "6ff267fcd9d48cb61c8df74a82680e8b82e940231bb5f68356672fde0397334a" url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "4.1.0" package_info_plus_platform_interface: dependency: transitive description: @@ -1549,10 +1533,10 @@ packages: dependency: transitive description: name: win32 - sha256: "5a751eddf9db89b3e5f9d50c20ab8612296e4e8db69009788d6c8b060a84191c" + sha256: c97defd418eef4ec88c0d1652cdce84b9f7b63dd7198e266d06ac1710d527067 url: "https://pub.dev" source: hosted - version: "4.1.4" + version: "5.0.8" xdg_directories: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 33079435..ef4a6a90 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: peercoin description: A new Peercoin wallet. -version: 1.2.0+132 +version: 1.2.1+133 environment: sdk: '>=3.0.0 <4.0.0' @@ -14,13 +14,13 @@ dependencies: flutter_localizations: sdk: flutter web_socket_channel: ^2.1.0 - crypto: ^3.0.1 + crypto: ^3.0.3 bip39: ^1.0.6 hive: ^2.2.3 hive_flutter: ^1.1.0 hive_generator: ^2.0.0 - flutter_secure_storage: ^8.0.0 - shared_preferences: ^2.0.6 + flutter_secure_storage: ^9.0.0 + shared_preferences: ^2.2.1 provider: ^6.0.3 share_plus: ^7.0.2 qr_flutter: ^4.0.0 @@ -32,7 +32,7 @@ dependencies: flutter_screen_lock: ^9.0.1 local_auth: ^2.1.6 local_auth_android: any - package_info_plus: ^3.0.1 + package_info_plus: ^4.1.0 mailto: ^2.0.0 flutter_slidable: ^0.6.0 flutter_typeahead: ^4.0.0 @@ -45,19 +45,17 @@ dependencies: flutter_logs: ^2.1.11 auto_size_text: ^3.0.0 camera: ^0.10.0+4 - hex: ^0.2.0 path_provider: ^2.0.11 - characters: ^1.2.0 file_picker: ^5.2.2 fast_csv: ^0.1.44 protobuf: ^2.1.0 grpc: ^3.1.0 mockito: ^5.3.2 - cryptography_flutter: ^2.0.2 loader_overlay: ^2.1.0 app_bar_with_search_switch: ^1.5.4 decimal: ^2.3.3 - coinlib_flutter: ^1.0.0-rc.2 + characters: ^1.2.0 + coinlib_flutter: ^1.0.0 dev_dependencies: integration_test: diff --git a/test_driver/key_imported.dart b/test_driver/key_imported.dart index 78666ad8..1622aa03 100644 --- a/test_driver/key_imported.dart +++ b/test_driver/key_imported.dart @@ -12,14 +12,17 @@ void main() { late FlutterDriver driver; Future setupAndGetDriver() async { - var driver = await FlutterDriver.connect(); + var driver = await FlutterDriver.connect( + timeout: const Duration(minutes: 20), + ); var connected = false; while (!connected) { try { await driver.waitUntilFirstFrameRasterized(); connected = true; - // ignore: empty_catches - } catch (error) {} + } catch (error) { + throw Exception('Driver not connected, ${error.toString()}'); + } } return driver; } diff --git a/test_driver/key_new.dart b/test_driver/key_new.dart index 698128d8..3e3929a5 100644 --- a/test_driver/key_new.dart +++ b/test_driver/key_new.dart @@ -4,6 +4,15 @@ import 'package:flutter_driver/flutter_driver.dart'; import 'package:test/test.dart'; void main() { + Future performWIFImport(FlutterDriver driver) async { + await driver.tap(find.byTooltip('Show menu')); + await driver.tap(find.text('Import Private Key')); + await driver.tap(find.byType('TextField')); + await driver.enterText( + 'cTfaQHvae3MJYrZMWYiB6zWaDAMB23qbfo8vBZP2ZJNaUh3aa1p5', + ); + } + group( 'Setup', () { @@ -19,8 +28,9 @@ void main() { try { await driver.waitUntilFirstFrameRasterized(); connected = true; - // ignore: empty_catches - } catch (error) {} + } catch (error) { + throw Exception('Driver not connected, ${error.toString()}'); + } } return driver; } @@ -101,6 +111,20 @@ void main() { timeout: const Timeout.factor(2), ); + test( + 'Import WIF', + () async { + await performWIFImport(driver); + await driver.tap(find.text('Import')); + await driver.tap(find.text('Import')); + }, + ); + + test('Check if WIF is in Address book', () async { + await driver.tap(find.byTooltip('Address Book')); + await driver.waitFor(find.text('mm5pM9sJzVjsafctQJJrJuhGsw1CTucZ2v')); + }); + test('Change wallet title', () async { await driver.tap(find.byTooltip('Show menu')); await driver.tap(find.text('Change Title'));