Skip to content

Commit

Permalink
Fix l10n strings
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Feb 4, 2025
1 parent df5208e commit ecaeb38
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 10 deletions.
7 changes: 6 additions & 1 deletion lib/l10n/app_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@
"s_output_format": null,
"s_expiration_date": null,
"p_algorithm_desc": null,
"p_output_format_desc": null,
"p_expiration_date_desc": null,
"p_cert_options_desc": "Verwendeter Schlüssel-Algorithmus, Ausgabeformat und Ablaufdatum (nur bei Zertifikat).",
"p_cert_options_bio_desc": "Zu verwendender Schlüssel-Algorithmus, Ausgabeformat, Ablaufdatum (nur bei Zertifikaten) und ob Fingerabdrücke anstelle der PIN verwendet werden können.",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": null,
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "Anmeldedaten löschen",
Expand Down
11 changes: 8 additions & 3 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,11 @@
"l_authenticator_get_started": "Get started with OTP accounts",
"l_no_accounts_desc": "Add accounts to your YubiKey from any service provider supporting OATH TOTP/HOTP",
"s_add_account": "Add account",
"p_add_account_desc": "Scan QR code (recommended) or enter the credential details manually.",
"p_add_account_desc": "Scan QR code or enter the credential details manually.",
"s_add_accounts": "Add account(s)",
"p_add_description": "To scan a QR code, make sure the full code is visible on screen and press the button below. You can also drag a saved image from a folder onto this dialog. If you have the account credential details in writing, use the manual entry instead.",
"l_drop_qr_description": "Drop QR code to add account(s)",
"p_add_account_three_ways": "There's 3 ways of adding accounts.",
"p_add_account_three_ways": "There are three ways of adding accounts.",
"s_scanning": "Scanning (recommended)",
"p_scanning_desc": "Before scanning a QR code, make sure the full code is visible on screen.",
"s_drag_and_drop": "Drag and drop",
Expand Down Expand Up @@ -706,7 +706,6 @@
"s_output_format": "Output format",
"s_expiration_date": "Expiration date",
"p_algorithm_desc": "Key algorithm to use.",
"p_output_format_desc": "The public key can be:\n\t• Saved to file.\n\t• Embedded into a self-signed certificate stored on the YubiKey (default).\n\t• Saved to file in a certificate signing request (CSR).",
"p_expiration_date_desc": "Date when the certificate expires (default 1 year).",
"p_cert_options_desc": "Key algorithm to use, output format, and expiration date (certificate only).",
"p_cert_options_bio_desc": "Key algorithm to use, output format, expiration date (certificate only), and if biometrics can be used instead of PIN.",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": "Keyboard {layout}",
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "Delete credential",
Expand Down
7 changes: 6 additions & 1 deletion lib/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@
"s_output_format": null,
"s_expiration_date": null,
"p_algorithm_desc": null,
"p_output_format_desc": null,
"p_expiration_date_desc": null,
"p_cert_options_desc": "Algorithme clé à utiliser, format de sortie et date d'expiration (certificat uniquement).",
"p_cert_options_bio_desc": "Algorithme de clé à utiliser, format de sortie, date d'expiration (certificat uniquement) et possibilité d'utiliser des données biométriques à la place du code PIN.",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": null,
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "Supprimer les infos d'identification",
Expand Down
7 changes: 6 additions & 1 deletion lib/l10n/app_ja.arb
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@
"s_output_format": null,
"s_expiration_date": null,
"p_algorithm_desc": null,
"p_output_format_desc": null,
"p_expiration_date_desc": null,
"p_cert_options_desc": "使用する鍵アルゴリズム、出力形式、および有効期限(証明書のみ)。",
"p_cert_options_bio_desc": "使用する鍵アルゴリズム、出力フォーマット、有効期限 (証明書のみ)、PIN の代わりに生体認証を使用できるようにするかを設定します。",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": null,
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "認証情報を削除",
Expand Down
7 changes: 6 additions & 1 deletion lib/l10n/app_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@
"s_output_format": null,
"s_expiration_date": null,
"p_algorithm_desc": null,
"p_output_format_desc": null,
"p_expiration_date_desc": null,
"p_cert_options_desc": "Algorytm klucza do użycia, format wyjściowy i data wygaśnięcia (tylko certyfikat).",
"p_cert_options_bio_desc": "Używany algorytm klucza, format wyjściowy, data wygaśnięcia (tylko certyfikat) i czy zamiast kodu PIN można użyć danych biometrycznych.",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": null,
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "Usuń poświadczenie",
Expand Down
7 changes: 6 additions & 1 deletion lib/l10n/app_sk.arb
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@
"s_output_format": null,
"s_expiration_date": null,
"p_algorithm_desc": null,
"p_output_format_desc": null,
"p_expiration_date_desc": null,
"p_cert_options_desc": "Algoritmus kľúča, ktorý sa má použiť, formát výstupu a dátum platnosti (len certifikát).",
"p_cert_options_bio_desc": "Algoritmus kľúča, ktorý sa má použiť, formát výstupu, dátum vypršania platnosti (len certifikát) a či sa namiesto PIN kódu môžu použiť biometrické údaje.",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": null,
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "Odstrániť poverenie",
Expand Down
7 changes: 6 additions & 1 deletion lib/l10n/app_vi.arb
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,6 @@
"s_output_format": null,
"s_expiration_date": null,
"p_algorithm_desc": null,
"p_output_format_desc": null,
"p_expiration_date_desc": null,
"p_cert_options_desc": "Thuật toán khóa để sử dụng, định dạng đầu ra và ngày hết hạn (chứng chỉ chỉ).",
"p_cert_options_bio_desc": "Thuật toán khóa để sử dụng, định dạng đầu ra, ngày hết hạn (chứng chỉ chỉ) và nếu sinh trắc học có thể được sử dụng thay cho PIN.",
Expand Down Expand Up @@ -764,6 +763,12 @@
"url": {}
}
},
"l_keyboard_layout": null,
"@_keyboard_layout": {
"placeholder": {
"layout": {}
}
},

"@_otp_slot_actions": {},
"s_delete_slot": "Xóa thông tin xác thực",
Expand Down
3 changes: 2 additions & 1 deletion lib/otp/views/configure_static_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,8 @@ class _ConfigureStaticDialogState extends ConsumerState<ConfigureStaticDialog> {
items: widget.keyboardLayouts.keys.toList(),
value: _keyboardLayout,
selected: _keyboardLayout != _defaultKeyboardLayout,
labelBuilder: (value) => Text('Keyboard $value'),
labelBuilder: (value) =>
Text(l10n.l_keyboard_layout(value)),
itemBuilder: (value) => Text(value),
onChanged: (layout) {
setState(() {
Expand Down

0 comments on commit ecaeb38

Please sign in to comment.