diff --git a/components/calendar/locale/ga_IE.tsx b/components/calendar/locale/ga_IE.tsx new file mode 100644 index 0000000000..fe10dd1deb --- /dev/null +++ b/components/calendar/locale/ga_IE.tsx @@ -0,0 +1,3 @@ +import ga_IE from '../../date-picker/locale/ga_IE'; + +export default ga_IE; diff --git a/components/date-picker/locale/ga_IE.tsx b/components/date-picker/locale/ga_IE.tsx new file mode 100644 index 0000000000..1c43dd2876 --- /dev/null +++ b/components/date-picker/locale/ga_IE.tsx @@ -0,0 +1,27 @@ +import CalendarLocale from 'rc-picker/lib/locale/ga_IE'; +import TimePickerLocale from '../../time-picker/locale/ga_IE'; +import { PickerLocale } from '../generatePicker'; + +// Merge into a locale object +const locale: PickerLocale = { + lang: { + placeholder: 'Roghnaigh dáta', + yearPlaceholder: 'Roghnaigh bliain', + quarterPlaceholder: 'Roghnaigh ráithe', + monthPlaceholder: 'Roghnaigh mí', + weekPlaceholder: 'Roghnaigh seachtain', + rangePlaceholder: ['Dáta tosaigh', 'Dáta deiridh'], + rangeYearPlaceholder: ['Tús na bliana', 'Deireadh na bliana'], + rangeMonthPlaceholder: ['Tosaigh mhí', 'Deireadh mhí'], + rangeWeekPlaceholder: ['Tosaigh an tseachtain', 'Deireadh na seachtaine'], + ...CalendarLocale, + }, + timePickerLocale: { + ...TimePickerLocale, + }, +}; + +// All settings at: +// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json + +export default locale; diff --git a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap index dd04a7094c..4cbf6837f1 100644 --- a/components/locale-provider/__tests__/__snapshots__/index.test.js.snap +++ b/components/locale-provider/__tests__/__snapshots__/index.test.js.snap @@ -82301,6 +82301,5033 @@ exports[`Locale Provider should display the text as fr 2`] = ` `; +exports[`Locale Provider should display the text as ga 1`] = ` +
+ Lu + | ++ Má + | ++ Cé + | ++ Dé + | ++ A + | ++ Sa + | ++ Do + | +
---|---|---|---|---|---|---|
+
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