From df68d0140f35b39a05569c9b74b0337471428d76 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Wed, 15 Jan 2020 12:59:29 +0100 Subject: [PATCH] Updated localizations --- MacPass/MPPasswordInputController.m | 4 ++-- MacPass/MPPathControl.m | 4 ++++ MacPass/de.lproj/Localizable.strings | 2 +- MacPass/en.lproj/Localizable.strings | 19 ++++++++++++++----- MacPass/es.lproj/Localizable.strings | 4 ++-- MacPass/it.lproj/Localizable.strings | 2 +- MacPass/ru.lproj/Localizable.strings | 2 +- MacPass/zh-Hans.lproj/Localizable.strings | 2 +- 8 files changed, 26 insertions(+), 13 deletions(-) diff --git a/MacPass/MPPasswordInputController.m b/MacPass/MPPasswordInputController.m index 6bd6d97f..84b4725b 100644 --- a/MacPass/MPPasswordInputController.m +++ b/MacPass/MPPasswordInputController.m @@ -224,11 +224,11 @@ BOOL isKdbDatabaseFile = (keyFileVersion.format != KPKDatabaseFormatUnknown); if(isKdbDatabaseFile) { if([document.fileURL isEqual:self.keyPathControl.URL]) { - self.keyFileWarningTextField.stringValue = NSLocalizedString(@"ERROR_CURRENT_DATABASE_FILE_SELECTED_AS_KEY_FILE", "Error message displayed when the current database file is also set as the key file"); + self.keyFileWarningTextField.stringValue = NSLocalizedString(@"WARNING_CURRENT_DATABASE_FILE_SELECTED_AS_KEY_FILE", "Error message displayed when the current database file is also set as the key file"); self.keyFileWarningTextField.hidden = NO; } else { - self.keyFileWarningTextField.stringValue = NSLocalizedString(@"ERROR_DATABASE_FILE_SELECTED_AS_KEY_FILE", "Error message displayed when a keepass database file is set as the key file"); + self.keyFileWarningTextField.stringValue = NSLocalizedString(@"WARNING_DATABASE_FILE_SELECTED_AS_KEY_FILE", "Error message displayed when a keepass database file is set as the key file"); self.keyFileWarningTextField.hidden = NO; } } diff --git a/MacPass/MPPathControl.m b/MacPass/MPPathControl.m index a2b3f7aa..d71ad8cc 100644 --- a/MacPass/MPPathControl.m +++ b/MacPass/MPPathControl.m @@ -15,6 +15,10 @@ NSString *const MPPathControlDidSetURLNotification = @"MPPathControlDidSetURLNot @implementation MPPathControl ++ (Class)cellClass{ + return MPPathCell.class; +} + - (BOOL)canBecomeKeyView { return YES; } diff --git a/MacPass/de.lproj/Localizable.strings b/MacPass/de.lproj/Localizable.strings index 1f6ca2d9..3b639842 100644 --- a/MacPass/de.lproj/Localizable.strings +++ b/MacPass/de.lproj/Localizable.strings @@ -344,7 +344,7 @@ "ERROR_INVALID_PLUGIN" = "Kein MacPass-Plugin"; /* Error description for missing accessibilty permissions */ -"ERROR_NO_ACCESSIBILTY_PERMISSIONS" = "MacPass hat keine Berechtigung den Bildschirminhalt aufzuzeichnen."; +"ERROR_NO_ACCESSIBILITY_PERMISSIONS" = "MacPass hat keine Berechtigung den Bildschirminhalt aufzuzeichnen."; /* Error description for missing screen recording permissions */ "ERROR_NO_PERMISSION_TO_RECORD_SCREEN" = "MacPass hat keine Berechtigungen den Bildschirminhalt aufzuzeichnen"; diff --git a/MacPass/en.lproj/Localizable.strings b/MacPass/en.lproj/Localizable.strings index 4609ecd0..ad6f9f36 100644 --- a/MacPass/en.lproj/Localizable.strings +++ b/MacPass/en.lproj/Localizable.strings @@ -43,7 +43,7 @@ /* Informative text displayed on the alert that shows up when MacPass asks for permssion to download the plugin repository JSON file */ "ALERT_ASK_FOR_PLUGIN_REPOSITORY_CONNECTION_PERMISSION_INFORMATIVE_TEXT" = "The plugin defintions are hosted online at https://macpassapp.org. MacPass would like to download those files to ensure the data is up to date."; -/* Message displayed on the alert that askf for permission to download the plugin repository JSON file */ +/* Message displayed on the alert that asks for permission to download the plugin repository JSON file */ "ALERT_ASK_FOR_PLUGIN_REPOSITORY_CONNECTION_PERMISSION_MESSAGE" = "MacPass would like to check for updates of plugin definitions online"; /* Disallow the download of the plugin repository file */ @@ -137,7 +137,7 @@ /* Status MacPass has no screen recording permissions */ "AUTOTYPE_STATUS_NO_SCREEN_RECORDING_PERMISSIONS" = "MacPass has no permission to record your screen"; -/* Status lable when no issue were found in screen recording permissions */ +/* Status label when no issue were found in screen recording permissions */ "AUTOTYPE_STATUS_SCREEN_RECORDING_PERMISSIONS_OK" = "MacPass has permission to record your screen"; /* Notficication: Autotype timed out */ @@ -350,7 +350,7 @@ "ERROR_INVALID_PLUGIN" = "Invalid plugin"; /* Error description for missing accessibility permissions */ -"ERROR_NO_ACCESSIBILTY_PERMISSIONS" = "MacPass has no permission to control your computer (Accessibility)"; +"ERROR_NO_ACCESSIBILITY_PERMISSIONS" = "MacPass has no permission to control your computer (Accessibility)"; /* Error description for missing screen recording permissions */ "ERROR_NO_PERMISSION_TO_RECORD_SCREEN" = "MacPass has no permission to record your screen"; @@ -522,7 +522,7 @@ /* Select Browser */ "OTHER_BROWSER" = "Select Browser…"; -/* No comment provided by engineer. */ +/* Value field for reference lookup */ "OUTPUT_VALUE" = "Output Value"; /* Menu item to toggle display of password column in entry table @@ -666,7 +666,7 @@ /* Disable search menu item */ "SEARCH_NO" = "Exclude from Search"; -/* No comment provided by engineer. */ +/* Search field for references lookup */ "SEARCH_VALUE" = "Search Value"; /* Enable search menu item */ @@ -787,6 +787,12 @@ UUID reference item */ "UUID" = "UUID"; +/* Error message displayed when the current database file is also set as the key file */ +"WARNING_CURRENT_DATABASE_FILE_SELECTED_AS_KEY_FILE" = "You cannot select the current database file as the key file."; + +/* Error message displayed when a keepass database file is set as the key file */ +"WARNING_DATABASE_FILE_SELECTED_AS_KEY_FILE" = "You should not use another database file as a key file since it might change and prevent you from reopening the current file."; + /* No Key or Password */ "WARNING_NO_PASSWORD_OR_KEYFILE" = "No password or keyfile supplied!"; @@ -808,6 +814,9 @@ /* No comment provided by engineer. */ "WARNING_ON_SAVE_NO_PASSWORD_OR_KEY_SET_SUGGESTION" = "Please set a password and/or keyfile for this database. Aborting this will undo all changes and lock the document"; +/* Text displayed when no recent documents can be displayed in */ +"WELCOME_WINDOW_NO_RECENT_DOCUMENTS" = "No recent Documents"; + /* Label for the workflow settings tab */ "WORKFLOW_SETTINGS" = "Workflow"; diff --git a/MacPass/es.lproj/Localizable.strings b/MacPass/es.lproj/Localizable.strings index 9b8d5192..744cb620 100644 --- a/MacPass/es.lproj/Localizable.strings +++ b/MacPass/es.lproj/Localizable.strings @@ -356,7 +356,7 @@ "ERROR_INVALID_PLUGIN" = "Plugin inválido"; /* Error description for missing accessibilty permissions */ -"ERROR_NO_ACCESSIBILTY_PERMISSIONS" = "MacPass no tiene permiso para controlar su ordenador (Accesibilidad)"; +"ERROR_NO_ACCESSIBILITY_PERMISSIONS" = "MacPass no tiene permiso para controlar su ordenador (Accesibilidad)"; /* Error description for missing screen recording permissions */ "ERROR_NO_PERMISSION_TO_RECORD_SCREEN" = "MacPass no tiene permiso para grabar su pantalla"; @@ -528,7 +528,7 @@ /* Select Browser */ "OTHER_BROWSER" = "Seleccionar Navegador…"; -/* No comment provided by engineer. */ +/* Value field for reference lookup */ "OUTPUT_VALUE" = "Valor de salida"; /* Menu item to toggle display of password column in entry table diff --git a/MacPass/it.lproj/Localizable.strings b/MacPass/it.lproj/Localizable.strings index c1accab2..9455ef1b 100644 --- a/MacPass/it.lproj/Localizable.strings +++ b/MacPass/it.lproj/Localizable.strings @@ -350,7 +350,7 @@ "ERROR_INVALID_PLUGIN" = "Plugin invalido"; /* Error description for missing accessibility permissions */ -"ERROR_NO_ACCESSIBILTY_PERMISSIONS" = "MacPass non ha il permesso per controllare il suo computer (Accessibilità)"; +"ERROR_NO_ACCESSIBILITY_PERMISSIONS" = "MacPass non ha il permesso per controllare il suo computer (Accessibilità)"; /* Error description for missing screen recording permissions */ "ERROR_NO_PERMISSION_TO_RECORD_SCREEN" = "MacPass non ha il permesso per registrare lo schermo"; diff --git a/MacPass/ru.lproj/Localizable.strings b/MacPass/ru.lproj/Localizable.strings index abc6ed0d..fa61bd7b 100644 --- a/MacPass/ru.lproj/Localizable.strings +++ b/MacPass/ru.lproj/Localizable.strings @@ -362,7 +362,7 @@ "ERROR_INVALID_PLUGIN" = "Недействительный плагин"; /* Error description for missing accessibilty permissions */ -"ERROR_NO_ACCESSIBILTY_PERMISSIONS" = "MacPass не имеет разрешения на управление компьютером (Универсальный доступ)"; +"ERROR_NO_ACCESSIBILITY_PERMISSIONS" = "MacPass не имеет разрешения на управление компьютером (Универсальный доступ)"; /* Error description for missing screen recording permissions */ "ERROR_NO_PERMISSION_TO_RECORD_SCREEN" = "MacPass не имеет разрешения на запись экрана"; diff --git a/MacPass/zh-Hans.lproj/Localizable.strings b/MacPass/zh-Hans.lproj/Localizable.strings index e9b3abd3..4d953bd5 100644 --- a/MacPass/zh-Hans.lproj/Localizable.strings +++ b/MacPass/zh-Hans.lproj/Localizable.strings @@ -288,7 +288,7 @@ "ERROR_INVALID_PLUGIN" = "无效插件"; /* Error description for missing accessibilty permissions */ -"ERROR_NO_ACCESSIBILTY_PERMISSIONS" = "MacPass 没有权限控制您的计算机(辅助功能)"; +"ERROR_NO_ACCESSIBILITY_PERMISSIONS" = "MacPass 没有权限控制您的计算机(辅助功能)"; /* Error description for missing screen recording permissions */ "ERROR_NO_PERMISSION_TO_RECORD_SCREEN" = "MacPass 没有权限录制您的屏幕";