From a4ce389d2fe4b5b0dd5b5b4bd7510a809e647d83 Mon Sep 17 00:00:00 2001 From: Hugo Pezziardi Date: Thu, 22 Feb 2024 11:34:25 +0100 Subject: [PATCH] :globe_with_meridians: (LekaApp): Add localization --- Apps/LekaApp/Resources/Localizable.xcstrings | 54 +++++++++++++++++++ .../AccountCreationView+l10n.swift | 8 +-- 2 files changed, 58 insertions(+), 4 deletions(-) diff --git a/Apps/LekaApp/Resources/Localizable.xcstrings b/Apps/LekaApp/Resources/Localizable.xcstrings index ffbf785f4b..500b4573c1 100644 --- a/Apps/LekaApp/Resources/Localizable.xcstrings +++ b/Apps/LekaApp/Resources/Localizable.xcstrings @@ -470,6 +470,60 @@ } } }, + "lekaapp.account_creation_view.email_verification_alert.dismissButton": { + "comment": "Email verification alert dismiss button", + "extractionState": "extracted_with_value", + "localizations": { + "en": { + "stringUnit": { + "state": "new", + "value": "OK" + } + }, + "fr": { + "stringUnit": { + "state": "translated", + "value": "OK" + } + } + } + }, + "lekaapp.account_creation_view.email_verification_alert.message": { + "comment": "Email verification alert message", + "extractionState": "extracted_with_value", + "localizations": { + "en": { + "stringUnit": { + "state": "new", + "value": "An email has been sent to the address provided. Please click on the link to confirm your email address." + } + }, + "fr": { + "stringUnit": { + "state": "translated", + "value": "Un email a \u00e9t\u00e9 envoy\u00e9 \u00e0 l'adresse indiqu\u00e9e. Veuillez cliquer sur le lien pour confirmer votre adresse e-mail." + } + } + } + }, + "lekaapp.account_creation_view.email_verification_alert.title": { + "comment": "Email verification alert title", + "extractionState": "extracted_with_value", + "localizations": { + "en": { + "stringUnit": { + "state": "new", + "value": "Confirm your email address" + } + }, + "fr": { + "stringUnit": { + "state": "translated", + "value": "Confirmez votre adresse email" + } + } + } + }, "lekaapp.account_creation_view.navigation_title": { "comment": "NavigationBar title on the whole Signup process", "extractionState": "extracted_with_value", diff --git a/Apps/LekaApp/Sources/_NEWCodeBase/Views/AccountCreation/AccountCreationView+l10n.swift b/Apps/LekaApp/Sources/_NEWCodeBase/Views/AccountCreation/AccountCreationView+l10n.swift index 7b3cc76ad7..99cb19946e 100644 --- a/Apps/LekaApp/Sources/_NEWCodeBase/Views/AccountCreation/AccountCreationView+l10n.swift +++ b/Apps/LekaApp/Sources/_NEWCodeBase/Views/AccountCreation/AccountCreationView+l10n.swift @@ -4,15 +4,15 @@ import LocalizationKit -// swiftlint:disable line_length +// swiftlint:disable line_length nesting extension l10n { enum AccountCreationView { enum EmailVerificationAlert { - static let title = LocalizedString("lekaapp.account_creation_view.email_verification_alert.title", value: "Verify your email adress", comment: "Email verification alert title") + static let title = LocalizedString("lekaapp.account_creation_view.email_verification_alert.title", value: "Confirm your email address", comment: "Email verification alert title") static let message = LocalizedString("lekaapp.account_creation_view.email_verification_alert.message", - value: "A verification email has just been sent to you ! Please verify", + value: "An email has been sent to the address provided. Please click on the link to confirm your email address.", comment: "Email verification alert message") static let dismissButton = LocalizedString("lekaapp.account_creation_view.email_verification_alert.dismissButton", value: "OK", comment: "Email verification alert dismiss button") @@ -24,4 +24,4 @@ extension l10n { } } -// swiftlint:enable line_length +// swiftlint:enable line_length nesting