Update copy for gift badges on donation settings screen

"Gift a Badge" is now "Donate for a Friend".
This commit is contained in:
Evan Hahn 2023-01-11 10:00:24 -06:00
parent 46b4cb7fae
commit 3c4aa01ebd
No known key found for this signature in database
2 changed files with 11 additions and 5 deletions

View File

@ -390,8 +390,14 @@ class DonationSettingsViewController: OWSTableViewController2 {
section.add(.disclosureItem(
icon: .settingsGift,
name: NSLocalizedString("DONATION_VIEW_GIFT", comment: "Title for the 'Gift a Badge' link in the donation view"),
accessibilityIdentifier: UIView.accessibilityIdentifier(in: self, name: "giftBadge"),
name: NSLocalizedString(
"DONATION_VIEW_DONATE_ON_BEHALF_OF_A_FRIEND",
comment: "Title for the \"donate for a friend\" button on the donation view."
),
accessibilityIdentifier: UIView.accessibilityIdentifier(
in: self,
name: "donationOnBehalfOfAFriend"
),
actionBlock: { [weak self] in
guard let self = self else { return }

View File

@ -1972,12 +1972,12 @@
/* On donation screens, a small amount of information text is shown. This is the title for that text. */
"DONATION_SCREENS_HEADER_TITLE" = "Privacy over profit";
/* Title for the \"donate for a friend\" button on the donation view. */
"DONATION_VIEW_DONATE_ON_BEHALF_OF_A_FRIEND" = "Donate for a Friend";
/* Text describing to the user that they're going to pay a donation to Signal */
"DONATION_VIEW_DONATION_TO_SIGNAL" = "Donation to Signal";
/* Title for the 'Gift a Badge' link in the donation view */
"DONATION_VIEW_GIFT" = "Gift a Badge";
/* Text that's shown when the donation view fails to load data, probably due to network failure */
"DONATION_VIEW_LOAD_FAILED" = "Network error. Check your connection and try again.";