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-ios
Commits
97b27716
Commit
97b27716
authored
Dec 13, 2018
by
Jose Blaya
Browse files
Update error message
parent
814a74d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
PIA VPN/AccountViewController.swift
View file @
97b27716
...
...
@@ -156,7 +156,7 @@ class AccountViewController: AutolayoutViewController {
}
weakSelf
.
textEmail
.
text
=
""
let
alert
=
Macros
.
alert
(
L10n
.
Global
.
error
,
error
?
.
localizedDescription
)
let
alert
=
Macros
.
alert
(
L10n
.
Global
.
error
,
L10n
.
Account
.
Error
.
unauthorized
)
alert
.
addCancelAction
(
L10n
.
Global
.
close
)
self
?
.
present
(
alert
,
animated
:
true
,
completion
:
nil
)
...
...
PIA VPN/SwiftGen+Strings.swift
View file @
97b27716
...
...
@@ -44,6 +44,10 @@ internal enum L10n {
/// Email address
internal
static
let
placeholder
=
L10n
.
tr
(
"Localizable"
,
"account.email.placeholder"
)
}
internal
enum
Error
{
/// Your username or password is incorrect.
internal
static
let
unauthorized
=
L10n
.
tr
(
"Localizable"
,
"account.error.unauthorized"
)
}
internal
enum
ExpiryDate
{
/// Your plan has expired.
internal
static
let
expired
=
L10n
.
tr
(
"Localizable"
,
"account.expiry_date.expired"
)
...
...
PIA VPN/en.lproj/Localizable.strings
View file @
97b27716
...
...
@@ -99,6 +99,7 @@
"account.update.email.require.password.title" = "PIA Password Required";
"account.update.email.require.password.message" = "For security reasons we require your PIA password to perform a change in your account. Please input your PIA password to proceed.";
"account.update.email.require.password.button" = "Submit";
"account.error.unauthorized" = "Your username or password is incorrect.";
// SETTINGS
...
...
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