From 0ec22a4639d2e151d427758e19f0e54d28be7caa Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 18 Oct 2017 21:53:44 -0400 Subject: [PATCH] update resource strings for Logins => Items --- src/App/Pages/Tools/ToolsPage.cs | 4 +- src/App/Pages/Vault/VaultAddLoginPage.cs | 6 +- .../Vault/VaultAutofillListCiphersPage.cs | 10 +- src/App/Pages/Vault/VaultEditLoginPage.cs | 8 +- src/App/Pages/Vault/VaultListCiphersPage.cs | 4 +- src/App/Pages/Vault/VaultViewLoginPage.cs | 4 +- src/App/Resources/AppResources.Designer.cs | 191 +++++++++--------- src/App/Resources/AppResources.resx | 96 +++++---- src/App/Utilities/ApiHttpClient.cs | 4 +- src/App/Utilities/IdentityHttpClient.cs | 4 +- src/iOS.Extension/LoginAddViewController.cs | 4 +- src/iOS.Extension/LoginListViewController.cs | 4 +- 12 files changed, 163 insertions(+), 176 deletions(-) diff --git a/src/App/Pages/Tools/ToolsPage.cs b/src/App/Pages/Tools/ToolsPage.cs index 8c2dc82fd..0b266ea74 100644 --- a/src/App/Pages/Tools/ToolsPage.cs +++ b/src/App/Pages/Tools/ToolsPage.cs @@ -36,7 +36,7 @@ namespace Bit.App.Pages "refresh.png"); WebCell = new ToolsViewCell(AppResources.WebVault, AppResources.WebVaultDescription, "globe.png"); ShareCell = new ToolsViewCell(AppResources.ShareVault, AppResources.ShareVaultDescription, "share_tools.png"); - ImportCell = new ToolsViewCell(AppResources.ImportLogins, AppResources.ImportLoginsDescription, "cloudup.png"); + ImportCell = new ToolsViewCell(AppResources.ImportItems, AppResources.ImportItemsDescription, "cloudup.png"); var section = new TableSection(" ") { GeneratorCell }; @@ -142,7 +142,7 @@ namespace Bit.App.Pages private async void ImportCell_Tapped(object sender, EventArgs e) { - if(!await _userDialogs.ConfirmAsync(AppResources.ImportLoginsConfirmation, null, AppResources.Yes, + if(!await _userDialogs.ConfirmAsync(AppResources.ImportItemsConfirmation, null, AppResources.Yes, AppResources.Cancel)) { return; diff --git a/src/App/Pages/Vault/VaultAddLoginPage.cs b/src/App/Pages/Vault/VaultAddLoginPage.cs index 9535ff42d..d048b72aa 100644 --- a/src/App/Pages/Vault/VaultAddLoginPage.cs +++ b/src/App/Pages/Vault/VaultAddLoginPage.cs @@ -120,7 +120,7 @@ namespace Bit.App.Pages HasUnevenRows = true, Root = new TableRoot { - new TableSection(AppResources.LoginInformation) + new TableSection(AppResources.ItemInformation) { NameCell, UriCell, @@ -206,7 +206,7 @@ namespace Bit.App.Pages if(saveTask.Succeeded) { - _userDialogs.Toast(AppResources.NewLoginCreated); + _userDialogs.Toast(AppResources.NewItemCreated); if(_fromAutofill) { _googleAnalyticsService.TrackExtensionEvent("CreatedLogin"); @@ -227,7 +227,7 @@ namespace Bit.App.Pages } }, ToolbarItemOrder.Default, 0); - Title = AppResources.AddLogin; + Title = AppResources.AddItem; Content = table; ToolbarItems.Add(saveToolBarItem); if(Device.RuntimePlatform == Device.iOS || Device.RuntimePlatform == Device.Windows) diff --git a/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs b/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs index 094d38add..546d2b4a2 100644 --- a/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs +++ b/src/App/Pages/Vault/VaultAutofillListCiphersPage.cs @@ -65,7 +65,7 @@ namespace Bit.App.Pages { var noDataLabel = new Label { - Text = string.Format(AppResources.NoLoginsForUri, _name ?? "--"), + Text = string.Format(AppResources.NoItemsForUri, _name ?? "--"), HorizontalTextAlignment = TextAlignment.Center, FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label)), Style = (Style)Application.Current.Resources["text-muted"] @@ -73,7 +73,7 @@ namespace Bit.App.Pages var addCipherButton = new ExtendedButton { - Text = AppResources.AddALogin, + Text = AppResources.AddAnItem, Command = new Command(() => AddCipherAsync()), Style = (Style)Application.Current.Resources["btn-primaryAccent"] }; @@ -106,7 +106,7 @@ namespace Bit.App.Pages ListView.RowHeight = -1; } - Title = string.Format(AppResources.LoginsForUri, _name ?? "--"); + Title = string.Format(AppResources.ItemsForUri, _name ?? "--"); LoadingIndicator = new ActivityIndicator { @@ -170,7 +170,7 @@ namespace Bit.App.Pages .ToList(); if(normalLogins?.Any() ?? false) { - autofillGroupings.Add(new VaultListPageModel.AutofillGrouping(normalLogins, AppResources.MatchingLogins)); + autofillGroupings.Add(new VaultListPageModel.AutofillGrouping(normalLogins, AppResources.MatchingItems)); } var fuzzyLogins = ciphers?.Item2.Select(l => new VaultListPageModel.AutofillCipher(l, true)) @@ -180,7 +180,7 @@ namespace Bit.App.Pages if(fuzzyLogins?.Any() ?? false) { autofillGroupings.Add(new VaultListPageModel.AutofillGrouping(fuzzyLogins, - AppResources.PossibleMatchingLogins)); + AppResources.PossibleMatchingItems)); } Device.BeginInvokeOnMainThread(() => diff --git a/src/App/Pages/Vault/VaultEditLoginPage.cs b/src/App/Pages/Vault/VaultEditLoginPage.cs index b077e4be1..32bcec174 100644 --- a/src/App/Pages/Vault/VaultEditLoginPage.cs +++ b/src/App/Pages/Vault/VaultEditLoginPage.cs @@ -141,7 +141,7 @@ namespace Bit.App.Pages HasUnevenRows = true, Root = new TableRoot { - new TableSection(AppResources.LoginInformation) + new TableSection(AppResources.ItemInformation) { NameCell, UriCell, @@ -237,7 +237,7 @@ namespace Bit.App.Pages if(saveTask.Succeeded) { - _userDialogs.Toast(AppResources.LoginUpdated); + _userDialogs.Toast(AppResources.ItemUpdated); _googleAnalyticsService.TrackAppEvent("EditedLogin"); await Navigation.PopForDeviceAsync(); } @@ -251,7 +251,7 @@ namespace Bit.App.Pages } }, ToolbarItemOrder.Default, 0); - Title = AppResources.EditLogin; + Title = AppResources.EditItem; Content = table; ToolbarItems.Add(saveToolBarItem); if(Device.RuntimePlatform == Device.iOS || Device.RuntimePlatform == Device.Windows) @@ -414,7 +414,7 @@ namespace Bit.App.Pages if(deleteTask.Succeeded) { - _userDialogs.Toast(AppResources.LoginDeleted); + _userDialogs.Toast(AppResources.ItemDeleted); _googleAnalyticsService.TrackAppEvent("DeletedLogin"); await Navigation.PopForDeviceAsync(); } diff --git a/src/App/Pages/Vault/VaultListCiphersPage.cs b/src/App/Pages/Vault/VaultListCiphersPage.cs index a26dcc59f..585aef1ec 100644 --- a/src/App/Pages/Vault/VaultListCiphersPage.cs +++ b/src/App/Pages/Vault/VaultListCiphersPage.cs @@ -119,7 +119,7 @@ namespace Bit.App.Pages var noDataLabel = new Label { - Text = _favorites ? AppResources.NoFavorites : AppResources.NoLogins, + Text = _favorites ? AppResources.NoFavorites : AppResources.NoItems, HorizontalTextAlignment = TextAlignment.Center, FontSize = Device.GetNamedSize(NamedSize.Small, typeof(Label)), Style = (Style)Application.Current.Resources["text-muted"] @@ -137,7 +137,7 @@ namespace Bit.App.Pages { var addCipherButton = new ExtendedButton { - Text = AppResources.AddALogin, + Text = AppResources.AddAnItem, Command = new Command(() => AddCipher()), Style = (Style)Application.Current.Resources["btn-primaryAccent"] }; diff --git a/src/App/Pages/Vault/VaultViewLoginPage.cs b/src/App/Pages/Vault/VaultViewLoginPage.cs index d60ce7955..aea5f9e60 100644 --- a/src/App/Pages/Vault/VaultViewLoginPage.cs +++ b/src/App/Pages/Vault/VaultViewLoginPage.cs @@ -113,7 +113,7 @@ namespace Bit.App.Pages NotesCell.Value.SetBinding(Label.TextProperty, nameof(VaultViewLoginPageModel.Notes)); NotesCell.Value.LineBreakMode = LineBreakMode.WordWrap; - LoginInformationSection = new TableSection(AppResources.LoginInformation) + LoginInformationSection = new TableSection(AppResources.ItemInformation) { nameCell }; @@ -150,7 +150,7 @@ namespace Bit.App.Pages UriCell.Button1.WidthRequest = 75; } - Title = AppResources.ViewLogin; + Title = AppResources.ViewItem; Content = Table; BindingContext = Model; } diff --git a/src/App/Resources/AppResources.Designer.cs b/src/App/Resources/AppResources.Designer.cs index 249a9fdbd..1b8f3363b 100644 --- a/src/App/Resources/AppResources.Designer.cs +++ b/src/App/Resources/AppResources.Designer.cs @@ -98,11 +98,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Add a Login. + /// Looks up a localized string similar to Add an Item. /// - public static string AddALogin { + public static string AddAnItem { get { - return ResourceManager.GetString("AddALogin", resourceCulture); + return ResourceManager.GetString("AddAnItem", resourceCulture); } } @@ -116,11 +116,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Add Login. + /// Looks up a localized string similar to Add Item. /// - public static string AddLogin { + public static string AddItem { get { - return ResourceManager.GetString("AddLogin", resourceCulture); + return ResourceManager.GetString("AddItem", resourceCulture); } } @@ -269,7 +269,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Do you want to auto-fill or view this login?. + /// Looks up a localized string similar to Do you want to auto-fill or view this item?. /// public static string AutofillOrView { get { @@ -413,7 +413,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Are you sure you want to auto-fill this login? It is not a complete match for "{0}".. + /// Looks up a localized string similar to Are you sure you want to auto-fill this item? It is not a complete match for "{0}".. /// public static string BitwardenAutofillServiceMatchConfirm { get { @@ -431,7 +431,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Tap this notification to auto-fill a login from your vault.. + /// Looks up a localized string similar to Tap this notification to auto-fill an item from your vault.. /// public static string BitwardenAutofillServiceNotificationContent { get { @@ -440,7 +440,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Tap this notification to view logins from your vault.. + /// Looks up a localized string similar to Tap this notification to view items from your vault.. /// public static string BitwardenAutofillServiceNotificationContentOld { get { @@ -458,7 +458,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to You are searching for an auto-fill login for "{0}".. + /// Looks up a localized string similar to You are searching for an auto-fill item for "{0}".. /// public static string BitwardenAutofillServiceSearch { get { @@ -854,11 +854,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Edit Login. + /// Looks up a localized string similar to Edit Item. /// - public static string EditLogin { + public static string EditItem { get { - return ResourceManager.GetString("EditLogin", resourceCulture); + return ResourceManager.GetString("EditItem", resourceCulture); } } @@ -1286,29 +1286,29 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Import Logins. + /// Looks up a localized string similar to Import Items. /// - public static string ImportLogins { + public static string ImportItems { get { - return ResourceManager.GetString("ImportLogins", resourceCulture); + return ResourceManager.GetString("ImportItems", resourceCulture); } } /// - /// Looks up a localized string similar to You can bulk import logins from the bitwarden.com web vault. Do you want to visit the website now?. + /// Looks up a localized string similar to You can bulk import items from the bitwarden.com web vault. Do you want to visit the website now?. /// - public static string ImportLoginsConfirmation { + public static string ImportItemsConfirmation { get { - return ResourceManager.GetString("ImportLoginsConfirmation", resourceCulture); + return ResourceManager.GetString("ImportItemsConfirmation", resourceCulture); } } /// - /// Looks up a localized string similar to Quickly bulk import your logins from other password management apps.. + /// Looks up a localized string similar to Quickly bulk import your items from other password management apps.. /// - public static string ImportLoginsDescription { + public static string ImportItemsDescription { get { - return ResourceManager.GetString("ImportLoginsDescription", resourceCulture); + return ResourceManager.GetString("ImportItemsDescription", resourceCulture); } } @@ -1348,6 +1348,51 @@ namespace Bit.App.Resources { } } + /// + /// Looks up a localized string similar to Item has been deleted.. + /// + public static string ItemDeleted { + get { + return ResourceManager.GetString("ItemDeleted", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Item Information. + /// + public static string ItemInformation { + get { + return ResourceManager.GetString("ItemInformation", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Items. + /// + public static string Items { + get { + return ResourceManager.GetString("Items", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Items for {0}. + /// + public static string ItemsForUri { + get { + return ResourceManager.GetString("ItemsForUri", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Item updated.. + /// + public static string ItemUpdated { + get { + return ResourceManager.GetString("ItemUpdated", resourceCulture); + } + } + /// /// Looks up a localized string similar to Last Sync:. /// @@ -1465,33 +1510,6 @@ namespace Bit.App.Resources { } } - /// - /// Looks up a localized string similar to Login has been deleted.. - /// - public static string LoginDeleted { - get { - return ResourceManager.GetString("LoginDeleted", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Login Information. - /// - public static string LoginInformation { - get { - return ResourceManager.GetString("LoginInformation", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to No Name. - /// - public static string LoginNoName { - get { - return ResourceManager.GetString("LoginNoName", resourceCulture); - } - } - /// /// Looks up a localized string similar to Login. /// @@ -1510,24 +1528,6 @@ namespace Bit.App.Resources { } } - /// - /// Looks up a localized string similar to Logins. - /// - public static string Logins { - get { - return ResourceManager.GetString("Logins", resourceCulture); - } - } - - /// - /// Looks up a localized string similar to Logins for {0}. - /// - public static string LoginsForUri { - get { - return ResourceManager.GetString("LoginsForUri", resourceCulture); - } - } - /// /// Looks up a localized string similar to Login Unavailable. /// @@ -1537,15 +1537,6 @@ namespace Bit.App.Resources { } } - /// - /// Looks up a localized string similar to Login updated.. - /// - public static string LoginUpdated { - get { - return ResourceManager.GetString("LoginUpdated", resourceCulture); - } - } - /// /// Looks up a localized string similar to Log Out. /// @@ -1637,11 +1628,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Matching Logins. + /// Looks up a localized string similar to Matching Items. /// - public static string MatchingLogins { + public static string MatchingItems { get { - return ResourceManager.GetString("MatchingLogins", resourceCulture); + return ResourceManager.GetString("MatchingItems", resourceCulture); } } @@ -1727,11 +1718,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to New login created.. + /// Looks up a localized string similar to New item created.. /// - public static string NewLoginCreated { + public static string NewItemCreated { get { - return ResourceManager.GetString("NewLoginCreated", resourceCulture); + return ResourceManager.GetString("NewItemCreated", resourceCulture); } } @@ -1781,29 +1772,29 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to There are no logins in your vault.. + /// Looks up a localized string similar to There are no items in your vault.. /// - public static string NoLogins { + public static string NoItems { get { - return ResourceManager.GetString("NoLogins", resourceCulture); + return ResourceManager.GetString("NoItems", resourceCulture); } } /// - /// Looks up a localized string similar to There are no logins in your vault for {0}.. + /// Looks up a localized string similar to There are no items in your vault for {0}.. /// - public static string NoLoginsForUri { + public static string NoItemsForUri { get { - return ResourceManager.GetString("NoLoginsForUri", resourceCulture); + return ResourceManager.GetString("NoItemsForUri", resourceCulture); } } /// - /// Looks up a localized string similar to There are no logins in your vault for this website. Tap to add one.. + /// Looks up a localized string similar to There are no items in your vault for this website. Tap to add one.. /// - public static string NoLoginsTap { + public static string NoItemsTap { get { - return ResourceManager.GetString("NoLoginsTap", resourceCulture); + return ResourceManager.GetString("NoItemsTap", resourceCulture); } } @@ -1961,11 +1952,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Possible Matching Logins. + /// Looks up a localized string similar to Possible Matching Items. /// - public static string PossibleMatchingLogins { + public static string PossibleMatchingItems { get { - return ResourceManager.GetString("PossibleMatchingLogins", resourceCulture); + return ResourceManager.GetString("PossibleMatchingItems", resourceCulture); } } @@ -2204,7 +2195,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Create an organization to securely share your logins with other users.. + /// Looks up a localized string similar to Create an organization to securely share your items with other users.. /// public static string ShareVaultDescription { get { @@ -2546,11 +2537,11 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to View Login. + /// Looks up a localized string similar to View Item. /// - public static string ViewLogin { + public static string ViewItem { get { - return ResourceManager.GetString("ViewLogin", resourceCulture); + return ResourceManager.GetString("ViewItem", resourceCulture); } } @@ -2591,7 +2582,7 @@ namespace Bit.App.Resources { } /// - /// Looks up a localized string similar to Manage your logins from any web browser with the bitwarden web vault.. + /// Looks up a localized string similar to Manage your items from any web browser with the bitwarden web vault.. /// public static string WebVaultDescription { get { diff --git a/src/App/Resources/AppResources.resx b/src/App/Resources/AppResources.resx index b72120018..61f54e324 100644 --- a/src/App/Resources/AppResources.resx +++ b/src/App/Resources/AppResources.resx @@ -127,9 +127,9 @@ Add Folder - - Add Login - The title for the add login page. + + Add Item + The title for the add item page. An error has occurred. @@ -223,7 +223,7 @@ No Folder - Logins that have no folder specified go in this special "catch-all" folder. + Items that have no folder specified go in this special "catch-all" folder. Folders @@ -325,14 +325,10 @@ Show Reveal a hidden value (password). - - Login has been deleted. + + Item has been deleted. Confirmation message after successfully deleting a login. - - No Name - Title text to display when there is no name given for a login. - Submit @@ -400,8 +396,8 @@ Your new account has been created! You may now log in. - - Add a Login + + Add an Item App Extension @@ -467,8 +463,8 @@ Creating account... Message shown when interacting with the server - - Edit Login + + Edit Item Enable Automatic Syncing @@ -522,14 +518,14 @@ Get your master password hint - - Import Logins + + Import Items - - You can bulk import logins from the bitwarden.com web vault. Do you want to visit the website now? + + You can bulk import items from the bitwarden.com web vault. Do you want to visit the website now? - - Quickly bulk import your logins from other password management apps. + + Quickly bulk import your items from other password management apps. Last Sync: @@ -600,17 +596,17 @@ Never - - New login created. + + New item created. There are no favorites in your vault. - - There are no logins in your vault. + + There are no items in your vault. - - There are no logins in your vault for this website. Tap to add one. + + There are no items in your vault for this website. Tap to add one. This login does not have a username or password configured. @@ -683,11 +679,11 @@ Enter a 4 digit PIN code to unlock the app with. - - Login Information + + Item Information - - Login updated. + + Item updated. Submitting... @@ -729,20 +725,20 @@ Verification Code - - View Login + + View Item bitwarden Web Vault - Manage your logins from any web browser with the bitwarden web vault. + Manage your items from any web browser with the bitwarden web vault. Lost authenticator app? - - Logins + + Items Screen title @@ -754,19 +750,19 @@ Translations - - Logins for {0} + + Items for {0} This is used for the autofill service. ex. "Logins for twitter.com" - - There are no logins in your vault for {0}. - This is used for the autofill service. ex. "There are no logins in your vault for twitter.com". + + There are no items in your vault for {0}. + This is used for the autofill service. ex. "There are no items in your vault for twitter.com". When you see a bitwarden auto-fill notification, you can tap it to launch the auto-fill service. - Tap this notification to auto-fill a login from your vault. + Tap this notification to auto-fill an item from your vault. Open Accessibility Settings @@ -796,28 +792,28 @@ Auto-fill - Do you want to auto-fill or view this login? + Do you want to auto-fill or view this item? - Are you sure you want to auto-fill this login? It is not a complete match for "{0}". + Are you sure you want to auto-fill this item? It is not a complete match for "{0}". - - Matching Logins + + Matching Items - - Possible Matching Logins + + Possible Matching Items Search - You are searching for an auto-fill login for "{0}". + You are searching for an auto-fill item for "{0}". Share Your Vault - Create an organization to securely share your logins with other users. + Create an organization to securely share your items with other users. We use analytics to better learn how the app is being used so that we can make it better. All data collection is completely anonymous. @@ -1028,7 +1024,7 @@ Web Vault Server URL - Tap this notification to view logins from your vault. + Tap this notification to view items from your vault. Custom Fields diff --git a/src/App/Utilities/ApiHttpClient.cs b/src/App/Utilities/ApiHttpClient.cs index bf787f252..7ec133c50 100644 --- a/src/App/Utilities/ApiHttpClient.cs +++ b/src/App/Utilities/ApiHttpClient.cs @@ -35,9 +35,9 @@ namespace Bit.App else { //BaseAddress = new Uri("http://169.254.80.80:4000"); // Desktop from VS Android Emulator - //BaseAddress = new Uri("http://192.168.1.3:4000"); // Desktop + BaseAddress = new Uri("http://192.168.1.3:4000"); // Desktop //BaseAddress = new Uri("https://preview-api.bitwarden.com"); // Preview - BaseAddress = new Uri("https://api.bitwarden.com"); // Production + //BaseAddress = new Uri("https://api.bitwarden.com"); // Production } } } diff --git a/src/App/Utilities/IdentityHttpClient.cs b/src/App/Utilities/IdentityHttpClient.cs index 1ef74d1ea..86ed5d925 100644 --- a/src/App/Utilities/IdentityHttpClient.cs +++ b/src/App/Utilities/IdentityHttpClient.cs @@ -35,9 +35,9 @@ namespace Bit.App else { //BaseAddress = new Uri("http://169.254.80.80:33656"); // Desktop from VS Android Emulator - //BaseAddress = new Uri("http://192.168.1.3:33656"); // Desktop + BaseAddress = new Uri("http://192.168.1.3:33656"); // Desktop //BaseAddress = new Uri("https://preview-identity.bitwarden.com"); // Preview - BaseAddress = new Uri("https://identity.bitwarden.com"); // Production + //BaseAddress = new Uri("https://identity.bitwarden.com"); // Production } } } diff --git a/src/iOS.Extension/LoginAddViewController.cs b/src/iOS.Extension/LoginAddViewController.cs index 42f1ca61b..cbaf1bae4 100644 --- a/src/iOS.Extension/LoginAddViewController.cs +++ b/src/iOS.Extension/LoginAddViewController.cs @@ -54,7 +54,7 @@ namespace Bit.iOS.Extension _folderService = Resolver.Resolve(); _googleAnalyticsService = Resolver.Resolve(); - NavItem.Title = AppResources.AddLogin; + NavItem.Title = AppResources.AddItem; CancelBarButton.Title = AppResources.Cancel; SaveBarButton.Title = AppResources.Save; View.BackgroundColor = new UIColor(red: 0.94f, green: 0.94f, blue: 0.96f, alpha: 1.0f); @@ -306,7 +306,7 @@ namespace Bit.iOS.Extension { if(section == 0) { - return AppResources.LoginInformation; + return AppResources.ItemInformation; } else if(section == 2) { diff --git a/src/iOS.Extension/LoginListViewController.cs b/src/iOS.Extension/LoginListViewController.cs index a091bd4fd..9ae7f1409 100644 --- a/src/iOS.Extension/LoginListViewController.cs +++ b/src/iOS.Extension/LoginListViewController.cs @@ -36,7 +36,7 @@ namespace Bit.iOS.Extension public async override void ViewDidLoad() { base.ViewDidLoad(); - NavItem.Title = AppResources.Logins; + NavItem.Title = AppResources.Items; if(!CanAutoFill()) { CancelBarButton.Title = AppResources.Close; @@ -150,7 +150,7 @@ namespace Bit.iOS.Extension if(_tableItems == null || _tableItems.Count() == 0) { var noDataCell = new UITableViewCell(UITableViewCellStyle.Default, "NoDataCell"); - noDataCell.TextLabel.Text = AppResources.NoLoginsTap; + noDataCell.TextLabel.Text = AppResources.NoItemsTap; noDataCell.TextLabel.TextAlignment = UITextAlignment.Center; noDataCell.TextLabel.LineBreakMode = UILineBreakMode.WordWrap; noDataCell.TextLabel.Lines = 0;