Browse Source

feat: add ga_IE locale

pull/3053/head
tangjinzhou 4 years ago
parent
commit
db63f369e1
  1. 3
      components/calendar/locale/ga_IE.ts
  2. 19
      components/date-picker/locale/ga_IE.ts
  3. 3
      components/locale-provider/ga_IE.ts
  4. 43
      components/locale/ga_IE.ts
  5. 5
      components/time-picker/locale/ga_IE.ts
  6. 28
      components/vc-calendar/src/locale/ga_IE.js
  7. 15
      components/vc-pagination/locale/ga_IE.js

3
components/calendar/locale/ga_IE.ts

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

19
components/date-picker/locale/ga_IE.ts

@ -0,0 +1,19 @@
import CalendarLocale from '../../vc-calendar/src/locale/ga_IE';
import TimePickerLocale from '../../time-picker/locale/ga_IE';
// Merge into a locale object
const locale = {
lang: {
placeholder: 'Select date',
rangePlaceholder: ['Start date', 'End date'],
...CalendarLocale,
},
timePickerLocale: {
...TimePickerLocale,
},
};
// All settings at:
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
export default locale;

3
components/locale-provider/ga_IE.ts

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

43
components/locale/ga_IE.ts

@ -0,0 +1,43 @@
import Pagination from '../vc-pagination/locale/ga_IE';
import DatePicker from '../date-picker/locale/ga_IE';
import TimePicker from '../time-picker/locale/ga_IE';
import Calendar from '../calendar/locale/ga_IE';
export default {
locale: 'ga_IE',
Pagination,
DatePicker,
TimePicker,
Calendar,
Table: {
filterTitle: 'Scagaire roghchlár',
filterConfirm: 'Ceart go leor',
filterReset: 'Athshocraigh',
selectAll: 'Roghnaigh an leathanach reatha',
selectInvert: 'Inbhéartaigh an leathanach reatha',
},
Modal: {
okText: 'Ceart go leor',
cancelText: 'Cealaigh',
justOkText: 'Ceart go leor',
},
Popconfirm: {
okText: 'Ceart go leor',
cancelText: 'Cealaigh',
},
Transfer: {
searchPlaceholder: 'Cuardaigh anseo',
itemUnit: 'mír',
itemsUnit: 'míreanna',
},
Upload: {
uploading: 'Uaslódáil ...',
removeFile: 'Bain comhad',
uploadError: 'Earráid uaslódáil',
previewFile: 'Comhad réamhamhairc',
downloadFile: 'Íoslódáil an comhad',
},
Empty: {
description: 'Gan aon sonraí',
},
};

5
components/time-picker/locale/ga_IE.ts

@ -0,0 +1,5 @@
const locale = {
placeholder: 'Roghnaigh am',
};
export default locale;

28
components/vc-calendar/src/locale/ga_IE.js

@ -0,0 +1,28 @@
export default {
today: 'inniu',
now: 'anois',
backToToday: 'Ar ais inniu',
ok: 'ceart go leor',
clear: 'soiléir',
month: 'mhí',
year: 'bhliain',
timeSelect: 'roghnaigh am',
dateSelect: 'roghnaigh dáta',
weekSelect: 'Roghnaigh seachtain',
monthSelect: 'Roghnaigh mí',
yearSelect: 'Roghnaigh bliain',
decadeSelect: 'Roghnaigh deich mbliana',
yearFormat: 'YYYY',
dateFormat: 'D/M/YYYY',
dayFormat: 'D',
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
monthBeforeYear: true,
previousMonth: 'An mhí roimhe seo (PageUp)',
nextMonth: 'An mhí seo chugainn (PageDown)',
previousYear: 'Anuraidh (Control + left)',
nextYear: 'An bhliain seo chugainn (Control + right)',
previousDecade: 'Le deich mbliana anuas',
nextDecade: 'Deich mbliana amach romhainn',
previousCentury: 'An chéid seo caite',
nextCentury: 'An chéad aois eile',
};

15
components/vc-pagination/locale/ga_IE.js

@ -0,0 +1,15 @@
export default {
// Options.jsx
items_per_page: '/ leathanach',
jump_to: 'Téigh',
jump_to_confirm: 'dheimhnigh',
page: '',
// Pagination.jsx
prev_page: 'Leathanach Roimhe Seo',
next_page: 'An chéad leathanach eile',
prev_5: '5 leathanach roimhe seo',
next_5: 'Ar Aghaidh 5 Leathanaigh',
prev_3: '3 leathanach roimhe seo',
next_3: 'Ar Aghaidh 3 Leathanaigh',
};
Loading…
Cancel
Save