From 3b0f64cc2e7e428b288b8a8bc5fbe24725f2bd4e Mon Sep 17 00:00:00 2001 From: Jonatan Rhodin Date: Tue, 20 Aug 2024 11:06:42 +0200 Subject: [PATCH] Fixes --- .../kotlin/net/mullvad/mullvadvpn/lib/model/VoucherCode.kt | 3 ++- android/lib/resource/src/main/res/values/strings.xml | 2 +- gui/locales/messages.pot | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/VoucherCode.kt b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/VoucherCode.kt index aa713e5bab4d..9790096d5512 100644 --- a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/VoucherCode.kt +++ b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/lib/model/VoucherCode.kt @@ -8,7 +8,8 @@ import arrow.core.raise.ensure value class VoucherCode private constructor(val value: String) { companion object { - // Parsing reference: docs/adr/0018-distinguish-voucher-codes-from-account-numbers.md + // Parsing reference: + // /services/docs/adr/0018-distinguish-voucher-codes-from-account-numbers.md fun fromString(value: String): Either = either { val trimmedValue = value.trim() ensure(trimmedValue.length >= MIN_VOUCHER_LENGTH) { diff --git a/android/lib/resource/src/main/res/values/strings.xml b/android/lib/resource/src/main/res/values/strings.xml index edf77bfd66f4..99dfac7b3aac 100644 --- a/android/lib/resource/src/main/res/values/strings.xml +++ b/android/lib/resource/src/main/res/values/strings.xml @@ -33,7 +33,7 @@ Redeem Voucher code is invalid. Voucher code has already been used. - 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. + 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. An error occurred. Settings No internet connection diff --git a/gui/locales/messages.pot b/gui/locales/messages.pot index 37b2e889006d..5bd657f5cdc5 100644 --- a/gui/locales/messages.pot +++ b/gui/locales/messages.pot @@ -2321,7 +2321,7 @@ msgstr "" msgid "Invalid or missing value \"%s\"" msgstr "" -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." +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." msgstr "" msgid "Lets you select apps that should access the Internet directly without going through the VPN tunnel."