aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/i18n/ui.datepicker-ja.js
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-01 20:39:06 +0000
committerrub <rub@piwigo.org>2008-10-01 20:39:06 +0000
commite9d7622d55ca8456e36ea8a178e8b0286250fd1d (patch)
treebfba53e0c20492bc5fb485ceadaaff134029419e /template-common/lib/ui/i18n/ui.datepicker-ja.js
parent7eb7d3752748e3ca6db611e29a5d8c1aaac1195b (diff)
Purpose of datepicker with jQuery.
I will open a french topic on forum to debate of implementation and possibles changes. git-svn-id: http://piwigo.org/svn/trunk@2632 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template-common/lib/ui/i18n/ui.datepicker-ja.js')
-rw-r--r--template-common/lib/ui/i18n/ui.datepicker-ja.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/template-common/lib/ui/i18n/ui.datepicker-ja.js b/template-common/lib/ui/i18n/ui.datepicker-ja.js
new file mode 100644
index 000000000..e33909fe5
--- /dev/null
+++ b/template-common/lib/ui/i18n/ui.datepicker-ja.js
@@ -0,0 +1,22 @@
+/* Japanese (UTF-8) initialisation for the jQuery UI date picker plugin. */
+/* Written by Milly. */
+jQuery(function($){
+ $.datepicker.regional['ja'] = {clearText: '&#21066;&#38500;', clearStatus: '',
+ closeText: '&#38281;&#12376;&#12427;', closeStatus: '',
+ prevText: '&lt;&#21069;&#26376;', prevStatus: '',
+ nextText: '&#27425;&#26376;&gt;', nextStatus: '',
+ currentText: '&#20170;&#26085;', currentStatus: '',
+ monthNames: ['1&#26376;','2&#26376;','3&#26376;','4&#26376;','5&#26376;','6&#26376;',
+ '7&#26376;','8&#26376;','9&#26376;','10&#26376;','11&#26376;','12&#26376;'],
+ monthNamesShort: ['1&#26376;','2&#26376;','3&#26376;','4&#26376;','5&#26376;','6&#26376;',
+ '7&#26376;','8&#26376;','9&#26376;','10&#26376;','11&#26376;','12&#26376;'],
+ monthStatus: '', yearStatus: '',
+ weekHeader: 'Wk', weekStatus: '',
+ dayNames: ['&#26085;','&#26376;','&#28779;','&#27700;','&#26408;','&#37329;','&#22303;'],
+ dayNamesShort: ['&#26085;','&#26376;','&#28779;','&#27700;','&#26408;','&#37329;','&#22303;'],
+ dayNamesMin: ['&#26085;','&#26376;','&#28779;','&#27700;','&#26408;','&#37329;','&#22303;'],
+ dayStatus: 'DD', dateStatus: 'D, M d',
+ dateFormat: 'yy/mm/dd', firstDay: 0,
+ initStatus: '', isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['ja']);
+}); \ No newline at end of file