diff --git a/components/calendar/locale/ku_KU.ts b/components/calendar/locale/ku_KU.ts new file mode 100644 index 000000000..bca7f1e84 --- /dev/null +++ b/components/calendar/locale/ku_KU.ts @@ -0,0 +1,2 @@ +import ku_KU from '../../date-picker/locale/ku_KU'; +export default ku_KU; diff --git a/components/color-picker/locale/ku_KU.js b/components/color-picker/locale/ku_KU.js new file mode 100644 index 000000000..241dda72d --- /dev/null +++ b/components/color-picker/locale/ku_KU.js @@ -0,0 +1,6 @@ +export default { + 'btn:save': 'پاشکەوت کردن', + 'btn:cancel': 'هەڵوەشاندنەوە', + 'btn:clear': 'پاککردنەوە', + }; + \ No newline at end of file diff --git a/components/date-picker/locale/ku_KU.ts b/components/date-picker/locale/ku_KU.ts new file mode 100644 index 000000000..57c6f44a7 --- /dev/null +++ b/components/date-picker/locale/ku_KU.ts @@ -0,0 +1,19 @@ +import CalendarLocale from '../../vc-calendar/src/locale/ku_KU'; +import TimePickerLocale from '../../time-picker/locale/ku_KU'; + +// Merge into a locale object +const locale = { + lang: { + placeholder: 'هەڵبژاردنی ڕێکەوت', + rangePlaceholder: ['دەستپێکی ڕێکەوت', 'کوتایی ڕێکەوت'], + ...CalendarLocale, + }, + timePickerLocale: { + ...TimePickerLocale, + }, +}; + +// All settings at: +// https://github.com/vueComponent/ant-design-vue/blob/master/components/date-picker/locale/example.json + +export default locale; diff --git a/components/locale-provider/ku_KU.ts b/components/locale-provider/ku_KU.ts new file mode 100644 index 000000000..16ca16ce3 --- /dev/null +++ b/components/locale-provider/ku_KU.ts @@ -0,0 +1,3 @@ +import locale from '../locale/ku_KU'; + +export default locale; diff --git a/components/locale/ku_KU.ts b/components/locale/ku_KU.ts new file mode 100644 index 000000000..22d2ad61e --- /dev/null +++ b/components/locale/ku_KU.ts @@ -0,0 +1,43 @@ +import Pagination from '../vc-pagination/locale/ku_KU'; +import DatePicker from '../date-picker/locale/ku_KU'; +import TimePicker from '../time-picker/locale/ku_KU'; +import Calendar from '../calendar/locale/ku_KU'; + +export default { + locale: 'ku-ku', + Pagination, + DatePicker, + TimePicker, + Calendar, + Table: { + filterTitle: 'مێنوی پاڵاوتن', + filterConfirm: 'پشتڕاستکردنەوە', + filterReset: 'پاک کردن', + selectAll: 'هەڵبژاردنی هەموو', + selectInvert: 'هەڵبژزاردنی پێچەوانە', + }, + Modal: { + okText: 'باشە', + cancelText: 'پاشگەزبونەوە', + justOkText: 'باشە', + }, + Popconfirm: { + okText: 'باشە', + cancelText: 'پاشگەزبونەوە', + }, + Transfer: { + searchPlaceholder: 'گەڕان', + itemUnit: 'یەکە', + itemsUnit: 'یەکە', + }, + Upload: { + uploading: 'بارکردن...', + removeFile: 'پاککردنی فایل', + uploadError: 'هەڵەی بارکردن', + previewFile: 'پیشاندانی فایل', + downloadFile: 'وەرگرتنی فایل', + }, + Empty: { + description: 'هیچ زانیاریەک نیە', + }, +}; diff --git a/components/time-picker/locale/ku_KU.ts b/components/time-picker/locale/ku_KU.ts new file mode 100644 index 000000000..ee5890eda --- /dev/null +++ b/components/time-picker/locale/ku_KU.ts @@ -0,0 +1,6 @@ +const locale = { + placeholder: 'هەڵبژاردنی کات', + }; + + export default locale; + \ No newline at end of file diff --git a/components/vc-calendar/src/locale/ku_KU.js b/components/vc-calendar/src/locale/ku_KU.js new file mode 100644 index 000000000..cd33f999a --- /dev/null +++ b/components/vc-calendar/src/locale/ku_KU.js @@ -0,0 +1,28 @@ +export default { + today: 'ئەمڕۆ', + now: 'ئێستا', + backToToday: 'گەڕانەوە بۆ ڕۆژی', + ok: 'باشە', + clear: 'پاک کردن', + month: 'مانگ', + year: 'ساڵ', + timeSelect: 'هەڵبژاردنی کات', + dateSelect: 'هەڵبژاردنی ڕێکەوت', + monthSelect: 'مانگێک هەلبژێرە', + yearSelect: 'ساڵێک هەڵبژێرە', + decadeSelect: 'سەدەیەک هەڵبژێرە', + yearFormat: 'YYYY', + dateFormat: 'M/D/YYYY', + dayFormat: 'D', + dateTimeFormat: 'M/D/YYYY HH:mm:ss', + monthBeforeYear: true, + previousMonth: 'مانگی پێشو (PageUp)', + nextMonth: 'مانگی داهاتو (PageDown)', + previousYear: 'پارساڵ (Control + left)', + nextYear: 'ساڵی داهاتو (Control + right)', + previousDecade: 'دەیە پێشو', + nextDecade: 'دەیە داهاتو', + previousCentury: 'سەدەی پێشو', + nextCentury: 'سەدەی داهاتو', + }; + \ No newline at end of file diff --git a/components/vc-pagination/locale/ku_KU.js b/components/vc-pagination/locale/ku_KU.js new file mode 100644 index 000000000..eba15014e --- /dev/null +++ b/components/vc-pagination/locale/ku_KU.js @@ -0,0 +1,16 @@ +export default { + // Options.jsx + items_per_page: '/ ڵاپەرە', + jump_to: 'بڕو بۆ', + jump_to_confirm: 'پشت راستکردنەوە', + page: 'ڵاپەرە', + + // Pagination.jsx + prev_page: 'ڵاپەرەی پێشو', + next_page: 'ڵاپەرەی داهاتو', + prev_5: '۵ ڵاپەرەی پێشو', + next_5: '۵ ڵاپەرەی داهاتو', + prev_3: '۳ ڵاپەرەی پێشو', + next_3: '۳ ڵاپەرەی داهاتو', + }; + \ No newline at end of file