mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
feat: Azerbaijani translation (#21387)
* add Azerbaijani translation * fix: rename Azerbaijani translation file * fix: add az_AZ.txs file into locale/ folder * fix: linting error on tranling comma * fix: duplicate locales in locale-provide, a typo * https://github.com/ant-design/ant-design/issues/21343 - fix (#21344) * fix(Form): label width not correct when screen less than xs (#21222) * fix(Form): label width not correct when screen less than xs * fix form item control width * fix css selector priority * fix: separate translation into multiple files for Azerbaijani locale * fix: wrong import from tr_TR locales into az_AZ * fix: typo in calendar locale az * add Azerbaijani translation * fix: rename Azerbaijani translation file * fix: add az_AZ.txs file into locale/ folder * fix: linting error on tranling comma * fix: duplicate locales in locale-provide, a typo * add: time picker az_AZ locale * fix: separate translation into multiple files for Azerbaijani locale * fix: wrong import from tr_TR locales into az_AZ * fix: typo in calendar locale az * update: rc-picker in package.json Co-authored-by: ElliotAshby <47282526+ElliotAshby@users.noreply.github.com> Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
This commit is contained in:
parent
30a3ac63ef
commit
28a529274b
3
components/calendar/locale/az_AZ.tsx
Normal file
3
components/calendar/locale/az_AZ.tsx
Normal file
@ -0,0 +1,3 @@
|
||||
import az_AZ from '../../date-picker/locale/az_AZ';
|
||||
|
||||
export default az_AZ;
|
15
components/date-picker/locale/az_AZ.tsx
Normal file
15
components/date-picker/locale/az_AZ.tsx
Normal file
@ -0,0 +1,15 @@
|
||||
import CalendarLocale from 'rc-picker/lib/locale/az_AZ';
|
||||
import TimePickerLocale from '../../time-picker/locale/az_AZ';
|
||||
|
||||
const locale = {
|
||||
lang: {
|
||||
placeholder: 'Tarix seçin',
|
||||
rangePlaceholder: ['Başlama tarixi', 'Bitmə tarixi'],
|
||||
...CalendarLocale,
|
||||
},
|
||||
timePickerLocale: {
|
||||
...TimePickerLocale,
|
||||
},
|
||||
};
|
||||
|
||||
export default locale;
|
3
components/locale-provider/az_AZ.tsx
Normal file
3
components/locale-provider/az_AZ.tsx
Normal file
@ -0,0 +1,3 @@
|
||||
import locale from '../locale/az_AZ';
|
||||
|
||||
export default locale;
|
45
components/locale/az_AZ.tsx
Normal file
45
components/locale/az_AZ.tsx
Normal file
@ -0,0 +1,45 @@
|
||||
import Pagination from 'rc-pagination/lib/locale/az_AZ';
|
||||
import DatePicker from '../date-picker/locale/az_AZ';
|
||||
import TimePicker from '../time-picker/locale/az_AZ';
|
||||
import Calendar from '../calendar/locale/az_AZ';
|
||||
|
||||
export default {
|
||||
locale: 'az',
|
||||
Pagination,
|
||||
DatePicker,
|
||||
TimePicker,
|
||||
Calendar,
|
||||
Table: {
|
||||
filterTitle: 'Filter menyu',
|
||||
filterConfirm: 'Axtar',
|
||||
filterReset: 'Sıfırla',
|
||||
emptyText: 'Məlumat yoxdur',
|
||||
selectAll: 'Cari səhifəni seç',
|
||||
selectInvert: 'Invert current page',
|
||||
},
|
||||
Modal: {
|
||||
okText: 'Bəli',
|
||||
cancelText: 'Ləğv et',
|
||||
justOkText: 'Bəli',
|
||||
},
|
||||
Popconfirm: {
|
||||
okText: 'Bəli',
|
||||
cancelText: 'Ləğv et',
|
||||
},
|
||||
Transfer: {
|
||||
titles: ['', ''],
|
||||
notFoundContent: 'Tapılmadı',
|
||||
searchPlaceholder: 'Burada axtar',
|
||||
itemUnit: 'item',
|
||||
itemsUnit: 'items',
|
||||
},
|
||||
Select: {
|
||||
notFoundContent: 'Tapılmadı',
|
||||
},
|
||||
Upload: {
|
||||
uploading: 'Yüklənir...',
|
||||
removeFile: 'Faylı sil',
|
||||
uploadError: 'Yükləmə xətası',
|
||||
previewFile: 'Fayla önbaxış',
|
||||
},
|
||||
};
|
5
components/time-picker/locale/az_AZ.tsx
Normal file
5
components/time-picker/locale/az_AZ.tsx
Normal file
@ -0,0 +1,5 @@
|
||||
const locale = {
|
||||
placeholder: 'Vaxtı seç',
|
||||
};
|
||||
|
||||
export default locale;
|
@ -115,7 +115,7 @@
|
||||
"rc-menu": "~8.0.0-alpha.7",
|
||||
"rc-notification": "~4.0.0-rc.1",
|
||||
"rc-pagination": "~1.21.0",
|
||||
"rc-picker": "^0.0.1-rc.5",
|
||||
"rc-picker": "^0.0.1-rc.6",
|
||||
"rc-progress": "~2.5.0",
|
||||
"rc-rate": "~2.5.1",
|
||||
"rc-resize-observer": "^0.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user