From 78cecc544b239a6ce346634019ca166cd0e250df Mon Sep 17 00:00:00 2001 From: StephenHeaps <5314553+StephenHeaps@users.noreply.github.com> Date: Tue, 27 Jun 2023 11:58:01 -0400 Subject: [PATCH] No bug: Add missing localization for test networks copy (#7647) Add localization for test networks section title --- Sources/BraveWallet/Crypto/NetworkSelectionRootView.swift | 2 +- Sources/BraveWallet/WalletStrings.swift | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Sources/BraveWallet/Crypto/NetworkSelectionRootView.swift b/Sources/BraveWallet/Crypto/NetworkSelectionRootView.swift index 4ee1248719f..ff5e1b27921 100644 --- a/Sources/BraveWallet/Crypto/NetworkSelectionRootView.swift +++ b/Sources/BraveWallet/Crypto/NetworkSelectionRootView.swift @@ -53,7 +53,7 @@ struct NetworkSelectionRootView: View { .listRowBackground(Color(.secondaryBraveGroupedBackground)) } }, header: { - WalletListHeaderView(title: Text("Test Networks")) + WalletListHeaderView(title: Text(Strings.Wallet.networkSelectionTestNetworks)) }) } } diff --git a/Sources/BraveWallet/WalletStrings.swift b/Sources/BraveWallet/WalletStrings.swift index e4f3d54cbf2..b5b3091ebad 100644 --- a/Sources/BraveWallet/WalletStrings.swift +++ b/Sources/BraveWallet/WalletStrings.swift @@ -2829,6 +2829,13 @@ extension Strings { value: "Secondary Networks", comment: "The title of the section for secondary networks in the network selection view." ) + public static let networkSelectionTestNetworks = NSLocalizedString( + "wallet.networkSelectionTestNetworks", + tableName: "BraveWallet", + bundle: .module, + value: "Test Networks", + comment: "The title of the section for test networks in the network selection view." + ) public static let networkSelectionTestnetAccessibilityLabel = NSLocalizedString( "wallet.networkSelectionTestnetAccessibilityLabel", tableName: "BraveWallet",