Skip to content

Commit 9f93d30

Browse files
committed
feat(i18n): add support for Ukrainian
1 parent dff525e commit 9f93d30

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

apps/client/src/widgets/view_widgets/calendar_view.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -676,6 +676,8 @@ export async function getFullCalendarLocale(locale: string) {
676676
return (await import("@fullcalendar/core/locales/ru")).default;
677677
case "ja":
678678
return (await import("@fullcalendar/core/locales/ja")).default;
679+
case "uk":
680+
return (await import("@fullcalendar/core/locales/uk")).default;
679681
case "en":
680682
default:
681683
return undefined;

apps/server/src/services/i18n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ const DAYJS_LOADER: Record<LOCALE_IDS, () => Promise<typeof import("dayjs/locale
1616
"fa": () => import("dayjs/locale/fa.js"),
1717
"fr": () => import("dayjs/locale/fr.js"),
1818
"he": () => import("dayjs/locale/he.js"),
19+
"ja": () => import("dayjs/locale/ja.js"),
1920
"ku": () => import("dayjs/locale/ku.js"),
2021
"ro": () => import("dayjs/locale/ro.js"),
2122
"ru": () => import("dayjs/locale/ru.js"),
2223
"tw": () => import("dayjs/locale/zh-tw.js"),
23-
"ja": () => import("dayjs/locale/ja.js")
24+
"uk": () => import("dayjs/locale/uk.js"),
2425
}
2526

2627
export async function initializeTranslations() {

packages/commons/src/lib/i18n.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ const UNSORTED_LOCALES: Locale[] = [
5050
name: "Русский",
5151
electronLocale: "ru"
5252
},
53+
{
54+
id: "uk",
55+
name: "Українська",
56+
electronLocale: "uk"
57+
},
5358
{
5459
id: "ja",
5560
name: "日本語",

0 commit comments

Comments
 (0)