From 4302ffd5225d05cd3865141031f46bac06bf25eb Mon Sep 17 00:00:00 2001 From: Mathijs Kadijk Date: Wed, 15 Aug 2012 23:28:57 +0200 Subject: [PATCH] Localized the App so it's available in Dutch. --- .../project.pbxproj | 7 ++- .../Battery Time Remaining-Info.plist | 2 + .../en.lproj/InfoPlist.strings | 3 +- .../en.lproj/Localizable.strings | Bin 2182 -> 1107 bytes .../nl.lproj/InfoPlist.strings | 3 ++ .../nl.lproj/Localizable.strings | 46 ++++++++++++++++++ 6 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 Battery Time Remaining/nl.lproj/InfoPlist.strings create mode 100644 Battery Time Remaining/nl.lproj/Localizable.strings diff --git a/Battery Time Remaining.xcodeproj/project.pbxproj b/Battery Time Remaining.xcodeproj/project.pbxproj index 9113d63..92cbee8 100644 --- a/Battery Time Remaining.xcodeproj/project.pbxproj +++ b/Battery Time Remaining.xcodeproj/project.pbxproj @@ -78,7 +78,9 @@ 28FEDA6215DA5EB200320B72 /* LLManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = LLManager.h; path = ../LaunchAtLoginHelper/LLManager.h; sourceTree = ""; }; 28FEDA6315DA5EB200320B72 /* LLManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = LLManager.m; path = ../LaunchAtLoginHelper/LLManager.m; sourceTree = ""; }; 28FEDA6415DA5EB200320B72 /* LLStrings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = LLStrings.h; path = ../LaunchAtLoginHelper/LLStrings.h; sourceTree = ""; }; - D53375E415DC43380077CEF6 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; + D53375E415DC43380077CEF6 /* en */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = ""; }; + D53375FC15DC44620077CEF6 /* nl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = ""; }; + D53375FD15DC47700077CEF6 /* nl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -211,6 +213,7 @@ hasScannedForEncodings = 0; knownRegions = ( en, + nl, ); mainGroup = 2841C7D115C91CC100F4F15F; productRefGroup = 2841C7DD15C91CC100F4F15F /* Products */; @@ -281,6 +284,7 @@ isa = PBXVariantGroup; children = ( 2841C7EA15C91CC100F4F15F /* en */, + D53375FD15DC47700077CEF6 /* nl */, ); name = InfoPlist.strings; sourceTree = ""; @@ -297,6 +301,7 @@ isa = PBXVariantGroup; children = ( D53375E415DC43380077CEF6 /* en */, + D53375FC15DC44620077CEF6 /* nl */, ); name = Localizable.strings; sourceTree = ""; diff --git a/Battery Time Remaining/Battery Time Remaining-Info.plist b/Battery Time Remaining/Battery Time Remaining-Info.plist index ae913c3..165d249 100644 --- a/Battery Time Remaining/Battery Time Remaining-Info.plist +++ b/Battery Time Remaining/Battery Time Remaining-Info.plist @@ -14,6 +14,8 @@ 6.0 CFBundleName ${PRODUCT_NAME} + LSHasLocalizedDisplayName + CFBundlePackageType APPL CFBundleShortVersionString diff --git a/Battery Time Remaining/en.lproj/InfoPlist.strings b/Battery Time Remaining/en.lproj/InfoPlist.strings index 477b28f..c7697a2 100644 --- a/Battery Time Remaining/en.lproj/InfoPlist.strings +++ b/Battery Time Remaining/en.lproj/InfoPlist.strings @@ -1,2 +1,3 @@ /* Localized versions of Info.plist keys */ - +CFBundleDisplayName = "Battery Time Remaining"; +CFBundleName = "Battery Time Remaining"; diff --git a/Battery Time Remaining/en.lproj/Localizable.strings b/Battery Time Remaining/en.lproj/Localizable.strings index 4f7c8abaa2a889de4d1815964c8de81cf06bd5c6..cf5bada6978c36d49c043d37721a6202250e0630 100644 GIT binary patch literal 1107 zcmb7@T~5O=49DMh3Tq+~>}4?CHX#8MZwLls2MDcOqNT}{x*L1rG+crQ?!pDQ0;xl% zb{`eIM2Y|L&yF2`e|+|PFqS$hv?OIx$W@GluLQk*r(0LP-rl=#0Xw!)r{fV5bP*bo zDT2m?AVX6q!i+IO#~=g?jHsXg<~|gs0}o;Jv3D2ZB#_RIbUYLTzgFV8-=Wo zX$k%l>pw j+f*6Ik$B3>;ciOoxMd26tr6l*&K5ux%F$xK+Hv#)=2K|~ literal 2182 zcmcIl+fKqj5S?efVq>gPUr>C*n5e`zqj=#1Dimyx*0g~7^XfUfG&_K;lxWCqm)*IX zIXg4^_1Tm|G18GxUZgKG%%MyrmPAI_&#@Xvgq=vLR%y5$t&#gp2*WGI}Pmdw=9)N3i%j} z#$ejraSFaYmls$ku=s|NVLi8BW`L86kqri#bBq}HLwUj+smQjsprgAfMN0fr>(isY zw6TzhOg@0`5i(@N$UWwX#hPG``Rwzeo|ZM7qQ_Jg2-Ci!b zUh3#}l+IyZ7HIM zG5AevXJGD?vt8GgW_=r79npH8RUy3whanhr8L4rspJ*@TRZ-4LnNF@Mp-M*k?*g~$ z47tq$*RQK0^%{Ifm^n_TjhhVQTw(ZK^8b+ZkY8gAMwe`eX;nv~yF;ApQdP_pGQP6> zj<)pxJ0V!3HFj*i5h?10xkFC*F8jB-coVC%yvJ%OjbhV|M>zvLDdysJ^8S84b$-49 Dsh3)w diff --git a/Battery Time Remaining/nl.lproj/InfoPlist.strings b/Battery Time Remaining/nl.lproj/InfoPlist.strings new file mode 100644 index 0000000..d37c94d --- /dev/null +++ b/Battery Time Remaining/nl.lproj/InfoPlist.strings @@ -0,0 +1,3 @@ +/* Localized versions of Info.plist keys */ +CFBundleDisplayName = "Resterende Batterij Tijd"; +CFBundleName = "Resterende Batterij Tijd"; diff --git a/Battery Time Remaining/nl.lproj/Localizable.strings b/Battery Time Remaining/nl.lproj/Localizable.strings new file mode 100644 index 0000000..3781b25 --- /dev/null +++ b/Battery Time Remaining/nl.lproj/Localizable.strings @@ -0,0 +1,46 @@ +/* Calculating sidetext */ +" Calculating…" = " Berekenen…"; + +/* Percentage left menuitem */ +"%ld %% left" = "%ld %% resterend"; + +/* Percentage left menuitem */ +"%ld:%02ld left (%ld%%)" = "%1$ld:%2$ld resterend (%3$ld%%)"; + +/* Update menuitem + Update notification */ +"A newer version is available" = "Een nieuwere versie is beschikbaar"; + +/* Notification title */ +"Battery Time Remaining" = "Resterende Batterij Tijd"; + +/* Update menuitem */ +"Checking for updates…" = "Controleren op updates…"; + +/* Update menuitem */ +"Could not check for updates" = "Kon niet controleren op updates"; + +/* Open Energy Saver Preferences menuitem */ +"Energy Saver Preferences…" = "Open 'Energiestand'…"; + +/* Remaining menuitem */ +"Loading…" = "Laden…"; + +/* Notification menuitem */ +"Notifications" = "Notificatie bij"; + +/* Powersource menuitem */ +"Power source: %@" = "Stroombron: %@"; + +/* Powersource menuitem */ +"Power source: Unknown" = "Stroombron: Onbekend"; + +/* Quit menuitem */ +"Quit" = "Stop"; + +/* Start at login setting */ +"Start at login" = "Start bij inloggen"; + +/* Update menuitem */ +"Up to date" = "Up to date"; +