﻿﻿/* Vietnamese initialisation for the jQuery UI date picker plugin. */
/* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
$(window).load(function() {
    $.datepicker.regional['vi'] = {
        closeText: 'Đóng',
        prevText: '&#x3c;Trước',
        nextText: 'Tiếp&#x3e;',
        currentText: 'Hôm nay',
        monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
        'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
        monthNamesShort: ['Th 01', 'Th 02', 'Th 03', 'Th 04', 'Th 05', 'Th 06',
        'Th 07', 'Th 08', 'Th 09', 'Th 10', 'Th 11', 'Th 12'],
        dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
        dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
        dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
        weekHeader: 'Tu',
        dateFormat: 'dd-mm-yy',
        firstDay: 0,
        isRTL: false,
        showMonthAfterYear: false,
        yearSuffix: ''
    };
    $.datepicker.setDefaults($.datepicker.regional['vi']);
    
    $.timepicker.regional['vi'] = {
        ampm: false,
        timeFormat: 'hh:mm:tt',
        timeOnlyTitle: 'Ch&#7885;n th&#7901;i gian',
        timeText: 'Th&#7901;i gian',
        hourText: 'Gi&#7901;',
        minuteText: 'Ph&#250;t',
        secondText: 'Gi&#226;y',
        am: 'SA',
        pm: 'CH'
    };
    $.timepicker.setDefaults($.timepicker.regional['vi']);

});
