Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
liberty
tunnel
liberty-tunnel-client-library-apple
Commits
3b57db50
Commit
3b57db50
authored
May 09, 2018
by
Davide De Rosa
Browse files
Remove non-existing expired use-case
parent
947aef17
Changes
8
Hide whitespace changes
Inline
Side-by-side
PIALibrary/Resources/UI/iOS/UI.xcassets/image-redeem-expired.imageset/Contents.json
deleted
100644 → 0
View file @
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
PIALibrary/Resources/UI/iOS/UI.xcassets/image-redeem-expired.imageset/image-redeem-expired@2x.png
deleted
100644 → 0
View file @
947aef17
9.48 KB
PIALibrary/Resources/UI/iOS/UI.xcassets/image-redeem-expired.imageset/image-redeem-expired@3x.png
deleted
100644 → 0
View file @
947aef17
14 KB
PIALibrary/Resources/UI/iOS/en.lproj/Signup.strings
View file @
3b57db50
...
...
@@ -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";
...
...
PIALibrary/Sources/Library/ClientError.swift
View file @
3b57db50
...
...
@@ -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
...
...
PIALibrary/Sources/UI/iOS/SignupFailureViewController.swift
View file @
3b57db50
...
...
@@ -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
}
...
...
PIALibrary/Sources/UI/iOS/SwiftGen+Assets.swift
View file @
3b57db50
...
...
@@ -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
,
...
...
PIALibrary/Sources/UI/iOS/SwiftGen+Strings.swift
View file @
3b57db50
...
...
@@ -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"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment