Webui tests: fix test failure

Fix translation issues in webui unit tests

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Florence Blanc-Renaud 2023-02-23 18:42:45 +01:00
parent c0f71b0525
commit 14526c50bb
2 changed files with 8 additions and 7 deletions

View File

@ -556,7 +556,7 @@
"type_totp": "Time-based (TOTP)"
},
"passkeyconfig": {
"options": _("Options")
"options": "Options"
},
"permission": {
"add_custom_attr": "Add Custom Attribute",

View File

@ -1225,12 +1225,13 @@ class i18n_messages(Command):
"type_totp": _("Time-based (TOTP)"),
},
"passkey": {
"adder_title": "Add Passkey",
"data_label": "Passkey",
"deleter_content": "Do you want to remove passkey ${passkey}?",
"deleter_title": "Remove Passkey",
"type_discoverable": "(discoverable) ",
"type_serverside": "(server-side) "
"adder_title": _("Add Passkey"),
"data_label": _("Passkey"),
"deleter_content": _(
"Do you want to remove passkey ${passkey}?"),
"deleter_title": _("Remove Passkey"),
"type_discoverable": _("(discoverable) "),
"type_serverside": _("(server-side) ")
},
"passkeyconfig": {
"options": _("Options")