Skip to content

Commit a43b128

Browse files
committed
feat: add ga_IE locale
1 parent 6c52162 commit a43b128

File tree

7 files changed

+116
-0
lines changed

7 files changed

+116
-0
lines changed

components/calendar/locale/ga_IE.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import ga_IE from '../../date-picker/locale/ga_IE';
2+
3+
export default ga_IE;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import CalendarLocale from '../../vc-calendar/src/locale/ga_IE';
2+
import TimePickerLocale from '../../time-picker/locale/ga_IE';
3+
4+
// Merge into a locale object
5+
const locale = {
6+
lang: {
7+
placeholder: 'Select date',
8+
rangePlaceholder: ['Start date', 'End date'],
9+
...CalendarLocale,
10+
},
11+
timePickerLocale: {
12+
...TimePickerLocale,
13+
},
14+
};
15+
16+
// All settings at:
17+
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
18+
19+
export default locale;

components/locale-provider/ga_IE.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import locale from '../locale/ga_IE';
2+
3+
export default locale;

components/locale/ga_IE.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import Pagination from '../vc-pagination/locale/ga_IE';
2+
import DatePicker from '../date-picker/locale/ga_IE';
3+
import TimePicker from '../time-picker/locale/ga_IE';
4+
import Calendar from '../calendar/locale/ga_IE';
5+
6+
export default {
7+
locale: 'ga_IE',
8+
Pagination,
9+
DatePicker,
10+
TimePicker,
11+
Calendar,
12+
Table: {
13+
filterTitle: 'Scagaire roghchlár',
14+
filterConfirm: 'Ceart go leor',
15+
filterReset: 'Athshocraigh',
16+
selectAll: 'Roghnaigh an leathanach reatha',
17+
selectInvert: 'Inbhéartaigh an leathanach reatha',
18+
},
19+
Modal: {
20+
okText: 'Ceart go leor',
21+
cancelText: 'Cealaigh',
22+
justOkText: 'Ceart go leor',
23+
},
24+
Popconfirm: {
25+
okText: 'Ceart go leor',
26+
cancelText: 'Cealaigh',
27+
},
28+
Transfer: {
29+
searchPlaceholder: 'Cuardaigh anseo',
30+
itemUnit: 'mír',
31+
itemsUnit: 'míreanna',
32+
},
33+
Upload: {
34+
uploading: 'Uaslódáil ...',
35+
removeFile: 'Bain comhad',
36+
uploadError: 'Earráid uaslódáil',
37+
previewFile: 'Comhad réamhamhairc',
38+
downloadFile: 'Íoslódáil an comhad',
39+
},
40+
Empty: {
41+
description: 'Gan aon sonraí',
42+
},
43+
};
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const locale = {
2+
placeholder: 'Roghnaigh am',
3+
};
4+
5+
export default locale;
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
export default {
2+
today: 'inniu',
3+
now: 'anois',
4+
backToToday: 'Ar ais inniu',
5+
ok: 'ceart go leor',
6+
clear: 'soiléir',
7+
month: 'mhí',
8+
year: 'bhliain',
9+
timeSelect: 'roghnaigh am',
10+
dateSelect: 'roghnaigh dáta',
11+
weekSelect: 'Roghnaigh seachtain',
12+
monthSelect: 'Roghnaigh mí',
13+
yearSelect: 'Roghnaigh bliain',
14+
decadeSelect: 'Roghnaigh deich mbliana',
15+
yearFormat: 'YYYY',
16+
dateFormat: 'D/M/YYYY',
17+
dayFormat: 'D',
18+
dateTimeFormat: 'D/M/YYYY HH:mm:ss',
19+
monthBeforeYear: true,
20+
previousMonth: 'An mhí roimhe seo (PageUp)',
21+
nextMonth: 'An mhí seo chugainn (PageDown)',
22+
previousYear: 'Anuraidh (Control + left)',
23+
nextYear: 'An bhliain seo chugainn (Control + right)',
24+
previousDecade: 'Le deich mbliana anuas',
25+
nextDecade: 'Deich mbliana amach romhainn',
26+
previousCentury: 'An chéid seo caite',
27+
nextCentury: 'An chéad aois eile',
28+
};
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export default {
2+
// Options.jsx
3+
items_per_page: '/ leathanach',
4+
jump_to: 'Téigh',
5+
jump_to_confirm: 'dheimhnigh',
6+
page: '',
7+
8+
// Pagination.jsx
9+
prev_page: 'Leathanach Roimhe Seo',
10+
next_page: 'An chéad leathanach eile',
11+
prev_5: '5 leathanach roimhe seo',
12+
next_5: 'Ar Aghaidh 5 Leathanaigh',
13+
prev_3: '3 leathanach roimhe seo',
14+
next_3: 'Ar Aghaidh 3 Leathanaigh',
15+
};

0 commit comments

Comments
 (0)