Skip to content

Release v11.6 - #1458

Merged
HashEngineering merged 16 commits into
masterfrom
build-11.6
Feb 6, 2026
Merged

HashEngineering merged 16 commits into
masterfrom
build-11.6

Conversation

@HashEngineering

@HashEngineering HashEngineering commented Jan 28, 2026 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

v11.6 Release and related fixes

Related PR's and Dependencies

None

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

Summary by CodeRabbit

Release Notes v11.6.0

  • New Features

    • Added wallet creation date selection during restoration for optimized synchronization.
    • Introduced blockchain rescan functionality with optional date selection.
    • Implemented PIN upgrade flow with dedicated setup dialog.
    • Added instant username creation support with voting-related messaging.
    • Enhanced invitation flow with fee messaging and non-contested username handling.
  • Improvements

    • Improved network connectivity handling and blockchain performance.
    • Updated gift card terminology to gift voucher across the app.
    • Streamlined onboarding messaging across multiple languages.
    • Regional PiggyCards restrictions now applied.
  • Localization

    • Comprehensive multi-language translation updates for all new features.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai

coderabbitai Bot commented Jan 28, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Version dependencies updated; extensive localization additions across 30+ language resources for wallet features, gift cards, and DashPay flows; changelog entry for v11.6.0; test refactoring for security and transaction export; Kotlin implementation improvements for blockchain service, identity restoration, and network handling with voting-state logic additions.

Changes

Cohort / File(s) Summary
Version & Build Configuration
Gemfile, build.gradle, wallet/build.gradle
Added nkf gem dependency; updated dashjVersion and dppVersion from SNAPSHOT to release versions (21.1.14, 2.0.3); incremented app versionCode and versionName to 11.6.0; updated dashj-scrypt-android dependency.
Localization - Gift Cards & Explore Dash
features/exploredash/src/main/res/values-*/strings-explore-dash.xml
Added ~25 new Greek and Portuguese string resources for gift card providers, error states, balance checks, barcode placeholders, and UI labels; no behavioral changes.
Localization - Core Wallet UI (strings-extra.xml)
wallet/res/values-*/strings-extra.xml
Across 20+ locales: added forgot_pin_setup_new_pin_title; updated onboarding and recovery wallet text (shortened/reworded); replaced multi-step welcome screen strings with consolidated welcome_screen_title_1/2/3; updated menu_invite_title text; removed deprecated welcome subtitles.
Localization - Core Wallet UI (strings.xml)
wallet/res/values-*/strings.xml
Across 20+ locales: added 16 new string resources for wallet creation date flows (restore_wallet_creation_date_, wallet_creation_date_info_), blockchain rescan dialogs (rescan_blockchain_), and PIN upgrade (upgrade_pin_).
Localization - DashPay (strings-dashpay.xml)
wallet/res/values-*/strings-dashpay.xml
Across 18+ locales: renamed invitation_init_title → invitation_title; added 30+ new resources for invitation flows, voting states, instant username creation, fee messaging (contested/noncontested variants), error handling, and username validation criteria.
Localization - Regional (Czech, Slovak, etc.)
wallet/res/values-sk/strings.xml, wallet/res/values-sk/strings-extra.xml, others
Updated terminology (e.g., "darčekovú kartu" → "darčekovú poukážku" in Slovak); adjusted blockchain/sync naming conventions; added new UI flows.
Changelog & Release Notes
wallet/CHANGES
Added v11.6.0 entry documenting non-contested username handling, Android keystore updates, blockchain sync improvements, PiggyCards regional restrictions, and user-controlled sync start dates.
Test Updates
wallet/androidTest/de/schildbach/wallet/security/SecurityGuardMultiThreadingTest.kt
Disabled testIvBackupAndRecovery test; updated WalletDataProvider listener method signatures to use suspend-based parameters (suspend () → Unit).
Test Updates
wallet/androidTest/de/schildbach/wallet/transactions/TransactionExportTest.kt
Refactored TaxBitExporter to use TransactionMetadataProvider via mocking instead of direct metadata map; wrapped export in runBlocking; adjusted coroutine-based setup.
Blockchain & Network Handling
wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt
Added availableNetworks tracking; refactored network impediment logic to only trigger when no suitable networks remain; introduced debounced batching for contact payment transactions with thread-safe synchronization.
Identity Restoration & Voting
wallet/src/de/schildbach/wallet/service/platform/work/RestoreIdentityWorker.kt
Removed credit funding transaction logic; unified identity retrieval via firstIdentityKey; added voting-state flow for contested usernames, voting document loading, and scheduling voting result operations.
DashPay Repository & UI
wallet/src/de/schildbach/wallet/ui/dashpay/PlatformRepo.kt, wallet/src/de/schildbach/wallet/ui/dashpay/notification/TransactionViewHolder.kt
Added Stopwatch timing to getVoteContenders; updated frequent contact logic to check hasBlockchainIdentity; removed chainHeight parameter from TransactionViewHolder binding.
Wallet UI Flows
wallet/src/de/schildbach/wallet/ui/main/WalletTransactionsFragment.kt, wallet/src/de/schildbach/wallet/ui/send/SendCoinsViewModel.kt
Broadened error condition for CreateUsername flow (added expired certificate check); added wallet context propagation before coin/asset-lock sends.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Poem

🐰 Whiskers twitch with delight so true,
Version bumps and locales anew!
Voting flows and instant names,
Network tracking, batched payments—games!
Polish, refinement, wallets aligned,
Dash-hopping with precision refined! 🌟

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Release v11.6' directly relates to the pull request's primary objective of preparing and publishing release v11.6, as stated in the PR objectives.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch build-11.6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Note

Due to the large number of review comments, Critical, Major severity comments were prioritized as inline comments.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (3)
wallet/src/de/schildbach/wallet/service/platform/work/RestoreIdentityWorker.kt (2)

126-132: Potential false failure before auth keychains are initialized.
getIdentityFromPublicKeyId() can return null if the identity keychain doesn’t exist yet; in fresh restores you only add keychains after this check. Also the password is fetched twice. Consider initializing keychains first and reusing the derived key for both the existence check and recovery.

🔧 Suggested reordering and key reuse
-            val existingIdentity = platformRepo.getIdentityFromPublicKeyId()
-                ?: throw IllegalArgumentException("identity $identity doesn't exist on the network")
-
-            val wallet = walletDataProvider.wallet!!
-            val encryptionKey = platformRepo.getWalletEncryptionKey()
-                ?: throw IllegalStateException("cannot obtain wallet encryption key")
-            val seed = wallet.keyChainSeed ?: throw IllegalStateException("cannot obtain wallet seed")
+            val wallet = walletDataProvider.wallet!!
+            val encryptionKey = platformRepo.getWalletEncryptionKey()
+                ?: throw IllegalStateException("cannot obtain wallet encryption key")
+            val seed = wallet.keyChainSeed ?: throw IllegalStateException("cannot obtain wallet seed")
+
+            // ensure auth keychains exist before deriving identity keys
+            platformRepo.addWalletAuthenticationKeys(seed, encryptionKey)
+            val firstIdentityKey = platformRepo.getBlockchainIdentityKey(0, encryptionKey)
+                ?: throw IllegalStateException("missing blockchain identity key")
+            val existingIdentity = platformRepo.platform.stateRepository
+                .fetchIdentityFromPubKeyHash(firstIdentityKey.pubKeyHash)
+                ?: throw IllegalArgumentException("identity $identity doesn't exist on the network")
@@
-            platformRepo.addWalletAuthenticationKeys(seed, encryptionKey)
+            // keychains already initialized above
@@
-            val firstIdentityKey = platformRepo.getBlockchainIdentityKey(0, encryptionKey)!!
             platformRepo.recoverIdentityAsync(
                 blockchainIdentity,
                 firstIdentityKey.pubKeyHash
             )

Also applies to: 151-155


269-273: earliestCreatedAt uses the wrong document in minOf.
The lambda captures the outer documentWithVotes, so minOf effectively uses the same timestamp for all contenders. This can skew voting start times and scheduling. Use the lambda parameter instead.

🐛 Fix `minOf` to evaluate each contender
-                            val earliestCreatedAt = voteContenders.map.values.minOf {
-                                val document = documentWithVotes.serializedDocument?.let { platformRepo.platform.names.deserialize(it) }
-                                document?.createdAt ?: 0
-                            }
+                            val earliestCreatedAt = voteContenders.map.values.minOf { contender ->
+                                val document = contender.serializedDocument?.let { platformRepo.platform.names.deserialize(it) }
+                                document?.createdAt ?: 0
+                            }
@@
-                                val earliestCreatedAt = voteContenders.map.values.minOf {
-                                    val document = documentWithVotes.serializedDocument?.let {
-                                        platformRepo.platform.names.deserialize(it)
-                                    }
-                                    document?.createdAt ?: 0
-                                }
+                                val earliestCreatedAt = voteContenders.map.values.minOf { contender ->
+                                    val document = contender.serializedDocument?.let {
+                                        platformRepo.platform.names.deserialize(it)
+                                    }
+                                    document?.createdAt ?: 0
+                                }

Also applies to: 386-392

wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt (1)

865-953: Keep availableNetworks synchronized on capability changes to avoid false NETWORK impediments.

availableNetworks is only updated in onAvailable/onLost, while onCapabilitiesChanged toggles impediments based on a single network without updating the set. In multi-network scenarios, one network losing validation will incorrectly add Impediment.NETWORK even if other validated networks remain in the set. Update availableNetworks in onCapabilitiesChanged and derive the impediment from set emptiness instead.

🛠️ Suggested fix to keep the set/impediment consistent
         override fun onCapabilitiesChanged(network: Network, capabilities: NetworkCapabilities) {
             serviceScope.launch {
                 val hasInternet = capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)
                 val hasValidated = capabilities.hasCapability(NetworkCapabilities.NET_CAPABILITY_VALIDATED)
+                val isSuitable = hasInternet && hasValidated
 
                 if (log.isInfoEnabled) {
                     val s = StringBuilder("network capabilities changed: ")
                         .append(network)
                         .append(", hasInternet: ").append(hasInternet)
                         .append(", validated: ").append(hasValidated)
                     log.info(s.toString())
                 }
 
-                if (hasInternet && hasValidated) {
-                    impediments.remove(Impediment.NETWORK)
-                } else {
-                    impediments.add(Impediment.NETWORK)
-                }
+                if (isSuitable) {
+                    availableNetworks.add(network)
+                } else {
+                    availableNetworks.remove(network)
+                }
+
+                if (availableNetworks.isEmpty()) {
+                    impediments.add(Impediment.NETWORK)
+                } else {
+                    impediments.remove(Impediment.NETWORK)
+                }
                 updateBlockchainStateImpediments()
                 check()
             }
         }
🟡 Minor comments (33)
features/exploredash/src/main/res/values-el/strings-explore-dash.xml-92-92 (1)

92-92: Untranslated English strings in Greek locale file.

The strings flexible_amount_option (line 92) and flexible_amounts (line 266) remain in English ("Flexible amounts") while fixed_amounts and fixed_denom_option are properly translated to Greek ("Σταθερά ποσά" and "Ποσά σε σταθερές μονάδες"). This inconsistency will display English text to Greek users.

Consider translating to something like "Ευέλικτα ποσά" for consistency.

Also applies to: 266-266

wallet/res/values-fa/strings-dashpay.xml-540-544 (1)

540-544: Typo: "عیر" should be "غیر".

In the phrase "در عیر این صورت" (line 542), the word "عیر" should be "غیر" to correctly spell "otherwise" (در غیر این صورت).

📝 Suggested fix
-    <string name="create_instant_username_description">نام کاربری درخواستی شما طی دو هفته آینده به رای گذاشته می‌شود. برای ارتباط‌گیری و پرداخت‌های فوری، می‌توانید یک نام کاربری مشابه فوری بسازید.\nاگر درخواست اصلی‌تان مورد پذیرش قرار گرفت، آن نام کاربری جایگزین این نام کاربری فوری می‌شود و همه مخاطبان و سابقه آن نیز حفظ خواهد شد. در عیر این صورت، می‌توانید همچنان به استفاده از این نام کاربری فوری ادامه دهید. </string>
+    <string name="create_instant_username_description">نام کاربری درخواستی شما طی دو هفته آینده به رای گذاشته می‌شود. برای ارتباط‌گیری و پرداخت‌های فوری، می‌توانید یک نام کاربری مشابه فوری بسازید.\nاگر درخواست اصلی‌تان مورد پذیرش قرار گرفت، آن نام کاربری جایگزین این نام کاربری فوری می‌شود و همه مخاطبان و سابقه آن نیز حفظ خواهد شد. در غیر این صورت، می‌توانید همچنان به استفاده از این نام کاربری فوری ادامه دهید. </string>
wallet/res/values-fa/strings-dashpay.xml-535-536 (1)

535-536: Translation error: "نداریم" should be "داریم".

The current text "دو نوع نام کاربری نداریم" translates to "We don't have two types of usernames," but the intended meaning is "We have two types of usernames." This reverses the meaning of the explanatory message.

📝 Suggested fix
-    <string name="username_types_message">دو نوع نام کاربری نداریم: توافق‌شده و توافق‌نشده.\nنام‌های کاربری توافق‌نشده شامل حداقل یک عدد (۲ تا ۹) هستید و یا بیش از ۲۰ کاراکتر دارند و به صورت خودکار مورد تائید قرار می‌گیرند.\nاگر می‌خواهید نام‌ کابری توافق‌شده ایجاد کنید که کوتاه‌تر و بدون عدد است، باید بدون دعوتنامه در دش‌پی ثبت‌نام کنید، کارمزد مربوطه را بپردازید و منتظر تائید پس از تکمیل دوره رأی‌گیری بمانید.</string>
+    <string name="username_types_message">دو نوع نام کاربری داریم: توافق‌شده و توافق‌نشده.\nنام‌های کاربری توافق‌نشده شامل حداقل یک عدد (۲ تا ۹) هستند و یا بیش از ۲۰ کاراکتر دارند و به صورت خودکار مورد تائید قرار می‌گیرند.\nاگر می‌خواهید نام‌ کاربری توافق‌شده ایجاد کنید که کوتاه‌تر و بدون عدد است، باید بدون دعوتنامه در دش‌پی ثبت‌نام کنید، کارمزد مربوطه را بپردازید و منتظر تائید پس از تکمیل دوره رأی‌گیری بمانید.</string>

Note: The diff also fixes two additional typos: "هستید" → "هستند" (verb agreement) and "کابری" → "کاربری".

wallet/res/values-fa/strings-dashpay.xml-56-57 (1)

56-57: Typo: "کاربردی" should be "کاربری".

The word "کاربردی" means "practical/functional," but the intended word is "کاربری" (user), consistent with other strings in this file using "نام کاربری" for "username."

📝 Suggested fix
-    <string name="invitation_username_already_found_voting_title">نام کاربردی قبلاً درخواست شده است</string>
+    <string name="invitation_username_already_found_voting_title">نام کاربری قبلاً درخواست شده است</string>
wallet/res/values-zh-rTW/strings.xml-450-453 (1)

450-453: Clarify PIN vs password in upgrade dialog.

Line 452 says「密碼」which may read as account password. Prefer explicit「PIN 碼」to avoid ambiguity.

💬 Suggested text update
-    <string name="upgrade_pin_description">設置一個新的密碼</string>
+    <string name="upgrade_pin_description">設定新的 PIN 碼</string>
wallet/res/values-zh-rTW/strings.xml-288-293 (1)

288-293: Normalize rescan terminology within this dialog.

Line 288-293 mixes「掃描/掃瞄」and「連接/連線」in the same flow. Suggest standardizing to one form (commonly「掃描/連線」in zh‑TW).

💬 Suggested consistency update
-    <string name="rescan_blockchain_dialog_message">這將暫時隱藏您的錢包餘額並刪除交易。隨著區塊鏈同步的進展,兩者都會恢復。請確保您有可靠的互聯網連接。</string>
-    <string name="rescan_blockchain_select_date_label">選擇錢包創建日期(非必需)</string>
-    <string name="rescan_blockchain_confirm_button">重新掃瞄</string>
+    <string name="rescan_blockchain_dialog_message">這將暫時隱藏您的錢包餘額並刪除交易。隨著區塊鏈同步的進展,兩者都會恢復。請確保您有可靠的互聯網連線。</string>
+    <string name="rescan_blockchain_select_date_label">選擇錢包建立日期(非必填)</string>
+    <string name="rescan_blockchain_confirm_button">重新掃描</string>
wallet/res/values-zh-rTW/strings.xml-206-212 (1)

206-212: Prefer zh‑TW phrasing and optional‑field wording.

Line 206-212 reads more like zh‑CN. Consider aligning to zh‑TW norms (建立/非必填 and full‑width punctuation) for consistency with the locale.

💬 Suggested wording update
-    <string name="restore_wallet_creation_date_label">錢包創建日期(非必需)</string>
-    <string name="restore_wallet_creation_date_info">選擇錢包的創建時間可以通過僅從該日期開始掃描來實現更快的同步。</string>
-    <string name="restore_wallet_select_date">選擇創建日期</string>
-    <string name="restore_wallet_selected_date">已選擇: %s</string>
-    <string name="restore_wallet_date_picker_title">你的錢包是什麼時候創建的?</string>
-    <string name="wallet_creation_date_info_title">錢包創建日期如何加快同步過程?</string>
-    <string name="wallet_creation_date_info_description">如果您知道創建錢包的大致日期,則可以輸入該日期,並且將檢索該日期後的交易,從而加快同步速度。請注意,如果您輸入的日期晚於創建錢包的日期,則不會下載較日期早之前的交易。</string>
+    <string name="restore_wallet_creation_date_label">錢包建立日期(非必填)</string>
+    <string name="restore_wallet_creation_date_info">選擇錢包的建立時間可僅從該日期開始掃描,以加快同步。</string>
+    <string name="restore_wallet_select_date">選擇建立日期</string>
+    <string name="restore_wallet_selected_date">已選擇:%s</string>
+    <string name="restore_wallet_date_picker_title">你的錢包是什麼時候建立的?</string>
+    <string name="wallet_creation_date_info_title">錢包建立日期如何加快同步?</string>
+    <string name="wallet_creation_date_info_description">如果您知道錢包的大致建立日期,可以輸入該日期,並僅檢索該日期之後的交易,以加快同步速度。請注意,如果您輸入的日期晚於實際建立日期,較早的交易將不會被下載。</string>
wallet/res/values-fil/strings.xml-438-440 (1)

438-440: Minor copy fix: hyphenate “Mag‑set up”.
Small consistency/grammar tweak in Filipino UI text.

✏️ Suggested wording
-    <string name="upgrade_pin_description">Mag set up ng bagong PIN</string>
+    <string name="upgrade_pin_description">Mag-set up ng bagong PIN</string>
wallet/res/values-fil/strings-dashpay.xml-520-537 (1)

520-537: Fix grammar in the non‑contested invitation message.
Current sentence is missing the “o” connector.

✏️ Suggested wording
-    <string name="invitation_fee_noncontested_message">Ang taong pinadalhan mo ng imbitasyong ito ay maaaring humiling ng username na mayroong numero 2-9, ay higit sa 20 na karakter</string>
+    <string name="invitation_fee_noncontested_message">Ang taong pinadalhan mo ng imbitasyong ito ay maaaring humiling ng username na mayroong numero 2-9 o higit sa 20 na karakter</string>
wallet/res/values-id/strings-dashpay.xml-20-23 (1)

20-23: Use “instan” instead of “instant” in Indonesian copy.
Minor localization typo in the new secondary confirm message.

📝 Proposed fix
-    <string name="new_account_secondary_confirm_message">Anda telah memilih %s sebagai nama pengguna instant. Perlu dicatat nama pengguna TIDAK bisa diubah setelah didaftarkan.</string>
+    <string name="new_account_secondary_confirm_message">Anda telah memilih %s sebagai nama pengguna instan. Perlu dicatat nama pengguna TIDAK bisa diubah setelah didaftarkan.</string>
wallet/res/values-id/strings-dashpay.xml-524-545 (1)

524-545: Fix minor typos/wording in invitation/instant-username copy.
Cleans up Indonesian wording and spacing in new strings.

📝 Proposed fix
-    <string name="error_sending_invite_transaction">Terjadi error saat mengirim transaksi undangan</string>
-    <string name="request_username_invitation_not_mixed_message">Undangan dibuat dengan dana yang tidak di mixing</string>
-    <string name="username_types_message">Ada dua jenis nama pengguna: yang diperebutkan dan yang tidak diperebutkan.\n\nNama pengguna yang tidak diperebutkan memiliki setidaknya satu angka (2-9) atau lebih dari 20 karakter dan akan disetujui secara otomatis.\n\njika Anda ingin membuat nama pengguna yang diperebutkan yang lebih pendek dan tanpa angka, Anda perlu mendaftar di DashPay tanpa undangan, membayar biaya yang diperlukan, dan menunggu persetujuan setelah periode pemungutan suara selesai.</string>
-    <string name="create_instant_username_title">Buat  sebuah nama pengguna instan</string>
+    <string name="error_sending_invite_transaction">Terjadi kesalahan saat mengirim transaksi undangan</string>
+    <string name="request_username_invitation_not_mixed_message">Undangan dibuat dengan dana yang tidak dicampur</string>
+    <string name="username_types_message">Ada dua jenis nama pengguna: yang diperebutkan dan yang tidak diperebutkan.\n\nNama pengguna yang tidak diperebutkan memiliki setidaknya satu angka (2-9) atau lebih dari 20 karakter dan akan disetujui secara otomatis.\n\nJika Anda ingin membuat nama pengguna yang diperebutkan yang lebih pendek dan tanpa angka, Anda perlu mendaftar di DashPay tanpa undangan, membayar biaya yang diperlukan, dan menunggu persetujuan setelah periode pemungutan suara selesai.</string>
+    <string name="create_instant_username_title">Buat sebuah nama pengguna instan</string>
wallet/res/values-zh-rTW/strings-extra.xml-4-5 (1)

4-5: Keep onboarding restore wording consistent with the rest of the locale.

Line 5 uses “回復”, while other restore strings in this locale use “恢復”. Aligning avoids mixed terminology in onboarding vs. other restore flows.

💡 Suggested tweak
-    <string name="onboarding_recover_wallet">回復錢包</string>
+    <string name="onboarding_recover_wallet">恢復錢包</string>
wallet/res/values-el/strings-extra.xml-338-340 (1)

338-340: Fix the contradictory phrase in the welcome title.

Line 338 says “χωρίς μέσω”, which is self‑contradictory. Consider removing “χωρίς” so the text reads naturally.

💡 Suggested tweak
-    <string name="welcome_screen_title_1">Στείλτε και λάβετε Dash χωρίς μέσω ονομάτων χρήσης</string>
+    <string name="welcome_screen_title_1">Στείλτε και λάβετε Dash μέσω ονομάτων χρήστη</string>
wallet/res/values-zh-rTW/strings-extra.xml-335-337 (1)

335-337: Remove extra spaces around “達世幣” to avoid awkward UI spacing.

Lines 336–337 introduce extra spaces that will render oddly in Chinese typography.

💡 Suggested tweak
-    <string name="welcome_screen_title_2">在數千家商店花費 達世幣</string>
-    <string name="welcome_screen_title_3">存儲 達世幣 最安全的方式</string>
+    <string name="welcome_screen_title_2">在數千家商店花費達世幣</string>
+    <string name="welcome_screen_title_3">存儲達世幣最安全的方式</string>
wallet/res/values-nl/strings-dashpay.xml-525-533 (1)

525-533: Trim leading whitespace in labels.
Line 527 has a leading space that will show in UI labels.

🛠 Proposed fix
-    <string name="invitation_fee_noncontested"> Niet betwist</string>
+    <string name="invitation_fee_noncontested">Niet betwist</string>
wallet/res/values-nl/strings-dashpay.xml-449-455 (1)

449-455: Remove leading whitespace in user-facing text.
Line 454 starts with a space, which will render visibly in the UI.

🛠 Proposed fix
-    <string name="request_username_length_requirement_noncontested"> Tussen 20 en 23 tekens</string>
+    <string name="request_username_length_requirement_noncontested">Tussen 20 en 23 tekens</string>
wallet/res/values-de/strings.xml-207-213 (1)

207-213: Keep formality consistent (“du/deine” vs “Sie/Ihre”).
Line 208 switches to formal “Ihre”, while nearby strings use informal “deine/du”.

🛠 Proposed fix
-    <string name="restore_wallet_creation_date_info">Durch die Auswahl des Erstellungsdatums Ihrer Wallet wird die Synchronisierung beschleunigt, da nur Daten ab diesem Datum gescannt werden.</string>
+    <string name="restore_wallet_creation_date_info">Durch die Auswahl des Erstellungsdatums deiner Wallet wird die Synchronisierung beschleunigt, da nur Daten ab diesem Datum gescannt werden.</string>
wallet/res/values-es/strings.xml-206-212 (1)

206-212: Format string typo on line 209.

The string restore_wallet_selected_date contains 1%s which appears to be a typo. Other locales use just %s:

  • Greek: Επιλεγμένη: %s
  • Portuguese: Selecionado: %s

This will cause a literal "1" to appear before the date value.

Proposed fix
-    <string name="restore_wallet_selected_date">Selecciono: 1%s</string>
+    <string name="restore_wallet_selected_date">Seleccionado: %s</string>
wallet/res/values-es/strings-extra.xml-268-268 (1)

268-268: Fix accent in menu label.

Line 268: “Invitaciónes” should be “Invitaciones”.

✏️ Suggested copy fix
-    <string name="menu_invite_title">Invitaciónes</string>
+    <string name="menu_invite_title">Invitaciones</string>
wallet/res/values-pl/strings.xml-206-210 (1)

206-210: Polish date labels need grammatical fixes (“datę”, casing).

Line 206-210 and Line 290 contain missing diacritics and casing inconsistencies that read as typos to native speakers.

✏️ Suggested copy fixes
-    <string name="restore_wallet_creation_date_label">Data Stworzenia Portfela (Opcjonalne)</string>
+    <string name="restore_wallet_creation_date_label">Data stworzenia portfela (opcjonalna)</string>
-    <string name="restore_wallet_select_date">Wybierz Date Stworzenia</string>
+    <string name="restore_wallet_select_date">Wybierz datę stworzenia</string>
-    <string name="rescan_blockchain_select_date_label">Zaznacz data stworzenia portfela (opcjonalne)</string>
+    <string name="rescan_blockchain_select_date_label">Zaznacz datę stworzenia portfela (opcjonalnie)</string>

Also applies to: 288-290

wallet/res/values-fr/strings-dashpay.xml-533-533 (1)

533-533: Grammar: feminine agreement in invitation message.

“Invitation” is feminine in French; use “créée”.

✏️ Suggested fix
-    <string name="request_username_invitation_not_mixed_message">L\'invitation a été créé avec des fonds non mélangés</string>
+    <string name="request_username_invitation_not_mixed_message">L\'invitation a été créée avec des fonds non mélangés</string>
wallet/res/values-el/strings-dashpay.xml-537-537 (1)

537-537: Remove duplicate period in username_types_message.

There’s a double “..” at the end of the sentence.

✏️ Suggested fix
-    <string name="username_types_message">Υπάρχουν δύο τύποι ονομάτων χρήστη: αμφισβητούμενα και μη αμφισβητούμενα.\n\nΤα μη αμφισβητούμενα ονόματα χρηστών έχουν τουλάχιστον έναν αριθμό (2-9) ή είναι μεγαλύτερα από 20 χαρακτήρες και θα εγκριθούν αυτόματα..\n\nΑν θέλετε να δημιουργήσετε ένα αμφισβητούμενο όνομα χρήστη που είναι μικρότερο και χωρίς αριθμούς, πρέπει να εγγραφείτε στο DashPay χωρίς πρόσκληση, να πληρώσετε το απαιτούμενο τέλος και να περιμένετε την έγκριση μετά την ολοκλήρωση της περιόδου ψηφοφορίας.</string>
+    <string name="username_types_message">Υπάρχουν δύο τύποι ονομάτων χρήστη: αμφισβητούμενα και μη αμφισβητούμενα.\n\nΤα μη αμφισβητούμενα ονόματα χρηστών έχουν τουλάχιστον έναν αριθμό (2-9) ή είναι μεγαλύτερα από 20 χαρακτήρες και θα εγκριθούν αυτόματα.\n\nΑν θέλετε να δημιουργήσετε ένα αμφισβητούμενο όνομα χρήστη που είναι μικρότερο και χωρίς αριθμούς, πρέπει να εγγραφείτε στο DashPay χωρίς πρόσκληση, να πληρώσετε το απαιτούμενο τέλος και να περιμένετε την έγκριση μετά την ολοκλήρωση της περιόδου ψηφοφορίας.</string>
wallet/res/values-zh-rTW/strings-dashpay.xml-541-545 (1)

541-545: Remove the extra punctuation in the instant-username description.

There’s an extra “.” after the sentence-ending “。” which reads as a typo.

✏️ Suggested fix
-    <string name="create_instant_username_description">您請求的用戶名將在 2 週內進行投票。為了立即聯繫和付款,您可以創建類似的即時用戶名。.\n\n如果您的原始請求獲得批准,它將取代即時用戶名,並保留聯繫人和歷史記錄。如果沒有獲批,請繼續使用即時用戶名。</string>
+    <string name="create_instant_username_description">您請求的用戶名將在 2 週內進行投票。為了立即聯繫和付款,您可以創建類似的即時用戶名。\n\n如果您的原始請求獲得批准,它將取代即時用戶名,並保留聯繫人和歷史記錄。如果沒有獲批,請繼續使用即時用戶名。</string>
wallet/res/values-zh-rTW/strings-dashpay.xml-524-539 (1)

524-539: Fix branding and punctuation in the invitation/username types copy.

The message currently uses “儀表板網絡” and mixed punctuation (“。.” / “.”). Align branding with existing “達世幣網絡” and use consistent Chinese punctuation.

✏️ Suggested copy tweaks
-    <string name="invitation_fee_message">每個邀請將需要得到資助,以便接收者可以在儀表板網絡上快速創建其用戶名稱。</string>
+    <string name="invitation_fee_message">每個邀請將需要得到資助,以便接收者可以在達世幣網絡上快速創建其用戶名稱。</string>
@@
-    <string name="username_types_message">用戶名有兩種類型:有爭議的和沒有爭議的。.\n\n沒有爭議的用戶名至少有一個數字(2-9)或超過20個字符,該用戶名稱將自動批准.\n\n如果您想創建一個較短且沒有數字的有爭議的用戶名,則需要在沒有邀請的情況下註冊Dashpay,支付所需的費用並在投票期完成後等待批准。</string>
+    <string name="username_types_message">用戶名有兩種類型:有爭議的和沒有爭議的。\n\n沒有爭議的用戶名至少有一個數字(2-9)或超過20個字符,該用戶名稱將自動批准。\n\n如果您想創建一個較短且沒有數字的有爭議的用戶名,則需要在沒有邀請的情況下註冊DashPay,支付所需的費用並在投票期完成後等待批准。</string>
wallet/res/values-es/strings-dashpay.xml-20-20 (1)

20-20: Fix the stray digit in the placeholder.
Line 20 includes 1%s, which will render incorrectly.

✏️ Suggested fix
-    <string name="new_account_secondary_confirm_message">Elegiste 1%s como nombre de usuario instantáneo. Ten en cuenta que el nombre de usuario no se puede cambiar una vez registrado.</string>
+    <string name="new_account_secondary_confirm_message">Elegiste %s como nombre de usuario instantáneo. Ten en cuenta que el nombre de usuario no se puede cambiar una vez registrado.</string>
wallet/res/values-es/strings-dashpay.xml-220-220 (1)

220-220: Tense mismatch in user instruction.
Line 220 uses past tense (“Esperé”) in an instructional string; consider imperative (“Espera”/“Espere”).

✏️ Suggested fix
-    <string name="join_dashpay_wait">Esperé a que la sincronización termine para crear un nombre de usuario</string>
+    <string name="join_dashpay_wait">Espera a que la sincronización termine para crear un nombre de usuario</string>
wallet/res/values-ko/strings-dashpay.xml-537-537 (1)

537-537: Add the missing instant-username dialog strings in Korean.

Line 537 adds only create_instant_username_cancel; the create_instant_username_title, create_instant_username_description, and create_instant_username_button keys are absent in the Korean locale and will fall back to English. Add the missing Korean translations.

wallet/res/values-de/strings-dashpay.xml-446-446 (1)

446-446: Remove leading “+” from user-facing string.

The plus sign renders in UI and looks like an accidental artifact.

Proposed fix
-    <string name="request_username_username_voting_message">+ was ist die Abstimmung über Nutzernamen\?</string>
+    <string name="request_username_username_voting_message">Was ist die Abstimmung über Nutzernamen\?</string>
wallet/res/values-de/strings-dashpay.xml-543-543 (1)

543-543: Fix verb agreement in instant-username description.

Plural subject requires “bleiben”.

Proposed fix
-    <string name="create_instant_username_description">Der Abstimmungszeitraum für deinen gewünschten Nutzernamen beträgt 2 Wochen. Um sofort Kontakte und Zahlungen nutzen zu können, kannst du einen ähnlichen Nutzernamen sofort erstellen\n\nWenn deine ursprüngliche Auswahl vom Netzwerk bestätigt wurde, tritt der neue Nutzername anstelle des sofort erstellten Nutzernamens. Die Kontakte sowie die Zahlungshistorie bleibt erhalten. Ist dies nicht der Fall, kannst du den \"Instant-Namen\" weiter nutzen.</string>
+    <string name="create_instant_username_description">Der Abstimmungszeitraum für deinen gewünschten Nutzernamen beträgt 2 Wochen. Um sofort Kontakte und Zahlungen nutzen zu können, kannst du einen ähnlichen Nutzernamen sofort erstellen\n\nWenn deine ursprüngliche Auswahl vom Netzwerk bestätigt wurde, tritt der neue Nutzername anstelle des sofort erstellten Nutzernamens. Die Kontakte sowie die Zahlungshistorie bleiben erhalten. Ist dies nicht der Fall, kannst du den \"Instant-Namen\" weiter nutzen.</string>
wallet/res/values-de/strings-dashpay.xml-448-451 (1)

448-451: Fix German grammar in requirements message.

“eine dieser Kriterien entsprechen” is ungrammatical; should be “mindestens einem dieser Kriterien entsprechen”.

Proposed fix
-    <string name="request_username_requirements_message_invite_noncontested">Der Nutzername muss eine dieser Kriterien entsprechen</string>
+    <string name="request_username_requirements_message_invite_noncontested">Der Nutzername muss mindestens einem dieser Kriterien entsprechen</string>
wallet/res/values-de/strings-dashpay.xml-462-462 (1)

462-462: Use consistent “Dash‑Netzwerk” spelling.

Missing hyphen deviates from the rest of the file.

Proposed fix
-    <string name="request_username_lost_vote_message">Aufgrund des Voting-Prozesses hat das Dash Netzwerk entschieden, den Nutzernamen %s an jemand anderen zu vergeben. Bitte versuche es erneut mit einem anderen Benutzernamen.</string>
+    <string name="request_username_lost_vote_message">Aufgrund des Voting-Prozesses hat das Dash-Netzwerk entschieden, den Nutzernamen %s an jemand anderen zu vergeben. Bitte versuche es erneut mit einem anderen Benutzernamen.</string>
wallet/res/values-de/strings-dashpay.xml-528-529 (1)

528-529: Capitalization and pluralization fixes in invitation fee copy.

“wünschen” should be capitalized; “Nummer 2-9” should be pluralized.

Proposed fix
-    <string name="invitation_fee_contested_message">Der Person, der du diese Einladung sendest, kann einen Nutzernamen nach ihren wünschen erstellen und das Netzwerk wird darüber abstimmen.</string>
-    <string name="invitation_fee_noncontested_message">Der Person, die du diese Einladung sendest, kann einen Nutzernamen beanspruchen der die Nummer 2-9 beinhaltet und mehr als 20 Zeichen hat.</string>
+    <string name="invitation_fee_contested_message">Der Person, der du diese Einladung sendest, kann einen Nutzernamen nach ihren Wünschen erstellen und das Netzwerk wird darüber abstimmen.</string>
+    <string name="invitation_fee_noncontested_message">Der Person, die du diese Einladung sendest, kann einen Nutzernamen beanspruchen, der die Nummern 2-9 beinhaltet und mehr als 20 Zeichen hat.</string>
wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt-2202-2217 (1)

2202-2217: Canceling mid-batch can interrupt transaction processing.

Canceling handleContactPaymentsJob interrupts the forEach mid-iteration. While accumulated transactions won't be lost from the pending list (they're captured atomically before processing), their updateFrequentContacts() calls can be aborted if a new transaction arrives during batch processing.

Consider using a Flow-based debounce pattern to avoid cancelling in-flight batches, which would prevent interrupting the processing of accumulated transactions and provide a more reactive architecture.

🧹 Nitpick comments (3)
wallet/res/values-id/strings-extra.xml (1)

335-337: LGTM with optional consistency note.

The consolidated welcome screen titles are well-translated. Minor observation: Line 337 uses lowercase "anda" while other strings in this file use capitalized "Anda" (the polite/formal form). Consider "Dash Anda" for consistency with the rest of the file, though both forms are acceptable in modern UI text.

,

wallet/src/de/schildbach/wallet/ui/main/WalletTransactionsFragment.kt (1)

429-432: Inconsistent null-safe call operator usage reduces readability.

The condition relies on short-circuit evaluation to avoid NPE: line 430 uses errorMessage?.contains(...) while line 431 uses errorMessage.contains(...) without the safe call. While technically safe (the second part is only evaluated when errorMessage is non-null), this is subtle and error-prone for future maintenance.

Consider using consistent safe-call operators for clarity:

♻️ Suggested improvement
                     blockchainIdentityData.creationState == IdentityCreationState.REQUESTED_NAME_CHECKING &&
-                    (errorMessage?.contains("invalid quorum: quorum not found") != true ||
-                            errorMessage.contains("invalid peer certificate: certificate expired") == true)
+                    (errorMessage?.contains("invalid quorum: quorum not found") != true ||
+                            errorMessage?.contains("invalid peer certificate: certificate expired") == true)
wallet/androidTest/de/schildbach/wallet/security/SecurityGuardMultiThreadingTest.kt (1)

910-1043: Commented-out test code should use @Ignore annotation or be removed.

This test validating IV backup and recovery functionality has been entirely commented out. Commented-out code clutters the codebase and may become stale. If the test is temporarily disabled, use @Ignore("reason") annotation to document why. If the test is no longer needed, remove it entirely.

♻️ Suggested approach if test needs to remain disabled
-//    `@Test`
-//    fun testIvBackupAndRecovery() {
-//        val testPassword = "TestPasswordForIvRecovery"
-//        ...
-//    }
+    `@Ignore`("IV backup recovery test disabled pending implementation refinement - see PR `#1458`")
+    `@Test`
+    fun testIvBackupAndRecovery() {
+        // Test implementation...
+    }

@abaranouski abaranouski left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

verified including regression testing

@HashEngineering
HashEngineering merged commit 4757852 into master Feb 6, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Feb 23, 2026
1 of 3 tasks
@coderabbitai coderabbitai Bot mentioned this pull request Jun 4, 2026
3 tasks done
@HashEngineering
HashEngineering deleted the build-11.6 branch July 25, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants