diff --git a/Gulps WatchKit App/zh-Hans.lproj/Interface.strings b/Gulps WatchKit App/zh-Hans.lproj/Interface.strings new file mode 100644 index 0000000..cdf2250 --- /dev/null +++ b/Gulps WatchKit App/zh-Hans.lproj/Interface.strings @@ -0,0 +1,12 @@ + +/* Class = "WKInterfaceLabel"; text = "Remember to drink some water!"; ObjectID = "XkS-y5-khE"; */ +"XkS-y5-khE.text" = "记得喝一些水!"; + +/* Class = "WKInterfaceMenuItem"; title = "+ Small Gulp"; ObjectID = "bMN-XA-clU"; */ +"bMN-XA-clU.title" = "+ 小杯"; + +/* Class = "WKInterfaceMenuItem"; title = "+ Big Gulp"; ObjectID = "d2z-2A-k0p"; */ +"d2z-2A-k0p.title" = "+ 大杯"; + +/* Class = "WKInterfaceLabel"; text = "DAILY GOAL: 0%"; ObjectID = "jsO-fa-6Yq"; */ +"jsO-fa-6Yq.text" = "每日目标: 0%"; diff --git a/Gulps.xcodeproj/project.pbxproj b/Gulps.xcodeproj/project.pbxproj index 96ae927..fdf59fe 100644 --- a/Gulps.xcodeproj/project.pbxproj +++ b/Gulps.xcodeproj/project.pbxproj @@ -244,6 +244,12 @@ 85BE9125F183E330586CDDB6 /* Pods-GulpsToday.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GulpsToday.release.xcconfig"; path = "Pods/Target Support Files/Pods-GulpsToday/Pods-GulpsToday.release.xcconfig"; sourceTree = ""; }; 8CCE464AA359610B577E6289 /* Pods_GulpsToday.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_GulpsToday.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 9DF54771E89C4A5561E72D70 /* Pods-Gulps.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Gulps.release.xcconfig"; path = "Pods/Target Support Files/Pods-Gulps/Pods-Gulps.release.xcconfig"; sourceTree = ""; }; + BAAB7C4820D1583000045B48 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Main.strings"; sourceTree = ""; }; + BAAB7C4920D1583000045B48 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = ""; }; + BAAB7C4A20D1583000045B48 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Onboarding.strings"; sourceTree = ""; }; + BAAB7C4B20D1583000045B48 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Interface.strings"; sourceTree = ""; }; + BAAB7C4C20D1583000045B48 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/Localizable.strings"; sourceTree = ""; }; + BAAB7C4D20D1583100045B48 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/InfoPlist.strings"; sourceTree = ""; }; F8B4C7511CC6AFD599BF0ECB /* Pods-GulpsTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GulpsTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GulpsTests/Pods-GulpsTests.debug.xcconfig"; sourceTree = ""; }; FF3158CC554F243E9F4ABEB9 /* Pods-GulpsToday.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-GulpsToday.debug.xcconfig"; path = "Pods/Target Support Files/Pods-GulpsToday/Pods-GulpsToday.debug.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -720,6 +726,7 @@ it, tr, ru, + "zh-Hans", ); mainGroup = 65F44C121AF24B440093A3E9; productRefGroup = 65F44C1C1AF24B440093A3E9 /* Products */; @@ -1082,6 +1089,7 @@ 65F55F281B593A0A008653F2 /* it */, 2AB916D51E82B36600301C45 /* tr */, 4D6006F72042B35600F17BD4 /* ru */, + BAAB7C4A20D1583000045B48 /* zh-Hans */, ); name = Onboarding.storyboard; sourceTree = ""; @@ -1093,6 +1101,7 @@ 65E94C6D1BBC13BF00A65B30 /* it */, 2AB916D81E82B36600301C45 /* tr */, 4D6006FA2042B35600F17BD4 /* ru */, + BAAB7C4D20D1583100045B48 /* zh-Hans */, ); name = InfoPlist.strings; sourceTree = ""; @@ -1104,6 +1113,7 @@ 65F55F261B5938BE008653F2 /* it */, 2AB916D31E82B36600301C45 /* tr */, 4D6006F52042B35600F17BD4 /* ru */, + BAAB7C4820D1583000045B48 /* zh-Hans */, ); name = Main.storyboard; sourceTree = ""; @@ -1114,6 +1124,7 @@ 65F44C2A1AF24B440093A3E9 /* Base */, 2AB916D41E82B36600301C45 /* tr */, 4D6006F62042B35600F17BD4 /* ru */, + BAAB7C4920D1583000045B48 /* zh-Hans */, ); name = LaunchScreen.xib; sourceTree = ""; @@ -1125,6 +1136,7 @@ 65F55F2A1B593C16008653F2 /* it */, 2AB916D61E82B36600301C45 /* tr */, 4D6006F82042B35600F17BD4 /* ru */, + BAAB7C4B20D1583000045B48 /* zh-Hans */, ); name = Interface.storyboard; sourceTree = ""; @@ -1136,6 +1148,7 @@ 65F55F241B592DA2008653F2 /* en */, 2AB916D71E82B36600301C45 /* tr */, 4D6006F92042B35600F17BD4 /* ru */, + BAAB7C4C20D1583000045B48 /* zh-Hans */, ); name = Localizable.strings; sourceTree = ""; diff --git a/Gulps.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Gulps.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/Gulps.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Gulps/Resources/zh-Hans.lproj/Localizable.strings b/Gulps/Resources/zh-Hans.lproj/Localizable.strings new file mode 100755 index 0000000..3b00bd8 --- /dev/null +++ b/Gulps/Resources/zh-Hans.lproj/Localizable.strings @@ -0,0 +1,45 @@ +/* Globals */ +"notification text" = "记得喝一些水!"; +"Liters" = "升"; +"Ounces" = "盎司"; +"gulp.big" = "大杯"; +"gulp.small" = "小杯"; + +/* Main */ +"drink title" = "喝水!"; +"undo poptip" = "点击这里撤销你最后一次行为"; +"undo title" = "撤销"; +"undo message" = "撤销最后一次行为?"; +"No" = "否"; +"Yes" = "是"; + +/* Calendar */ +"progress title" = "我的记录"; +"share poptip" = "你可以在设置里开启苹果健康导出"; +"share text" = "保持健康! 我喝了 %d %@ 水 超过 %d 天. https://goo.gl/reTyQU @GulpsApp"; +"unit format" = "%@ 完成"; +"goal met" = "太棒了!"; +"portion.add" = "增加一个新的份量:"; + +/* Settings */ +"settings title" = "偏好"; +"hours" = "小时"; +"hour" = "小时"; +"unit of measure title" = "测量单位:"; +"from:" = "从:"; +"to:" = "到:"; +"every:" = "间隔:"; + +/* Today ext */ +"way to go" = "加油!"; +"today extension format" = "%@ %@ 喝 天 (%@ of 你的目标)"; +"confirm" = "确认"; +"never mind" = "不再提醒"; + +/* WatchKit */ +"daily goal:" = "每天目标: "; +"watch.please_onboard" = "请打开手机app应用软件!"; + +/* HealthKit */ +"health.poptip" = "你可以在设置里开启苹果健康导出"; + diff --git a/Gulps/zh-Hans.lproj/InfoPlist.strings b/Gulps/zh-Hans.lproj/InfoPlist.strings new file mode 100755 index 0000000..3ff9a19 --- /dev/null +++ b/Gulps/zh-Hans.lproj/InfoPlist.strings @@ -0,0 +1,4 @@ +"ADD_BIG_GULP" = "添加大杯"; +"ADD_SMALL_GULP" = "添加小杯"; +"PRIVACY_UPDATE" = "这个应用提升你的喝书质量"; +"PRIVACY_SHARE" = "这个应用提升你的喝书质量"; diff --git a/Gulps/zh-Hans.lproj/LaunchScreen.strings b/Gulps/zh-Hans.lproj/LaunchScreen.strings new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Gulps/zh-Hans.lproj/LaunchScreen.strings @@ -0,0 +1 @@ + diff --git a/Gulps/zh-Hans.lproj/Main.strings b/Gulps/zh-Hans.lproj/Main.strings new file mode 100644 index 0000000..49419b2 --- /dev/null +++ b/Gulps/zh-Hans.lproj/Main.strings @@ -0,0 +1,129 @@ + +/* Class = "UITabBarItem"; title = "My progress"; ObjectID = "1AV-yg-enX"; */ +"1AV-yg-enX.title" = "我的记录"; + +/* Class = "UILabel"; text = "Liters drank over"; ObjectID = "4E2-NO-CiF"; */ +"4E2-NO-CiF.text" = "喝水量"; + +/* Class = "UILabel"; text = "Export data to Health"; ObjectID = "72o-fo-Kke"; */ +"72o-fo-Kke.text" = "导出数据到健康"; + +/* Class = "UITabBarItem"; title = "Preferences"; ObjectID = "BBe-Kb-DPg"; */ +"BBe-Kb-DPg.title" = "偏好"; + +/* Class = "UILabel"; text = "Small gulp"; ObjectID = "Brt-M3-CC4"; */ +"Brt-M3-CC4.text" = "小杯"; + +/* Class = "UITableViewSection"; headerTitle = "Notifications"; ObjectID = "Cqk-U1-F6w"; */ +"Cqk-U1-F6w.headerTitle" = "通知"; + +/* Class = "UILabel"; text = "Oz"; ObjectID = "DT8-cB-ShB"; */ +"DT8-cB-ShB.text" = "Oz"; + +/* Class = "UITextField"; text = "2"; ObjectID = "Heo-vz-8M3"; */ +"Heo-vz-8M3.text" = "2"; + +/* Class = "UITextField"; text = "0,2"; ObjectID = "HpM-IE-rg0"; */ +"HpM-IE-rg0.text" = "0,2"; + +/* Class = "UILabel"; text = "Liters"; ObjectID = "Jwx-tY-nJI"; */ +"Jwx-tY-nJI.text" = "升"; + +/* Class = "UIButton"; normalTitle = "Nope"; ObjectID = "KcM-qN-18r"; */ +"KcM-qN-18r.normalTitle" = "没有"; + +/* Class = "UITableViewSection"; headerTitle = "Settings"; ObjectID = "M6x-da-DQK"; */ +"M6x-da-DQK.headerTitle" = "设置"; + +/* Class = "UILabel"; text = "0%"; ObjectID = "Nja-Uo-jJw"; */ +"Nja-Uo-jJw.text" = "0%"; + +/* Class = "UILabel"; text = "From"; ObjectID = "Pnc-7E-Kee"; */ +"Pnc-7E-Kee.text" = "从"; + +/* Class = "UIButton"; normalTitle = "Sure!"; ObjectID = "QXZ-Em-FFP"; */ +"QXZ-Em-FFP.normalTitle" = "确定!"; + +/* Class = "UILabel"; text = "200"; ObjectID = "R2u-Oc-VLI"; */ +"R2u-Oc-VLI.text" = "200"; + +/* Class = "UILabel"; text = "How about rating Gulps on the AppStore? We always appreciate the feedback!"; ObjectID = "R9l-6a-fbg"; */ +"R9l-6a-fbg.text" = "How about rating Gulps on the AppStore? We always appreciate the feedback!"; + +/* Class = "UILabel"; text = "Oz"; ObjectID = "RVh-z0-hYc"; */ +"RVh-z0-hYc.text" = "Oz"; + +/* Class = "UITextField"; text = "0,5"; ObjectID = "SBF-ug-rBd"; */ +"SBF-ug-rBd.text" = "0,5"; + +/* Class = "UITableViewSection"; headerTitle = "Portions"; ObjectID = "Uhu-cr-ZJf"; */ +"Uhu-cr-ZJf.headerTitle" = "份量"; + +/* Class = "UILabel"; text = "Month"; ObjectID = "W59-Vd-725"; */ +"W59-Vd-725.text" = "月"; + +/* Class = "UILabel"; text = "Remind me to drink"; ObjectID = "XIg-ci-rnk"; */ +"XIg-ci-rnk.text" = "提醒我喝水"; + +/* Class = "UILabel"; text = "8:00"; ObjectID = "aBp-Ni-lCc"; */ +"aBp-Ni-lCc.text" = "8:00"; + +/* Class = "UITabBarItem"; title = "Drink"; ObjectID = "acW-dT-cKf"; */ +"acW-dT-cKf.title" = "喝水"; + +/* Class = "UILabel"; text = "Yay!"; ObjectID = "ee7-af-1yT"; */ +"ee7-af-1yT.text" = "哇!"; + +/* Class = "UILabel"; text = "22:00"; ObjectID = "en4-wz-CaR"; */ +"en4-wz-CaR.text" = "22:00"; + +/* Class = "UILabel"; text = "To"; ObjectID = "f3c-OV-GHw"; */ +"f3c-OV-GHw.text" = "到"; + +/* Class = "UILabel"; text = "days"; ObjectID = "jpZ-Ht-zcx"; */ +"jpZ-Ht-zcx.text" = "天"; + +/* Class = "UITableViewSection"; headerTitle = "Apple Health"; ObjectID = "kL3-zV-Q1y"; */ +"kL3-zV-Q1y.headerTitle" = "苹果健康"; + +/* Class = "UIButton"; normalTitle = "Contact us"; ObjectID = "lX0-8d-2KC"; */ +"lX0-8d-2KC.normalTitle" = "联系我们"; + +/* Class = "UILabel"; text = "2 hours"; ObjectID = "llL-4J-aC6"; */ +"llL-4J-aC6.text" = "2 小时"; + +/* Class = "UILabel"; text = "200"; ObjectID = "lon-Jb-3Cm"; */ +"lon-Jb-3Cm.text" = "200"; + +/* Class = "UILabel"; text = "0%"; ObjectID = "mEa-Xq-QB6"; */ +"mEa-Xq-QB6.text" = "0%"; + +/* Class = "UILabel"; text = "Unit of mesure"; ObjectID = "mud-m1-HKI"; */ +"mud-m1-HKI.text" = "测量单位"; + +/* Class = "UILabel"; text = "Oz"; ObjectID = "nbd-CS-kU7"; */ +"nbd-CS-kU7.text" = "Oz"; + +/* Class = "UIButton"; normalTitle = "Close"; ObjectID = "nce-Ji-tce"; */ +"nce-Ji-tce.normalTitle" = "关闭"; + +/* Class = "UILabel"; text = "Daily goal"; ObjectID = "pt1-x1-O82"; */ +"pt1-x1-O82.text" = "每天目标"; + +/* Class = "UILabel"; text = "Good job keeping healthy! \nBy the way, we’d love some feedback! How do you feel about Gulps? "; ObjectID = "q2X-D7-DBk"; */ +"q2X-D7-DBk.text" = "保持健康做的不错! \n顺便说一下, 我们想要一些反馈! 你感觉 Gulps 怎么样? "; + +/* Class = "UILabel"; text = "Sorry to hear that! Is there any way we can improve your experience with Gulps? Contact us, we'd love your feedback!"; ObjectID = "upP-xB-nVY"; */ +"upP-xB-nVY.text" = "抱歉!有没有什么方法可以改善你的喝水体验?联系我们,我们希望你的反馈; + +/* Class = "UILabel"; text = "Every"; ObjectID = "w1F-Cx-bRx"; */ +"w1F-Cx-bRx.text" = "间隔"; + +/* Class = "UIButton"; normalTitle = "Share"; ObjectID = "xk6-tX-JQH"; */ +"xk6-tX-JQH.normalTitle" = "分享"; + +/* Class = "UILabel"; text = "Big gulp"; ObjectID = "yCk-VT-Gki"; */ +"yCk-VT-Gki.text" = "大杯"; + +/* Class = "UILabel"; text = "Way to go!"; ObjectID = "zyj-Gr-Ph8"; */ +"zyj-Gr-Ph8.text" = "加油!"; diff --git a/Gulps/zh-Hans.lproj/Onboarding.strings b/Gulps/zh-Hans.lproj/Onboarding.strings new file mode 100644 index 0000000..f40848b --- /dev/null +++ b/Gulps/zh-Hans.lproj/Onboarding.strings @@ -0,0 +1,81 @@ + +/* Class = "UILabel"; text = "22:00"; ObjectID = "0pm-Fb-nta"; */ +"0pm-Fb-nta.text" = "22:00"; + +/* Class = "UILabel"; text = "Every"; ObjectID = "6pM-Tq-50n"; */ +"6pM-Tq-50n.text" = "间隔"; + +/* Class = "UILabel"; text = "1 hour"; ObjectID = "9Xn-gc-3Bx"; */ +"9Xn-gc-3Bx.text" = "1 小时"; + +/* Class = "UILabel"; text = "Hi there!"; ObjectID = "J5V-th-GOK"; */ +"J5V-th-GOK.text" = "大家好!"; + +/* Class = "UILabel"; text = "I’ll keep track of your water consumption through gulps, you just need to set up your usual small gulp (a glass of water, usually 0,2 L or 8 oz) and big gulp (let’s say a bottle)"; ObjectID = "JSe-R9-wt9"; */ +"JSe-R9-wt9.text" = "我会记录你的用水量,你只需要喝一小口(通常是0.2升或8盎司的水)和一大口水(假设是一瓶)"; + +/* Class = "UILabel"; text = "Daily goal"; ObjectID = "K6E-SK-ldz"; */ +"K6E-SK-ldz.text" = "每天的目标"; + +/* Class = "UILabel"; text = "oz"; ObjectID = "OlE-qk-N7s"; */ +"OlE-qk-N7s.text" = "oz"; + +/* Class = "UITextField"; placeholder = "goal"; ObjectID = "S54-HU-dVI"; */ +"S54-HU-dVI.placeholder" = "goal"; + +/* Class = "UITextField"; text = "2.0"; ObjectID = "S54-HU-dVI"; */ +"S54-HU-dVI.text" = "2.0"; + +/* Class = "UILabel"; text = "I can remind you to drink every once in a while. Since I don’t want to nag you, you’ll decide when:"; ObjectID = "T9n-t2-EOq"; */ +"T9n-t2-EOq.text" = "我可以提醒你每隔一段时间喝一次。既然我不想给你唠叨,你就决定什么时候:"; + +/* Class = "UILabel"; text = "From"; ObjectID = "TTz-34-edX"; */ +"TTz-34-edX.text" = "从"; + +/* Class = "UILabel"; text = "Small gulp"; ObjectID = "WfK-EQ-Qob"; */ +"WfK-EQ-Qob.text" = "小杯"; + +/* Class = "UILabel"; text = "A couple of questions first:\nwhat measurement system do you prefer?"; ObjectID = "aNx-Gk-pr3"; */ +"aNx-Gk-pr3.text" = "先问几个问题:你喜欢什么测量系统?"; + +/* Class = "UILabel"; text = "I’m here to help you keep track of a simple healthy habit: 
drinking water."; ObjectID = "dbP-89-LG1"; */ +"dbP-89-LG1.text" = "我来这里是为了帮助你保持一个简单的健康习惯:喝水"; + +/* Class = "UITextField"; placeholder = "glass"; ObjectID = "e8D-nG-89R"; */ +"e8D-nG-89R.placeholder" = "玻璃"; + +/* Class = "UITextField"; text = "0.2"; ObjectID = "e8D-nG-89R"; */ +"e8D-nG-89R.text" = "0.2"; + +/* Class = "UITextField"; placeholder = "bottle"; ObjectID = "gFP-R6-3l1"; */ +"gFP-R6-3l1.placeholder" = "瓶子"; + +/* Class = "UITextField"; text = "0.5"; ObjectID = "gFP-R6-3l1"; */ +"gFP-R6-3l1.text" = "0.5"; + +/* Class = "UILabel"; text = "Liters"; ObjectID = "hoW-cL-j0l"; */ +"hoW-cL-j0l.text" = "升"; + +/* Class = "UILabel"; text = "Big gulp"; ObjectID = "kMj-hq-rjr"; */ +"kMj-hq-rjr.text" = "大杯"; + +/* Class = "UILabel"; text = "Remind me"; ObjectID = "mVT-8Y-PAY"; */ +"mVT-8Y-PAY.text" = "提醒我"; + +/* Class = "UILabel"; text = "Now, set your daily goal. An average goal is around 2 L or 64 oz per day, but it can vary with your build."; ObjectID = "nbv-Ph-Ogi"; */ +"nbv-Ph-Ogi.text" = "现在,设定你的每日目标,平均目标是每天2升或64盎司,但它可以随着你的提醒而变化."; + +/* Class = "UILabel"; text = "Ounces"; ObjectID = "rUi-CZ-r3F"; */ +"rUi-CZ-r3F.text" = "盎司"; + +/* Class = "UILabel"; text = "oz"; ObjectID = "s4e-zS-DTj"; */ +"s4e-zS-DTj.text" = "oz"; + +/* Class = "UILabel"; text = "To"; ObjectID = "sjg-oM-azP"; */ +"sjg-oM-azP.text" = "到"; + +/* Class = "UILabel"; text = "10:00"; ObjectID = "uxY-Gi-w4N"; */ +"uxY-Gi-w4N.text" = "10:00"; + +/* Class = "UILabel"; text = "oz"; ObjectID = "wIJ-Qh-sXS"; */ +"wIJ-Qh-sXS.text" = "oz";