Skip to content

Commit

Permalink
Fix translation interpolation in button to reload WebAuthn address
Browse files Browse the repository at this point in the history
  • Loading branch information
emlun committed Oct 15, 2023
1 parent 37ad36c commit 48d9c9b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions gui/default/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,15 @@ <h3 translate>Authentication Required</h3>
User verification is required, but was not performed.
</p>

<button ng-if="inferWebauthnAddress() && (isLocationInsecure() || locationDoesNotMatchWebauthnRpId())" type="button" class="btn btn-primary" ng-click="reloadAtWebauthnAddress()" translate>
Reload page at {{inferWebauthnAddress()}}
<button
ng-if="inferWebauthnAddress() && (isLocationInsecure() || locationDoesNotMatchWebauthnRpId())"
type="button"
class="btn btn-primary"
ng-click="reloadAtWebauthnAddress()"
translate
translate-value-webauthn-address="{{ inferWebauthnAddress() }}"
>
Reload page at {%webauthnAddress%}
</button>
</div>
</div>
Expand Down

0 comments on commit 48d9c9b

Please sign in to comment.