Skip to content

Commit

Permalink
Added Ukrainian language (spacedriveapp#2802)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriizaiets authored Nov 11, 2024
1 parent 0bfd8c2 commit df66299
Show file tree
Hide file tree
Showing 3 changed files with 885 additions and 2 deletions.
3 changes: 2 additions & 1 deletion interface/app/$libraryId/Explorer/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ const dayjsLocales: Record<string, any> = {
zh_CN: () => import('dayjs/locale/zh-cn.js'),
zh_TW: () => import('dayjs/locale/zh-tw.js'),
it: () => import('dayjs/locale/it.js'),
ja: () => import('dayjs/locale/ja.js')
ja: () => import('dayjs/locale/ja.js'),
uk: () => import('dayjs/locale/uk.js')
};

export function loadDayjsLocale(language: string) {
Expand Down
3 changes: 2 additions & 1 deletion interface/app/$libraryId/settings/client/appearance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ const LANGUAGE_OPTIONS = [
{ value: 'zh_CN', label: '中文(简体)' },
{ value: 'zh_TW', label: '中文(繁體)' },
{ value: 'it', label: 'Italiano' },
{ value: 'ja', label: '日本語' }
{ value: 'ja', label: '日本語' },
{ value: 'uk', label: 'Українська' }
];

// Sort the languages by their label
Expand Down
Loading

0 comments on commit df66299

Please sign in to comment.