Skip to content

Commit

Permalink
chore: update labels in fido2 page (#9585)
Browse files Browse the repository at this point in the history
chore: update labels #9544

Signed-off-by: jgomer2001 <bonustrack310@gmail.com>
Co-authored-by: Mohammad Abudayyeh <47318409+moabu@users.noreply.github.com>
  • Loading branch information
jgomer2001 and moabu authored Sep 24, 2024
1 parent 9082677 commit 57f3e30
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
16 changes: 7 additions & 9 deletions jans-casa/app/src/main/resources/labels/user.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,16 @@ usr.mfa_onoff=Turn on and off second factor authentication (2FA):
usr.mfa_notenough=You cannot turn on 2FA until you register at least {0} credentials. Use the widgets below.

#fido 2 security keys
usr.fido2_label=Security key and Platform Authenticators
usr.fido2_title=Security Keys and built-in Platform Authenticators
usr.fido2_text=Protect your online account against unauthorized access by using two-factor authentication with Security keys (USB / NFC) and built-in Platform authenticators (Apple's PassKey).
usr.fido2_buy_title=Buy keys from <a href="${usr.fido2_buy_link1}" target="_blank">Amazon</a> or <a href="${usr.fido2_buy_link2}" target="_blank">Yubico</a>
usr.fido2_label=Passkeys
usr.fido2_title=Passkeys
usr.fido2_text=
#Protect your online account against unauthorized access by using two-factor authentication with Security keys (USB / NFC) and built-in Platform authenticators (Apple's PassKey).

usr.fido2_buy_title=Buy security keys from <a href="${usr.fido2_buy_link1}" target="_blank">Amazon</a> or <a href="${usr.fido2_buy_link2}" target="_blank">Yubico</a>
usr.fido2_buy_link1=https://www.amazon.com/fido2/s?k=fido2
usr.fido2_buy_link2=https://www.yubico.com/store

usr.fido2_label.security.key=Security key
usr.fido2_title.security.key=Security Keys and built-in Platform Authenticators
usr.fido2_text.security.key=Protect your online accounts against unauthorized access by using 2 factor authentication with Security keys (USB / NFC) and built-in Platform authenticators (Apple's PassKey).

usr.fido2_manage=Manage security keys
usr.fido2_manage=Manage passkeys
usr.fido2_add=Register a security key
usr.fido2_touch=Touch your key button
usr.fido2_pressready=Insert your security key and press the "${general.ready}" button below
Expand Down
6 changes: 3 additions & 3 deletions jans-casa/app/src/main/webapp/user/fido2-detail.zul
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<?import io.jans.casa.core.pojo.FidoDevice?>
<zk:zk xmlns:z="http://www.zkoss.org/2005/zul" xmlns:h="xhtml" xmlns:zk="zk" xmlns:w="client" xmlns:ca="client/attribute" xmlns="native">

<h:title self="@define(title)">${zkService.appName} - ${labels.usr.fido2_title.security.key}</h:title>
<h:title self="@define(title)">${zkService.appName} - ${labels.usr.fido2_title}</h:title>

<z:div if="${empty pageScope.error}" viewModel="@('io.jans.casa.ui.vm.user.SecurityKey2ViewModel')"
self="@define(maincontent)">
Expand All @@ -21,8 +21,8 @@
<section class="${css.section}">

<div class="${css.panel}">
<h2 class="f4 dark-blue2">${labels.usr.fido2_title.security.key}</h2>
<p>${labels.usr.fido2_text.security.key}</p>
<h2 class="f4 dark-blue2">${labels.usr.fido2_title}</h2>
<p>${labels.usr.fido2_text}</p>
</div>

<z:div children="@load(vm.devices)">
Expand Down

0 comments on commit 57f3e30

Please sign in to comment.