1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-05 09:01:11 +01:00

support for new btnReturnText in mobile webauthn connector (#1576)

* support for new btnReturnText in mobile webauthn connector

* added header text for connector localization
This commit is contained in:
Matt Portune 2021-10-14 11:53:41 -04:00 committed by GitHub
parent 4669275680
commit ce4e3ed1cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View File

@ -204,7 +204,9 @@ namespace Bit.App.Pages
{
callbackUri = callbackUri,
data = JsonConvert.SerializeObject(providerData),
headerText = AppResources.Fido2Title,
btnText = AppResources.Fido2AuthenticateWebAuthn,
btnReturnText = AppResources.Fido2ReturnToApp,
});
var url = _webVaultUrl + "/webauthn-mobile-connector.html?" + "data=" + data +

View File

@ -3609,6 +3609,12 @@ namespace Bit.App.Resources {
}
}
public static string Fido2ReturnToApp {
get {
return ResourceManager.GetString("Fido2ReturnToApp", resourceCulture);
}
}
public static string Fido2CheckBrowser {
get {
return ResourceManager.GetString("Fido2CheckBrowser", resourceCulture);

View File

@ -2039,6 +2039,9 @@
<data name="Fido2AuthenticateWebAuthn" xml:space="preserve">
<value>Authenticate WebAuthn</value>
</data>
<data name="Fido2ReturnToApp" xml:space="preserve">
<value>Return to App</value>
</data>
<data name="Fido2CheckBrowser" xml:space="preserve">
<value>Please make sure your default browser supports WebAuthn and try again.</value>
</data>