mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-24 16:49:26 +01:00
i18n for totp
This commit is contained in:
parent
21feb653cb
commit
2ae21eef82
@ -702,5 +702,17 @@
|
||||
"learnMore": {
|
||||
"message": "Learn more",
|
||||
"description": "Learn more"
|
||||
},
|
||||
"authenticatorKeyTotp": {
|
||||
"message": "Authenticator Key (TOTP)",
|
||||
"description": "Authenticator Key (TOTP)"
|
||||
},
|
||||
"verificationCodeTotp": {
|
||||
"message": "Verification Code (TOTP)",
|
||||
"description": "Verification Code (TOTP)"
|
||||
},
|
||||
"copyVerificationCode": {
|
||||
"message": "Copy Verification Code",
|
||||
"description": "Copy Verification Code"
|
||||
}
|
||||
}
|
||||
|
@ -37,7 +37,7 @@
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
</a>
|
||||
<div class="list-section-item">
|
||||
<label for="totp" class="item-label">Authenticator Key (TOTP)</label>
|
||||
<label for="totp" class="item-label">{{i18n.authenticatorKeyTotp}}</label>
|
||||
<input id="totp" type="text" name="Totp" ng-model="login.totp">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -38,7 +38,7 @@
|
||||
<i class="fa fa-chevron-right"></i>
|
||||
</a>
|
||||
<div class="list-section-item">
|
||||
<label for="totp" class="item-label">Authenticator Key (TOTP)</label>
|
||||
<label for="totp" class="item-label">{{i18n.authenticatorKeyTotp}}</label>
|
||||
<input id="totp" type="text" name="Totp" ng-model="login.totp">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -48,8 +48,9 @@
|
||||
<span id="password" ng-show="showPassword" class="monospaced">{{login.password}}</span>
|
||||
</div>
|
||||
<div class="list-section-item totp" ng-class="{'low': totpLow}" ng-if="login.totp && totpCode">
|
||||
<a class="btn-list" href="" title="Copy TOTP" ngclipboard ngclipboard-error="clipboardError(e)"
|
||||
ngclipboard-success="clipboardSuccess(e, 'Totp')" data-clipboard-text="{{totpCode}}">
|
||||
<a class="btn-list" href="" title="{{i18n.copyVerificationCode}}"
|
||||
ngclipboard ngclipboard-error="clipboardError(e)"
|
||||
ngclipboard-success="clipboardSuccess(e, i18n.verificationCodeTotp)" data-clipboard-text="{{totpCode}}">
|
||||
<i class="fa fa-lg fa-clipboard"></i>
|
||||
</a>
|
||||
<span class="totp-countdown">
|
||||
@ -62,8 +63,8 @@
|
||||
</g>
|
||||
</svg>
|
||||
</span>
|
||||
<span class="item-label">Verification Code (TOTP)</span>
|
||||
<span id="totp" class="totp-code" ng-class="{'text-danger': totpLow}">{{totpCodeFormatted}}</span>
|
||||
<span class="item-label">{{i18n.verificationCodeTotp}}</span>
|
||||
<span id="totp" class="totp-code">{{totpCodeFormatted}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user