mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
appresources for ios yubikey
This commit is contained in:
parent
eefd9bf31c
commit
145dac500c
3 changed files with 27 additions and 2 deletions
|
@ -232,7 +232,8 @@ namespace Bit.App.Pages
|
|||
}
|
||||
else if(_providerType == TwoFactorProviderType.YubiKey)
|
||||
{
|
||||
instruction.Text = AppResources.YubiKeyInstruction;
|
||||
instruction.Text = Device.RuntimePlatform == Device.iOS ? AppResources.YubiKeyInstructionIos :
|
||||
AppResources.YubiKeyInstruction;
|
||||
|
||||
var image = new CachedImage
|
||||
{
|
||||
|
@ -268,7 +269,7 @@ namespace Bit.App.Pages
|
|||
{
|
||||
var tryAgainButton = new ExtendedButton
|
||||
{
|
||||
Text = "Try Again",
|
||||
Text = AppResources.TryAgain,
|
||||
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
|
||||
Margin = new Thickness(15, 0, 15, 0),
|
||||
Command = new Command(() => ListenYubiKey(true, true)),
|
||||
|
|
18
src/App/Resources/AppResources.Designer.cs
generated
18
src/App/Resources/AppResources.Designer.cs
generated
|
@ -2922,6 +2922,15 @@ namespace Bit.App.Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Try Again.
|
||||
/// </summary>
|
||||
public static string TryAgain {
|
||||
get {
|
||||
return ResourceManager.GetString("TryAgain", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Two-step Login.
|
||||
/// </summary>
|
||||
|
@ -3336,6 +3345,15 @@ namespace Bit.App.Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to To continue, hold your YubiKey NEO against the back of the device..
|
||||
/// </summary>
|
||||
public static string YubiKeyInstructionIos {
|
||||
get {
|
||||
return ResourceManager.GetString("YubiKeyInstructionIos", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to YubiKey Security Key.
|
||||
/// </summary>
|
||||
|
|
|
@ -1296,4 +1296,10 @@
|
|||
<data name="HoldYubikeyNearTop" xml:space="preserve">
|
||||
<value>Hold your Yubikey near the top of the device.</value>
|
||||
</data>
|
||||
<data name="TryAgain" xml:space="preserve">
|
||||
<value>Try Again</value>
|
||||
</data>
|
||||
<data name="YubiKeyInstructionIos" xml:space="preserve">
|
||||
<value>To continue, hold your YubiKey NEO against the back of the device.</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in a new issue