mirror of
https://github.com/wekan/wekan.git
synced 2026-11-05 01:20:07 -05:00
Repair Tamazight password confirmation and recovery messages
Replace French password confirmation and forgotten-password labels with native MediaWiki wording. Compose the username/password-required error from attested obligation and credential terms; the complete composition is low confidence pending fluent review. Preserve existing correct translations, key order and placeholders. All 17303 correction/rendering checks pass. Thanks to xet7 !
This commit is contained in:
1 parent
3589309a39
commit
e335ef034a
3 files changed
+28
-3
No files matched your search
@@ -2072,10 +2072,10 @@
|
||||
"remaining_time": "Temps restant",
|
||||
"speed": "Vitesse",
|
||||
"progress": "Avancement",
|
||||
"password-again": "Mot de passe (à nouveau)",
|
||||
"password-again": "ⵙⵍⴽⵏ ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ",
|
||||
"if-you-already-have-an-account": "Si vous avez déjà un compte",
|
||||
"register": "S'enregistrer",
|
||||
"forgot-password": "Mot de passe oublié",
|
||||
"forgot-password": "ⵜⴻⵜⵜⵓⴷ ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ ⵏⵏⵎ/ⴽ?",
|
||||
"minicardDetailsActionsPopup-title": "نقاصيل البطاقة",
|
||||
"Mongo_sessions_count": "Nombre de sessions Mongo",
|
||||
"change-visibility": "تعديل وضوح الرؤية",
|
||||
@@ -2588,7 +2588,7 @@
|
||||
"account-locked": "Le compte est temporairement verrouillé en raison de trop de tentatives de connexion échouées. Veuillez réessayer plus tard.",
|
||||
"otp-required": "Code OTP requis",
|
||||
"invalid-credentials": "Nom d'utilisateur ou mot de passe invalide",
|
||||
"username-password-required": "Nom d'utilisateur et mot de passe requis",
|
||||
"username-password-required": "ⵉⵍⵍⴰ ⴼⵍⵍⴰⴽ ⴰⴷ ⵜⴼⴽⴷ ⵉⵙⵎ ⵏ ⵓⵏⵙⵙⵎⵔⵙ ⴷ ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ",
|
||||
"password-mismatch": "ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ ⵏⵏⴰ ⵜⵙⴽⵛⵎⴷ ⵓⵔ ⵜⵎⵙⴰⵙⴰ",
|
||||
"username-too-short": "Le nom d'utilisateur doit comporter au moins 3 caractères",
|
||||
"user-exists": "ⴰⵏⵙⵙⵎⵔⵙ ⵉⵍⵍⴰ ⵢⴰⴷ",
|
||||
|
||||
@@ -121098,5 +121098,26 @@
|
||||
"before": "Cet utilisateur n'a pas encore été créé",
|
||||
"after": "ⴰⵏⵙⵙⵎⵔⵙ ⴰⴷ ⵓⵔ ⵉⵜⵜⵡⴰⵙⵏⴼⵍⵓⵍ",
|
||||
"reason": "Replace French with a direct native composition. MediaWiki nocookiesfornew attests the negative passive creation clause; login-userblocked attests the user noun with ad (this). Preserve not-created semantics separately from nonexistent and duplicate-user errors. Do not import cookie-specific reasons or browser instructions. LOW CONFIDENCE: changing the subject from account to this user requires fluent review of the complete sentence. Reference: https://raw.githubusercontent.com/wikimedia/mediawiki/master/languages/i18n/zgh.json ."
|
||||
},
|
||||
{
|
||||
"locale": "zgh",
|
||||
"key": "password-again",
|
||||
"before": "Mot de passe (à nouveau)",
|
||||
"after": "ⵙⵍⴽⵏ ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ",
|
||||
"reason": "Direct native MediaWiki createacct-yourpasswordagain (Confirm password) label for the repeated-password field; preserves confirmation purpose. Reference: https://raw.githubusercontent.com/wikimedia/mediawiki/master/languages/i18n/zgh.json"
|
||||
},
|
||||
{
|
||||
"locale": "zgh",
|
||||
"key": "forgot-password",
|
||||
"before": "Mot de passe oublié",
|
||||
"after": "ⵜⴻⵜⵜⵓⴷ ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ ⵏⵏⵎ/ⴽ?",
|
||||
"reason": "Direct native MediaWiki userlogin-resetpassword-link (Forgot your password?) wording for the recovery link; retains its native gender-inclusive possessive and question punctuation. Reference: https://raw.githubusercontent.com/wikimedia/mediawiki/master/languages/i18n/zgh.json"
|
||||
},
|
||||
{
|
||||
"locale": "zgh",
|
||||
"key": "username-password-required",
|
||||
"before": "Nom d'utilisateur et mot de passe requis",
|
||||
"after": "ⵉⵍⵍⴰ ⴼⵍⵍⴰⴽ ⴰⴷ ⵜⴼⴽⴷ ⵉⵙⵎ ⵏ ⵓⵏⵙⵙⵎⵔⵙ ⴷ ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ",
|
||||
"reason": "LOW CONFIDENCE composed username/password-required message: adapts the native noemailcreate obligation-to-provide clause with userlogin-yourname and userlogin-yourpassword nouns, joined with native and (ⴷ). Removes email-specific validity qualifier; adds no failure reason. Complete clause/object coordination needs fluent review. Reference: https://raw.githubusercontent.com/wikimedia/mediawiki/master/languages/i18n/zgh.json"
|
||||
}
|
||||
]
|
||||
@@ -31,6 +31,10 @@ const tokens = value => [...value.matchAll(/__[A-Za-z0-9]+(?:_[A-Za-z0-9]+)*__|%
|
||||
assert.deepEqual(Object.keys(data), Object.keys(english), locale);
|
||||
assert.equal(repairLocale(locale, data).changed, 0, 'idempotent after correction');
|
||||
}
|
||||
for (const key of ['password-again', 'forgot-password', 'username-password-required']) {
|
||||
assert.doesNotMatch(cache.zgh[key], /Mot de passe|Nom d.utilisateur|requis/);
|
||||
assert.match(cache.zgh[key], /ⵜⴰⴳⵓⵔⵉ ⵏ ⵓⵣⵔⴰⵢ/);
|
||||
}
|
||||
// Exact native UI references replace French without normalizing valid Latin-script Tamazight.
|
||||
assert.equal(cache.zgh.help, 'ⵜⵉⵡⵉⵙⵉ');
|
||||
assert.equal(cache.zgh.next, 'ⵉⵏⴹⴼⵔ');
|
||||
|
||||
Reference in new issue
Block a user