From b5cae8ca9920b8dfc9bde1b467dbf75a63f94eae Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Sat, 2 Apr 2022 21:23:21 -0400 Subject: [PATCH] Adding emoji for no upcoming event item localization. --- Clocker/Clocker/ca.lproj/Localizable.strings | 2 +- Clocker/Clocker/de.lproj/Localizable.strings | 2 +- Clocker/Clocker/en.lproj/Localizable.strings | 2 +- Clocker/Clocker/es.lproj/Localizable.strings | 2 +- Clocker/Clocker/fr.lproj/Localizable.strings | 2 +- Clocker/Clocker/hi.lproj/Localizable.strings | 2 +- Clocker/Clocker/hr.lproj/Localizable.strings | 2 +- Clocker/Clocker/it.lproj/Localizable.strings | 2 +- Clocker/Clocker/ja.lproj/Localizable.strings | 2 +- Clocker/Clocker/ko.lproj/Localizable.strings | 2 +- Clocker/Clocker/nl.lproj/Localizable.strings | 2 +- Clocker/Clocker/pt-BR.lproj/Localizable.strings | 2 +- Clocker/Clocker/ru.lproj/Localizable.strings | 2 +- Clocker/Clocker/zh-Hans.lproj/Localizable.strings | 2 +- Clocker/Clocker/zh-Hant.lproj/Localizable.strings | 2 +- Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Clocker/Clocker/ca.lproj/Localizable.strings b/Clocker/Clocker/ca.lproj/Localizable.strings index a7e6ad8..b8caba7 100644 --- a/Clocker/Clocker/ca.lproj/Localizable.strings +++ b/Clocker/Clocker/ca.lproj/Localizable.strings @@ -161,7 +161,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/de.lproj/Localizable.strings b/Clocker/Clocker/de.lproj/Localizable.strings index 27ce101..012dfd5 100644 --- a/Clocker/Clocker/de.lproj/Localizable.strings +++ b/Clocker/Clocker/de.lproj/Localizable.strings @@ -161,7 +161,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/en.lproj/Localizable.strings b/Clocker/Clocker/en.lproj/Localizable.strings index 73ae1c9..8caaaa0 100644 --- a/Clocker/Clocker/en.lproj/Localizable.strings +++ b/Clocker/Clocker/en.lproj/Localizable.strings @@ -165,7 +165,7 @@ "Copied to Clipboard" = "Copied to Clipboard"; // Upcoming Event View -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/es.lproj/Localizable.strings b/Clocker/Clocker/es.lproj/Localizable.strings index 77f94d7..e9f9ce9 100644 --- a/Clocker/Clocker/es.lproj/Localizable.strings +++ b/Clocker/Clocker/es.lproj/Localizable.strings @@ -163,7 +163,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/fr.lproj/Localizable.strings b/Clocker/Clocker/fr.lproj/Localizable.strings index 5174df9..1094469 100644 --- a/Clocker/Clocker/fr.lproj/Localizable.strings +++ b/Clocker/Clocker/fr.lproj/Localizable.strings @@ -162,7 +162,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/hi.lproj/Localizable.strings b/Clocker/Clocker/hi.lproj/Localizable.strings index 0044df9..9b544a8 100644 --- a/Clocker/Clocker/hi.lproj/Localizable.strings +++ b/Clocker/Clocker/hi.lproj/Localizable.strings @@ -157,7 +157,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/hr.lproj/Localizable.strings b/Clocker/Clocker/hr.lproj/Localizable.strings index 11e6925..0a15ffb 100644 --- a/Clocker/Clocker/hr.lproj/Localizable.strings +++ b/Clocker/Clocker/hr.lproj/Localizable.strings @@ -163,7 +163,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Prijelaz na ljetno računanje vremena dogodit će se za < 24 sata"; "Copied to Clipboard" = "Kopirano u međuspremnik"; -"No upcoming events for today!" = "Za danas nema predstojećih događaja!"; +"No upcoming events for today!" = "Za danas nema predstojećih događaja 🎉!"; "Great going." = "Super."; "Happy Weekend." = "Uživaj vikend."; diff --git a/Clocker/Clocker/it.lproj/Localizable.strings b/Clocker/Clocker/it.lproj/Localizable.strings index 3f0369f..d9f31c3 100644 --- a/Clocker/Clocker/it.lproj/Localizable.strings +++ b/Clocker/Clocker/it.lproj/Localizable.strings @@ -162,7 +162,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/ja.lproj/Localizable.strings b/Clocker/Clocker/ja.lproj/Localizable.strings index 8733095..8a6250e 100644 --- a/Clocker/Clocker/ja.lproj/Localizable.strings +++ b/Clocker/Clocker/ja.lproj/Localizable.strings @@ -192,7 +192,7 @@ "No upcoming event." = "No upcoming event."; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; /* Onboarding */ "Open Clocker At Login" = "ログイン時に Clocker を開始"; diff --git a/Clocker/Clocker/ko.lproj/Localizable.strings b/Clocker/Clocker/ko.lproj/Localizable.strings index e2dbb7c..15a974a 100644 --- a/Clocker/Clocker/ko.lproj/Localizable.strings +++ b/Clocker/Clocker/ko.lproj/Localizable.strings @@ -164,7 +164,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/nl.lproj/Localizable.strings b/Clocker/Clocker/nl.lproj/Localizable.strings index a7e6ad8..b8caba7 100644 --- a/Clocker/Clocker/nl.lproj/Localizable.strings +++ b/Clocker/Clocker/nl.lproj/Localizable.strings @@ -161,7 +161,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/pt-BR.lproj/Localizable.strings b/Clocker/Clocker/pt-BR.lproj/Localizable.strings index 62fff41..cf230f0 100644 --- a/Clocker/Clocker/pt-BR.lproj/Localizable.strings +++ b/Clocker/Clocker/pt-BR.lproj/Localizable.strings @@ -162,7 +162,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/ru.lproj/Localizable.strings b/Clocker/Clocker/ru.lproj/Localizable.strings index 15bf74d..6069ab0 100644 --- a/Clocker/Clocker/ru.lproj/Localizable.strings +++ b/Clocker/Clocker/ru.lproj/Localizable.strings @@ -154,7 +154,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/zh-Hans.lproj/Localizable.strings b/Clocker/Clocker/zh-Hans.lproj/Localizable.strings index c1bc99c..c2ecc32 100644 --- a/Clocker/Clocker/zh-Hans.lproj/Localizable.strings +++ b/Clocker/Clocker/zh-Hans.lproj/Localizable.strings @@ -155,7 +155,7 @@ "Daylights Saving transition will occur in < 24 hours" = "Daylights Saving transition will occur in < 24 hours"; "Copied to Clipboard" = "Copied to Clipboard"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; "Great going." = "Great going."; "Happy Weekend." = "Happy Weekend."; diff --git a/Clocker/Clocker/zh-Hant.lproj/Localizable.strings b/Clocker/Clocker/zh-Hant.lproj/Localizable.strings index 7fb5639..21b9940 100644 --- a/Clocker/Clocker/zh-Hant.lproj/Localizable.strings +++ b/Clocker/Clocker/zh-Hant.lproj/Localizable.strings @@ -192,7 +192,7 @@ "No upcoming event." = "沒有即將到來的行程"; -"No upcoming events for today!" = "No upcoming events for today!"; +"No upcoming events for today!" = "No upcoming events for today 🎉!"; /* Onboarding */ "Open Clocker At Login" = "在登入時打開 Clocker"; diff --git a/Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift b/Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift index 94fd755..19810f6 100644 --- a/Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift +++ b/Clocker/Panel/Upcoming Events/UpcomingEventViewItem.swift @@ -90,7 +90,7 @@ class UpcomingEventViewItem: NSCollectionViewItem { func setupEmptyState() { let subtitle = NSCalendar.autoupdatingCurrent.isDateInWeekend(Date()) ? NSLocalizedString("Happy Weekend.", comment: "Button Title for no upcoming event") : NSLocalizedString("Great going.", comment: "Button Title for no upcoming event") - setAlternateState(NSLocalizedString("No upcoming events for today 🎉!", comment: "Next Event Label with no upcoming event"), + setAlternateState(NSLocalizedString("No upcoming events for today!", comment: "Next Event Label with no upcoming event"), subtitle, NSColor.systemGreen, nil)