diff --git a/Apple Juice.xcodeproj/project.pbxproj b/Apple Juice.xcodeproj/project.pbxproj index d674b9a..a9c02fb 100644 --- a/Apple Juice.xcodeproj/project.pbxproj +++ b/Apple Juice.xcodeproj/project.pbxproj @@ -112,6 +112,10 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 00A7E06827D1BA5400E908B5 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hans"; path = "zh-Hans.lproj/MainMenu.xib"; sourceTree = ""; }; + 00A7E06927D1BA5400E908B5 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; + 00A7E06A27D1C07B00E908B5 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = "zh-Hant"; path = "zh-Hant.lproj/MainMenu.xib"; sourceTree = ""; }; + 00A7E06B27D1C07B00E908B5 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/Localizable.strings"; sourceTree = ""; }; 5EF9F80621FB7A3300748374 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/Localizable.strings"; sourceTree = ""; }; 8E0D33AF1D3118CD002D3463 /* Apple Juice Today.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "Apple Juice Today.appex"; sourceTree = BUILT_PRODUCTS_DIR; }; 8E0D33B41D3118CD002D3463 /* TodayViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TodayViewController.swift; sourceTree = ""; }; @@ -413,6 +417,8 @@ it, es, "pt-BR", + "zh-Hans", + "zh-Hant", ); mainGroup = 8EBEB4391C466091001DBE91; packageReferences = ( @@ -577,6 +583,8 @@ C58CD0B92221D9A800D286C0 /* it */, C58CD0BA2221DBB500D286C0 /* es */, C58CD0BB2221E6B900D286C0 /* pt-BR */, + 00A7E06827D1BA5400E908B5 /* zh-Hans */, + 00A7E06A27D1C07B00E908B5 /* zh-Hant */, ); name = MainMenu.xib; sourceTree = ""; @@ -591,6 +599,8 @@ 8E954FA81C4EE528006D0F34 /* it */, 8E5BC0241C50D13D0077228F /* es */, 5EF9F80621FB7A3300748374 /* pt-BR */, + 00A7E06927D1BA5400E908B5 /* zh-Hans */, + 00A7E06B27D1C07B00E908B5 /* zh-Hant */, ); name = Localizable.strings; sourceTree = ""; diff --git a/AppleJuice/zh-Hans.lproj/Localizable.strings b/AppleJuice/zh-Hans.lproj/Localizable.strings new file mode 100644 index 0000000..b1377e1 --- /dev/null +++ b/AppleJuice/zh-Hans.lproj/Localizable.strings @@ -0,0 +1,38 @@ +// Localizable.strings +// Apple Juice +// +// Chinese, Simplified + + +// Menu Items + +"Charged" = "充电完成"; +"Unknown" = "未知"; +"Battery" = "电池"; +"Power Adapter" = "电源适配器"; +"Calculating" = "计算中…"; + + +// Notifications + +"Charged Notification Title" = "充电完成"; +"Charged Notification Message" = "您的电池现已完成充电。"; +"Low Battery Notification Title" = "%@ 剩余"; +"Low Battery Notification Message" = "如果不插上电源适配器,您的 Mac 即将进入休眠。"; + + +// Properties + +"Time Remaining" = "剩余时间:"; +"Percentage" = "百分比:"; +"Power Usage" = "电量:"; +"Charge" = "充电:"; +"Cycle Count" = "循环计数:"; +"Temperature" = "温度:"; +"Power Source" = "电源:"; +"Health" = "状态:"; + + +// Units + +"Watts" = "瓦特"; diff --git a/AppleJuice/zh-Hans.lproj/MainMenu.xib b/AppleJuice/zh-Hans.lproj/MainMenu.xib new file mode 100644 index 0000000..7951585 --- /dev/null +++ b/AppleJuice/zh-Hans.lproj/MainMenu.xib @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/AppleJuice/zh-Hant.lproj/Localizable.strings b/AppleJuice/zh-Hant.lproj/Localizable.strings new file mode 100644 index 0000000..1ad3e97 --- /dev/null +++ b/AppleJuice/zh-Hant.lproj/Localizable.strings @@ -0,0 +1,38 @@ +// Localizable.strings +// Apple Juice +// +// Chinese, Traditional + + +// Menu Items + +"Charged" = "充電完成"; +"Unknown" = "未知"; +"Battery" = "電池"; +"Power Adapter" = "電源適配器"; +"Calculating" = "計算中…"; + + +// Notifications + +"Charged Notification Title" = "充電完成"; +"Charged Notification Message" = "您的電池現已完成充電。"; +"Low Battery Notification Title" = "%@ 剩余"; +"Low Battery Notification Message" = "如果不插上電源適配器,您的 Mac 即將進入休眠。"; + + +// Properties + +"Time Remaining" = "剩余時間:"; +"Percentage" = "百分比:"; +"Power Usage" = "電量:"; +"Charge" = "充電:"; +"Cycle Count" = "循環計數:"; +"Temperature" = "溫度:"; +"Power Source" = "電源:"; +"Health" = "狀態:"; + + +// Units + +"Watts" = "瓦特"; diff --git a/AppleJuice/zh-Hant.lproj/MainMenu.xib b/AppleJuice/zh-Hant.lproj/MainMenu.xib new file mode 100644 index 0000000..318a7d3 --- /dev/null +++ b/AppleJuice/zh-Hant.lproj/MainMenu.xib @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + NSNegateBoolean + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +