Commit 3b57db50 authored by Davide De Rosa's avatar Davide De Rosa
Browse files

Remove non-existing expired use-case

parent 947aef17
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "image-redeem-expired@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "image-redeem-expired@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -25,8 +25,6 @@
"failure.redeem.invalid.message" = "Looks like you entered an invalid card PIN. Please try again.";
"failure.redeem.claimed.title" = "Card claimed already";
"failure.redeem.claimed.message" = "Looks like this card has already been claimed by another account. You can try entering a different PIN.";
"failure.redeem.expired.title" = "Card expired";
"failure.redeem.expired.message" = "Looks like this card has expired. You can try entering a different PIN.";
"failure.submit" = "GO BACK";
"unreachable.vc_title" = "Error";
......
......@@ -51,9 +51,6 @@ public enum ClientError: String, Error {
/// The redeem code was claimed already.
case redeemClaimed
/// The redeem code has expired.
case redeemExpired
/// Trial accounts are not renewable.
case renewingTrial
......
......@@ -45,13 +45,6 @@ class SignupFailureViewController: AutolayoutViewController {
labelMessage.text = L10n.Signup.Failure.Redeem.Claimed.message
break
case .redeemExpired:
title = L10n.Welcome.Redeem.title
imvPicture.image = Asset.imageRedeemExpired.image
labelTitle.text = L10n.Signup.Failure.Redeem.Expired.title
labelMessage.text = L10n.Signup.Failure.Redeem.Expired.message
break
default:
break
}
......
......@@ -49,7 +49,6 @@ enum Asset {
static let imagePurchaseSuccess = ImageAsset(name: "image-purchase-success")
static let imageReceiptBackground = ImageAsset(name: "image-receipt-background")
static let imageRedeemClaimed = ImageAsset(name: "image-redeem-claimed")
static let imageRedeemExpired = ImageAsset(name: "image-redeem-expired")
static let imageRedeemInvalid = ImageAsset(name: "image-redeem-invalid")
static let imageRedeemSuccess = ImageAsset(name: "image-redeem-success")
static let navLogo = ImageAsset(name: "nav-logo")
......@@ -63,7 +62,6 @@ enum Asset {
imagePurchaseSuccess,
imageReceiptBackground,
imageRedeemClaimed,
imageRedeemExpired,
imageRedeemInvalid,
imageRedeemSuccess,
navLogo,
......
......@@ -197,13 +197,6 @@ enum L10n {
static let title = L10n.tr("Signup", "failure.redeem.claimed.title")
}
enum Expired {
/// Looks like this card has expired. You can try entering a different PIN.
static let message = L10n.tr("Signup", "failure.redeem.expired.message")
/// Card expired
static let title = L10n.tr("Signup", "failure.redeem.expired.title")
}
enum Invalid {
/// Looks like you entered an invalid card PIN. Please try again.
static let message = L10n.tr("Signup", "failure.redeem.invalid.message")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment