vi_VN.js 1.1 KB

1234567891011121314151617181920212223
  1. import CalendarLocale from "rc-picker/es/locale/vi_VN";
  2. import TimePickerLocale from '../../time-picker/locale/vi_VN';
  3. // Merge into a locale object
  4. const locale = {
  5. lang: Object.assign({
  6. placeholder: 'Chọn thời điểm',
  7. yearPlaceholder: 'Chọn năm',
  8. quarterPlaceholder: 'Chọn quý',
  9. monthPlaceholder: 'Chọn tháng',
  10. weekPlaceholder: 'Chọn tuần',
  11. rangePlaceholder: ['Ngày bắt đầu', 'Ngày kết thúc'],
  12. rangeYearPlaceholder: ['Năm bắt đầu', 'Năm kết thúc'],
  13. rangeQuarterPlaceholder: ['Quý bắt đầu', 'Quý kết thúc'],
  14. rangeMonthPlaceholder: ['Tháng bắt đầu', 'Tháng kết thúc'],
  15. rangeWeekPlaceholder: ['Tuần bắt đầu', 'Tuần kết thúc'],
  16. shortMonths: ['Th 01', 'Th 02', 'Th 03', 'Th 04', 'Th 05', 'Th 06', 'Th 07', 'Th 08', 'Th 09', 'Th 10', 'Th 11', 'Th 12'],
  17. shortWeekDays: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
  18. }, CalendarLocale),
  19. timePickerLocale: Object.assign({}, TimePickerLocale)
  20. };
  21. // All settings at:
  22. // https://github.com/ant-design/ant-design/blob/master/components/date-picker/locale/example.json
  23. export default locale;