Skip to content

Commit

Permalink
Rename and remove unused strings
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Jan 22, 2025
1 parent d1c2972 commit 0866bf1
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 72 deletions.
14 changes: 4 additions & 10 deletions lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "Diese Aktion erfordert die PIV PIN.",
"l_piv_pin_blocked": "Gesperrt, verwende die PUK zum Zurücksetzen",
"l_piv_pin_puk_blocked": "Gesperrt, Zurücksetzen auf Werkseinstellungen erforderlich",
"p_enter_new_piv_pin_puk": null,
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": null,
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": null,
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "Gebe eine neue {name} ein. Sie muss mindestens {length} Zeichen lang sein, mindestens 2 unterschiedliche Zeichen enthalten und darf keine gewöhnliche {name} wie z.B. \"{common}\" sein.",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": null,
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
14 changes: 4 additions & 10 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "The action you are about to perform requires the PIV PIN to be entered.",
"l_piv_pin_blocked": "Blocked, use PUK to reset",
"l_piv_pin_puk_blocked": "Blocked, factory reset needed",
"p_enter_new_piv_pin_puk": "Enter a new {name} to set.",
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": "A {name} must be at least {length} characters long.",
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": "A {name} must be at least {length} characters long.",
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "A {name} must be at least {length} characters long, contain at least 2 unique characters, and not be a commonly used {name}, like \"{common}\".",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": "A {name} must be at least {length} characters long, contain at least 2 unique characters, and not be a commonly used {name}, like \"{common}\".",
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
14 changes: 4 additions & 10 deletions lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "L'action que vous allez effectuer nécessite la saisie du PIN PIV.",
"l_piv_pin_blocked": "Bloqué, utilisez PUK pour réinitialiser",
"l_piv_pin_puk_blocked": "Bloqué, réinitialisation aux paramètres d'usine nécessaire",
"p_enter_new_piv_pin_puk": null,
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": null,
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": null,
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "Saisissez un nouveau {name} à définir. Il doit être composé d'au moins {length} caractères, contenir au moins 2 caractères uniques et ne pas être un {name}couramment utilisé, comme \"{common}\".",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": null,
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
14 changes: 4 additions & 10 deletions lib/l10n/app_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "実行しようとしているアクションでは、PIV PINを入力する必要があります。",
"l_piv_pin_blocked": "ブロックされています。リセットするにはPUKを使用してください",
"l_piv_pin_puk_blocked": "ブロックされています。工場出荷時の状態にリセットする必要があります",
"p_enter_new_piv_pin_puk": null,
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": null,
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": null,
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "設定する新しい {name} を入力する。少なくとも {length} 文字の長さで、少なくとも 2 つのユニークな文字を含み、\"{common}\"のような一般的に使用される {name}ではない必要があります。",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": null,
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
14 changes: 4 additions & 10 deletions lib/l10n/app_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "Działanie wymaga wpisania kodu PIN PIV.",
"l_piv_pin_blocked": "Zablokowano, użyj kodu PUK, aby zresetować",
"l_piv_pin_puk_blocked": "Zablokowano, zresetuj do ustawień fabrycznych",
"p_enter_new_piv_pin_puk": null,
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": null,
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": null,
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "Wprowadź nową nazwę {name} do ustawienia. Musi mieć co najmniej {length} znaków, zawierać co najmniej 2 unikalne znaki i nie może być powszechnie używanym {name}, takim jak \"{common}\".",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": null,
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
14 changes: 4 additions & 10 deletions lib/l10n/app_sk.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "Akcia, ktorú sa chystáte vykonať, vyžaduje zadanie kódu PIV PIN.",
"l_piv_pin_blocked": "Zablokované, na obnovenie použite PUK",
"l_piv_pin_puk_blocked": "Zablokované, je potrebné obnovenie výrobných nastavení",
"p_enter_new_piv_pin_puk": null,
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": null,
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": null,
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "Zadajte nový {name}, ktorý chcete nastaviť. Musí mať dĺžku aspoň {length} znakov, obsahovať aspoň 2 jedinečné znaky a nesmie to byť bežne používaný {name}, ako napríklad „{common}“.",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": null,
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
14 changes: 4 additions & 10 deletions lib/l10n/app_vi.arb
Original file line number Diff line number Diff line change
Expand Up @@ -336,21 +336,15 @@
"p_pin_required_desc": "Hành động bạn sắp thực hiện yêu cầu phải nhập Mã PIN PIV.",
"l_piv_pin_blocked": "Bị khóa, sử dụng PUK để khôi phục",
"l_piv_pin_puk_blocked": "Bị khóa, cần khôi phục cài đặt gốc",
"p_enter_new_piv_pin_puk": null,
"@p_enter_new_piv_pin_puk": {
"placeholders": {
"name": {}
}
},
"p_enter_new_piv_pin_puk_desc": null,
"@p_enter_new_piv_pin_puk_desc": {
"p_new_piv_pin_puk_requirements": null,
"@p_new_piv_pin_puk_requirements": {
"placeholders": {
"name": {},
"length": {}
}
},
"p_enter_new_piv_pin_puk_complexity_active": "Nhập một {name} mới để thiết lập. Phải có ít nhất {length} ký tự, chứa ít nhất 2 ký tự độc đáo, và không phải là {name} thường dùng, như \"{common}\".",
"@p_enter_new_piv_pin_puk_complexity_active": {
"p_new_piv_pin_puk_complexity_active_requirements": null,
"@p_new_piv_pin_puk_complexity_active_requirements": {
"placeholders": {
"name": {},
"length": {},
Expand Down
4 changes: 2 additions & 2 deletions lib/piv/views/manage_pin_puk_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,13 +261,13 @@ class _ManagePinPukDialogState extends ConsumerState<ManagePinPukDialog> {
decoration: AppInputDecoration(
border: const OutlineInputBorder(),
helperText: hasPinComplexity
? l10n.p_enter_new_piv_pin_puk_complexity_active(
? l10n.p_new_piv_pin_puk_complexity_active_requirements(
widget.target == ManageTarget.puk
? l10n.s_puk
: l10n.s_pin,
newMinPinLen,
'123456')
: l10n.p_enter_new_piv_pin_puk_desc(
: l10n.p_new_piv_pin_puk_requirements(
widget.target == ManageTarget.puk
? l10n.s_puk
: l10n.s_pin,
Expand Down

0 comments on commit 0866bf1

Please sign in to comment.