diff --git a/src/App/Resources/AppResources.Designer.cs b/src/App/Resources/AppResources.Designer.cs index 3b6dacda5..d3ba6bff5 100644 --- a/src/App/Resources/AppResources.Designer.cs +++ b/src/App/Resources/AppResources.Designer.cs @@ -529,6 +529,15 @@ namespace Bit.App.Resources { } } + /// + /// Looks up a localized string similar to Extension Activated!. + /// + public static string ExtensionActivated { + get { + return ResourceManager.GetString("ExtensionActivated", resourceCulture); + } + } + /// /// Looks up a localized string similar to Almost done!. /// @@ -1465,6 +1474,15 @@ namespace Bit.App.Resources { } } + /// + /// Looks up a localized string similar to Sites. + /// + public static string Sites { + get { + return ResourceManager.GetString("Sites", resourceCulture); + } + } + /// /// Looks up a localized string similar to Site updated.. /// diff --git a/src/App/Resources/AppResources.resx b/src/App/Resources/AppResources.resx index 17d281d2c..1b3627dfb 100644 --- a/src/App/Resources/AppResources.resx +++ b/src/App/Resources/AppResources.resx @@ -744,4 +744,11 @@ Lost authenticator app? + + Sites + Screen title + + + Extension Activated! + \ No newline at end of file diff --git a/src/iOS.Extension/LockFingerprintViewController.cs b/src/iOS.Extension/LockFingerprintViewController.cs index bf9010407..93fbd5330 100644 --- a/src/iOS.Extension/LockFingerprintViewController.cs +++ b/src/iOS.Extension/LockFingerprintViewController.cs @@ -34,8 +34,11 @@ namespace Bit.iOS.Extension _settings = Resolver.Resolve(); _fingerprint = Resolver.Resolve(); + NavItem.Title = AppResources.VerifyFingerprint; + CancelButton.Title = AppResources.Cancel; View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f); + UseButton.SetTitle(AppResources.UseFingerprintToUnlock, UIControlState.Normal); var descriptor = UIFontDescriptor.PreferredBody; UseButton.Font = UIFont.FromDescriptor(descriptor, descriptor.PointSize); UseButton.BackgroundColor = new UIColor(red: 0.24f, green: 0.55f, blue: 0.74f, alpha: 1.0f); diff --git a/src/iOS.Extension/LockFingerprintViewController.designer.cs b/src/iOS.Extension/LockFingerprintViewController.designer.cs index 46b2af750..6fb08458b 100644 --- a/src/iOS.Extension/LockFingerprintViewController.designer.cs +++ b/src/iOS.Extension/LockFingerprintViewController.designer.cs @@ -1,4 +1,4 @@ -// WARNING +// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. @@ -22,18 +22,22 @@ namespace Bit.iOS.Extension [GeneratedCode ("iOS Designer", "1.0")] UIKit.UIButton FingerprintButton { get; set; } + [Outlet] + [GeneratedCode ("iOS Designer", "1.0")] + UIKit.UINavigationItem NavItem { get; set; } + [Outlet] [GeneratedCode ("iOS Designer", "1.0")] UIKit.UIButton UseButton { get; set; } + [Action ("CancelButton_Activated:")] + [GeneratedCode ("iOS Designer", "1.0")] + partial void CancelButton_Activated (UIKit.UIBarButtonItem sender); + [Action ("FingerprintButton_TouchUpInside:")] [GeneratedCode ("iOS Designer", "1.0")] partial void FingerprintButton_TouchUpInside (UIKit.UIButton sender); - [Action("CancelButton_Activated:")] - [GeneratedCode("iOS Designer", "1.0")] - partial void CancelButton_Activated(UIKit.UIBarButtonItem sender); - void ReleaseDesignerOutlets () { if (CancelButton != null) { @@ -46,6 +50,11 @@ namespace Bit.iOS.Extension FingerprintButton = null; } + if (NavItem != null) { + NavItem.Dispose (); + NavItem = null; + } + if (UseButton != null) { UseButton.Dispose (); UseButton = null; diff --git a/src/iOS.Extension/LockPasswordViewController.cs b/src/iOS.Extension/LockPasswordViewController.cs index 287054e72..2fdc8a377 100644 --- a/src/iOS.Extension/LockPasswordViewController.cs +++ b/src/iOS.Extension/LockPasswordViewController.cs @@ -41,6 +41,9 @@ namespace Bit.iOS.Extension _authService = Resolver.Resolve(); _cryptoService = Resolver.Resolve(); + NavItem.Title = AppResources.VerifyMasterPassword; + CancelButton.Title = AppResources.Cancel; + SubmitButton.Title = AppResources.Submit; View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f); var descriptor = UIFontDescriptor.PreferredBody; diff --git a/src/iOS.Extension/LockPasswordViewController.designer.cs b/src/iOS.Extension/LockPasswordViewController.designer.cs index 7e4c6a0c8..fdc17a29f 100644 --- a/src/iOS.Extension/LockPasswordViewController.designer.cs +++ b/src/iOS.Extension/LockPasswordViewController.designer.cs @@ -1,4 +1,4 @@ -// WARNING +// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. @@ -22,6 +22,10 @@ namespace Bit.iOS.Extension [GeneratedCode ("iOS Designer", "1.0")] UIKit.UITableView MainTableView { get; set; } + [Outlet] + [GeneratedCode ("iOS Designer", "1.0")] + UIKit.UINavigationItem NavItem { get; set; } + [Outlet] [GeneratedCode ("iOS Designer", "1.0")] UIKit.UIBarButtonItem SubmitButton { get; set; } @@ -46,6 +50,11 @@ namespace Bit.iOS.Extension MainTableView = null; } + if (NavItem != null) { + NavItem.Dispose (); + NavItem = null; + } + if (SubmitButton != null) { SubmitButton.Dispose (); SubmitButton = null; diff --git a/src/iOS.Extension/LockPinViewController.cs b/src/iOS.Extension/LockPinViewController.cs index a3f99c786..9bebc9d14 100644 --- a/src/iOS.Extension/LockPinViewController.cs +++ b/src/iOS.Extension/LockPinViewController.cs @@ -35,11 +35,14 @@ namespace Bit.iOS.Extension _settings = Resolver.Resolve(); _authService = Resolver.Resolve(); + NavItem.Title = AppResources.VerifyPIN; + CancelButton.Title = AppResources.Cancel; View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f); var descriptor = UIFontDescriptor.PreferredBody; PinLabel.Font = UIFont.FromName("Courier", 35); + InstructionLabel.Text = AppResources.EnterPIN; InstructionLabel.LineBreakMode = UILineBreakMode.WordWrap; InstructionLabel.Lines = 0; InstructionLabel.Font = UIFont.FromDescriptor(descriptor, descriptor.PointSize * 0.8f); diff --git a/src/iOS.Extension/LockPinViewController.designer.cs b/src/iOS.Extension/LockPinViewController.designer.cs index 765008753..4dfa52722 100644 --- a/src/iOS.Extension/LockPinViewController.designer.cs +++ b/src/iOS.Extension/LockPinViewController.designer.cs @@ -1,4 +1,4 @@ -// WARNING +// WARNING // // This file has been generated automatically by Xamarin Studio from the outlets and // actions declared in your storyboard file. @@ -22,6 +22,10 @@ namespace Bit.iOS.Extension [GeneratedCode ("iOS Designer", "1.0")] UIKit.UILabel InstructionLabel { get; set; } + [Outlet] + [GeneratedCode ("iOS Designer", "1.0")] + UIKit.UINavigationItem NavItem { get; set; } + [Outlet] [GeneratedCode ("iOS Designer", "1.0")] UIKit.UILabel PinLabel { get; set; } @@ -30,10 +34,9 @@ namespace Bit.iOS.Extension [GeneratedCode ("iOS Designer", "1.0")] UIKit.UITextField PinTextField { get; set; } - [Action ("CancelButton_Activated:")] [GeneratedCode ("iOS Designer", "1.0")] - partial void CancelButton_Activated (UIBarButtonItem sender); + partial void CancelButton_Activated (UIKit.UIBarButtonItem sender); void ReleaseDesignerOutlets () { @@ -47,6 +50,11 @@ namespace Bit.iOS.Extension InstructionLabel = null; } + if (NavItem != null) { + NavItem.Dispose (); + NavItem = null; + } + if (PinLabel != null) { PinLabel.Dispose (); PinLabel = null; diff --git a/src/iOS.Extension/MainInterface.storyboard b/src/iOS.Extension/MainInterface.storyboard index 49af75bd9..b67cecc83 100644 --- a/src/iOS.Extension/MainInterface.storyboard +++ b/src/iOS.Extension/MainInterface.storyboard @@ -1,4 +1,4 @@ - + @@ -130,6 +130,7 @@ + @@ -211,6 +212,7 @@ + @@ -227,7 +229,7 @@ - + @@ -247,6 +249,7 @@ + @@ -339,7 +342,7 @@ -