mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-06 01:18:11 +00:00
ios, android: don't promise a purchase that may not exist
This commit is contained in:
@@ -2240,7 +2240,7 @@ func redeemErrorText(_ error: Error, purchase: Bool) -> String {
|
||||
: NSLocalizedString("This app version cannot redeem badge codes.", comment: "alert message")
|
||||
case .badgeActive:
|
||||
return purchase
|
||||
? NSLocalizedString("This profile already has a badge. The purchase will be added when this badge ends.", comment: "alert message")
|
||||
? NSLocalizedString("This profile already has a badge.", comment: "alert message")
|
||||
: NSLocalizedString("This profile already has a badge. Redeem the code on another profile, or once this badge ends.", comment: "alert message")
|
||||
case let .serviceError(code): if let text = badgeServiceErrorText(code) { return text }
|
||||
case let .invalidResponse(message):
|
||||
|
||||
@@ -3213,7 +3213,7 @@
|
||||
<string name="badges_error_service_not_configured">This app version cannot redeem badge codes.</string>
|
||||
<string name="badges_error_service_not_configured_purchase">This app version cannot buy badges.</string>
|
||||
<string name="badges_error_already_active">This profile already has a badge. Redeem the code on another profile, or once this badge ends.</string>
|
||||
<string name="badges_error_already_active_purchase">This profile already has a badge. The purchase will be added when this badge ends.</string>
|
||||
<string name="badges_error_already_active_purchase">This profile already has a badge.</string>
|
||||
<string name="badges_error_code_invalid">This code was not recognized.</string>
|
||||
<string name="badges_error_code_used">This code has already been used.</string>
|
||||
<string name="badges_error_code_expired">This code has expired.</string>
|
||||
|
||||
Reference in New Issue
Block a user