mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-01 05:04:28 +01:00
Issue was caused by duplicate translation through a combination of `StringLocalizer` and `text-translate="true"` usage. Fixes #6622.
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
@model GenerateRecoveryCodesViewModel
|
|
@{
|
|
ViewData.SetActivePage(ManageNavPages.TwoFactorAuthentication, StringLocalizer["Recovery codes"]);
|
|
}
|
|
|
|
<h2 class="mb-2 mb-lg-3">@ViewData["Title"]</h2>
|
|
<partial name="_StatusMessage" />
|
|
|
|
<div class="alert alert-warning" role="alert">
|
|
<h5>
|
|
<vc:icon symbol="warning" />
|
|
<span text-translate="true">Put these codes in a safe place</span>
|
|
</h5>
|
|
<p class="mb-0" text-translate="true">
|
|
If you lose your device and don't have the recovery codes you will lose access to your account.
|
|
</p>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
@for(var row = 0; row < Model.RecoveryCodes.Length; row += 2)
|
|
{
|
|
<code>@Model.RecoveryCodes[row]</code><text> </text><code>@Model.RecoveryCodes[row + 1]</code><br />
|
|
}
|
|
</div>
|
|
</div>
|
|
<div class="row mt-4">
|
|
<div class="col-md-12">
|
|
<a asp-action="TwoFactorAuthentication" class="btn btn-primary" text-translate="true">I wrote down my recovery codes</a>
|
|
</div>
|
|
</div>
|