-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Basque (eu-ES) translation (#39371)
* Added basque (eu-ES) translation * Update components/locale/eu_ES.tsx Co-authored-by: Amumu <yoyo837@hotmail.com> * Update docs/react/i18n.zh-CN.md Co-authored-by: Amumu <yoyo837@hotmail.com> * added test cases Co-authored-by: Amumu <yoyo837@hotmail.com>
- Loading branch information
1 parent
f381789
commit c2afa97
Showing
9 changed files
with
5,280 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import euES from '../../date-picker/locale/eu_ES'; | ||
|
||
export default euES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import CalendarLocale from 'rc-picker/lib/locale/eu_ES'; | ||
import TimePickerLocale from '../../time-picker/locale/eu_ES'; | ||
import type { PickerLocale } from '../generatePicker'; | ||
|
||
// Merge into a locale object | ||
const locale: PickerLocale = { | ||
lang: { | ||
placeholder: 'Hautatu data', | ||
rangePlaceholder: ['Hasierako data', 'Amaiera data'], | ||
...CalendarLocale, | ||
}, | ||
timePickerLocale: { | ||
...TimePickerLocale, | ||
}, | ||
}; | ||
|
||
// All settings at: | ||
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json | ||
|
||
export default locale; |
Oops, something went wrong.