From cf93b2393686e3b3d7b88528ef4f0d3b1f24158b Mon Sep 17 00:00:00 2001 From: simprecicchiani Date: Mon, 11 May 2020 09:29:18 +0200 Subject: [PATCH 1/2] - Added Italian language support --- AutoLaunchHelper/it.lproj/InfoPlist.strings | 6 ++++++ AutoLaunchHelper/it.lproj/Main.strings | 3 +++ ThinkpadAssistant.xcodeproj/project.pbxproj | 11 +++++++++++ ThinkpadAssistant/it.lproj/InfoPlist.strings | 6 ++++++ ThinkpadAssistant/it.lproj/Localizable.strings | 18 ++++++++++++++++++ ThinkpadAssistant/it.lproj/Main.strings | 9 +++++++++ 6 files changed, 53 insertions(+) create mode 100644 AutoLaunchHelper/it.lproj/InfoPlist.strings create mode 100644 AutoLaunchHelper/it.lproj/Main.strings create mode 100644 ThinkpadAssistant/it.lproj/InfoPlist.strings create mode 100644 ThinkpadAssistant/it.lproj/Localizable.strings create mode 100644 ThinkpadAssistant/it.lproj/Main.strings diff --git a/AutoLaunchHelper/it.lproj/InfoPlist.strings b/AutoLaunchHelper/it.lproj/InfoPlist.strings new file mode 100644 index 0000000..40ef6a8 --- /dev/null +++ b/AutoLaunchHelper/it.lproj/InfoPlist.strings @@ -0,0 +1,6 @@ +/* Bundle name */ +"CFBundleName" = "AutoLaunchHelper"; + +/* Copyright (human-readable) */ +"NSHumanReadableCopyright" = "Copyright © 2020 Matthäus Szturc. Tutti i diritti riservati."; + diff --git a/AutoLaunchHelper/it.lproj/Main.strings b/AutoLaunchHelper/it.lproj/Main.strings new file mode 100644 index 0000000..8f02ab9 --- /dev/null +++ b/AutoLaunchHelper/it.lproj/Main.strings @@ -0,0 +1,3 @@ + +/* Class = "NSMenu"; title = "Main Menu"; ObjectID = "AYu-sK-qS6"; */ +"AYu-sK-qS6.title" = "Menu Principale"; diff --git a/ThinkpadAssistant.xcodeproj/project.pbxproj b/ThinkpadAssistant.xcodeproj/project.pbxproj index a99cff1..95e689b 100644 --- a/ThinkpadAssistant.xcodeproj/project.pbxproj +++ b/ThinkpadAssistant.xcodeproj/project.pbxproj @@ -73,6 +73,11 @@ C9B503782463269400673FFA /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = ""; }; C9DFD0242451BAA2000103A2 /* IconProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IconProvider.swift; sourceTree = ""; }; DD371F54F75D0F5C930CA66E /* Pods-ThinkpadAssistant.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ThinkpadAssistant.debug.xcconfig"; path = "Target Support Files/Pods-ThinkpadAssistant/Pods-ThinkpadAssistant.debug.xcconfig"; sourceTree = ""; }; + F2567B2F2469343D007C3158 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Main.strings; sourceTree = ""; }; + F2567B302469343D007C3158 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Main.strings; sourceTree = ""; }; + F2567B312469343D007C3158 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = ""; }; + F2567B322469343D007C3158 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; + F2567B332469343E007C3158 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = ""; }; FC21613D1EE9C64E00E7DB46 /* AutoLaunchHelper.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = AutoLaunchHelper.entitlements; sourceTree = ""; }; FC56DEBA1EE98AC7001ACE3F /* ThinkpadAssistant.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ThinkpadAssistant.app; sourceTree = BUILT_PRODUCTS_DIR; }; FC56DEBD1EE98AC7001ACE3F /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; @@ -277,6 +282,7 @@ Base, de, "zh-Hans", + it, ); mainGroup = FC56DEB11EE98AC7001ACE3F; productRefGroup = FC56DEBB1EE98AC7001ACE3F /* Products */; @@ -396,6 +402,7 @@ children = ( C9B3F78B2462DC360082AD67 /* de */, C9B503772463269300673FFA /* zh-Hans */, + F2567B322469343D007C3158 /* it */, ); name = Localizable.strings; sourceTree = ""; @@ -405,6 +412,7 @@ children = ( C9B3F78F2462E0540082AD67 /* de */, C9B503762463269300673FFA /* zh-Hans */, + F2567B312469343D007C3158 /* it */, ); name = InfoPlist.strings; sourceTree = ""; @@ -414,6 +422,7 @@ children = ( C9B3F7922462E0540082AD67 /* de */, C9B503782463269400673FFA /* zh-Hans */, + F2567B332469343E007C3158 /* it */, ); name = InfoPlist.strings; sourceTree = ""; @@ -424,6 +433,7 @@ FC56DEC41EE98AC7001ACE3F /* Base */, C9B3F7892462DA460082AD67 /* de */, C9B503742463269300673FFA /* zh-Hans */, + F2567B2F2469343D007C3158 /* it */, ); name = Main.storyboard; sourceTree = ""; @@ -434,6 +444,7 @@ FC56DED91EE98B3A001ACE3F /* Base */, C9B3F78D2462DC360082AD67 /* de */, C9B503752463269300673FFA /* zh-Hans */, + F2567B302469343D007C3158 /* it */, ); name = Main.storyboard; sourceTree = ""; diff --git a/ThinkpadAssistant/it.lproj/InfoPlist.strings b/ThinkpadAssistant/it.lproj/InfoPlist.strings new file mode 100644 index 0000000..0c43635 --- /dev/null +++ b/ThinkpadAssistant/it.lproj/InfoPlist.strings @@ -0,0 +1,6 @@ +/* Bundle name */ +"CFBundleName" = "ThinkpadAssistant"; + +/* Copyright (human-readable) */ +"NSHumanReadableCopyright" = "Copyright © 2020 Matthäus Szturc. Tutti i diritti riservati."; + diff --git a/ThinkpadAssistant/it.lproj/Localizable.strings b/ThinkpadAssistant/it.lproj/Localizable.strings new file mode 100644 index 0000000..4d3c2db --- /dev/null +++ b/ThinkpadAssistant/it.lproj/Localizable.strings @@ -0,0 +1,18 @@ +/* No comment provided by engineer. */ +"Microphone\nmuted" = "Microfono
muto"; + +/* No comment provided by engineer. */ +"Microphone\nunmuted" = "Microfono\nattivo"; + +/* No comment provided by engineer. */ +"Screen\nextending" = "Schermo
esteso"; + +/* No comment provided by engineer. */ +"Screen\nmirroring" = "Schermo
duplicato"; + +/* No comment provided by engineer. */ +"Wi-Fi\ndisabled" = "Wi-Fi
spento"; + +/* No comment provided by engineer. */ +"Wi-Fi\nenabled" = "Wi-Fi
acceso"; + diff --git a/ThinkpadAssistant/it.lproj/Main.strings b/ThinkpadAssistant/it.lproj/Main.strings new file mode 100644 index 0000000..50dab19 --- /dev/null +++ b/ThinkpadAssistant/it.lproj/Main.strings @@ -0,0 +1,9 @@ + +/* Class = "NSMenu"; title = "Main Menu"; ObjectID = "AYu-sK-qS6"; */ +"AYu-sK-qS6.title" = "Menu Principale"; + +/* Class = "NSMenuItem"; title = "Launch on Login"; ObjectID = "Lcb-4h-zk2"; */ +"Lcb-4h-zk2.title" = "Avvia al Login"; + +/* Class = "NSMenuItem"; title = "Quit"; ObjectID = "Q77-Nx-rEG"; */ +"Q77-Nx-rEG.title" = "Esci"; From cf8b15fdef48a2d6340356878f65a947a03bf9b3 Mon Sep 17 00:00:00 2001 From: simprecicchiani Date: Mon, 11 May 2020 09:33:41 +0200 Subject: [PATCH 2/2] fixed multi-line strings --- ThinkpadAssistant/it.lproj/Localizable.strings | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ThinkpadAssistant/it.lproj/Localizable.strings b/ThinkpadAssistant/it.lproj/Localizable.strings index 4d3c2db..89bb894 100644 --- a/ThinkpadAssistant/it.lproj/Localizable.strings +++ b/ThinkpadAssistant/it.lproj/Localizable.strings @@ -1,18 +1,18 @@ /* No comment provided by engineer. */ -"Microphone\nmuted" = "Microfono
muto"; +"Microphone\nmuted" = "Microfono\nmuto"; /* No comment provided by engineer. */ "Microphone\nunmuted" = "Microfono\nattivo"; /* No comment provided by engineer. */ -"Screen\nextending" = "Schermo
esteso"; +"Screen\nextending" = "Schermo\nesteso"; /* No comment provided by engineer. */ -"Screen\nmirroring" = "Schermo
duplicato"; +"Screen\nmirroring" = "Schermo\nduplicato"; /* No comment provided by engineer. */ -"Wi-Fi\ndisabled" = "Wi-Fi
spento"; +"Wi-Fi\ndisabled" = "Wi-Fi\nspento"; /* No comment provided by engineer. */ -"Wi-Fi\nenabled" = "Wi-Fi
acceso"; +"Wi-Fi\nenabled" = "Wi-Fi\nacceso";