From bc95c851d31c5cacaa20a99a0978eef369a7fea1 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Sat, 19 Oct 2019 11:50:58 -0700 Subject: [PATCH 1/2] Some more languages. --- Clocker/Clocker.xcodeproj/project.pbxproj | 11 ++ .../xcschemes/xcschememanagement.plist | 7 +- .../ar.lproj/ShortcutRecorder.strings | Bin 0 -> 2224 bytes .../tr.lproj/ShortcutRecorder.strings | Bin 0 -> 2224 bytes .../project.pbxproj | 6 + Clocker/Clocker/ar.lproj/InfoPlist.strings | 10 ++ Clocker/Clocker/it.lproj/InfoPlist.strings | 10 ++ Clocker/Clocker/it.lproj/Localizable.strings | 157 ++++++++++++++++++ Clocker/Clocker/tr.lproj/InfoPlist.strings | 10 ++ 9 files changed, 210 insertions(+), 1 deletion(-) create mode 100755 Clocker/Clocker/ShortcutRecorder-master/Resources/ar.lproj/ShortcutRecorder.strings create mode 100755 Clocker/Clocker/ShortcutRecorder-master/Resources/tr.lproj/ShortcutRecorder.strings create mode 100644 Clocker/Clocker/ar.lproj/InfoPlist.strings create mode 100644 Clocker/Clocker/it.lproj/InfoPlist.strings create mode 100644 Clocker/Clocker/it.lproj/Localizable.strings create mode 100644 Clocker/Clocker/tr.lproj/InfoPlist.strings diff --git a/Clocker/Clocker.xcodeproj/project.pbxproj b/Clocker/Clocker.xcodeproj/project.pbxproj index fc53d2e..ede3e51 100755 --- a/Clocker/Clocker.xcodeproj/project.pbxproj +++ b/Clocker/Clocker.xcodeproj/project.pbxproj @@ -359,6 +359,10 @@ 9AA522D323416A1B00C9E005 /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-PT"; path = "pt-PT.lproj/InfoPlist.strings"; sourceTree = ""; }; 9AA522D423416A6000C9E005 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = ""; }; 9AA522D523416A6000C9E005 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/Localizable.strings; sourceTree = ""; }; + 9AA522D623416E6000C9E005 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/InfoPlist.strings; sourceTree = ""; }; + 9AA522D723416E6000C9E005 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/Localizable.strings; sourceTree = ""; }; + 9AA522D923416E6A00C9E005 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/InfoPlist.strings; sourceTree = ""; }; + 9AA522DB23416E7600C9E005 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/InfoPlist.strings; sourceTree = ""; }; 9AB6F1552259CF3900A44663 /* CalendarViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CalendarViewController.swift; sourceTree = ""; }; 9AB6F1572259CFFC00A44663 /* AboutViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AboutViewController.swift; sourceTree = ""; }; 9AB6F15A2259D08300A44663 /* iVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = iVersion.m; sourceTree = ""; }; @@ -1016,6 +1020,9 @@ es, "pt-PT", nl, + it, + tr, + ar, ); mainGroup = DD4F7BF913C30F9F00825C6E; productRefGroup = DD4F7C0513C30F9F00825C6E /* Products */; @@ -1311,6 +1318,9 @@ 9AA522D023416A0E00C9E005 /* es */, 9AA522D323416A1B00C9E005 /* pt-PT */, 9AA522D423416A6000C9E005 /* nl */, + 9AA522D623416E6000C9E005 /* it */, + 9AA522D923416E6A00C9E005 /* tr */, + 9AA522DB23416E7600C9E005 /* ar */, ); name = InfoPlist.strings; path = Clocker; @@ -1330,6 +1340,7 @@ 9AA522CF234169F200C9E005 /* ca */, 9AA522D123416A0E00C9E005 /* es */, 9AA522D523416A6000C9E005 /* nl */, + 9AA522D723416E6000C9E005 /* it */, ); name = Localizable.strings; path = Clocker; diff --git a/Clocker/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist b/Clocker/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist index 302e35f..31dd981 100644 --- a/Clocker/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Clocker/Clocker.xcodeproj/xcuserdata/abhishekbanthia.xcuserdatad/xcschemes/xcschememanagement.plist @@ -12,7 +12,12 @@ ClockerHelper.xcscheme orderHint - 3 + 2 + + Tests.xcscheme_^#shared#^_ + + orderHint + 4 SuppressBuildableAutocreation diff --git a/Clocker/Clocker/ShortcutRecorder-master/Resources/ar.lproj/ShortcutRecorder.strings b/Clocker/Clocker/ShortcutRecorder-master/Resources/ar.lproj/ShortcutRecorder.strings new file mode 100755 index 0000000000000000000000000000000000000000..7eb37fe1e065b7fb128f39a6b2dc9622f5a7849b GIT binary patch literal 2224 zcmeH|K~KU!5QXRLuc#!3i}DAEi3um;K_YnbQfLuETMR8B{qySgc2nC*fS3sJU`V^m z?9AIYJ8!lh?;RW2n}s&D*g6*2El=Clw+k%Kmg5oF$`XqhbDJ|?TS4T8cO84&(<6?p zWM^US$2#QWQ3mi?z+nka0iys;G5^KwFwdtWejb0w*$C&#?ix9^tyMmAm(7xQNrX70 zHi2CRM!~pZ7T60oLenU(5Nnt90AHQP#+`IzmyP|#oVM0}6Z1MlQYYSh*8IlZP7*4sO-(me+gP4LWcDr4v{JdH#rB1=sj<2v#k4Wk2La)^a ztR;EZ`RJa>uqI!=qsCbTHgx&S@K9bEyTx!huXg@xdFopJy{@bjn>y90ucQL?XZyDP zt4jO{e}DP|x-#XbevG(<>aX|iijR2YTU~v_n*QJI-h1S3oEZ^K-?p`8qC0C1qon06 JChe8JeF8zaaNYm_ literal 0 HcmV?d00001 diff --git a/Clocker/Clocker/ShortcutRecorder-master/Resources/tr.lproj/ShortcutRecorder.strings b/Clocker/Clocker/ShortcutRecorder-master/Resources/tr.lproj/ShortcutRecorder.strings new file mode 100755 index 0000000000000000000000000000000000000000..7eb37fe1e065b7fb128f39a6b2dc9622f5a7849b GIT binary patch literal 2224 zcmeH|K~KU!5QXRLuc#!3i}DAEi3um;K_YnbQfLuETMR8B{qySgc2nC*fS3sJU`V^m z?9AIYJ8!lh?;RW2n}s&D*g6*2El=Clw+k%Kmg5oF$`XqhbDJ|?TS4T8cO84&(<6?p zWM^US$2#QWQ3mi?z+nka0iys;G5^KwFwdtWejb0w*$C&#?ix9^tyMmAm(7xQNrX70 zHi2CRM!~pZ7T60oLenU(5Nnt90AHQP#+`IzmyP|#oVM0}6Z1MlQYYSh*8IlZP7*4sO-(me+gP4LWcDr4v{JdH#rB1=sj<2v#k4Wk2La)^a ztR;EZ`RJa>uqI!=qsCbTHgx&S@K9bEyTx!huXg@xdFopJy{@bjn>y90ucQL?XZyDP zt4jO{e}DP|x-#XbevG(<>aX|iijR2YTU~v_n*QJI-h1S3oEZ^K-?p`8qC0C1qon06 JChe8JeF8zaaNYm_ literal 0 HcmV?d00001 diff --git a/Clocker/Clocker/ShortcutRecorder-master/ShortcutRecorder.xcodeproj/project.pbxproj b/Clocker/Clocker/ShortcutRecorder-master/ShortcutRecorder.xcodeproj/project.pbxproj index b55d001..2436ec0 100755 --- a/Clocker/Clocker/ShortcutRecorder-master/ShortcutRecorder.xcodeproj/project.pbxproj +++ b/Clocker/Clocker/ShortcutRecorder-master/ShortcutRecorder.xcodeproj/project.pbxproj @@ -157,6 +157,8 @@ 74C367110A246B4900B69171 /* SRCommon.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = SRCommon.m; path = Library/SRCommon.m; sourceTree = ""; }; 939837800DA42965007F53F3 /* ShortcutRecorder.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ShortcutRecorder.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 939837B50DA42DFB007F53F3 /* ShortcutRecorder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ShortcutRecorder.h; path = Library/ShortcutRecorder.h; sourceTree = SOURCE_ROOT; }; + 9AA522D823416E6A00C9E005 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/ShortcutRecorder.strings; sourceTree = ""; }; + 9AA522DA23416E7600C9E005 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/ShortcutRecorder.strings; sourceTree = ""; }; A1125B75104C8AF3005C6F7B /* PTKeyCodeTranslator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PTKeyCodeTranslator.h; sourceTree = ""; }; A1125B76104C8AF3005C6F7B /* PTKeyCodeTranslator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PTKeyCodeTranslator.m; sourceTree = ""; }; BA547C011A5FD45B00C45C31 /* shortcut-recorder-yosemite-bezel-blue-highlighted-left.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "shortcut-recorder-yosemite-bezel-blue-highlighted-left.png"; sourceTree = ""; }; @@ -615,6 +617,8 @@ pt, "zh-Hant", Base, + tr, + ar, ); mainGroup = 29B97314FDCFA39411CA2CEA /* ShortcutRecorder */; projectDirPath = ""; @@ -782,6 +786,8 @@ E2741AD81673C7C300A139BD /* ca */, E2741AD91673C7C600A139BD /* cs */, E2741ADA1673C7C800A139BD /* pt */, + 9AA522D823416E6A00C9E005 /* tr */, + 9AA522DA23416E7600C9E005 /* ar */, ); name = ShortcutRecorder.strings; sourceTree = ""; diff --git a/Clocker/Clocker/ar.lproj/InfoPlist.strings b/Clocker/Clocker/ar.lproj/InfoPlist.strings new file mode 100644 index 0000000..79d4436 --- /dev/null +++ b/Clocker/Clocker/ar.lproj/InfoPlist.strings @@ -0,0 +1,10 @@ +/* + InfoPlist.strings + Clocker + + Created by Abhishek Banthia on 3/27/16. + +*/ + +"CFBundleDisplayName" = "Clocker"; +"CFBundleName" = "Clocker"; \ No newline at end of file diff --git a/Clocker/Clocker/it.lproj/InfoPlist.strings b/Clocker/Clocker/it.lproj/InfoPlist.strings new file mode 100644 index 0000000..79d4436 --- /dev/null +++ b/Clocker/Clocker/it.lproj/InfoPlist.strings @@ -0,0 +1,10 @@ +/* + InfoPlist.strings + Clocker + + Created by Abhishek Banthia on 3/27/16. + +*/ + +"CFBundleDisplayName" = "Clocker"; +"CFBundleName" = "Clocker"; \ No newline at end of file diff --git a/Clocker/Clocker/it.lproj/Localizable.strings b/Clocker/Clocker/it.lproj/Localizable.strings new file mode 100644 index 0000000..8788d9d --- /dev/null +++ b/Clocker/Clocker/it.lproj/Localizable.strings @@ -0,0 +1,157 @@ +/* + Localizable.strings + Clocker + + Created by Abhishek Banthia on 3/27/16. + +*/ + +"CFBundleDisplayName" = "Clocker"; +"Thank you for helping make Clocker even better!" = "Thank you for helping make Clocker even better!"; +"iRateMessageTitle" = "Rate %@"; +"iRateAppMessage" = "If you enjoy using %@, would you mind taking a moment to rate it? It won’t take more than a minute. Thanks for your support!"; +"iRateGameMessage" = "If you enjoy playing %@, would you mind taking a moment to rate it? It won’t take more than a minute. Thanks for your support!"; +"iRateCancelButton" = "No, Thanks"; +"iRateRateButton" = "Rate It Now"; +"iRateRemindButton" = "Remind Me Later"; +"iRateUpdateMessage" = "Update now?"; +"ClockerVersion" = "Version %@"; +"CLFeedbackAlertTitle" = "Thank you for helping make Clocker even better!"; +"app-name" = "Clocker"; +"start-at-login" = "Start At Login"; +"setup-steps" = "It only takes 3 steps to set up Clocker"; +"Permissions-Header" = "Permissions"; +"See your next Calendar event here." = "See your next Calendar event here."; +"Click here to start." = "Click here to start."; +"Reminders Access" = "Reminders Access"; +"Calendar Access" = "Calendar Access"; +"Permissions" = "Permissions"; +"Calendar Detail" = "Upcoming events from your personal and shared calendars can be shown in the menubar and the panel."; +"Reminders Detail" = "Set reminders in the timezone of the location of your choice. Your reminders are stored in the default Reminders app."; +"Privacy Text" = "You can change this later in the Privacy section of the System Preferences."; +"Granted Button Text" = "Granted"; +"Denied Button Text" = "Denied"; +"Grant Button Text" = "Grant"; + +// Welcome Onboarding +"It only takes 3 steps to setup Clocker." = "It only takes 3 steps to setup Clocker."; +"Get Started" = "Get Started"; + +// Tab Item Titles +"Preferences Tab" = "Preferences"; +"Appearance Tab" = "Appearance"; +"Calendar Tab" = "Calendar"; +"About Tab" = "About"; +"Permissions Tab" = "Permissions"; + +// General Preferences Screen +"Start at Login" = "Start Clocker at Login"; +"Selected Timezones" = "Selected Timezones"; +"Sort by Time Difference" = "Sort by Time Difference"; +"Sort by Name" = "Sort by Name"; +"Sort by Label" = "Sort by Label"; +"Search Field Placeholder" = "Enter a city, state or country name"; +"No Timezone Selected" = "Please select a timezone!"; +"Max Timezones Selected" = "Maximum 100 timezones allowed!"; +"Max Search Characters" = "Only 50 characters allowed!"; +"Add Button Title" = "Add"; +"Close Button Title" = "Close"; + +// Onboarding +"Open Clocker At Login" = "Open Clocker At Login"; +"Launch Clocker" = "Launch Clocker"; + +// Welcome Onboarding +"It only takes 3 steps to set up Clocker." = "It only takes 3 steps to setup Clocker."; +"Get Started" = "Get Started"; + +// Permissions +"Calendar Access Title" = "Calendar Access"; +"Reminders Access Title" = "Reminders Access"; +"Later Config Description" = "These can be configured later in System Preferences."; +"Back" = "Back"; +"Continue" = "Continue"; +"Clocker is more useful when it can display events from your calendars." = "Clocker is more useful when it can display events from your calendars."; +"Clocker is more useful when it can display events from your calendars. You can change this setting in System Preferences › Security & Privacy › Privacy." = "Clocker is more useful when it can display events from your calendars. You can change this setting in System Preferences › Security & Privacy › Privacy."; +"Launch Preferences" = "Launch Preferences"; +"Grant Access" = "Grant Access"; +"Upcoming events from your personal and shared calendars can be shown in the menubar and the panel." = "Upcoming events from your personal and shared calendars can be shown in the menubar and the panel."; +"Granted" = "Granted"; +"Denied" = "Denied"; +"Grant" = "Grant"; +"Unexpected" = "Unexpected"; + +// Onboarding Search +"Quick Add Locations" = "Quick Add Locations"; +"More search options in Clocker Preferences." = "More search options in Clocker Preferences."; +"Search Locations" = "Search Locations"; + +// Start at Login +"Launch at Login" = "Launch at Login"; +"This can be configured later in Clocker Preferences." = "This can be configured later in Clocker Preferences."; +"Should Clocker open automatically on startup?" = "Should Clocker open automatically on startup?"; + +// Final Onboarding Screen +"You're all set!" = "You're all set!"; +"Thank you for the details." = "Thank you for the details."; +"You'll see a clock icon in your Menu Bar when you launch the app. If you'd like to see a dock icon, go to Preferences." = "You'll see a clock icon in your Menu Bar when you launch the app. If you'd like to see a dock icon, go to Preferences."; +"If you'd like to help us localize the app in your language or receive infrequent app-related updates, please enter your email!" = "If you'd like to help us localize the app in your language or receive infrequent app-related updates, please enter your email!"; + +// Appearance Tab +"Panel Theme" = "Panel Theme"; +"Favourite a timezone to enable menubar display options." = "Favourite a timezone to enable menubar display options."; +"Main Panel Options" = "Main Panel Options"; +"Time Format" = "Time Format"; +"Day Display Options" = "Day Display Options"; +"Show Future Slider" = "Show Future Slider"; +"Show Sunrise/Sunset" = "Show Sunrise/Sunset"; +"Display the time in seconds" = "Display the time in seconds"; +"Larger Text" = "Larger Text"; +"Future Slider Range" = "Future Slider Range"; +"Include Date" = "Include Date"; +"Include Day" = "Include Day"; +"Include Place Name" = "Include Place Name"; +"Menubar Display Options" = "Menubar Display Options"; +"Menubar Mode" = "Menubar Mode"; + +// Empty View +"No places added" = "No places added"; + +// Panel +"No upcoming event." = "No upcoming event."; +"You have no events scheduled for tomorrow." = "You have no events scheduled for tomorrow."; + +// Review +"Enjoy using Clocker?" = "Enjoy using Clocker?"; + +// App Feedback +"Tell us what you think!" = "Tell us what you think!"; +"Contact Information (Optional)" = "Contact Information (Optional)"; +"Contact fields are optional! Your contact information will let us contact you in case we need more information or can help!" = "Contact fields are optional! Your contact information will let us contact you in case we need more information or can help!"; + +// About View Screen +"Feedback is always welcome:" = "Feedback is always welcome:"; + +// Calendars View +"Upcoming Event View Options" = "Upcoming Event View Options"; +"Show Upcoming Event View" = "Show Upcoming Event View"; +"Show All Day Meetings" = "Show All Day Meetings"; +"Show Next Meeting Title in Menubar" = "Show Next Meeting Title in Menubar"; +"Truncate menubar text longer than" = "Truncate menubar text longer than"; +"characters" = "characters"; +"Show events from" = "Show events from"; +"If meeting title is \"Meeting with Neel\" and truncate length is set to 5, text in menubar will appear as \"Meeti...\"" = "If meeting title is \"Meeting with Neel\" and truncate length is set to 5, text in menubar will appear as \"Meeti...\""; + +// Notes Popover +"Reminder Set" = "Reminder Set"; +"Successfully set." = "Successfully set."; + +// Errors +"You're offline, maybe?" = "You're offline, maybe?"; +"Try again, maybe?" = "Try again, maybe?"; +"The Internet connection appears to be offline." = "The Internet connection appears to be offline."; + +// UI Tests +"New Zealand" = "New Zealand"; +"Florida" = "Florida"; +"San Francisco" = "San Francisco"; diff --git a/Clocker/Clocker/tr.lproj/InfoPlist.strings b/Clocker/Clocker/tr.lproj/InfoPlist.strings new file mode 100644 index 0000000..79d4436 --- /dev/null +++ b/Clocker/Clocker/tr.lproj/InfoPlist.strings @@ -0,0 +1,10 @@ +/* + InfoPlist.strings + Clocker + + Created by Abhishek Banthia on 3/27/16. + +*/ + +"CFBundleDisplayName" = "Clocker"; +"CFBundleName" = "Clocker"; \ No newline at end of file From aab91689b2a6dc695b6535e8acd2605ab0eece50 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Wed, 23 Oct 2019 16:24:14 -0700 Subject: [PATCH 2/2] More visible font. --- Clocker/Menu Bar/StatusItemView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clocker/Menu Bar/StatusItemView.swift b/Clocker/Menu Bar/StatusItemView.swift index b6fac6f..d3f14f4 100644 --- a/Clocker/Menu Bar/StatusItemView.swift +++ b/Clocker/Menu Bar/StatusItemView.swift @@ -10,7 +10,7 @@ private var defaultParagraphStyle: NSMutableParagraphStyle { } var compactModeTimeFont: NSFont { - return NSFont.monospacedDigitSystemFont(ofSize: 10, weight: .thin) + return NSFont.monospacedDigitSystemFont(ofSize: 10, weight: .regular) } var timeAttributes: [NSAttributedString.Key: AnyObject] {