mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Add alternativeTitle
to PasskeysScreen
This commit is contained in:
parent
5e91579460
commit
832051932c
@ -295,6 +295,7 @@ class _FidoUnlockedPageState extends ConsumerState<_FidoUnlockedPage> {
|
||||
}
|
||||
|
||||
final credential = _selected;
|
||||
final searchText = searchController.text;
|
||||
return FidoActions(
|
||||
devicePath: widget.node.path,
|
||||
actions: (context) => {
|
||||
@ -339,6 +340,8 @@ class _FidoUnlockedPageState extends ConsumerState<_FidoUnlockedPage> {
|
||||
},
|
||||
builder: (context) => AppPage(
|
||||
title: l10n.s_passkeys,
|
||||
alternativeTitle:
|
||||
searchText != '' ? l10n.l_results_for(searchText) : null,
|
||||
capabilities: const [Capability.fido2],
|
||||
footnote:
|
||||
'${l10n.p_passkeys_used(credentials.length, maxCreds)} ${l10n.p_non_passkeys_note}',
|
||||
@ -496,15 +499,19 @@ class _FidoUnlockedPageState extends ConsumerState<_FidoUnlockedPage> {
|
||||
},
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: filteredCredentials
|
||||
.map(
|
||||
(cred) => _CredentialListItem(
|
||||
cred,
|
||||
expanded: expanded,
|
||||
selected: _selected == cred,
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
children: [
|
||||
if (filteredCredentials.isEmpty)
|
||||
Center(
|
||||
child: Text(l10n.s_no_passkeys),
|
||||
),
|
||||
...filteredCredentials.map(
|
||||
(cred) => _CredentialListItem(
|
||||
cred,
|
||||
expanded: expanded,
|
||||
selected: _selected == cred,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
},
|
||||
|
@ -352,6 +352,12 @@
|
||||
},
|
||||
"s_accounts": "Konten",
|
||||
"s_no_accounts": "Keine Konten",
|
||||
"l_results_for": null,
|
||||
"@l_results_for": {
|
||||
"placeholders": {
|
||||
"query": {}
|
||||
}
|
||||
},
|
||||
"l_authenticator_get_started": null,
|
||||
"l_no_accounts_desc": null,
|
||||
"s_add_account": "Konto hinzufügen",
|
||||
@ -419,6 +425,7 @@
|
||||
}
|
||||
},
|
||||
"s_passkeys": null,
|
||||
"s_no_passkeys": null,
|
||||
"l_ready_to_use": "Bereit zur Verwendung",
|
||||
"l_register_sk_on_websites": "Als Sicherheitsschlüssel auf Webseiten registrieren",
|
||||
"l_no_discoverable_accounts": "Keine erkennbaren Konten",
|
||||
|
@ -352,6 +352,12 @@
|
||||
},
|
||||
"s_accounts": "Accounts",
|
||||
"s_no_accounts": "No accounts",
|
||||
"l_results_for": "Results for \"{query}\"",
|
||||
"@l_results_for": {
|
||||
"placeholders": {
|
||||
"query": {}
|
||||
}
|
||||
},
|
||||
"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",
|
||||
@ -419,6 +425,7 @@
|
||||
}
|
||||
},
|
||||
"s_passkeys": "Passkeys",
|
||||
"s_no_passkeys": "No passkeys",
|
||||
"l_ready_to_use": "Ready to use",
|
||||
"l_register_sk_on_websites": "Register as a Security Key on websites",
|
||||
"l_no_discoverable_accounts": "No passkeys stored",
|
||||
|
@ -352,6 +352,12 @@
|
||||
},
|
||||
"s_accounts": "Comptes",
|
||||
"s_no_accounts": "Aucun compte",
|
||||
"l_results_for": null,
|
||||
"@l_results_for": {
|
||||
"placeholders": {
|
||||
"query": {}
|
||||
}
|
||||
},
|
||||
"l_authenticator_get_started": null,
|
||||
"l_no_accounts_desc": null,
|
||||
"s_add_account": "Ajouter un compte",
|
||||
@ -419,6 +425,7 @@
|
||||
}
|
||||
},
|
||||
"s_passkeys": "Passkeys",
|
||||
"s_no_passkeys": null,
|
||||
"l_ready_to_use": "Prêt à l'emploi",
|
||||
"l_register_sk_on_websites": "Enregistrer comme clé de sécurité sur les sites internet",
|
||||
"l_no_discoverable_accounts": "Aucune Passkey détectée",
|
||||
|
@ -352,6 +352,12 @@
|
||||
},
|
||||
"s_accounts": "アカウント",
|
||||
"s_no_accounts": "アカウントがありません",
|
||||
"l_results_for": null,
|
||||
"@l_results_for": {
|
||||
"placeholders": {
|
||||
"query": {}
|
||||
}
|
||||
},
|
||||
"l_authenticator_get_started": null,
|
||||
"l_no_accounts_desc": null,
|
||||
"s_add_account": "アカウントの追加",
|
||||
@ -419,6 +425,7 @@
|
||||
}
|
||||
},
|
||||
"s_passkeys": "パスキー",
|
||||
"s_no_passkeys": null,
|
||||
"l_ready_to_use": "すぐに使用可能",
|
||||
"l_register_sk_on_websites": "Webサイトにセキュリティキーとして登録する",
|
||||
"l_no_discoverable_accounts": "パスキーは保存されていません",
|
||||
|
@ -352,6 +352,12 @@
|
||||
},
|
||||
"s_accounts": "Konta",
|
||||
"s_no_accounts": "Brak kont",
|
||||
"l_results_for": null,
|
||||
"@l_results_for": {
|
||||
"placeholders": {
|
||||
"query": {}
|
||||
}
|
||||
},
|
||||
"l_authenticator_get_started": "Rozpocznij korzystanie z kont OTP",
|
||||
"l_no_accounts_desc": "Dodaj konta do swojego klucza YubiKey od dowolnego dostawcy usług obsługującego OATH TOTP/HOTP",
|
||||
"s_add_account": "Dodaj konto",
|
||||
@ -419,6 +425,7 @@
|
||||
}
|
||||
},
|
||||
"s_passkeys": "Klucze dostępu",
|
||||
"s_no_passkeys": null,
|
||||
"l_ready_to_use": "Gotowe do użycia",
|
||||
"l_register_sk_on_websites": "Zarejestruj jako klucz bezpieczeństwa na stronach internetowych",
|
||||
"l_no_discoverable_accounts": "Nie wykryto kont",
|
||||
|
@ -264,7 +264,8 @@ class _UnlockedViewState extends ConsumerState<_UnlockedView> {
|
||||
},
|
||||
builder: (context) => AppPage(
|
||||
title: l10n.s_accounts,
|
||||
alternativeTitle: searchText != '' ? 'Results for "$searchText"' : null,
|
||||
alternativeTitle:
|
||||
searchText != '' ? l10n.l_results_for(searchText) : null,
|
||||
capabilities: const [Capability.oath],
|
||||
keyActionsBuilder: hasActions
|
||||
? (context) => oathBuildActions(
|
||||
|
Loading…
Reference in New Issue
Block a user