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:
Orkhan Huseynli 2020-02-15 18:28:12 +04:00 committed by GitHub
parent 30a3ac63ef
commit 28a529274b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 72 additions and 1 deletions

View File

@ -0,0 +1,3 @@
import az_AZ from '../../date-picker/locale/az_AZ';
export default az_AZ;

View 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;

View File

@ -0,0 +1,3 @@
import locale from '../locale/az_AZ';
export default locale;

View 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ış',
},
};

View File

@ -0,0 +1,5 @@
const locale = {
placeholder: 'Vaxtı seç',
};
export default locale;

View File

@ -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",