mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-02-01 18:02:31 -05:00
Update translations (#1404)
This commit is contained in:
@@ -19,7 +19,7 @@ public struct SearchBarView: View {
|
||||
.foregroundColor(colors.text)
|
||||
.padding(.leading, 8)
|
||||
|
||||
TextField(String(localized: "search_credentials", bundle: locBundle), text: $text)
|
||||
TextField(String(localized: "search_items", bundle: locBundle), text: $text)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.foregroundColor(colors.text)
|
||||
|
||||
@@ -36,7 +36,7 @@ public struct CredentialProviderView: View {
|
||||
|
||||
if viewModel.isLoading {
|
||||
Spacer()
|
||||
ProgressView(String(localized: "loading_credentials", bundle: locBundle))
|
||||
ProgressView(String(localized: "loading_items", bundle: locBundle))
|
||||
.progressViewStyle(.circular)
|
||||
.scaleEffect(1.5)
|
||||
Spacer()
|
||||
@@ -48,11 +48,11 @@ public struct CredentialProviderView: View {
|
||||
.font(.system(size: 50))
|
||||
.foregroundColor(colors.text)
|
||||
|
||||
Text(String(localized: "no_credentials_found", bundle: locBundle))
|
||||
Text(String(localized: "no_items_found", bundle: locBundle))
|
||||
.font(.headline)
|
||||
.foregroundColor(colors.text)
|
||||
|
||||
Text(String(localized: "no_credentials_match", bundle: locBundle))
|
||||
Text(String(localized: "no_items_match", bundle: locBundle))
|
||||
.font(.subheadline)
|
||||
.foregroundColor(colors.text)
|
||||
.multilineTextAlignment(.center)
|
||||
@@ -71,7 +71,7 @@ public struct CredentialProviderView: View {
|
||||
}, label: {
|
||||
HStack {
|
||||
Image(systemName: "plus.circle.fill")
|
||||
Text(String(localized: "create_new_credential", bundle: locBundle))
|
||||
Text(String(localized: "create_new_item", bundle: locBundle))
|
||||
}
|
||||
.padding()
|
||||
.frame(maxWidth: .infinity)
|
||||
@@ -109,7 +109,7 @@ public struct CredentialProviderView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.navigationTitle(viewModel.isChoosingTextToInsert ? String(localized: "select_text_to_insert", bundle: locBundle) : String(localized: "select_credential", bundle: locBundle))
|
||||
.navigationTitle(viewModel.isChoosingTextToInsert ? String(localized: "select_text_to_insert", bundle: locBundle) : String(localized: "select_item", bundle: locBundle))
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigationBarLeading) {
|
||||
@@ -251,7 +251,7 @@ public class CredentialProviderViewModel: ObservableObject {
|
||||
isLoading = false
|
||||
} catch {
|
||||
isLoading = false
|
||||
errorMessage = String(localized: "credentials_load_error", bundle: locBundle)
|
||||
errorMessage = String(localized: "items_load_error", bundle: locBundle)
|
||||
showError = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
"title" = "Title";
|
||||
"unknown_error" = "An unknown error occurred";
|
||||
|
||||
"loading_credentials" = "Loading credentials...";
|
||||
"no_credentials_found" = "No credentials found";
|
||||
"no_credentials_match" = "No existing credentials match your search";
|
||||
"create_new_credential" = "Create New Credential";
|
||||
"select_credential" = "Select Credential";
|
||||
"loading_items" = "Loading items...";
|
||||
"no_items_found" = "No items found";
|
||||
"no_items_match" = "No existing items match your search";
|
||||
"create_new_item" = "Create New Item";
|
||||
"select_item" = "Select Item";
|
||||
"select_text_to_insert" = "Select Text to Insert";
|
||||
"choose_username" = "Choose Username";
|
||||
"select_text_to_insert_message" = "Select the text to insert into the focused input field";
|
||||
@@ -21,8 +21,8 @@
|
||||
"username_prefix" = "Username: ";
|
||||
"email_prefix" = "Email: ";
|
||||
"password" = "Password";
|
||||
"credentials_load_error" = "Failed to load credentials. Please open the AliasVault app to check for updates.";
|
||||
"no_credential_selected" = "No credential selected.";
|
||||
"items_load_error" = "Failed to load items. Please open the AliasVault app to check for updates.";
|
||||
"no_item_selected" = "No item selected.";
|
||||
|
||||
/* Context menu strings */
|
||||
"copy_username" = "Copy Username";
|
||||
@@ -34,7 +34,7 @@
|
||||
"email_copied" = "Email copied";
|
||||
|
||||
/* Search bar */
|
||||
"search_credentials" = "Search credentials...";
|
||||
"search_items" = "Search items...";
|
||||
|
||||
/* Passkey registration */
|
||||
"create_passkey_title" = "Create New Passkey";
|
||||
|
||||
Reference in New Issue
Block a user