Skip to content

Commit

Permalink
🌐 (LekaApp): Add localization
Browse files Browse the repository at this point in the history
  • Loading branch information
HPezz authored and ladislas committed Feb 22, 2024
1 parent 6278264 commit a4ce389
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 4 deletions.
54 changes: 54 additions & 0 deletions Apps/LekaApp/Resources/Localizable.xcstrings
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -24,4 +24,4 @@ extension l10n {
}
}

// swiftlint:enable line_length
// swiftlint:enable line_length nesting

0 comments on commit a4ce389

Please sign in to comment.