-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌐 (AccountKit): Add SignOut localization and fixup previous
- Loading branch information
Showing
6 changed files
with
96 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,78 @@ | ||
{ | ||
"version": "1.0", | ||
"sourceLanguage": "en", | ||
"strings": { | ||
"accountkit.auth_manager.signup_failed_error": { | ||
"comment": "Sign-up failure error message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "Sign-up failed. Please try again later." | ||
} | ||
}, | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "L'inscription a \u00e9chou\u00e9. Veuillez r\u00e9essayer plus tard." | ||
} | ||
} | ||
} | ||
"sourceLanguage": "en", | ||
"strings": { | ||
"accountkit.auth_manager_view_model.verification_email_success_notification": { | ||
"comment": "Verification email success notification message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "Verification email sent. Please check your inbox." | ||
} | ||
}, | ||
"accountkit.auth_manager.verification_email_failed_error": { | ||
"comment": "Verification email failure error message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "There was an error sending the verification email. Please try again later." | ||
} | ||
}, | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "Une erreur s'est produite lors de l'envoi de l'e-mail de v\u00e9rification. Veuillez r\u00e9essayer plus tard." | ||
} | ||
} | ||
} | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "L'email de vérification a été envoyé. Veuillez vérifier votre boîte de réception." | ||
} | ||
} | ||
} | ||
}, | ||
"accountkit.auth_manager.signup_failed_error": { | ||
"comment": "Sign-up failure error message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "Sign-up failed. Please try again later." | ||
} | ||
}, | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "L'inscription a échoué. Veuillez réessayer plus tard." | ||
} | ||
} | ||
} | ||
}, | ||
"accountkit.auth_manager.verification_email_failed_error": { | ||
"comment": "Verification email failure error message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "There was an error sending the verification email. Please try again later." | ||
} | ||
}, | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "Une erreur s'est produite lors de l'envoi de l'e-mail de vérification. Veuillez réessayer plus tard." | ||
} | ||
} | ||
} | ||
}, | ||
"accountkit.auth_manager.signout_failed_error": { | ||
"comment": "Sign-out failure error message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "Failed to sign out. Please try again." | ||
} | ||
}, | ||
"accountkit.auth_manager_view_model.verification_email_success_notification": { | ||
"comment": "Verification email success notification message", | ||
"extractionState": "extracted_with_value", | ||
"localizations": { | ||
"en": { | ||
"stringUnit": { | ||
"state": "new", | ||
"value": "Verification email sent. Please check your inbox." | ||
} | ||
}, | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "L'email de v\u00e9rification a \u00e9t\u00e9 envoy\u00e9. Veuillez v\u00e9rifier votre bo\u00eete de r\u00e9ception." | ||
} | ||
} | ||
} | ||
"fr": { | ||
"stringUnit": { | ||
"state": "translated", | ||
"value": "La déconnexion a échoué. Veuillez réessayer." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"version": "1.0" | ||
} |
15 changes: 0 additions & 15 deletions
15
Modules/AccountKit/Sources/Authentication/AccountManagerViewModel+l10n.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
Modules/AccountKit/Sources/Authentication/AuthManagerViewModel+l10n.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Leka - iOS Monorepo | ||
// Copyright APF France handicap | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
import LocalizationKit | ||
|
||
// swiftlint:disable line_length | ||
|
||
extension l10n { | ||
enum AuthManagerViewModel { | ||
static let successfulEmailVerification = LocalizedString("accountkit.auth_manager_view_model.verification_email_success_notification", value: "Verification email sent. Please check your inbox.", comment: "Verification email success notification message") | ||
} | ||
} | ||
|
||
// swiftlint:enable line_length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters