diff --git a/Translations/LockAssist.de.language.xml b/Translations/LockAssist.de.language.xml index 89e0c60..433cbe5 100644 --- a/Translations/LockAssist.de.language.xml +++ b/Translations/LockAssist.de.language.xml @@ -4,7 +4,7 @@ Increment the TranslationVersion every time the translation file is updated Also update the version.info file --> - 4 + 5 FirstTimeInfo Quick Unlock bietet verschiedene Konfigurationsmöglichkeiten. @@ -127,6 +127,12 @@ Ist sie aktiv, dann werden beim Nutzen dieser Kommandos ALLE Datenbanken gesperr Es hängt vom Sperrstatus der aktiven Datenbank ab, ob gesperrt oder entsperrt wird. Halte die [Shift]-Taste gedrückt, um nur die aktive Datenbank zu sperren / entsperren. + + + SoftlockModeUnhideForms + SoftLock ist aktiv. + +Zum Deaktivieren bitte auf das oberste Fenster klicken SoftlockModeUnhide diff --git a/Translations/LockAssist.template.language.xml b/Translations/LockAssist.template.language.xml index 3e94c7b..3974536 100644 --- a/Translations/LockAssist.template.language.xml +++ b/Translations/LockAssist.template.language.xml @@ -86,7 +86,7 @@ Create it now? OptionsQUInfoRememberPassword 'Remember master password' needs to be active in Options -> Security. -Please don't forget to activate this setting. +Please don't forget to activate this setting OptionsQUUseLast @@ -127,6 +127,10 @@ In this case it depends on the active document's state whether a global lock or If the [Shift] key is pressed while using these commands only the active document is processed. + + SoftlockModeUnhideForms + SoftLock active. Click topmost form to deactivate + SoftlockModeUnhide SoftLock active. Click to deactivate diff --git a/src/PluginTranslation.cs b/src/PluginTranslation.cs index 131cf75..a1db048 100644 --- a/src/PluginTranslation.cs +++ b/src/PluginTranslation.cs @@ -14,7 +14,7 @@ namespace PluginTranslation { - public class TranslationChangedEventArgs: EventArgs + public class TranslationChangedEventArgs : EventArgs { public string OldLanguageIso6391 = string.Empty; public string NewLanguageIso6391 = string.Empty; @@ -33,57 +33,175 @@ public static class PluginTranslate private static string LanguageIso6391 = string.Empty; #region Definitions of translated texts go here public const string PluginName = "Lock Assist"; + /// + /// Quick Unlock offers two operation modes. + /// Please choose your preferred way of working. + /// public static readonly string FirstTimeInfo = @"Quick Unlock offers two operation modes. Please choose your preferred way of working."; + /// + /// Mode: + /// public static readonly string OptionsQUMode = @"Mode:"; + /// + /// Quick Unlock active + /// public static readonly string Active = @"Quick Unlock active"; + /// + /// No Quick Unlock key found. + /// + /// Quick Unlock is not possible. + /// public static readonly string KeyProvNoQuickUnlock = @"No Quick Unlock key found. Quick Unlock is not possible."; + /// + /// Prerequsites for mode 'database password': + /// - Database masterkey contains a password + /// - Option 'Remember master password' is active + /// + /// An existing Quick Unlock entry will be used as fallback + /// public static readonly string OptionsQUReqInfoDB = @"Prerequsites for mode 'database password': - Database masterkey contains a password - Option 'Remember master password' is active An existing Quick Unlock entry will be used as fallback"; + /// + /// Quick Unlock + /// public static readonly string OptionsQUSettings = @"Quick Unlock"; + /// + /// Quick Unlock entry only + /// public static readonly string OptionsQUModeEntry = @"Quick Unlock entry only"; + /// + /// Database password + /// public static readonly string OptionsQUModeDatabasePW = @"Database password"; + /// + /// Quick Unlock entry created. + /// + /// Please edit and set Quick Unlock PIN as password + /// public static readonly string OptionsQUEntryCreated = @"Quick Unlock entry created. Please edit and set Quick Unlock PIN as password"; + /// + /// Settings are DB specific + /// public static readonly string OptionsQUSettingsPerDB = @"Settings are DB specific"; + /// + /// Database specific settings switched off. + /// + /// Click '{0}' to use the global settings for this database. + /// Click '{1}' to make this database's settings the new global settings. + /// public static readonly string OptionsSwitchDBToGeneral = @"Database specific settings switched off. Click '{0}' to use the global settings for this database. Click '{1}' to make this database's settings the new global settings."; + /// + /// PIN length: + /// public static readonly string OptionsQUPINLength = @"PIN length:"; + /// + /// Unlock + /// public static readonly string ButtonUnlock = @"Unlock"; + /// + /// Quick Unlock PIN: + /// public static readonly string UnlockLabel = @"Quick Unlock PIN:"; + /// + /// Quick Unlock entry could not be found. + /// + /// Create it now? + /// public static readonly string OptionsQUEntryCreate = @"Quick Unlock entry could not be found. Create it now?"; + /// + /// This key provider cannot be used to create keys. + /// public static readonly string KeyProvNoCreate = @"This key provider cannot be used to create keys."; + /// + /// 'Remember master password' needs to be active in Options -> Security. + /// Please don't forget to activate this setting + /// public static readonly string OptionsQUInfoRememberPassword = @"'Remember master password' needs to be active in Options -> Security. Please don't forget to activate this setting"; + /// + /// Use last {0} characters as PIN + /// public static readonly string OptionsQUUseLast = @"Use last {0} characters as PIN"; + /// + /// Use first {0} characters as PIN + /// public static readonly string OptionsQUUseFirst = @"Use first {0} characters as PIN"; + /// + /// The entered PIN was not correct. + /// + /// The database stays locked and can only be unlocked with the original masterkey + /// public static readonly string WrongPIN = @"The entered PIN was not correct. The database stays locked and can only be unlocked with the original masterkey"; + /// + /// Hours + /// public static readonly string Hours = @"Hours"; + /// + /// Minutes + /// public static readonly string Minutes = @"Minutes"; + /// + /// Seconds + /// public static readonly string Seconds = @"Seconds"; + /// + /// Global '{0} / {1}' + /// public static readonly string OptionsLockWorkspace = @"Global '{0} / {1}'"; + /// + /// This option changes the behaviour of '{0} / {1}' for both the menu entry as well as the toolbar button. + /// + /// If it's active ALL loaded databases are locked / unlocked by using these commands. + /// In this case it depends on the active document's state whether a global lock or global unlock is performed. + /// + /// If the [Shift] key is pressed while using these commands only the active document is processed. + /// public static readonly string OptionsLockWorkspaceDesc = @"This option changes the behaviour of '{0} / {1}' for both the menu entry as well as the toolbar button. If it's active ALL loaded databases are locked / unlocked by using these commands. In this case it depends on the active document's state whether a global lock or global unlock is performed. If the [Shift] key is pressed while using these commands only the active document is processed."; - public static string SoftlockModeUnhideForms = @"SoftLock active. Click topmost form to deactivate"; + /// + /// SoftLock active. Click topmost form to deactivate + /// + public static readonly string SoftlockModeUnhideForms = @"SoftLock active. Click topmost form to deactivate"; + /// + /// SoftLock active. Click to deactivate + /// public static readonly string SoftlockModeUnhide = @"SoftLock active. Click to deactivate"; + /// + /// SoftLock after inactivity + /// public static readonly string SoftlockActive = @"SoftLock after inactivity"; + /// + /// SoftLock when minimizing KeePass + /// public static readonly string SoftlockOnMinimize = @"SoftLock when minimizing KeePass"; + /// + /// SoftLock hides following sensitive information while still allowing Auto-Type as well as other integration: + /// - group list + /// - entry list + /// - entry view + /// - all forms NOT mentioned in config file property LockAssist.SoftlockExcludeForms + /// + /// Valid Quick Unlock settings are required, Quick Unlock itself does NOT need to be active + /// public static readonly string SoftlockDesc = @"SoftLock hides following sensitive information while still allowing Auto-Type as well as other integration: - group list - entry list @@ -192,8 +310,8 @@ private static string InitTranslation(Plugin plugin, List lDebugStrings, private static string GetFilename(string plugin, string lang) { string filename = UrlUtil.GetFileDirectory(WinUtil.GetExecutable(), true, true); - filename += KeePass.App.AppDefs.PluginsDir + UrlUtil.LocalDirSepChar + "Translations" + UrlUtil.LocalDirSepChar; - filename += plugin + "." + lang + ".language.xml"; + filename += KeePass.App.AppDefs.PluginsDir + UrlUtil.LocalDirSepChar + "Translations" + UrlUtil.LocalDirSepChar; + filename += plugin + "." + lang + ".language.xml"; return filename; } #endregion