mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
e7f5030f2b
* 修复AutoComplete组件allowClear属性的说明有歧义的问题 * fix: change Ok to OK * update jest snapshot Co-authored-by: chj_damon <chjdamon@gmail.com>
46 lines
1.3 KiB
TypeScript
46 lines
1.3 KiB
TypeScript
import TimePickerLocale from '../../time-picker/locale/sl_SI';
|
|
import { PickerLocale } from '../generatePicker';
|
|
|
|
// Merge into a locale object
|
|
const locale: PickerLocale = {
|
|
lang: {
|
|
locale: 'sl',
|
|
placeholder: 'Izberite datum',
|
|
rangePlaceholder: ['Začetni datum', 'Končni datum'],
|
|
today: 'Danes',
|
|
now: 'Trenutno',
|
|
backToToday: 'Nazaj na trenutni datum',
|
|
ok: 'OK',
|
|
clear: 'Počisti',
|
|
month: 'Mesec',
|
|
year: 'Leto',
|
|
timeSelect: 'Izberi čas',
|
|
dateSelect: 'Izberi datum',
|
|
monthSelect: 'Izberite mesec',
|
|
yearSelect: 'Izberite leto',
|
|
decadeSelect: 'Izberite desetletje',
|
|
yearFormat: 'YYYY',
|
|
dateFormat: 'D.M.YYYY',
|
|
dayFormat: 'D',
|
|
dateTimeFormat: 'D.M.YYYY HH:mm:ss',
|
|
monthFormat: 'MMMM',
|
|
monthBeforeYear: true,
|
|
previousMonth: 'Prejšnji mesec (PageUp)',
|
|
nextMonth: 'Naslednji mesec (PageDown)',
|
|
previousYear: 'Lansko leto (Control + left)',
|
|
nextYear: 'Naslednje leto (Control + right)',
|
|
previousDecade: 'Prejšnje desetletje',
|
|
nextDecade: 'Naslednje desetletje',
|
|
previousCentury: 'Zadnje stoletje',
|
|
nextCentury: 'Naslednje stoletje',
|
|
},
|
|
timePickerLocale: {
|
|
...TimePickerLocale,
|
|
},
|
|
};
|
|
|
|
// All settings at:
|
|
// https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
|
|
|
|
export default locale;
|