Skip to content

feat(ui): move the main app's texts to one String Catalog - #1455

Merged
romchornyi merged 108 commits into
developfrom
feat/string-catalogs-migration
Nov 25, 2026
Merged

romchornyi merged 108 commits into
developfrom
feat/string-catalogs-migration

Conversation

@romchornyi

@romchornyi romchornyi commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

The main app kept its texts in 43 per-locale Localizable.strings / Localizable.stringsdict lists, kept in step by BartyCrouch. This moves them to one Xcode String Catalog, DashWallet/Localizable.xcstrings, which the build keeps in step with the code. Every screen must read exactly as before in every locale. Summary: docs/features/string-catalogs-migration/README.md.

The last commit removes the one-off migration tools (the Catalog generator, the codemod, the entry mover and regenerate.sh). When rebasing, drop that commit, rerun the routine, then add it back.

What was done?

  • One String Catalog. It is generated from the Baseline lists (merge-base f6e507b5b) with all 43 locales; the app ships 22 of them (XCSTRINGS_LANGUAGES_TO_COMPILE). The old lists are deleted.
  • Swift uses String(localized:). A swift-syntax codemod rewrote the lookups; a text with arguments became an interpolation, and its entry moved to the derived key in every locale. Places that show numbers of 1000 or more (block heights, counts) keep their Baseline key inside String(format:), so digits stay ungrouped as before. Objective-C keeps NSLocalizedString.
  • Build. String extraction is on and BartyCrouch is gone. A "Sync String Catalog" phase keeps the Catalog in step in Debug builds and writes the same bytes as the Xcode app; Release, TestFlight and TestNet compile the Catalog as committed. The phase fails the build when the compiler produced no .stringsdata, and it ignores the leftovers of deleted sources.
  • Zero-loss check. scripts/localization/zero_loss_check.py stays in the repository. Before merge it pairs every lookup place with its Baseline key and proves the same wording in all 43 locales. Release mode re-checks through the committed key map. Contract: scripts/localization/ZERO_LOSS_CHECK.md.
  • CI. CI fails on NSLocalizedString in Swift, and it now catches the call inside interpolations, after raw literals and before a spaced paren. CI also runs the localization tool tests. The accessibility audit and the encoding script read the Catalog.
  • Translation sync pause. .tx/config lists only the Watch and App Store resources, so app texts are neither pushed nor pulled until the owner decides how the Catalog travels.
  • One intended wording change. In ja and tr, the Baseline translations of %d merchant(s) in %@ formatted undefined text. They now show the count and the place.

ADRs (Proposed, need approval from a Reviewer who is not the author): 0066–0073. Two decisions were taken after the design walk and deserve a close look:

  • ADR-0072: release re-checks go through the key map.
  • ADR-0073: the sync phase writes the Xcode app's bytes, and only the 22 shipped locales are compiled.

Rebasing this PR: the commit generated: string catalog, codemod and moved keys is tool output. After each rebase it is dropped and produced again with scripts/localization/regenerate.sh, then the zero-loss check must pass on the new merge-base.

How Has This Been Tested?

  • Zero-loss check, pre-merge, on Baseline f6e507b5b (after the rebase onto develop, 2026-11-24): RESULT: PASS (0 findings). It covers 3931 places × 43 locales, all 46 Unused entries and the 1 unmapped entry (Setup Wallet, Today extension only) are intact and the 43 Watch files are identical. The 2 ja/tr Baseline defects are listed on DEFECT lines. --release: RESULT: PASS (0 findings).

  • DashWalletTests (Debug, iOS 27.2 iPhone 17 simulator, 2026-11-24): 2893 tests, 1 failure. The failure is String_DashWallet.testAssumptionThatCurrencySymbolIsEitherAtTheBeginningOrAtTheEnd. It walks every system locale's currency format; this PR does not touch it, and develop's CI passes it, so the failure looks specific to the local simulator runtime. CI on this PR will confirm.

  • Plural fidelity: all 62 counted phrases × 22 shipped locales × counts 0, 1, 2, 4, 5, 21, 101, 1000000 (every plural category an integer selects) give the Baseline form. UngroupedCountTests checks that the 26 count/height places keep their Baseline key.

  • Tool tests:

    • scripts/localization/tests: 222 OK (after the tool removal)
    • scripts/ci/test_check_no_old_swift_lookup.py: 11 OK
    • scripts/ci/test_ci_structure.py: 32 OK
    • scripts/test_a11y_audit_catalog.py and scripts/test_convert_strings_to_utf8.py: OK
  • Maestro flows string_catalog_in_ukrainian and string_catalog_in_chinese_taiwan (pr-1455, happy): each passed twice on a Debug simulator build of this PR, and again on 2026-11-23 on a build of the current head. Both run on an empty wallet.

    • Lock screen (Objective-C texts), and one wrong PIN, which still shows the English «2 attempt(s) remaining».
    • Home (Swift texts).
    • The Create New Wallet sheet: uk «12 слів / 24 слова», zh-Hant-TW «12個詞 / 24個詞».
    • Storage Explorer's «Баланс» (a bare SwiftUI literal).
    • They assert that no English shows where the Baseline translates, that no raw %d/%@ is left, and that no wrong plural form shows.
    • What they cannot prove: other screens, locales and plural forms (the zero-loss check covers those); Release/TestFlight builds; the Watch app; screens that need sync or money; a language switched in iOS Settings rather than by launch arguments.
  • Live probes on 2026-11-23: a new String(localized:) text became an untranslated source entry; removing the only lookup of "This wallet has no identity to top up." marked it stale with all 43 translations kept; reverting both and building again left the Catalog byte-identical; NSLocalizedString added to a Swift file failed the old-call guard with its file and line.

  • Build: an incremental dashpay Debug build leaves the Catalog byte-identical. It does so even with the .stringsdata / .d leftovers of a deleted source in the object directory.

  • A build in the Xcode app leaves DashWallet/Localizable.xcstrings unchanged. The first run marked a preview-only entry stale; that entry is now manual, and a test requires that of every key looked up only in #Preview or #if DEBUG code.

Not verified: a build in the Xcode app under another macOS language; it was skipped because it needs a sign-out. ADR-0073 records the risk: the Xcode app's key order follows the Mac's locale.

Left for a later PR: two English texts on release screens are written verbatim, as they read at the Baseline: the SPV status screen's "Restart" / "Restarting…" and the wallet account screen's "• N credits". Making them Catalog entries adds lookup places, which the pre-merge check's file-and-ordinal pairing cannot accept.

Breaking Changes

None for users. For developers: BartyCrouch is gone. New Swift texts use String(localized:), and the Debug build adds them to the Catalog; commit the Catalog with the code.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • ADR (ADR-0001): ADR-0066–ADR-0073 added
  • Nothing in this PR (files, commit messages, branch name, description, comments, attachments, linked issues) holds customer data, unfixed vulnerability detail, secrets, or step-by-step attack detail against keys, PIN or encryption; such content is left out and handled privately with the maintainers (ADR-0001, rule 2)

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone
  • If workflow-lint warned that a release-only step or .xcode-version changed, or a .platform-ref bump changed platform's Rust version, I ran the affected workflow by hand from this branch on the final commit (release-dashpay-testflight.yml with wallet_ref = that commit and release_channel: internal-only; appstore-schema-release.yml with dry_run: true) and linked the run here; a later push needs a new run

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 587 files, which is 487 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 500 files.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2f381ec1-9146-4e42-b652-5d7aafcf7d53
Commits

Reviewing files that changed from the base of the PR and between d395f50 and de1e31b.

Files selected for processing: 587

  • .bartycrouch.toml
  • .claude/agents/AI-DEVELOPMENT-GUIDE.md
  • .claude/agents/EXTERNAL-INTEGRATIONS.md
  • .github/workflows/accessibility.yml
  • .github/workflows/unit-tests.yml
  • .tx/config
  • ACCESSIBILITY.md
  • AGENTS.md
  • DEVELOPER-NOTES.md
  • DashWallet.xcodeproj/project.pbxproj
  • DashWallet/Localizable.xcstrings
  • DashWallet/Sources/Categories/ErrorPresentable.swift
  • DashWallet/Sources/Categories/UIViewController+AlertPresenting.swift
  • DashWallet/Sources/Categories/UIViewController+DashWallet.swift
  • DashWallet/Sources/Infrastructure/Authentication/AuthenticationService.swift
  • DashWallet/Sources/Infrastructure/Currency Exchanger/CurrencyExchanger.swift
  • DashWallet/Sources/Infrastructure/Database/DatabaseConnection.swift
  • DashWallet/Sources/Infrastructure/DiagnosticLogExporter.swift
  • DashWallet/Sources/Infrastructure/Networking/DWAvatarUploadClient.swift
  • DashWallet/Sources/Infrastructure/Notifications/NotificationDispatcher.swift
  • DashWallet/Sources/Infrastructure/Notifications/Producers/DashPayContactsNotificationProducer.swift
  • DashWallet/Sources/Infrastructure/Notifications/Producers/InactivityReminderScheduler.swift
  • DashWallet/Sources/Infrastructure/Notifications/Producers/SwapNotificationProducer.swift
  • DashWallet/Sources/Infrastructure/Notifications/Producers/TransactionNotificationProducer.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/AssetLockInputPolicy.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/AssetLockRecoveryService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/BIP70SendAuthorizer.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Contacts/SwiftDashSDKContactsService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/DevnetConfiguration.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/ContestedUsernameFee.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/DWDashPayIdentityKeys.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/DWIdentityAuthorizer.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/DWIdentityRegistrationCoordinator.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/DWProfileUpdateCoordinator.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/DWUsernameRegistrationRecovery.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Identity/IdentityVerifyService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Invitations/DWInvitationService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Invitations/InvitationValidation.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Masternodes/EvonodeEpochBlocksService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/PlatformAddressSyncCoordinator.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/ShieldedAssetLocksInFlight.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/ShieldedSyncMonitor.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/SwiftDashSDKHost.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/SwiftDashSDKKeyMigrator.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/SwiftDashSDKSPVCoordinator.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/SwiftDashSDKTransactionSender.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/SwiftDashSDKWalletRuntime.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/SwiftDashSDKWalletWiper.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/UnconfirmedTransactionRemover.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/UsernameMarketplaceService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Voting/ContestedNamesService.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Voting/MasternodeVoteCaster.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/Voting/MasternodeVoterRegistry.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/WalletEnvironment.swift
  • DashWallet/Sources/Infrastructure/SwiftDashSDK/WalletPreparationFailure.swift
  • DashWallet/Sources/Models/CoinJoin/CoinJoinMixingTxSet.swift
  • DashWallet/Sources/Models/CoinJoin/CoinJoinWithdrawalTxSet.swift
  • DashWallet/Sources/Models/Coinbase/Coinbase+Error.swift
  • DashWallet/Sources/Models/Coinbase/Infrastructure/API/DTOs/Account/CoinbaseUserAccountData.swift
  • DashWallet/Sources/Models/Coinbase/Infrastructure/API/DTOs/Payment Methods/CoinbasePaymentMethodsResponse.swift
  • DashWallet/Sources/Models/DWDateFormatter.swift
  • DashWallet/Sources/Models/DashConnect/AppConnectLogin.swift
  • DashWallet/Sources/Models/DashConnect/AppConnectV2Login.swift
  • DashWallet/Sources/Models/DashConnect/DashConnectDataSource.swift
  • DashWallet/Sources/Models/DashConnect/PlatformDashConnectDataSource.swift
  • DashWallet/Sources/Models/DashConnect/Protocol/DashConnectUri.swift
  • DashWallet/Sources/Models/Explore Dash/Infrastructure/DAO Impl/MerchantDAO.swift
  • DashWallet/Sources/Models/Explore Dash/Services/DWLocationManager.swift
  • DashWallet/Sources/Models/Explore Dash/Services/DashSpend/DashSpendError.swift
  • DashWallet/Sources/Models/Explore Dash/Services/DashSpend/PiggyCards/PiggyCardsRepository.swift
  • DashWallet/Sources/Models/Explore Dash/Services/ExploreDatabaseSyncManager.swift
  • DashWallet/Sources/Models/Maya/MayaAPIService.swift
  • DashWallet/Sources/Models/PaymentProtocol/BIP70Error.swift
  • DashWallet/Sources/Models/Swap/RouteProvider.swift
  • DashWallet/Sources/Models/Swap/SwapKitErrorCopy.swift
  • DashWallet/Sources/Models/Swap/SwapProvider.swift
  • DashWallet/Sources/Models/SwapKit/SwapKitSwapProvider.swift
  • DashWallet/Sources/Models/Taxes/Services/TaxReportGenerator.swift
  • DashWallet/Sources/Models/Transactions/Model/RawTransactionInspector.swift
  • DashWallet/Sources/Models/Transactions/Model/Transaction.swift
  • DashWallet/Sources/Models/Transactions/SendCoinsService.swift
  • DashWallet/Sources/Models/Transactions/WalletSendService.swift
  • DashWallet/Sources/Models/Tx Metadata/TransactionMetadata.swift
  • DashWallet/Sources/Models/Uphold/Model/UpholdError.swift
  • DashWallet/Sources/UI/Auth/PinPromptView.swift
  • DashWallet/Sources/UI/Buy Sell/BuySellPortalScreen.swift
  • DashWallet/Sources/UI/Buy Sell/BuySellPortalView.swift
  • DashWallet/Sources/UI/Buy Sell/BuySellPortalViewController.swift
  • DashWallet/Sources/UI/Buy Sell/IntegrationViewController.swift
  • DashWallet/Sources/UI/Buy Sell/Model/BaseIntegrationModel.swift
  • DashWallet/Sources/UI/Buy Sell/Model/BuySellPortalModel.swift
  • DashWallet/Sources/UI/Buy Sell/Model/VO/ServiceItem.swift
  • DashWallet/Sources/UI/Buy Sell/Views/BuySellServiceItemCell.swift
  • DashWallet/Sources/UI/Coinbase/Account List Controller/AccountListController.swift
  • DashWallet/Sources/UI/Coinbase/Base/UIViewController+Coinbase.swift
  • DashWallet/Sources/UI/Coinbase/Buy Dash/BuyDashViewController.swift
  • DashWallet/Sources/UI/Coinbase/Buy Dash/Confirm Transaction Controller/ConfirmOrderController.swift
  • DashWallet/Sources/UI/Coinbase/Buy Dash/Model/BuyDashModel.swift
  • DashWallet/Sources/UI/Coinbase/Buy Dash/Payment Methods Controller/PaymentMethodsController.swift
  • DashWallet/Sources/UI/Coinbase/Buy Dash/Views/ActivePaymentMethodView.swift
  • DashWallet/Sources/UI/Coinbase/Buy Dash/Views/SendingToView.swift
  • DashWallet/Sources/UI/Coinbase/CoinbaseEntryPoint/CoinbaseEntryPointModel.swift
  • DashWallet/Sources/UI/Coinbase/Custodial Swaps/CustodialSwapsViewController.swift
  • DashWallet/Sources/UI/Coinbase/Custodial Swaps/Order Preview/ConvertCryptoOrderPreviewController.swift
  • DashWallet/Sources/UI/Coinbase/Info Screen/CoinbaseInfoViewController.swift
  • DashWallet/Sources/UI/Coinbase/Order Preview/OrderPreviewViewController.swift
  • DashWallet/Sources/UI/Coinbase/ServiceOverview/ServiceEntryPointModel.swift
  • DashWallet/Sources/UI/Coinbase/Transfer Amount/Model/TransferAmountModel.swift
  • DashWallet/Sources/UI/Coinbase/Transfer Amount/TransferAmountHostingController.swift
  • DashWallet/Sources/UI/Coinbase/Transfer Amount/TransferAmountView.swift
  • DashWallet/Sources/UI/Coinbase/Transfer Amount/Views/ConverterView.swift
  • DashWallet/Sources/UI/Coinbase/Transfer Amount/Views/NetworkUnavailableView.swift
  • DashWallet/Sources/UI/Coinbase/Two Factor Auth/TwoFactorAuthViewController.swift
  • DashWallet/Sources/UI/DashConnect/AppConnectApproveSheet.swift
  • DashWallet/Sources/UI/DashConnect/ApproveConnectionSheet.swift
  • DashWallet/Sources/UI/DashConnect/ApproveTokenPurchaseSheet.swift
  • DashWallet/Sources/UI/DashConnect/Components/ConnectionRow.swift
  • DashWallet/Sources/UI/DashConnect/Components/ConnectionSheet.swift
  • DashWallet/Sources/UI/DashConnect/Components/ConnectionStatusBadge.swift
  • DashWallet/Sources/UI/DashConnect/Components/ConnectionsEmptyState.swift
  • DashWallet/Sources/UI/DashConnect/Components/ConnectionsUnavailableState.swift
  • DashWallet/Sources/UI/DashConnect/Components/DashConnectPermissionText.swift
  • DashWallet/Sources/UI/DashConnect/Components/DashConnectSheetParts.swift
  • DashWallet/Sources/UI/DashConnect/Components/FundingLimitsInfoSheet.swift
  • DashWallet/Sources/UI/DashConnect/Components/ScanQRButton.swift
  • DashWallet/Sources/UI/DashConnect/ConnectionsScreen.swift
  • DashWallet/Sources/UI/DashConnect/ConnectionsViewModel.swift
  • DashWallet/Sources/UI/DashPay/Contacts/SwiftUI/AddContactScreen.swift
  • DashWallet/Sources/UI/DashPay/Contacts/SwiftUI/ContactAvatarView.swift
  • DashWallet/Sources/UI/DashPay/Contacts/SwiftUI/ContactProfileSheet.swift
  • DashWallet/Sources/UI/DashPay/Contacts/SwiftUI/ContactsScreen.swift
  • DashWallet/Sources/UI/DashPay/Contacts/SwiftUI/NotificationsScreen.swift
  • DashWallet/Sources/UI/DashPay/Credits/IdentityCreditBalance.swift
  • DashWallet/Sources/UI/DashPay/Invitations/AcceptInvitationCard.swift
  • DashWallet/Sources/UI/DashPay/Invitations/InvitationOutcomeDialogs.swift
  • DashWallet/Sources/UI/DashPay/Profile/Edit Profile/RootEditProfileViewController.swift
  • DashWallet/Sources/UI/DashPay/Profile/SDKIdentityProfileSheet.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/ConfirmUsernameRequestSheet.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/CreateInstantUsernameSheet.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/CreateUsernameViewController.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/CreateUsernameViewModel.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/JoinDashPayScreen.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/JoinDashPayView.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/UsernameFundingPrivacyScreen.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/UsernameTypesInfoSheet.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/VerifyIdentityOfferSheet.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/VerifyIdentityScreen.swift
  • DashWallet/Sources/UI/DashPay/Setup/CreateUsername/VotingInfoScreen.swift
  • DashWallet/Sources/UI/DashPay/Usernames/UsernameRequestStatusScreen.swift
  • DashWallet/Sources/UI/DashPay/Voting/Details/RequestDetailField.swift
  • DashWallet/Sources/UI/DashPay/Voting/Details/RequestDetailsScreen.swift
  • DashWallet/Sources/UI/DashPay/Voting/Details/RequestDetailsViewModel.swift
  • DashWallet/Sources/UI/DashPay/Voting/Keys/VotingKeyInputScreen.swift
  • DashWallet/Sources/UI/DashPay/Voting/Keys/VotingKeyInputViewModel.swift
  • DashWallet/Sources/UI/DashPay/Voting/Keys/VotingKeysScreen.swift
  • DashWallet/Sources/UI/DashPay/Voting/Keys/VotingKeysViewModel.swift
  • DashWallet/Sources/UI/DashPay/Voting/List/VotingListViewModel.swift
  • DashWallet/Sources/UI/DashPay/Voting/QuickVoting/QuickVotingSheet.swift
  • DashWallet/Sources/UI/DashPay/Voting/Store/VoteErrorMessage.swift
  • DashWallet/Sources/UI/DashPay/Voting/Store/VotingStore.swift
  • DashWallet/Sources/UI/DashPay/Voting/UsernameVotingScreen.swift
  • DashWallet/Sources/UI/DashPay/Voting/VoteAttempt/VoteAttemptDialogs.swift
  • DashWallet/Sources/UI/DashPay/Voting/VoteAttempt/VoteResultSheet.swift
  • DashWallet/Sources/UI/DashPay/Voting/VotingContestCard.swift
  • DashWallet/Sources/UI/DashPay/Voting/VotingFilter.swift
  • DashWallet/Sources/UI/DashPay/Voting/VotingFiltersSheet.swift
  • DashWallet/Sources/UI/DashPay/Voting/VotingViewModel.swift
  • DashWallet/Sources/UI/Explore Dash/ExploreMenuScreen.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/Details/POIDetailsViewController.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/Details/Views/POIDetailsView.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/Info/MerchantTypesDialog.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/AllMerchantLocations/AllMerchantLocationsView.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/AllMerchantLocations/AllMerchantLocationsViewController.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/AtmListViewController.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Cells/AtmItemCell.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Cells/MerchantItemCell.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Cells/MerchantListLocationOffCell.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Cells/PointOfUseListFiltersCell.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/ExplorePointOfUseListViewController.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/ExploreSyncBannerView.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Filters/MerchantFiltersView.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Filters/Model/PointOfUseListFiltersModel.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Filters/TerritoryPickerView.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/MerchantListViewController.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Model/PointOfUseListConfiguration.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Model/PointOfUseListViewModel.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Views/PointOfUseListEmptyResultsView.swift
  • DashWallet/Sources/UI/Explore Dash/Merchants & ATMs/List/Views/PointOfUseLocationServicePopup.swift
  • DashWallet/Sources/UI/Explore Dash/UsernameMarketplaceScreen.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/Components/DashSpendFlexibleContent.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/Components/DashSpendMultiplePanel.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/Components/DashSpendPayIntro.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/Components/DashSpendSinglePanel.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendConfirmationDialog.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendLoginInfoView.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendPayScreen.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendPayViewModel.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendTermsScreen.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendUserAuthScreen.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/DashSpendUserAuthViewModel.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/GiftCardDetails/Components/GiftCardDetailsHowToUseSection.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/GiftCardDetails/Components/GiftCardDetailsInfoCard.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/GiftCardDetails/Components/GiftCardDetailsPoweredBySection.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/GiftCardDetails/Components/GiftCardPurchaseSelectionSheet.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/GiftCardDetails/GiftCardDetailsView.swift
  • DashWallet/Sources/UI/Explore Dash/Views/DashSpend/GiftCardDetails/GiftCardDetailsViewModel.swift
  • DashWallet/Sources/UI/Explore Dash/Views/ExploreContentsView.swift
  • DashWallet/Sources/UI/Home/HomeViewController+JailbreakCheck.swift
  • DashWallet/Sources/UI/Home/HomeViewController+Shortcuts.swift
  • DashWallet/Sources/UI/Home/HomeViewController.swift
  • DashWallet/Sources/UI/Home/Syncing Views/Alert/SyncingAlertView.swift
  • DashWallet/Sources/UI/Home/Syncing Views/Sync View/SyncView.swift
  • DashWallet/Sources/UI/Home/Tx Metadata/GiftCardMetadataProvider.swift
  • DashWallet/Sources/UI/Home/Tx Metadata/SwapOrderMetadataProvider.swift
  • DashWallet/Sources/UI/Home/Views/Cells/SyncingHeaderView.swift
  • DashWallet/Sources/UI/Home/Views/CoinJoinMoveFunds/CoinJoinMoveFundsSheet.swift
  • DashWallet/Sources/UI/Home/Views/CoinJoinMoveFunds/CoinJoinMoveFundsViewModel.swift
  • DashWallet/Sources/UI/Home/Views/Home Balance View/BalanceInfoSheet.swift
  • DashWallet/Sources/UI/Home/Views/Home Balance View/BalanceModel.swift
  • DashWallet/Sources/UI/Home/Views/Home Balance View/HomeBalanceView.swift
  • DashWallet/Sources/UI/Home/Views/HomeUsernameRow.swift
  • DashWallet/Sources/UI/Home/Views/HomeView.swift
  • DashWallet/Sources/UI/Home/Views/HomeViewModel.swift
  • DashWallet/Sources/UI/Home/Views/PlatformAddressHistory.swift
  • DashWallet/Sources/UI/Home/Views/ShieldedActivityHistory.swift
  • DashWallet/Sources/UI/Home/Views/ShieldedWithdrawalHistoryFixture.swift
  • DashWallet/Sources/UI/Home/Views/Shortcuts/Models/ShortcutAction.swift
  • DashWallet/Sources/UI/Home/Views/Shortcuts/NodesShortcutIcon.swift
  • DashWallet/Sources/UI/Home/Views/Shortcuts/ShortcutCustomizeBannerView.swift
  • DashWallet/Sources/UI/Home/Views/Shortcuts/ShortcutSelectionView.swift
  • DashWallet/Sources/UI/Home/Views/Shortcuts/WalletSwitchDialog.swift
  • DashWallet/Sources/UI/Home/Views/TransactionFilterDialog.swift
  • DashWallet/Sources/UI/Main/MainTabbarController.swift
  • DashWallet/Sources/UI/Main/ProtocolCompatibilityBanner.swift
  • DashWallet/Sources/UI/Main/WalletLifecycleOverlay.swift
  • DashWallet/Sources/UI/Main/WalletPreparationSupport.swift
  • DashWallet/Sources/UI/Maya/MayaPortalView.swift
  • DashWallet/Sources/UI/Menu/Governance/GovernanceMenuScreen.swift
  • DashWallet/Sources/UI/Menu/Governance/GovernanceMenuViewModel.swift
  • DashWallet/Sources/UI/Menu/Main/MainMenuViewController.swift
  • DashWallet/Sources/UI/Menu/Main/MainMenuViewModel.swift
  • DashWallet/Sources/UI/Menu/Security/Advanced Security/AdvancedSecurityScreen.swift
  • DashWallet/Sources/UI/Menu/Security/Advanced Security/AdvancedSecurityViewModel.swift
  • DashWallet/Sources/UI/Menu/Security/RecoveryPhraseFlow.swift
  • DashWallet/Sources/UI/Menu/Security/ResetWalletInfo/ResetWalletInfoScreen.swift
  • DashWallet/Sources/UI/Menu/Security/SecurityMenuScreen.swift
  • DashWallet/Sources/UI/Menu/Security/SecurityMenuViewModel.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/IdentitiesScreen.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/IdentitiesViewModel.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/WalletAccountDetailScreen.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/WalletAccountDetailViewModel.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/WalletAccountsScreen.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/WalletsScreen.swift
  • DashWallet/Sources/UI/Menu/Security/Wallets/WalletsViewModel.swift
  • DashWallet/Sources/UI/Menu/Settings/About/AboutDashView.swift
  • DashWallet/Sources/UI/Menu/Settings/About/AboutDashViewModel.swift
  • DashWallet/Sources/UI/Menu/Settings/About/DWAboutModel+MasternodeSync.swift
  • DashWallet/Sources/UI/Menu/Settings/Components/AdvancedModeInfoSheet.swift
  • DashWallet/Sources/UI/Menu/Settings/Components/SettingsAlerts.swift
  • DashWallet/Sources/UI/Menu/Settings/DevnetSettingsScreen.swift
  • DashWallet/Sources/UI/Menu/Settings/LocalCurrency/Cells/LocalCurrencyCellView.swift
  • DashWallet/Sources/UI/Menu/Settings/LocalCurrency/LocalCurrencyView.swift
  • DashWallet/Sources/UI/Menu/Settings/SettingsMenuViewModel.swift
  • DashWallet/Sources/UI/Menu/Settings/SettingsScreen.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/DashPaySyncInfoScreen.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/LastSyncLabel.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/PlatformSyncStatusScreen.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/ShieldedSyncInfoScreen.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/SwiftDashSDKSPVStatusScreen.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/SyncInfoMenuScreen.swift
  • DashWallet/Sources/UI/Menu/SyncInfo/SyncInfoMenuViewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/CSVExportSheet.swift
  • DashWallet/Sources/UI/Menu/Tools/Evonode Status/EvonodeStatusScreen.swift
  • DashWallet/Sources/UI/Menu/Tools/Evonode Status/EvonodeStatusViewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/ExtendedKeys/ExtendedPublicKeySheet.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Keys/DerivationPathKeys/DerivationPathKeysView.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Keys/DerivationPathKeys/Models/DerivationPathKeysModel.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Keys/Overview/Cell/KeysOverviewCell.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Keys/Overview/KeysOverviewView.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Keys/Overview/Model/WalletKeysOverviewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Withdrawal/EvonodeWithdrawalScreen.swift
  • DashWallet/Sources/UI/Menu/Tools/Masternode Withdrawal/EvonodeWithdrawalViewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/MasternodesScreen.swift
  • DashWallet/Sources/UI/Menu/Tools/StorageExplorer/StorageExplorerUnavailableView.swift
  • DashWallet/Sources/UI/Menu/Tools/StorageExplorer/StorageExplorerView.swift
  • DashWallet/Sources/UI/Menu/Tools/StorageExplorer/StorageModelListViews.swift
  • DashWallet/Sources/UI/Menu/Tools/StorageExplorer/StorageRecordDetailViews.swift
  • DashWallet/Sources/UI/Menu/Tools/ToolsMenuScreen.swift
  • DashWallet/Sources/UI/Menu/Tools/ToolsMenuViewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/Tracked Masternodes/AddMasternodeScreen.swift
  • DashWallet/Sources/UI/Menu/Tools/Tracked Masternodes/AddMasternodeViewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/Tracked Masternodes/TrackedMasternodeDetailScreen.swift
  • DashWallet/Sources/UI/Menu/Tools/Unban/MasternodeUnbanViewModel.swift
  • DashWallet/Sources/UI/Menu/Tools/Unban/UnbanMasternodeSheet.swift
  • DashWallet/Sources/UI/Menu/Tools/ZenLedger/ZenLedgerInfoSheet.swift
  • DashWallet/Sources/UI/Operation Status/FailedOperationStatusViewController.swift
  • DashWallet/Sources/UI/Operation Status/SuccessfulOperationStatusViewController.swift
  • DashWallet/Sources/UI/Payment Controller/Enter Amount/ProvideAmountViewController.swift
  • DashWallet/Sources/UI/Payment Controller/PaymentController.swift
  • DashWallet/Sources/UI/Payments/Amount/BaseAmountViewController.swift
  • DashWallet/Sources/UI/Payments/Amount/Model/AmountObject.swift
  • DashWallet/Sources/UI/Payments/Amount/Model/BaseAmountModel.swift
  • DashWallet/Sources/UI/Payments/Amount/Model/Send/SendAmountModel.swift
  • DashWallet/Sources/UI/Payments/Amount/SendAmountScreen.swift
  • DashWallet/Sources/UI/Payments/Amount/SendAmountViewController.swift
  • DashWallet/Sources/UI/Payments/Amount/SpecifyAmountView.swift
  • DashWallet/Sources/UI/Payments/Amount/Views/AmountView.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Components/TransferEndpointCards.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Components/TransferEndpointPicker.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Components/TransferPreview.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Components/TransferPrivacyTip.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Confirm/InternalTransferConfirmSheet.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Confirm/InternalTransferConfirmViewModel.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Confirm/InternalTransferSummaryFigures.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Confirm/InternalTransferToastModifier.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Confirm/TransferSummaryCard.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/CoreCoinConsolidationSheet.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/CoreCoinConsolidationViewModel.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/IdentityWithdrawViewModel.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/InternalTransferScreen.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/InternalTransferViewModel.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Shielded/CoreShieldedDrainMaxController.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Shielded/CoreShieldedDrainService.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Shielded/CoreShieldedDrainStore.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Shielded/ShieldedRecoverySheet.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Shielded/ShieldedSubmittedUnconfirmedView.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/Shielded/ShieldedTransferCoordinator.swift
  • DashWallet/Sources/UI/Payments/InternalTransfer/TransferTimingSheet.swift
  • DashWallet/Sources/UI/Payments/Landing/Components/PaymentsReceiveContent.swift
  • DashWallet/Sources/UI/Payments/Landing/Components/PaymentsSendCard.swift
  • DashWallet/Sources/UI/Payments/Landing/PaymentsLandingScreen.swift
  • DashWallet/Sources/UI/Payments/Landing/PaymentsLandingViewModel.swift
  • DashWallet/Sources/UI/Payments/Pay/ChainNetworkToggle.swift
  • DashWallet/Sources/UI/Payments/Pay/Confirm/ConfirmPaymentViewController.swift
  • DashWallet/Sources/UI/Payments/Pay/Confirm/Model/ConfirmPaymentModel.swift
  • DashWallet/Sources/UI/Payments/Pay/SendScreen.swift
  • DashWallet/Sources/UI/Payments/Pay/SendToContactScreen.swift
  • DashWallet/Sources/UI/Payments/Pay/SendViewModel.swift
  • DashWallet/Sources/UI/Payments/PaymentModels/BIP70InteractiveCoordinator.swift
  • DashWallet/Sources/UI/Payments/Receive/RequestAmount/RequestAmountHostingController.swift
  • DashWallet/Sources/UI/Payments/Receive/RequestAmount/RequestAmountScreen.swift
  • DashWallet/Sources/UI/Setup/SecureWallet/BackupInfo/BackupInfoViewController.swift
  • DashWallet/Sources/UI/Setup/SecureWallet/Seed/BackupSeedPhraseViewController.swift
  • DashWallet/Sources/UI/Setup/SecureWallet/Seed/RecoveryPhraseLength.swift
  • DashWallet/Sources/UI/Setup/SecureWallet/VerifiedSuccessfully/VerifiedSuccessfullyViewController.swift
  • DashWallet/Sources/UI/Setup/WalletRecovery/KeychainWalletRecoveryCoordinator.swift
  • DashWallet/Sources/UI/Swap/Buy/EnterAmount/BuyEnterAmountView.swift
  • DashWallet/Sources/UI/Swap/Buy/EnterAmount/BuyEnterAmountViewModel.swift
  • DashWallet/Sources/UI/Swap/Buy/Receive/BuyReceiveHostingController.swift
  • DashWallet/Sources/UI/Swap/Buy/Receive/BuyReceiveView.swift
  • DashWallet/Sources/UI/Swap/Buy/Receive/BuyReceiveViewModel.swift
  • DashWallet/Sources/UI/Swap/Buy/RefundAddress/RefundAddressView.swift
  • DashWallet/Sources/UI/Swap/Buy/RefundAddress/RefundAddressViewModel.swift
  • DashWallet/Sources/UI/Swap/Convert/SwapConvertView.swift
  • DashWallet/Sources/UI/Swap/Convert/SwapConvertViewModel.swift
  • DashWallet/Sources/UI/Swap/DEXOfflineToastModifier.swift
  • DashWallet/Sources/UI/Swap/EnterAddress/Components/AddressSourceView.swift
  • DashWallet/Sources/UI/Swap/EnterAddress/EnterAddressView.swift
  • DashWallet/Sources/UI/Swap/EnterAddress/EnterAddressViewModel.swift
  • DashWallet/Sources/UI/Swap/OrderPreview/Components/SwapFeeInfoSheet.swift
  • DashWallet/Sources/UI/Swap/OrderPreview/OrderPreviewView.swift
  • DashWallet/Sources/UI/Swap/OrderPreview/OrderPreviewViewModel.swift
  • DashWallet/Sources/UI/Swap/QRScanner/GenericQRScannerView.swift
  • DashWallet/Sources/UI/Swap/SelectCoin/SelectCoinView.swift
  • DashWallet/Sources/UI/Swap/SelectCoin/SelectCoinViewModel.swift
  • DashWallet/Sources/UI/Swap/SwapPortalScaffold.swift
  • DashWallet/Sources/UI/Swap/TransactionStatus/SwapTransactionFailureView.swift
  • DashWallet/Sources/UI/Swap/TransactionStatus/SwapTransactionPendingView.swift
  • DashWallet/Sources/UI/Swap/TransactionStatus/SwapTransactionStatusHostingController.swift
  • DashWallet/Sources/UI/Swap/TransactionStatus/SwapTransactionSuccessView.swift
  • DashWallet/Sources/UI/SwapKit/SwapKitPortalView.swift
  • DashWallet/Sources/UI/SwiftUI Components/DashAmount.swift
  • DashWallet/Sources/UI/SwiftUI Components/DashStepper.swift
  • DashWallet/Sources/UI/SwiftUI Components/Dialogs/ConfirmSpendDialog.swift
  • DashWallet/Sources/UI/SwiftUI Components/MenuItem.swift
  • DashWallet/Sources/UI/SwiftUI Components/MerchantDenominations.swift
  • DashWallet/Sources/UI/SwiftUI Components/NetworkUnavailableStateView.swift
  • DashWallet/Sources/UI/SwiftUI Components/SegmentedControl.swift
  • DashWallet/Sources/UI/SwiftUI Components/SendIntro.swift
  • DashWallet/Sources/UI/SwiftUI Components/TextInput.swift
  • DashWallet/Sources/UI/SwiftUI Components/TextIntro.swift
  • DashWallet/Sources/UI/SwiftUI Components/TransientToastModifier.swift
  • DashWallet/Sources/UI/Tx/Details/GroupedTransactionsScreen.swift
  • DashWallet/Sources/UI/Tx/Details/Model/TxDetailModel.swift
  • DashWallet/Sources/UI/Tx/Details/RawTransactionView.swift
  • DashWallet/Sources/UI/Tx/Details/TxDetailViewController.swift
  • DashWallet/Sources/UI/Tx/Details/Views/BlockExplorerSelectionView.swift
  • DashWallet/Sources/UI/Tx/Reclassify Transactions/TxReclassifyTransactionsInfoViewController.swift
  • DashWallet/Sources/UI/Tx/Reclassify Transactions/TxReclassifyTransactionsWhereToChangeViewController.swift
  • DashWallet/Sources/UI/Uphold/Portal/IntegrationViewController+Uphold.swift
  • DashWallet/Sources/UI/Uphold/Portal/UpholdPortalModel.swift
  • DashWallet/Sources/UI/Uphold/Transfer/Confirm/UpholdConfirmViewController.swift
  • DashWallet/Sources/UI/Uphold/Transfer/Model/UpholdAmountModel.swift
  • DashWallet/Sources/UI/Uphold/Transfer/UpholdTransferViewController.swift
  • DashWallet/Sources/UI/Views/Transitions/Item/Model/TransactionDataItem.swift
  • DashWallet/Sources/Utils/TimeUtils.swift
  • DashWallet/ar.lproj/Localizable.strings
  • DashWallet/ar.lproj/Localizable.stringsdict
  • DashWallet/bg.lproj/Localizable.strings
  • DashWallet/bg.lproj/Localizable.stringsdict
  • DashWallet/ca.lproj/Localizable.strings
  • DashWallet/ca.lproj/Localizable.stringsdict
  • DashWallet/cs.lproj/Localizable.strings
  • DashWallet/cs.lproj/Localizable.stringsdict
  • DashWallet/da.lproj/Localizable.strings
  • DashWallet/da.lproj/Localizable.stringsdict
  • DashWallet/de.lproj/Localizable.strings
  • DashWallet/de.lproj/Localizable.stringsdict
  • DashWallet/el.lproj/Localizable.strings
  • DashWallet/el.lproj/Localizable.stringsdict
  • DashWallet/en.lproj/Localizable.strings
  • DashWallet/en.lproj/Localizable.stringsdict
  • DashWallet/eo.lproj/Localizable.strings
  • DashWallet/eo.lproj/Localizable.stringsdict
  • DashWallet/es.lproj/Localizable.strings
  • DashWallet/es.lproj/Localizable.stringsdict
  • DashWallet/et.lproj/Localizable.strings
  • DashWallet/et.lproj/Localizable.stringsdict
  • DashWallet/fa.lproj/Localizable.strings
  • DashWallet/fa.lproj/Localizable.stringsdict
  • DashWallet/fi.lproj/Localizable.strings
  • DashWallet/fi.lproj/Localizable.stringsdict
  • DashWallet/fil.lproj/Localizable.strings
  • DashWallet/fil.lproj/Localizable.stringsdict
  • DashWallet/fr.lproj/Localizable.strings
  • DashWallet/fr.lproj/Localizable.stringsdict
  • DashWallet/hr.lproj/Localizable.strings
  • DashWallet/hr.lproj/Localizable.stringsdict
  • DashWallet/hu.lproj/Localizable.strings
  • DashWallet/hu.lproj/Localizable.stringsdict
  • DashWallet/id.lproj/Localizable.strings
  • DashWallet/id.lproj/Localizable.stringsdict
  • DashWallet/it.lproj/Localizable.strings
  • DashWallet/it.lproj/Localizable.stringsdict
  • DashWallet/ja.lproj/Localizable.strings
  • DashWallet/ja.lproj/Localizable.stringsdict
  • DashWallet/ko.lproj/Localizable.strings
  • DashWallet/ko.lproj/Localizable.stringsdict
  • DashWallet/mk.lproj/Localizable.strings
  • DashWallet/mk.lproj/Localizable.stringsdict
  • DashWallet/ms.lproj/Localizable.strings
  • DashWallet/ms.lproj/Localizable.stringsdict
  • DashWallet/nb.lproj/Localizable.strings
  • DashWallet/nb.lproj/Localizable.stringsdict
  • DashWallet/nl.lproj/Localizable.strings
  • DashWallet/nl.lproj/Localizable.stringsdict
  • DashWallet/pl.lproj/Localizable.strings
  • DashWallet/pl.lproj/Localizable.stringsdict
  • DashWallet/pt.lproj/Localizable.strings
  • DashWallet/pt.lproj/Localizable.stringsdict
  • DashWallet/ro.lproj/Localizable.strings
  • DashWallet/ro.lproj/Localizable.stringsdict
  • DashWallet/ru.lproj/Localizable.strings
  • DashWallet/ru.lproj/Localizable.stringsdict
  • DashWallet/sk.lproj/Localizable.strings
  • DashWallet/sk.lproj/Localizable.stringsdict
  • DashWallet/sl.lproj/Localizable.strings
  • DashWallet/sl.lproj/Localizable.stringsdict
  • DashWallet/sl_SI.lproj/Localizable.strings
  • DashWallet/sl_SI.lproj/Localizable.stringsdict
  • DashWallet/sq.lproj/Localizable.strings
  • DashWallet/sq.lproj/Localizable.stringsdict
  • DashWallet/sr.lproj/Localizable.strings
  • DashWallet/sr.lproj/Localizable.stringsdict
  • DashWallet/sv.lproj/Localizable.strings
  • DashWallet/sv.lproj/Localizable.stringsdict
  • DashWallet/th.lproj/Localizable.strings
  • DashWallet/th.lproj/Localizable.stringsdict
  • DashWallet/tr.lproj/Localizable.strings
  • DashWallet/tr.lproj/Localizable.stringsdict
  • DashWallet/uk.lproj/Localizable.strings
  • DashWallet/uk.lproj/Localizable.stringsdict
  • DashWallet/vi.lproj/Localizable.strings
  • DashWallet/vi.lproj/Localizable.stringsdict
  • DashWallet/zh-Hans.lproj/Localizable.strings
  • DashWallet/zh-Hans.lproj/Localizable.stringsdict
  • DashWallet/zh-Hant-TW.lproj/Localizable.strings
  • DashWallet/zh-Hant-TW.lproj/Localizable.stringsdict
  • DashWallet/zh.lproj/Localizable.strings
  • DashWallet/zh.lproj/Localizable.stringsdict
  • DashWallet/zh_TW.lproj/Localizable.strings
  • DashWallet/zh_TW.lproj/Localizable.stringsdict
  • DashWalletTests/AdvancedSecurityTests.swift
  • DashWalletTests/CoinJoinMoveDestinationPolicyTests.swift
  • DashWalletTests/CountedPhrasePluralTests.swift
  • DashWalletTests/DashConnect/AppConnectStateActionsTests.swift
  • DashWalletTests/DashConnect/PlatformDashConnectDataSourceTests.swift
  • DashWalletTests/Localization/BaselinePluralForms.json
  • DashWalletTests/Localization/PluralFidelityTests.swift
  • DashWalletTests/Localization/UngroupedCountTests.swift
  • DashWalletTests/Notifications/DashPayContactsNotificationProducerTests.swift
  • DashWalletTests/TransactionDirectionTests.swift
  • DashWalletTests/VotingKeyImportTests.swift
  • DashWalletTests/VotingKeysViewModelTests.swift
  • DashWalletTests/VotingListSectionTests.swift
  • README.md
  • docs/adr/0066-declare-the-app-and-the-zero-loss-check-as-the-feature-surfaces.md
  • docs/adr/0067-generate-the-catalog-from-the-baseline-lists-with-a-repository-script.md
  • docs/adr/0068-rewrite-formatted-lookups-as-interpolations-and-move-their-entries.md
  • docs/adr/0069-prove-zero-loss-by-pairing-each-code-place-with-its-baseline-key.md
  • docs/adr/0070-keep-the-catalog-in-step-with-xcodes-own-string-sync-in-every-build.md
  • docs/adr/0071-rewrite-swift-lookups-with-a-swiftsyntax-codemod-rerun-on-every-baseline.md
  • docs/adr/0072-check-releases-through-the-key-map.md
  • docs/adr/0073-make-the-sync-phase-write-the-same-catalog-as-the-xcode-app.md
  • docs/adr/README.md
  • docs/design-system.md
  • docs/features/string-catalogs-migration/README.md
  • scripts/a11y_audit.py
  • scripts/ci/check_no_old_swift_lookup.py
  • scripts/ci/test_check_no_old_swift_lookup.py
  • scripts/ci/test_ci_structure.py
  • scripts/convert_strings_to_utf8.sh
  • scripts/localization/ZERO_LOSS_CHECK.md
  • scripts/localization/baseline_lists.py
  • scripts/localization/baseline_plural_forms.py
  • scripts/localization/build_baseline.sh
  • scripts/localization/catalog_io.py
  • scripts/localization/catalog_writer.swift
  • scripts/localization/dashpay_target.py
  • scripts/localization/fixtures/format/de.lproj/Localizable.strings
  • scripts/localization/fixtures/format/de.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/format/en.lproj/Localizable.strings
  • scripts/localization/fixtures/format/en.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/format/ja.lproj/Localizable.strings
  • scripts/localization/fixtures/format/uk.lproj/Localizable.strings
  • scripts/localization/fixtures/format/uk.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/format/zh-Hant-TW.lproj/Localizable.strings
  • scripts/localization/fixtures/format/zh-Hant-TW.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/places/repo/DashWallet.xcodeproj/project.pbxproj
  • scripts/localization/fixtures/places/repo/DashWallet/Sources/Legacy.m
  • scripts/localization/fixtures/places/repo/DashWallet/Sources/Send.swift
  • scripts/localization/fixtures/places/repo/DashWallet/en.lproj/Localizable.strings
  • scripts/localization/fixtures/places/repo/DashWallet/en.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/places/stringsdata/rewritten/Send.stringsdata
  • scripts/localization/fixtures/places/stringsdata/same-x86/Send.stringsdata
  • scripts/localization/fixtures/places/stringsdata/same/Send.stringsdata
  • scripts/localization/fixtures/sync/DashWallet/Localizable.xcstrings
  • scripts/localization/fixtures/sync/obj/arm64/Legacy Objc.d
  • scripts/localization/fixtures/sync/obj/arm64/My View.stringsdata
  • scripts/localization/fixtures/sync/obj/arm64/Target.SwiftFileList
  • scripts/localization/fixtures/sync/src/DashWallet/Sources/Legacy.swift
  • scripts/localization/fixtures/sync/src/DashWallet/Sources/Some Dir/Legacy Objc.m
  • scripts/localization/fixtures/sync/src/DashWallet/Sources/Some Dir/My View.swift
  • scripts/localization/fixtures/zero_loss/baseline_stringsdata/Send.stringsdata
  • scripts/localization/fixtures/zero_loss/current/Greeting.swift
  • scripts/localization/fixtures/zero_loss/current/Send.swift
  • scripts/localization/fixtures/zero_loss/golden/key_map.json
  • scripts/localization/fixtures/zero_loss/golden/pass_report.txt
  • scripts/localization/fixtures/zero_loss/golden/release_pass_report.txt
  • scripts/localization/fixtures/zero_loss/overlay_crash/DashWallet/de.lproj/Localizable.strings
  • scripts/localization/fixtures/zero_loss/overlay_crash/DashWallet/en.lproj/Localizable.strings
  • scripts/localization/fixtures/zero_loss/repo/DashWallet.xcodeproj/project.pbxproj
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/Sources/Greeting.swift
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/Sources/Legacy.m
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/Sources/Send.swift
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/de.lproj/Localizable.strings
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/de.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/en.lproj/Localizable.strings
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/en.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/uk.lproj/Localizable.strings
  • scripts/localization/fixtures/zero_loss/repo/DashWallet/uk.lproj/Localizable.stringsdict
  • scripts/localization/fixtures/zero_loss/repo/WatchApp/de.lproj/Interface.strings
  • scripts/localization/fixtures/zero_loss/repo/WatchApp/en.lproj/Interface.strings
  • scripts/localization/fixtures/zero_loss/stringsdata/ok/Greeting.stringsdata
  • scripts/localization/fixtures/zero_loss/stringsdata/ok/Send.stringsdata
  • scripts/localization/format.swift
  • scripts/localization/foundation_format.py
  • scripts/localization/places.py
  • scripts/localization/prepare_baseline_folder.sh
  • scripts/localization/swift_helper.py
  • scripts/localization/sync_catalog.py
  • scripts/localization/tests/test_adr_citations.py
  • scripts/localization/tests/test_baseline_lists.py
  • scripts/localization/tests/test_catalog_io.py
  • scripts/localization/tests/test_format.py
  • scripts/localization/tests/test_no_bartycrouch_directives.py
  • scripts/localization/tests/test_places.py
  • scripts/localization/tests/test_plural_samples.py
  • scripts/localization/tests/test_preview_only_keys.py
  • scripts/localization/tests/test_swift_helper.py
  • scripts/localization/tests/test_sync_catalog.py
  • scripts/localization/tests/test_zero_loss_check.py
  • scripts/localization/tests/test_zero_loss_release.py
  • scripts/localization/zero_loss_check.py
  • scripts/localization/zero_loss_key_map.json
  • scripts/test_a11y_audit_catalog.py
  • scripts/test_convert_strings_to_utf8.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@thepastaclaw

thepastaclaw commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Final review complete — no blockers (commit de1e31b) · triage: normal · Phase 2 only (queue backlog)

@romchornyi romchornyi changed the title feat(l10n): move the main app's texts to one String Catalog feat(ui): move the main app's texts to one String Catalog Nov 19, 2026
@romchornyi
romchornyi force-pushed the feat/string-catalogs-migration branch from 825ad53 to 684ad02 Compare November 23, 2026 21:10

@thepastaclaw thepastaclaw 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.

Final validation — Phase 1 + Phase 2

Changes requested: 2 blockers

  • A Debug build can overwrite a translation saved while catalog sync is running — scripts/localization/sync_catalog.py:200-219 (new; not shown inline, see below)
    Impact: A developer who saves a translation after sync copies the catalog can silently lose that edit even if the build had no catalog changes of its own.
  • The pre-merge check can pass and record an old Swift lookup after an incomplete build — scripts/localization/places.py:211-215 (new; not shown inline, see below)
    Impact: A developer running the check after an interrupted incremental build can get a passing report and commit a release key map that does not describe the current source.

PR #1455 moves the main app to a single String Catalog, preserving all 43 catalog locales and the existing 22 shipped locales. It also replaces BartyCrouch with Debug build-time sync and adds pre-merge and release translation checks. On head 684ad029bf15a901d79fd9ad00fa12a39512e7d7, simulator tests, target membership, workflow lint, recovery, and accessibility checks passed; the PastaClaw review check was still pending.

🔴 2 blocking | 🟡 4 suggestion(s) | 💬 1 nitpick(s)

7 finding(s) not shown inline (GitHub refused the PR diff as too large)

🔴 Blocking: A Debug build can overwrite a translation saved while catalog sync is running
Impact: A developer who saves a translation after sync copies the catalog can silently lose that edit even if the build had no catalog changes of its own.
scripts/localization/sync_catalog.py:200-219

A successful Debug build can discard a translation that was saved to disk. sync() processes a copy of the catalog, but main() compares that result with the live file. If an editor saves after the copy, the edit itself makes changed true, and os.replace() publishes the older result over the newer file. A unique staging path makes the replacement atomic but does not prevent this lost update. Compare the result with the original snapshot to detect a real sync change, serialize sync writers, and abort or retry if the live catalog changed before publication. Stamp only the catalog and inputs actually processed, and add a regression test that saves an edit between snapshot and publication.

source: gpt-6.2-sol (phase2-reviewer: general)

🔴 Blocking: The pre-merge check can pass and record an old Swift lookup after an incomplete build
Impact: A developer running the check after an interrupted incremental build can get a passing report and commit a release key map that does not describe the current source.
scripts/localization/places.py:211-215

The migration check can certify a lookup the current source no longer makes. If an incremental build emits fresh .stringsdata for one file but stops before rebuilding another edited file, build_is_stale() can accept the directory because it compares only the newest output with the newest source. current_places() then accepts the old record for the second file because its source path still exists and skips modern extraction because the file is already marked as covered. If the catalog still has the old key, the check can pass and --write-key-map records that key for subsequent releases. Require compiler data from a successful build of the checked source snapshot, limit collection to that build's target and architectures, and test mixed fresh and stale outputs.

source: gpt-6.2-sol (phase2-reviewer: general)

🟡 Suggestion: The release check misses translation loss on manual or reactivated keys outside the key map
Impact: A release preparer can get a passing report after losing a translation for a retained key, such as the German Today extension button text Wallet erstellen.
scripts/localization/zero_loss_check.py:421-434

A retained key can still exist while one of its baseline translations disappears. Setup Wallet is manual and absent from the key map because lookup discovery excludes TodayExtension, even though the extension compiles the shared catalog. Add your Friends & Family is also absent from the map and stops being checked if a new lookup clears its stale state. In both cases the wording check has no mapped row, unused_check() skips the entry, and the key-set check verifies only that the key exists. Check the baseline localizations of unmapped entries retained under their original keys regardless of extraction state, and test both a manual key and a reactivated one.

source: gpt-6.2-sol (phase2-reviewer: general)

🟡 Suggestion: Finish Transfers and Quick Voting group four-digit progress counts that were previously ungrouped
Impact: A user who starts either operation with 1,000 or more items sees 1,000 instead of the baseline's 1000 in US English.
DashWallet/Sources/UI/Menu/SyncInfo/SwiftDashSDKSPVStatusScreen.swift:540-543

These labels no longer preserve the baseline number formatting. Both moved from locale-less String(format:) to integer interpolation. Finish Transfers shows the full pending.count, and the recovery service filters the saved locks without a count limit. Quick Voting has the same change at VotingViewModel.swift:93–97: the SDK query caps each response at 500, but VotingStore.performRefresh() appends previously listed contests whose end time is still in the future, and the plan uses the resulting visible list without another cap. The zero-loss formatter uses a locale on both sides, so it cannot catch this difference. Keep the baseline positional keys and locale-less formatting at both sites, and add them to UngroupedCountTests.

source: muse-spark-1.3-contributor (phase1-reviewer: general); gpt-6.2-sol (phase2-reviewer: general)

🟡 Suggestion: The all-locale check misses changes to the Slovenian plural form for three requests
Impact: A release preparer can get a passing zero-loss report even if a distinct Slovenian plural form is changed or removed from the catalog.
scripts/localization/zero_loss_check.py:32-35

The baseline %d requests and its mapped %lld requests entry have a distinct Slovenian few form. For integer counts, that form is selected when the count is 3 or 4 modulo 100; none of 0, 1, 2, 5, 21, 101 exercises it. The compiled-app test does not cover Slovenian because the app does not ship it. Compare explicit plural variants after normalizing format specifiers, or choose samples that exercise every baseline plural category. Add a regression test that changes only this few form.

source: gpt-6.2-sol (phase2-reviewer: general)

🟡 Suggestion: The release check treats a legitimate Watch translation update as migration loss
Impact: A release preparer who pulls a reviewed Watch translation before one of the next three releases gets a failure that the runbook says must be fixed.
scripts/localization/zero_loss_check.py:514-518

An ordinary Watch translation update is indistinguishable from an accidental migration edit in release mode. The PR leaves the Watch Transifex resource enabled, but --release compares every Watch interface file byte-for-byte with the pre-migration commit. The runbook permits human judgment for key and old-copy findings, not watch findings. Keep the exact comparison for the migration review and document how release runs account for reviewed Watch updates without overlooking unexpected changes.

source: gpt-6.2-sol (phase2-reviewer: general)

💬 Nitpick: Catalog comments still show BartyCrouch directives after the tool was removed
Impact: Developers and translators see an obsolete tool directive instead of context for the affected strings.
DashWallet/Sources/Models/CoinJoin/CoinJoinWithdrawalTxSet.swift:43

#bc-ignore! is still supplied as a localization comment at nine converted Swift call sites and appears on five catalog entries. The PR removes the BartyCrouch configuration and build phases, so the directive no longer controls extraction and has no effect on the displayed text. Remove it from the converted calls and catalog comments, or replace it with context that helps translators.

source: muse-spark-1.3-contributor (phase1-reviewer: general)

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.2-sol (effort low) — The migration is broad and requires careful review of localization fidelity and build behavior, but it changes text lookup, formatting, and tooling rather than wallet-critical logic.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (lane failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Second Phase-2 pass: on this first full review every Phase-2 reviewer also ran a second, independent time, and the verifier weighed both sets
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort high); agent phase2-reviewer, gpt-6.2-sol — general (completed, effort high); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `scripts/localization/sync_catalog.py`:
- [BLOCKING] scripts/localization/sync_catalog.py:200-219: A Debug build can overwrite a translation saved while catalog sync is running
  Impact: A developer who saves a translation after sync copies the catalog can silently lose that edit even if the build had no catalog changes of its own.
  A successful Debug build can discard a translation that was saved to disk. `sync()` processes a copy of the catalog, but `main()` compares that result with the live file. If an editor saves after the copy, the edit itself makes `changed` true, and `os.replace()` publishes the older result over the newer file. A unique staging path makes the replacement atomic but does not prevent this lost update. Compare the result with the original snapshot to detect a real sync change, serialize sync writers, and abort or retry if the live catalog changed before publication. Stamp only the catalog and inputs actually processed, and add a regression test that saves an edit between snapshot and publication.

In `scripts/localization/places.py`:
- [BLOCKING] scripts/localization/places.py:211-215: The pre-merge check can pass and record an old Swift lookup after an incomplete build
  Impact: A developer running the check after an interrupted incremental build can get a passing report and commit a release key map that does not describe the current source.
  The migration check can certify a lookup the current source no longer makes. If an incremental build emits fresh `.stringsdata` for one file but stops before rebuilding another edited file, `build_is_stale()` can accept the directory because it compares only the newest output with the newest source. `current_places()` then accepts the old record for the second file because its source path still exists and skips modern extraction because the file is already marked as covered. If the catalog still has the old key, the check can pass and `--write-key-map` records that key for subsequent releases. Require compiler data from a successful build of the checked source snapshot, limit collection to that build's target and architectures, and test mixed fresh and stale outputs.

In `scripts/localization/zero_loss_check.py`:
- [SUGGESTION] scripts/localization/zero_loss_check.py:421-434: The release check misses translation loss on manual or reactivated keys outside the key map
  Impact: A release preparer can get a passing report after losing a translation for a retained key, such as the German Today extension button text `Wallet erstellen`.
  A retained key can still exist while one of its baseline translations disappears. `Setup Wallet` is `manual` and absent from the key map because lookup discovery excludes TodayExtension, even though the extension compiles the shared catalog. `Add your Friends & Family` is also absent from the map and stops being checked if a new lookup clears its `stale` state. In both cases the wording check has no mapped row, `unused_check()` skips the entry, and the key-set check verifies only that the key exists. Check the baseline localizations of unmapped entries retained under their original keys regardless of extraction state, and test both a manual key and a reactivated one.
- [SUGGESTION] scripts/localization/zero_loss_check.py:32-35: The all-locale check misses changes to the Slovenian plural form for three requests
  Impact: A release preparer can get a passing zero-loss report even if a distinct Slovenian plural form is changed or removed from the catalog.
  The baseline `%d requests` and its mapped `%lld requests` entry have a distinct Slovenian `few` form. For integer counts, that form is selected when the count is 3 or 4 modulo 100; none of `0, 1, 2, 5, 21, 101` exercises it. The compiled-app test does not cover Slovenian because the app does not ship it. Compare explicit plural variants after normalizing format specifiers, or choose samples that exercise every baseline plural category. Add a regression test that changes only this `few` form.
- [SUGGESTION] scripts/localization/zero_loss_check.py:514-518: The release check treats a legitimate Watch translation update as migration loss
  Impact: A release preparer who pulls a reviewed Watch translation before one of the next three releases gets a failure that the runbook says must be fixed.
  An ordinary Watch translation update is indistinguishable from an accidental migration edit in release mode. The PR leaves the Watch Transifex resource enabled, but `--release` compares every Watch interface file byte-for-byte with the pre-migration commit. The runbook permits human judgment for `key` and `old-copy` findings, not `watch` findings. Keep the exact comparison for the migration review and document how release runs account for reviewed Watch updates without overlooking unexpected changes.

In `DashWallet/Sources/UI/Menu/SyncInfo/SwiftDashSDKSPVStatusScreen.swift`:
- [SUGGESTION] DashWallet/Sources/UI/Menu/SyncInfo/SwiftDashSDKSPVStatusScreen.swift:540-543: Finish Transfers and Quick Voting group four-digit progress counts that were previously ungrouped
  Impact: A user who starts either operation with 1,000 or more items sees `1,000` instead of the baseline's `1000` in US English.
  These labels no longer preserve the baseline number formatting. Both moved from locale-less `String(format:)` to integer interpolation. Finish Transfers shows the full `pending.count`, and the recovery service filters the saved locks without a count limit. Quick Voting has the same change at `VotingViewModel.swift:93–97`: the SDK query caps each response at 500, but `VotingStore.performRefresh()` appends previously listed contests whose end time is still in the future, and the plan uses the resulting visible list without another cap. The zero-loss formatter uses a locale on both sides, so it cannot catch this difference. Keep the baseline positional keys and locale-less formatting at both sites, and add them to `UngroupedCountTests`.

In `DashWallet/Sources/Models/CoinJoin/CoinJoinWithdrawalTxSet.swift`:
- [NITPICK] DashWallet/Sources/Models/CoinJoin/CoinJoinWithdrawalTxSet.swift:43: Catalog comments still show BartyCrouch directives after the tool was removed
  Impact: Developers and translators see an obsolete tool directive instead of context for the affected strings.
  `#bc-ignore!` is still supplied as a localization comment at nine converted Swift call sites and appears on five catalog entries. The PR removes the BartyCrouch configuration and build phases, so the directive no longer controls extraction and has no effect on the displayed text. Remove it from the converted calls and catalog comments, or replace it with context that helps translators.

@romchornyi
romchornyi force-pushed the feat/string-catalogs-migration branch from 684ad02 to 6eea031 Compare November 24, 2026 12:37
@romchornyi

Copy link
Copy Markdown
Contributor Author

Replies to the review of 684ad02 (the findings could not be posted inline). All seven are fixed; each was taken as a rule over the PR, not one line.

🔴 Debug build can overwrite a translation saved during the sync — Fixed in 3ef9776: every tool write of a checked-in localization file publishes only while the files it was derived from still hold the bytes it read. Applied at sync_catalog.py (works on a snapshot, publishes only if the Catalog on disk still equals it, otherwise stops with an error and leaves the edit; one sync at a time per checkout; the stamp records the inputs as read before the sync), zero_loss_check.py --write-key-map and baseline_plural_forms.py (both through the new catalog_io.publish_text, atomic, refusing when the Catalog or key map changed since read). Tests save an edit between snapshot and publication.

🔴 Pre-merge check passes on an incomplete build — Fixed in 762bf95 (with 3d08e0f, 4ac58ec): every compiler record of a working-tree Swift file must be no older than that file, all architecture and target folders included; one older record refuses the run and names the file. build_baseline.sh removes its records before building, never deletes a folder, refuses a non-empty folder that holds no finished build of the same commit, and takes a relative folder from the checkout root. The test is by time, so it also refuses a file a branch switch rewrote unchanged; the message says to rebuild from an empty DerivedData. Left as is: the Baseline side's suffix match without baseline-root, which only a hand-made folder can reach now that the script writes and removes both records together.

🟡 Finish Transfers / Quick Voting group four-digit counts — Fixed in 89cd2b5: every place whose Baseline was a locale-less String(format:) with an integer that can reach 1000 keeps its Baseline key inside String(format:). Swept all 54 moved integer keys: four places had no cap (%d still in progress, Finishing %1$d of %2$d…, Quick voting… %1$d of %2$d done, Unknown special type %d); their Baseline entries are back with all 43 locales and UngroupedCountTests lists them. The other five are bounded (countdowns from 10, a percentage, constants); localizedStringWithFormat places grouped at the Baseline already.

🟡 Release check misses manual or reactivated keys outside the key map — Fixed in 3c0819b: in both modes every entry kept under its Baseline key is compared with its Baseline translations whatever its extraction state; a loss outside the wording rows and the Unused entries is an unmapped finding (today: Setup Wallet). Tests for a manual and a reactivated key.

🟡 Slovenian few never sampled — Fixed in 54032b4: the counts reach every plural category an integer selects in the 43 locales — now 0, 1, 2, 4, 5, 21, 101, 1000000 (also Filipino other and the many of ca/es/fr/it/pt). A test asks Foundation which categories each locale's integers select and fails on a miss; another changes only the sl few form. Fixture regenerated.

🟡 Watch translation update fails release mode — Fixed in 8af4112: every release finding kind now has a stated rule for when it is acceptable and who decides (ZERO_LOSS_CHECK.md, «Judging a release finding»): watch when each change since the Baseline is a reviewed Watch translation update in its own commit that keeps keys and encoding; missing-key/unused/unmapped when a later PR deleted the text on purpose. The byte comparison stays.

💬 #bc-ignore! in localization comments — Fixed in e94f8d5 (with caa97f9, 1912c6d): no localization comment carries a BartyCrouch directive; nine Swift lookups and five Catalog comments now give translators context, and a test guards both. The #bc-ignore! fragments in two Uphold storyboards are interface text, not comments, and outside this PR.

Verification on the new head: zero-loss check pre-merge and --release PASS (0 findings), localization tool tests 222 OK, DashWalletTests 2893 tests with the one known local-runtime failure, Debug builds leave the Catalog unchanged.

🤖 Generated with Claude Code

romchornyi and others added 23 commits November 24, 2026 17:38
scripts/localization/generate_catalog.py reads the 43 Localizable.strings
and .stringsdict files at a git revision and writes Localizable.xcstrings
in the Xcode app's format (catalog_io.py + catalog_writer.swift), following
the pilot's plural rules. On e798ee8: 2709 entries, 43 locales, 62
counted phrases (49 plural variations, 13 substitutions), deterministic,
and xcstringstool compiles it without warnings.

SDD-Task: T2
SDD-AC: AC-06
SDD-AC: AC-07
SDD-AC: AC-18

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/localization/codemod rewrites NSLocalizedString("k", comment: "c")
to String(localized: "k", comment: "c") when the key is a literal without
format codes, keeping every byte of trivia and the literal token, and lists
what it leaves (non-literal key, unsupported argument, format code for T4).
swift-syntax is pinned to 603.0.2; built and tested on Xcode 27.2 only.
Dry run on DashWallet + DashWalletTests: 409 format-code places for T4,
1 non-literal key, deterministic.

SDD-Task: T3
SDD-AC: AC-08

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…erpolations

The codemod now turns String(format:) and localizedStringWithFormat around a
literal NSLocalizedString into an interpolated String(localized:), mapping
sequential and positional codes in text order and %% to %. Keys in the
--keep-literal-keys file keep their literal key and formatting call. Floats,
argument mismatches, unsupported specifiers and multi-line arguments are
listed, never guessed. Real dry run: 44 leftovers (was 410); a rerun on the
rewritten code changes nothing.

SDD-Task: T4
SDD-AC: AC-08

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/localization/places.py lists every code place that looks a text up
at the Baseline (git archive + xcstringstool extract: NSLocalizedString and
SwiftUI literals with a Baseline entry; Objective-C) and now (the build's
.stringsdata plus the legacy extraction of the working tree), pairs them by
file and ordinal, names files whose counts differ, and detects a stale build.
On the pilot tree vs e798ee8: 3917 Baseline places, the 3 hand-moved keys
pair to their derived keys; the 38 count mismatches are untranslated SwiftUI
literals (T11's set).

SDD-Task: T5
SDD-AC: AC-09
SDD-AC: AC-18

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… check

scripts/localization/foundation_format.py drives format.swift, which loads
each <locale>.lproj table through its own bundle and formats with
String(format:locale:arguments:), so every locale gets its own plural rules
and number formatting in one process (pilot Q-format). Samples are inferred
from the English codes. --self-test exits 2 when uk formats 2 and 5 with the
same plural form; forcing localizedStringWithFormat proves it does.
Test expectations for numbers >= 1000 follow Foundation's locale grouping
(1.001, 1,001, 1 001), as a phone shows them.

SDD-Task: T6
SDD-AC: AC-02
SDD-AC: AC-10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/localization/zero_loss_check.py follows contracts/cli.md: it pairs
every code place with its Baseline key (places.py), formats both sides per
locale with Foundation (foundation_format.py) and reports place, file-places,
missing-key, unused and watch findings, exit 0/1/2, offline. --write-key-map
writes the key map only on a pass. The formatter now returns a text without
arguments raw (a literal "50% since" is not a format) and turns a crashing
format into the sentinel ⟂format-crash instead of failing the run; a crash
on both sides counts as the same wording. A Baseline ja/tr translation of
"%d merchant(s) in %@" swaps its unnumbered codes and crashes Foundation.

SDD-Task: T7
SDD-AC: AC-04
SDD-AC: AC-06
SDD-AC: AC-09
SDD-AC: AC-10
SDD-AC: AC-14
SDD-AC: AC-15
SDD-AC: AC-18

Co-Authored-By: Claude Opus 5.5 <[email protected]>
--release checks the Catalog through the committed key map (Baseline key ->
current keys) instead of pairing code places, so later code changes do not
fail it; it needs no build, writes nothing, and still checks the key set,
Unused entries and Watch files. ADR-0007 (Proposed) amends ADR-0004 for
release runs; sad Flow 8, §9 and §11 and contracts/cli.md follow it.

SDD-Task: T8
SDD-AC: AC-10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/localization/move_entries.py pairs Baseline and current places,
moves each entry whose key the rewrite changed to the derived key in every
locale, and rewrites format codes by argument position (plural forms and
substitutions included, %n$ and %% kept, nothing invented). A multi-argument
Moved key's English value is written positional so Xcode's sync keeps it.
The old key is removed unless a place still uses it; a clash or a key shared
with Objective-C stops the run with nothing written. On the pilot it finds
exactly the 3 hand-moved keys and is a no-op on their already-moved Catalog.

SDD-Task: T9
SDD-AC: AC-06

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…alog sync phase

Project level: SWIFT_EMIT_LOC_STRINGS and LOCALIZATION_PREFERS_STRING_CATALOGS
on, and XCSTRINGS_LANGUAGES_TO_COMPILE lists the 22 locales the app ships
today. Both BartyCrouch phases and .bartycrouch.toml are gone. dashpay gets
a "Sync String Catalog" phase after compilation that runs
scripts/localization/sync_catalog.py: compiler .stringsdata plus a legacy
extraction of the target's Swift and Objective-C sources, xcstringstool sync,
then the Xcode app's serialization (ADR-0008); on the pilot data it writes the
same Catalog as the Xcode app. It skips itself when its inputs are unchanged
(0.1 s) and is a no-op until the Catalog exists. dashpay builds; the build
leaves the checkout clean.

SDD-Task: T10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
186 SwiftUI places the compiler extracted without a Baseline entry (137
literals, 49 interpolations; Storage Explorer, sync diagnostics, debug and
preview text) become Text(verbatim:) or take a String value, so they are not
Catalog entries (AC-06) and the Xcode app and the sync phase agree on them.
Numbers inside them use .formatted(), which gives the same grouped text as
before in en_US and uk_UA; no literal used Markdown. The 51 places with a
Baseline entry are unchanged. dashpay builds; the a11y audit passes.

SDD-Task: T11
SDD-AC: AC-06
SDD-AC: AC-13

Co-Authored-By: Claude Opus 5.5 <[email protected]>
scripts/ci/check_no_old_swift_lookup.py lists every line of Swift in
DashWallet/ and DashWalletTests/ that calls NSLocalizedString outside
comments and string literals and exits 1 on any; Objective-C and the Watch
app are not scanned. The unit-tests workflow runs its tests and the guard in
the membership job. It reports 3664 lines today and goes green when T13
finishes the Swift rewrite, inside the same pull request.

SDD-Task: T14
SDD-AC: AC-08
SDD-AC: AC-17

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…outine

.tx/config keeps only the Watch and App Store resources, so tx push/pull no
longer touches the main app's texts (Translation sync pause, nothing sent).
AGENTS.md, DEVELOPER-NOTES.md, README.md, ACCESSIBILITY.md, the design
system notes and the agent guides now describe the routine after the move:
String(localized:) in Swift, NSLocalizedString only in Objective-C, the
build's "Sync String Catalog" phase keeping Localizable.xcstrings in step,
22 shipped locales of 43, the CI guards, and the pause.

SDD-Task: T17
SDD-AC: AC-11
SDD-AC: AC-14

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ate.sh

Running the tools on the real code found three gaps. A lightweight
extraction cannot derive the keys of SwiftUI interpolations, so the
Baseline's Swift places now come from a dashpay build of the Baseline commit
(build_baseline.sh; zero_loss_check.py and move_entries.py take
--baseline-derived-data) plus the legacy NSLocalizedString extraction. A
Swift file the dashpay target does not compile gets a lightweight
String(localized:) extraction on the current side. The entry mover replaces
the English-only `new` entry the build's sync makes for a derived key.
regenerate.sh runs ADR-0006's steps (Baseline build, generate, project file
via catalog_project.py, codemod with Objective-C and colliding keys kept
literal, build, move, build); contracts/cli.md lists the new flag.

SDD-Task: T12
SDD-AC: AC-09
SDD-AC: AC-18

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Output of scripts/localization/regenerate.sh on the merge-base f6e507b
(ADR-0069): DashWallet/Localizable.xcstrings generated from the 43
Baseline text and plural lists, which are deleted; the project references the
Catalog; Swift lookups rewritten to String(localized:) by the codemod (keys
looked up from Objective-C and colliding keys kept literal); 85 Baseline
keys replaced by their derived keys; the Catalog as the second build's sync left it.
A third build leaves it unchanged. On a rebase this commit is dropped and
regenerate.sh is run again; hand fixes follow in their own commits (T13).

SDD-Task: T12
SDD-AC: AC-07
SDD-AC: AC-18

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rong type out of the check

A Baseline translation such as ja/tr "%@ で %d の加盟店" for "%d merchant(s) in %@"
reads its arguments in the wrong order, so Foundation formats undefined text and the
two sides can never compare. The check now judges the format codes against the sample
arguments: such a translation is a baseline defect, printed on a DEFECT line and left
out of both columns, not a finding. The rule looks at codes, never at keys, so the
check still has no list of accepted changes.

SDD-Task: T13
SDD-AC: AC-10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The defect rule read sample arguments with the check's own code pattern, which
takes "50% since" for a code, so prose percent signs looked like a wrong type.
It now uses the arguments format.swift inferred, and only when the formatter
crashed falls back to a pattern identical to format.swift's.

SDD-Task: T13
SDD-AC: AC-10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The 45 Swift calls the codemod could not rewrite (formatted keys outside a
formatting call, fixed-precision floats, multi-line and mismatched arguments,
one non-literal key in a test) now use String(localized:) with the same
literal key and comment and keep their formatting call. Without interpolation
String(localized:) returns the table text raw and keeps a .stringsdict plural
rule, so no key changes and no entry moves. No Swift code calls
NSLocalizedString any more.

SDD-Task: T13
SDD-AC: AC-08

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ranslations

Both translations put the distance before the count with unnumbered codes, so
Foundation read the count as an object and showed undefined text. Numbered codes
(%2$@ … %1$d) show the distance and the count. The zero-loss check reports these
Baseline translations as baseline defects.

SDD-Task: T13
SDD-AC: AC-01

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The pre-merge check passes on Baseline e798ee8 (0 findings, places == same
on all 43 locales, 4 baseline defects left out) and wrote the key map that
release mode reads. pr-notes.md records the hand-fix pattern and the one
intended wording change (ja/tr merchants).

SDD-Task: T13
SDD-AC: AC-09
SDD-AC: AC-10
SDD-AC: AC-12

Co-Authored-By: Claude Opus 5.5 <[email protected]>
… the Catalog

The audit resolved A11Y010 keys from en.lproj, which the move deleted, so the
check silently tested nothing, and it did not know String(localized:), so the
codemod's labels showed up as 32 false findings. It now reads the keys from
DashWallet/Localizable.xcstrings (an interpolated key matches its format
codes), counts String(localized: as localized, and stops when the Catalog is
missing. --check matches the merge-base: 582 findings, 0 new, 0 lost.

convert_strings_to_utf8.sh checks only the Catalog: strips a UTF-8 BOM,
refuses UTF-16, never touches WatchApp/. Both scripts get tests, run in CI.

SDD-Task: T15
SDD-AC: AC-16

Co-Authored-By: Claude Opus 5.5 <[email protected]>
After the rebase onto develop the check passes on the new merge-base
(3924 places, 0 findings); the key map's keys are unchanged, only its
baseline moves. The rebase routine now names --write-key-map.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…to the compiled Catalog

PluralFidelityTests formats every Baseline counted phrase in each of the 22
compiled locales for the counts 0, 1, 2, 5, 21, 101 from the app's compiled
Catalog, through String(localized:) where the code interpolates, and compares
it with BaselinePluralForms.json, written from the Baseline lists by the
zero-loss check's formatter (scripts/localization/baseline_plural_forms.py).
It also fails when a locale has plural variants its Baseline lacked. The
other 21 Catalog locales are covered by the zero-loss check.

CountedPhrasePluralTests and VotingListSectionTests read the derived keys;
the voting test accepts a single-form plural in the text table.

SDD-Task: T16
SDD-AC: AC-02
SDD-AC: AC-07

Co-Authored-By: Claude Opus 5.5 <[email protected]>
verification.md records the T19 measurements: incremental Debug build 4.6 s
on the branch against 21.2 s on the Baseline with BartyCrouch (medians of 3);
0 Catalog changes over 4 builds; Release text resources -1.5%; Catalog UTF-8
without BOM, Watch files unchanged; AC-03, AC-04, AC-14, AC-15 and the
zero-loss check's release mode pass.

A Release build marked "Amount too low" stale: its only lookup is in a
#Preview inside #if DEBUG, which Release does not compile. The sync phase
now runs only in Debug builds; other configurations compile the Catalog as
committed (owner decision, ADR-0008 amended). Two Xcode-app checks are left
for the owner, listed in verification.md.

SDD-Task: T19
SDD-AC: AC-03
SDD-AC: AC-04
SDD-AC: AC-05
SDD-AC: AC-14
SDD-AC: AC-15

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@romchornyi
romchornyi force-pushed the feat/string-catalogs-migration branch from f12f077 to af18f95 Compare November 25, 2026 09:54
@romchornyi

Copy link
Copy Markdown
Contributor Author

🟡 The zero-loss check can report an interrupted write while a Debug build is still publishing (zero_loss_check.py:596-607)

Fixed in 48c2c2a. The rule is now: a published file (the Catalog, the key map, the plural fixture) is judged missing only while the publishers' lock is held, and every publication holds that lock. There is one lock, catalog_io.folder_lock: an flock on the file's folder, taken in a fixed folder order. There is one reader, catalog_io.read_published, which reads the file and, if it is missing, calls refuse_leftover, both under that lock. Applied at:

  • zero_loss_check.py: the Catalog read in check_release, the Catalog and key map reads in pre-merge check, and load_key_map (release and the fixture writer). The wording check now compiles the Catalog bytes the run read, not the live file.
  • baseline_plural_forms.py: the fixture read.
  • catalog_io.publish_text: holds the lock of every file it publishes or watches (the key map and the fixture), so its own comparison of the watched Catalog also waits for a sync's publication.
  • sync_catalog.py: uses the same folder_lock for its whole run and calls publish_file directly, so no process takes the lock twice.

Tests check that both modes pass, rather than refuse, while another process holds the lock with the Catalog or key map moved aside, and that publish_text waits for that lock too. A structural test checks that neither tool reads these files except through read_published.

🤖 Generated with Claude Code

@thepastaclaw thepastaclaw 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.

Re-review — Final validation — Phase 1 + Phase 2

New on this head: This round adds a shared publication lock to the localization tools and makes both zero-loss modes compile the same Catalog bytes they parsed. The app code and shipped strings are unchanged. On the exact head, simulator tests, test-target membership, workflow lint, recovery, and accessibility checks passed; the review check is pending.

🟡 1 suggestion(s)

Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.

1 finding(s) not shown inline (GitHub refused the PR diff as too large)

🟡 Suggestion: Publication-wait tests can pass even when the reader does not take the lock
Impact: On a slow or cold runner, CI can miss a regression that lets the zero-loss check mistake an active publication for an interrupted write.
scripts/localization/tests/test_zero_loss_check.py:207-226

The new tests can pass without exercising the wait. The helper restores the file one second after starting its background thread, regardless of where the CLI is, and the pre-merge and release tests only assert exit zero. Both modes run the formatter self-test before reading the Catalog; on a cold pre-merge run that can include compiling the Swift helper. If the CLI reaches the read after the file has been restored, an unlocked reader passes too. The structural test does not check whether read_published actually locks. Add a focused test for catalog_io.read_published that synchronizes with the reader at lock acquisition while the file is still moved aside, then restores the file, releases the lock, and asserts that the reader returns the restored bytes.

source: gpt-6.2-sol (phase2-reviewer: general)

Review provenance

Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: general); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.2-sol (effort low) — The migration is large and cross-cutting, but it changes localized text, formatting, and build tooling rather than the wallet’s critical behavior.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (lane failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort high); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.

In `scripts/localization/tests/test_zero_loss_check.py`:
- [SUGGESTION] scripts/localization/tests/test_zero_loss_check.py:207-226: Publication-wait tests can pass even when the reader does not take the lock
  Impact: On a slow or cold runner, CI can miss a regression that lets the zero-loss check mistake an active publication for an interrupted write.
  The new tests can pass without exercising the wait. The helper restores the file one second after starting its background thread, regardless of where the CLI is, and the pre-merge and release tests only assert exit zero. Both modes run the formatter self-test before reading the Catalog; on a cold pre-merge run that can include compiling the Swift helper. If the CLI reaches the read after the file has been restored, an unlocked reader passes too. The structural test does not check whether `read_published` actually locks. Add a focused test for `catalog_io.read_published` that synchronizes with the reader at lock acquisition while the file is still moved aside, then restores the file, releases the lock, and asserts that the reader returns the restored bytes.

romchornyi and others added 2 commits November 25, 2026 12:56
The wait tests put the file back a second after start, so a reader that
reached the file later passed without the lock. The tests of
read_published and publish_text now let the caller reach the folder lock
while the file is moved aside, then restore it and release the lock, and
fail when the caller never takes that lock. The CLI tests stay as end to
end runs and say they do not prove the wait.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Catalog generator, the swift-syntax codemod, the entry mover, the
Catalog project helper and regenerate.sh, with their tests and
fixtures, were needed only to produce the move. The zero-loss check,
its formatter, the Baseline reader and the key map stay for the release
re-checks. A rebase drops this commit, reruns the routine and re-adds it.

The guard that no kept script or workflow runs a removed tool now
matches a run of the codemod too, and its docstring names what it
scans: Python imports under scripts/localization, shell scripts there,
and files under .github.

SDD-Task: T20
SDD-Task: T54
SDD-Task: T56
SDD-Task: T58
SDD-Task: T60
SDD-Task: T62
SDD-Task: T64
SDD-Task: T65
SDD-Task: T66
SDD-Task: T67
SDD-Task: T68
SDD-AC: AC-10

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@romchornyi
romchornyi force-pushed the feat/string-catalogs-migration branch from af18f95 to de1e31b Compare November 25, 2026 10:56
@romchornyi

Copy link
Copy Markdown
Contributor Author

🟡 Publication-wait tests can pass even when the reader does not take the lock (tests/test_zero_loss_check.py:207-226)

Fixed in 5caa953. The rule: a test of the wait proves that the caller takes the lock, so it cannot depend on when the caller happens to reach the file. Applied at:

  • test_catalog_io: a new test for read_published, and the publish_text (key map) test rewritten. The test holds the folder lock with the file moved aside and waits until the caller reaches flock on that folder. Only then does it restore the file and release the lock, and it asserts that the caller returns the restored bytes or writes the key map. Turning folder_lock into a no-op fails both tests, with the exact symptom the review described (a reported leftover, or "changed on disk").
  • test_zero_loss_check / test_zero_loss_release: the CLI tests remain as end-to-end runs. Their helper's docstring now says they do not prove the wait. The tests above prove it, together with the existing structural test that the tools read these files only through read_published.

🤖 Generated with Claude Code

@thepastaclaw thepastaclaw 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.

Re-review — Final validation — Phase 2 only (queue backlog)

New on this head: Since the last review, the String Catalog migration adds regression tests that check whether the Catalog reader and key-map publisher reach the directory lock; production code is unchanged. The exact-head simulator job, including the localization tool suite, and all other code checks passed; the review check is still pending. Release and TestFlight builds and Xcode running under another macOS language were not verified.

🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)

Review provenance

Source: reviewer 1: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.2-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)

  • Triage: normal by gpt-6.2-sol (effort low) — The migration is large and cross-cutting, but it changes localization lookups, resources, and build tooling rather than wallet transaction, key-handling, or storage-migration logic.
  • Phase 1 reviewers: not run (skipped for throughput: 14 PRs queued, above the 10 limit)
  • Fresh verifier: gpt-6.2-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.2-sol — general (completed, effort high); agent phase2-reviewer, gpt-6.2-sol — security-auditor (completed, effort high); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.

No unresolved findings remain from the prior review on this head.

@llbartekll llbartekll left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approved at de1e31b04.

What I looked at: the rewritten Swift lookups by sample (WalletSendService, AssetLockRecoveryService, SwiftDashSDKTransactionSender, DWDateFormatter), the project file (Catalog in all three resource phases, BartyCrouch phases replaced by "Sync String Catalog", extraction settings), the workflow changes and .tx/config. The interpolations match the old format calls argument for argument, the count places that must stay ungrouped keep String(format:), and the only NSLocalizedString left in app Swift is in commented-out code. All checks are green on this head.

I did not re-run the zero-loss check or build locally, and I did not read the 723k-line Catalog or the tool sources line by line; for the wording in 43 locales I rely on the zero-loss report and the plural-fidelity test in CI.

One thing to do before the next release build, not blocking: no Release/TestFlight build of this head exists yet, and those configurations compile the Catalog as committed with only the 22 listed locales. An internal-only TestFlight run after merge would close that.

ADR-0066–0073: fine by me as written.

@romchornyi
romchornyi merged commit 9625940 into develop Nov 25, 2026
8 checks passed
llbartekll added a commit that referenced this pull request Nov 25, 2026
develop moved the main app's texts to one String Catalog (#1455): the 43
Localizable.strings lists are gone and Swift looks texts up with
String(localized:).

- The deleted string lists stay deleted. The texts this branch added are in
  DashWallet/Localizable.xcstrings instead, written by the Debug build's
  "Sync String Catalog" phase: twelve new entries, and "Gift card amount is
  out of range" marked stale because nothing uses it here any more.
- The four gift card files both sides changed keep this branch's code; the
  lookups in them and in this branch's two new files are rewritten to
  String(localized:). Formatted texts keep their keys ("Pay %@", "%@ DASH",
  "The price is %@ higher than expected").

Co-Authored-By: Claude Fable 5.2 <[email protected]>
romchornyi added a commit that referenced this pull request Nov 25, 2026
…-0031-0052

develop took ADR-0066 to 0073 (String Catalog migration, #1455), so this
PR's ADR-0067 and ADR-0069 are renumbered to ADR-0074 and ADR-0075, with
the supersession links in 0031, 0052, the index and the App Connect README.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
llbartekll added a commit that referenced this pull request Nov 26, 2026
Scanning an app's login QR with the Home Scan shortcut said "Not a Dash QR
code". The Home scanner now recognizes a DashConnect code (`dash-key:`,
`dash-st:`, `dashpay://connect`) before the payment parse and opens the
Connections screen with it, as a scan.

- `DWQRScanModel` has an optional delegate method for a DashConnect code.
  Only Home implements it, so the lock screen and the Send scanners still
  say "Not a Dash QR code".
- `DashConnectDeepLink.uri(from:)` takes a string too, so links and the
  scanner share one scheme check.
- An approval with no return to ask about (a scanned code, or a link with
  no callback) ends with "Connected to <app>. Go back to your browser to
  continue."

Rewritten on develop: scan vs. link was already tracked there (#1278), and
the new string goes into the String Catalog (#1455).

Co-Authored-By: Claude Fable 5.2 <[email protected]>
llbartekll added a commit that referenced this pull request Nov 26, 2026
* fix(dashconnect): sign in to an app from the Home Scan shortcut

Scanning an app's login QR with the Home Scan shortcut said "Not a Dash QR
code". The Home scanner now recognizes a DashConnect code (`dash-key:`,
`dash-st:`, `dashpay://connect`) before the payment parse and opens the
Connections screen with it, as a scan.

- `DWQRScanModel` has an optional delegate method for a DashConnect code.
  Only Home implements it, so the lock screen and the Send scanners still
  say "Not a Dash QR code".
- `DashConnectDeepLink.uri(from:)` takes a string too, so links and the
  scanner share one scheme check.
- An approval with no return to ask about (a scanned code, or a link with
  no callback) ends with "Connected to <app>. Go back to your browser to
  continue."

Rewritten on develop: scan vs. link was already tracked there (#1278), and
the new string goes into the String Catalog (#1455).

Co-Authored-By: Claude Fable 5.2 <[email protected]>

* fix(dashconnect): show the "Connected to" message after the approve sheet has gone

The message was set while the approve sheet was still up, and the page's
alert cannot present over that sheet: UIKit dropped it ("Attempt to
present ... which is already presenting"), so an approved sign-in ended
with no message at all.

The view model now holds the message until the sheet reports that it has
gone (`approveSheetDismissed`), and drops a held message when another
request takes the sheet.

Found on the simulator against Yappr staging; the view-model tests could
not see it. They now assert that nothing is said before the sheet has gone.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

* fix(dashconnect): keep the new string where the catalog sync puts it

The Debug build's "Sync String Catalog" phase moved the "Connected to"
entry from before `Connections` to before `connecting`, so CI's
"Build must not modify the checkout" step failed. The entry is committed
in the synced position; a local Debug build now leaves the catalog as it is.

The no-callback approval test parses the same v2 request as the callback
one and leaves out only `cb`, instead of using a request with no App
Connect payload.

Co-Authored-By: Claude Fable 5.2 <[email protected]>

---------

Co-authored-by: Claude Fable 5.2 <[email protected]>
romchornyi added a commit that referenced this pull request Nov 27, 2026
develop moved the app's texts to one String Catalog (#1455): the per-locale
Localizable.strings edits of this branch are dropped, its Swift lookups use
String(localized:), and the Ukrainian Identity label fix moves into the Catalog.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
romchornyi added a commit that referenced this pull request Nov 27, 2026
Brings in develop through #1344's merge, with the String Catalog (#1455):
this branch keeps its Specify amount and caption logic, and its lookups
use String(localized:).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ross-dash added a commit that referenced this pull request Nov 28, 2026
…wiftui-rows

Keeps the deletion of AtmItemCell and MerchantItemCell, which develop only
touched for the String Catalog move (#1455), and looks up the rows' new
strings with String(localized:) as develop now requires.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ross-dash added a commit that referenced this pull request Nov 28, 2026
…nav-code

Keeps the deletion of the unreachable Coinbase screens, which develop only
touched for the String Catalog move (#1455).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
ross-dash added a commit that referenced this pull request Nov 28, 2026
…ase-convert

Keeps the deletion of the unreachable Coinbase screens, which develop only
touched for the String Catalog move (#1455).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

3 participants