Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
No bug: Add missing localization for test networks copy (#7647)
Browse files Browse the repository at this point in the history
Add localization for test networks section title
  • Loading branch information
StephenHeaps committed Jun 27, 2023
1 parent 2e0cfab commit 78cecc5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BraveWallet/Crypto/NetworkSelectionRootView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct NetworkSelectionRootView: View {
.listRowBackground(Color(.secondaryBraveGroupedBackground))
}
}, header: {
WalletListHeaderView(title: Text("Test Networks"))
WalletListHeaderView(title: Text(Strings.Wallet.networkSelectionTestNetworks))
})
}
}
Expand Down
7 changes: 7 additions & 0 deletions Sources/BraveWallet/WalletStrings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 78cecc5

Please sign in to comment.