pandorafms/pandora_console/include/javascript/i18n/jquery.ui.datepicker-th.js
mdtrooper 63f0bc7586 2013-06-10 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/jquery.ui-timepicker-addon.js: updated the
	datepicker for to avoid some found bugs.
	
	* include/javascript/i18n: added translations for the datepicker.
	
	* godmode/alerts/configure_alert_template.php,
	godmode/reporting/reporting_builder.item_editor.php,
	godmode/agentes/planned_downtime.editor.php,
	include/ajax/module.php, include/functions_ui.php,
	operation/tree.php, operation/agentes/status_monitor.php,
	operation/agentes/datos_agente.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php, extensions/insert_data.php:
	changed the code for to use the user/system language in the
	datepicker.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-10 16:19:48 +00:00

24 lines
1.2 KiB
JavaScript
Executable File

/* Thai initialisation for the jQuery UI date picker plugin. */
/* Written by pipo (pipo@sixhead.com). */
jQuery(function($){
$.datepicker.regional['th'] = {
closeText: 'ปิด',
prevText: '&#xAB;&#xA0;ย้อน',
nextText: 'ถัดไป&#xA0;&#xBB;',
currentText: 'วันนี้',
monthNames: ['มกราคม','กุมภาพันธ์','มีนาคม','เมษายน','พฤษภาคม','มิถุนายน',
'กรกฎาคม','สิงหาคม','กันยายน','ตุลาคม','พฤศจิกายน','ธันวาคม'],
monthNamesShort: ['ม.ค.','ก.พ.','มี.ค.','เม.ย.','พ.ค.','มิ.ย.',
'ก.ค.','ส.ค.','ก.ย.','ต.ค.','พ.ย.','ธ.ค.'],
dayNames: ['อาทิตย์','จันทร์','อังคาร','พุธ','พฤหัสบดี','ศุกร์','เสาร์'],
dayNamesShort: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
dayNamesMin: ['อา.','จ.','อ.','พ.','พฤ.','ศ.','ส.'],
weekHeader: 'Wk',
dateFormat: 'dd/mm/yy',
firstDay: 0,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['th']);
});