Skip to content

Commit

Permalink
Fix FXIOS-9950 - Change string for address update toast (#21857)
Browse files Browse the repository at this point in the history
* fix: use address saved string for update as well

* fix: keep both update and save for l10n in other languages

* fix: prefix string with v2
  • Loading branch information
issammani authored Sep 17, 2024
1 parent 6b4c366 commit 3c9362c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ enum AddressModifiedStatus {
var message: String {
switch self {
case .saved: return .Addresses.Settings.Edit.AddressSavedConfirmation
case .updated: return .Addresses.Settings.Edit.AddressUpdatedConfirmation
case .updated: return .Addresses.Settings.Edit.AddressUpdatedConfirmationV2
case .removed: return .Addresses.Settings.Edit.AddressRemovedConfirmation
case .error(let type): return type.message
}
Expand Down
6 changes: 6 additions & 0 deletions firefox-ios/Client/Frontend/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,12 @@ extension String {
tableName: "EditAddress",
value: "Address Information Updated",
comment: "Toast message confirming that an address has been successfully updated."
)
public static let AddressUpdatedConfirmationV2 = MZLocalizedString(
key: "Addresses.Toast.AddressUpdatedConfirmation.v132.v2",
tableName: "EditAddress",
value: "Address Saved",
comment: "Toast message confirming that an address has been successfully updated."
)
public static let RemoveAddressTitle = MZLocalizedString(
key: "Addresses.EditAddress.Alert.Title.v129",
Expand Down

0 comments on commit 3c9362c

Please sign in to comment.