Skip to content

Commit

Permalink
Fix i18n button too long configure 2FA Gladys Plus (#1307)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles authored Sep 27, 2021
1 parent f71adee commit 53ee698
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions front/src/config/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1751,6 +1751,7 @@
"gatewayTwoFactorAuth": {
"title": "Gladys Gateway",
"configureTitle": "Configure Two-Factor Authentication",
"configureButton": "Configure 2FA",
"securityIsImportant": "The security of your Gladys Gateway account is really important to us.",
"securityApps": "To ensure that your account remains secure, please enable two-factor authentication using a two-factor app like Authy on <a href=\"https://itunes.apple.com/us/app/authy/id494168017?mt=8\">iOS</a> or <a href=\"https://play.google.com/store/apps/details?id=com.authy.authy\">Android</a>.",
"invalidCode": "The 2FA code you provided is not valid.",
Expand Down
1 change: 1 addition & 0 deletions front/src/config/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1751,6 +1751,7 @@
"gatewayTwoFactorAuth": {
"title": "Gladys Gateway",
"configureTitle": "Configurer l'authentification Two-Factor (\"2FA\")",
"configureButton": "Configurer la 2FA",
"securityIsImportant": "La sécurité de votre compte Gladys Gateway est vraiment importante pour nous.",
"securityApps": "Pour garantir la sécurité de votre compte, veuillez activer l'authentification à deux facteurs (\"2FA\") à l'aide d'une application à deux facteurs comme Authy sur <a href=\"https://itunes.apple.com/fr/app/authy/id494168017?mt=8\">iOS</a> ou <a href=\"https://play.google.com/store/apps/details?id=com.authy.authy\">Android</a>.",
"invalidCode": "Le code 2FA que vous avez fourni n'est pas valide.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ConfigureTwoFactorForm = ({ children, ...props }) => (

<div class="form-footer">
<button onClick={props.nextStep} class="btn btn-primary btn-block">
<Text id="gatewayTwoFactorAuth.configureTitle" />
<Text id="gatewayTwoFactorAuth.configureButton" />
</button>
</div>
</div>
Expand Down

0 comments on commit 53ee698

Please sign in to comment.