Use new copy for donation receipt titles
"Gift" is now "Donation for a Friend".
This commit is contained in:
parent
b3136fb42c
commit
f4530c0438
@ -1939,8 +1939,8 @@
|
||||
/* Footer text at the bottom of donation receipts */
|
||||
"DONATION_RECEIPT_FOOTER" = "Thank you for supporting Signal. Your contribution helps fuel the mission of developing open source privacy technology that protects free expression and enables secure global communication for millions around the world. If you’re a resident of the United States, please retain this receipt for your tax records. Signal Technology Foundation is a tax-exempt nonprofit organization in the United States under section 501c3 of the Internal Revenue Code. Our Federal Tax ID is 82-4506840.";
|
||||
|
||||
/* Title for gift donation receipts */
|
||||
"DONATION_RECEIPT_GIFT" = "Gift";
|
||||
/* Title for receipts for donations given on a friend's behalf */
|
||||
"DONATION_RECEIPT_FOR_DONATION_ON_BEHALF_OF_A_FRIEND" = "Donation for a Friend";
|
||||
|
||||
/* Title for one-time donation receipts */
|
||||
"DONATION_RECEIPT_ONE_TIME" = "One-time";
|
||||
|
||||
@ -33,9 +33,21 @@ public final class DonationReceipt: NSObject, SDSCodableModel {
|
||||
|
||||
public var localizedName: String {
|
||||
switch receiptType {
|
||||
case .boost: return NSLocalizedString("DONATION_RECEIPT_ONE_TIME", comment: "Title for one-time donation receipts")
|
||||
case .subscription: return NSLocalizedString("DONATION_RECEIPT_RECURRING", comment: "Title for recurring donation receipts")
|
||||
case .gift: return NSLocalizedString("DONATION_RECEIPT_GIFT", comment: "Title for gift donation receipts")
|
||||
case .boost:
|
||||
return NSLocalizedString(
|
||||
"DONATION_RECEIPT_ONE_TIME",
|
||||
comment: "Title for one-time donation receipts"
|
||||
)
|
||||
case .subscription:
|
||||
return NSLocalizedString(
|
||||
"DONATION_RECEIPT_RECURRING",
|
||||
comment: "Title for recurring donation receipts"
|
||||
)
|
||||
case .gift:
|
||||
return NSLocalizedString(
|
||||
"DONATION_RECEIPT_FOR_DONATION_ON_BEHALF_OF_A_FRIEND",
|
||||
comment: "Title for receipts for donations given on a friend's behalf"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user