Skip to content

Commit 3b0f64c

Browse files
committed
Fixes
1 parent bdb72e9 commit 3b0f64c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/VoucherCode.kt

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import arrow.core.raise.ensure
88
value class VoucherCode private constructor(val value: String) {
99

1010
companion object {
11-
// Parsing reference: docs/adr/0018-distinguish-voucher-codes-from-account-numbers.md
11+
// Parsing reference:
12+
// <services-repository>/services/docs/adr/0018-distinguish-voucher-codes-from-account-numbers.md
1213
fun fromString(value: String): Either<ParseVoucherCodeError, VoucherCode> = either {
1314
val trimmedValue = value.trim()
1415
ensure(trimmedValue.length >= MIN_VOUCHER_LENGTH) {

android/lib/resource/src/main/res/values/strings.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<string name="redeem">Redeem</string>
3434
<string name="invalid_voucher">Voucher code is invalid.</string>
3535
<string name="voucher_already_used">Voucher code has already been used.</string>
36-
<string name="voucher_is_account_number">It looks like you\’ve entered an account number instead of a voucher code. If you would like to change the active account, please log out first.</string>
36+
<string name="voucher_is_account_number">It looks like you’ve entered an account number instead of a voucher code. If you would like to change the active account, please log out first.</string>
3737
<string name="error_occurred">An error occurred.</string>
3838
<string name="settings">Settings</string>
3939
<string name="no_internet_connection">No internet connection</string>

gui/locales/messages.pot

+1-1
Original file line numberDiff line numberDiff line change
@@ -2321,7 +2321,7 @@ msgstr ""
23212321
msgid "Invalid or missing value \"%s\""
23222322
msgstr ""
23232323

2324-
msgid "It looks like you\\’ve entered an account number instead of a voucher code. If you would like to change the active account, please log out first."
2324+
msgid "It looks like you’ve entered an account number instead of a voucher code. If you would like to change the active account, please log out first."
23252325
msgstr ""
23262326

23272327
msgid "Lets you select apps that should access the Internet directly without going through the VPN tunnel."

0 commit comments

Comments
 (0)