From c6be6ec81958980c7d1d01355491066d038e2ef2 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Tue, 11 Sep 2018 16:59:48 +0200 Subject: [PATCH] Fixed localization issues. Localized OpenPanelAccessoryView --- MacPass.xcodeproj/project.pbxproj | 20 +++++++++++++++---- .../xcshareddata/xcschemes/MacPass.xcscheme | 3 ++- .../OpenPanelAccessoryView.xib | 6 +++--- .../de.lproj/OpenPanelAccessoryView.strings | 6 ++++++ MacPass/en.lproj/InfoPlist.strings | 2 +- .../en.lproj/OpenPanelAccessoryView.strings | 6 ++++++ MacPass/nl.lproj/InfoPlist.strings | 2 +- MacPass/pl.lproj/InfoPlist.strings | 10 +--------- MacPass/sv-SE.lproj/InfoPlist.strings | 2 +- 9 files changed, 37 insertions(+), 20 deletions(-) rename MacPass/{ => Base.lproj}/OpenPanelAccessoryView.xib (96%) create mode 100644 MacPass/de.lproj/OpenPanelAccessoryView.strings create mode 100644 MacPass/en.lproj/OpenPanelAccessoryView.strings diff --git a/MacPass.xcodeproj/project.pbxproj b/MacPass.xcodeproj/project.pbxproj index 18936967..174ee185 100644 --- a/MacPass.xcodeproj/project.pbxproj +++ b/MacPass.xcodeproj/project.pbxproj @@ -23,6 +23,7 @@ 4C0C59F118B17F10009C7B76 /* DDHotKeyUtilities.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0C59EF18B17F10009C7B76 /* DDHotKeyUtilities.m */; }; 4C0DBEF51BF508DE00F9B287 /* PluginSettings.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C0DBEF71BF508DE00F9B287 /* PluginSettings.xib */; }; 4C0F04402147A6FA000B8568 /* MPCustomFieldTableView.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0F043F2147A6FA000B8568 /* MPCustomFieldTableView.m */; }; + 4C0F04412147FB49000B8568 /* OpenPanelAccessoryView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C0F04432147FB49000B8568 /* OpenPanelAccessoryView.xib */; }; 4C0F647B17B6BC9C00D9522A /* MPSavePanelAccessoryViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C0F647A17B6BC9C00D9522A /* MPSavePanelAccessoryViewController.m */; }; 4C10207F1B750E2F00BFCD59 /* MPTestAutotype.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C10207E1B750E2F00BFCD59 /* MPTestAutotype.m */; }; 4C10412C178CDD44001B5239 /* NSDate+Humanized.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C10412B178CDD44001B5239 /* NSDate+Humanized.m */; }; @@ -137,7 +138,6 @@ 4C65FAE916D16DDB006E0577 /* MPPasswordInputController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C65FAE716D16DDB006E0577 /* MPPasswordInputController.m */; }; 4C663D411D6D91A900CB6237 /* MPNumberFormatter.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C663D401D6D91A900CB6237 /* MPNumberFormatter.m */; }; 4C6AEEF91A043E2B00CA2420 /* MPDocumentController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C6AEEF81A043E2B00CA2420 /* MPDocumentController.m */; }; - 4C6AEF031A04400E00CA2420 /* OpenPanelAccessoryView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4C6AEF021A04400E00CA2420 /* OpenPanelAccessoryView.xib */; }; 4C6B7C7D18BE7EB0001D5D77 /* MPDocument+History.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C6B7C7C18BE7EB0001D5D77 /* MPDocument+History.m */; }; 4C6BC6601A36717E00BDDF3D /* MPDatabaseSearch.m in Sources */ = {isa = PBXBuildFile; fileRef = 4C6BC65F1A36717E00BDDF3D /* MPDatabaseSearch.m */; }; 4C6D1D25178579570014C5A5 /* 48_FolderTemplate.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 4C6D1D24178579570014C5A5 /* 48_FolderTemplate.pdf */; }; @@ -348,6 +348,9 @@ 4C0DBEF61BF508DE00F9B287 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PluginSettings.xib; sourceTree = ""; }; 4C0F043E2147A6FA000B8568 /* MPCustomFieldTableView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MPCustomFieldTableView.h; sourceTree = ""; }; 4C0F043F2147A6FA000B8568 /* MPCustomFieldTableView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MPCustomFieldTableView.m; sourceTree = ""; }; + 4C0F04422147FB49000B8568 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/OpenPanelAccessoryView.xib; sourceTree = ""; }; + 4C0F04452147FB4D000B8568 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/OpenPanelAccessoryView.strings; sourceTree = ""; }; + 4C0F04472147FB4E000B8568 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/OpenPanelAccessoryView.strings; sourceTree = ""; }; 4C0F647917B6BC9C00D9522A /* MPSavePanelAccessoryViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPSavePanelAccessoryViewController.h; sourceTree = ""; }; 4C0F647A17B6BC9C00D9522A /* MPSavePanelAccessoryViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPSavePanelAccessoryViewController.m; sourceTree = ""; }; 4C10207E1B750E2F00BFCD59 /* MPTestAutotype.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPTestAutotype.m; sourceTree = ""; }; @@ -539,7 +542,6 @@ 4C663D401D6D91A900CB6237 /* MPNumberFormatter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPNumberFormatter.m; sourceTree = ""; }; 4C6AEEF71A043E2B00CA2420 /* MPDocumentController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPDocumentController.h; sourceTree = ""; }; 4C6AEEF81A043E2B00CA2420 /* MPDocumentController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPDocumentController.m; sourceTree = ""; }; - 4C6AEF021A04400E00CA2420 /* OpenPanelAccessoryView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = OpenPanelAccessoryView.xib; sourceTree = ""; }; 4C6B7C7C18BE7EB0001D5D77 /* MPDocument+History.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MPDocument+History.m"; sourceTree = ""; }; 4C6BC65F1A36717E00BDDF3D /* MPDatabaseSearch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPDatabaseSearch.m; sourceTree = ""; }; 4C6D1D24178579570014C5A5 /* 48_FolderTemplate.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = 48_FolderTemplate.pdf; sourceTree = ""; }; @@ -1327,7 +1329,7 @@ 4C6AEF041A0441F800CA2420 /* AccessoryViews */ = { isa = PBXGroup; children = ( - 4C6AEF021A04400E00CA2420 /* OpenPanelAccessoryView.xib */, + 4C0F04432147FB49000B8568 /* OpenPanelAccessoryView.xib */, ); name = AccessoryViews; sourceTree = ""; @@ -1813,7 +1815,7 @@ 4C3826B31AD04D8E007D7D67 /* 38_SambaUnmountTemplate.pdf in Resources */, 4CB9339916D3A0DD00A13B5D /* Credits.rtf in Resources */, 4C08ACEA204F01C700863D99 /* keyboardTemplate.pdf in Resources */, - 4C6AEF031A04400E00CA2420 /* OpenPanelAccessoryView.xib in Resources */, + 4C0F04412147FB49000B8568 /* OpenPanelAccessoryView.xib in Resources */, 4C6DCC451FA2457900C8AD3F /* ContextBar.xib in Resources */, 4C431BCF16E2BAB000700A81 /* OverlayWindow.xib in Resources */, 4C3826B61AD04D8E007D7D67 /* 41_VectorTemplate.pdf in Resources */, @@ -2092,6 +2094,16 @@ name = PluginSettings.xib; sourceTree = ""; }; + 4C0F04432147FB49000B8568 /* OpenPanelAccessoryView.xib */ = { + isa = PBXVariantGroup; + children = ( + 4C0F04422147FB49000B8568 /* Base */, + 4C0F04452147FB4D000B8568 /* en */, + 4C0F04472147FB4E000B8568 /* de */, + ); + name = OpenPanelAccessoryView.xib; + sourceTree = ""; + }; 4C45FB21178E09ED0010007D /* InfoPlist.strings */ = { isa = PBXVariantGroup; children = ( diff --git a/MacPass.xcodeproj/xcshareddata/xcschemes/MacPass.xcscheme b/MacPass.xcodeproj/xcshareddata/xcschemes/MacPass.xcscheme index b4826afb..bbb59912 100644 --- a/MacPass.xcodeproj/xcshareddata/xcschemes/MacPass.xcscheme +++ b/MacPass.xcodeproj/xcshareddata/xcschemes/MacPass.xcscheme @@ -1,7 +1,7 @@ + version = "2.0"> @@ -67,6 +67,7 @@ useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" + debugXPCServices = "NO" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -49,7 +49,7 @@ - + diff --git a/MacPass/de.lproj/OpenPanelAccessoryView.strings b/MacPass/de.lproj/OpenPanelAccessoryView.strings new file mode 100644 index 00000000..26287ddd --- /dev/null +++ b/MacPass/de.lproj/OpenPanelAccessoryView.strings @@ -0,0 +1,6 @@ + +/* Class = "NSButtonCell"; title = "Show hidden files"; ObjectID = "FfY-KA-8IC"; */ +"FfY-KA-8IC.title" = "Show hidden files"; + +/* Class = "NSButtonCell"; title = "Allow all files"; ObjectID = "tvV-1s-Be3"; */ +"tvV-1s-Be3.title" = "Allow all files"; diff --git a/MacPass/en.lproj/InfoPlist.strings b/MacPass/en.lproj/InfoPlist.strings index 69279bcd..e65da53f 100644 --- a/MacPass/en.lproj/InfoPlist.strings +++ b/MacPass/en.lproj/InfoPlist.strings @@ -1,3 +1,3 @@ /* (No Comment) */ -"NSHumanReadableCopyright" = "Copyright © 2012-2018 HicknHack Software GmbH. All rights reserved."; +"NSHumanReadableCopyright" = "Copyright ©2012-2018 HicknHack Software GmbH. All rights reserved."; diff --git a/MacPass/en.lproj/OpenPanelAccessoryView.strings b/MacPass/en.lproj/OpenPanelAccessoryView.strings new file mode 100644 index 00000000..26287ddd --- /dev/null +++ b/MacPass/en.lproj/OpenPanelAccessoryView.strings @@ -0,0 +1,6 @@ + +/* Class = "NSButtonCell"; title = "Show hidden files"; ObjectID = "FfY-KA-8IC"; */ +"FfY-KA-8IC.title" = "Show hidden files"; + +/* Class = "NSButtonCell"; title = "Allow all files"; ObjectID = "tvV-1s-Be3"; */ +"tvV-1s-Be3.title" = "Allow all files"; diff --git a/MacPass/nl.lproj/InfoPlist.strings b/MacPass/nl.lproj/InfoPlist.strings index 687ae93b..65553a5c 100644 --- a/MacPass/nl.lproj/InfoPlist.strings +++ b/MacPass/nl.lproj/InfoPlist.strings @@ -1,3 +1,3 @@ /* (No Comment) */ -"NSHumanReadableCopyright" = "Copyright © 2012-2018 HicknHack Software GmbH. Alle rechten voorbehouden."; +"NSHumanReadableCopyright" = "Copyright ©2012-2018 HicknHack Software GmbH. Alle rechten voorbehouden."; diff --git a/MacPass/pl.lproj/InfoPlist.strings b/MacPass/pl.lproj/InfoPlist.strings index cebfa1ff..b92732c7 100644 --- a/MacPass/pl.lproj/InfoPlist.strings +++ b/MacPass/pl.lproj/InfoPlist.strings @@ -1,9 +1 @@ -/* (No Comment) */ -"KDB Database" = "Baza danych KDB"; - -/* (No Comment) */ -"KDBX Database" = "Baza danych KDBX"; - -/* (No Comment) */ -"MacPass Plugin" = "Wtyczka MacPass"; - +/* Localized versions of Info.plist keys */ diff --git a/MacPass/sv-SE.lproj/InfoPlist.strings b/MacPass/sv-SE.lproj/InfoPlist.strings index 69279bcd..e65da53f 100644 --- a/MacPass/sv-SE.lproj/InfoPlist.strings +++ b/MacPass/sv-SE.lproj/InfoPlist.strings @@ -1,3 +1,3 @@ /* (No Comment) */ -"NSHumanReadableCopyright" = "Copyright © 2012-2018 HicknHack Software GmbH. All rights reserved."; +"NSHumanReadableCopyright" = "Copyright ©2012-2018 HicknHack Software GmbH. All rights reserved.";