Skip to content

Commit

Permalink
Localize
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-milicevic committed Apr 24, 2023
1 parent 1d46f46 commit 383a7b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Core/FeaturePrelude/AddressView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ extension AddressView {

private func copyToPasteboard() {
pasteboardClient.copyString(address)
Task { await bannerClient.presentBanner("Copied!") }
Task { await bannerClient.presentBanner(L10n.Common.copied) }
}

private func viewOnRadixDashboard() {
Expand Down
2 changes: 2 additions & 0 deletions Sources/Core/Resources/Generated/L10n.generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ public enum L10n {
public static let title = L10n.tr("Localizable", "authorizedDapps.title", fallback: "Authorized dApps")
}
public enum Common {
/// Copied
public static let copied = L10n.tr("Localizable", "common.copied", fallback: "Copied")
public enum Account {
/// Account
public static let kind = L10n.tr("Localizable", "common.account.kind", fallback: "Account")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

"common.account.kind" = "Account";
"common.persona.kind" = "Persona";
"common.copied" = "Copied";

"createEntity.introduction.button.continue" = "Continue";
"createEntity.introduction.persona.title" = "Create a Persona";
Expand Down

0 comments on commit 383a7b9

Please sign in to comment.