summaryrefslogtreecommitdiff
path: root/inc/lang/tr/jquery.ui.datepicker.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-07-30 10:30:44 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-07-30 10:30:44 +0200
commit8beb79af2d4aa34cb2b0ce6b5e4255488ae0cc1f (patch)
treee073e79b3bc9e2209b4f03775d8495c781d80dce /inc/lang/tr/jquery.ui.datepicker.js
parent0c309a8975ca5a541386f0477b9f34b7edb1dc1f (diff)
parent4ca83a77b85b265fbb47d93854865845e05645cd (diff)
downloadrpg-8beb79af2d4aa34cb2b0ce6b5e4255488ae0cc1f.tar.gz
rpg-8beb79af2d4aa34cb2b0ce6b5e4255488ae0cc1f.tar.bz2
Merge pull request #788 from splitbrain/jquery
update jquery and jquery-ui
Diffstat (limited to 'inc/lang/tr/jquery.ui.datepicker.js')
-rw-r--r--inc/lang/tr/jquery.ui.datepicker.js56
1 files changed, 35 insertions, 21 deletions
diff --git a/inc/lang/tr/jquery.ui.datepicker.js b/inc/lang/tr/jquery.ui.datepicker.js
index 75b583a77..c366eb16a 100644
--- a/inc/lang/tr/jquery.ui.datepicker.js
+++ b/inc/lang/tr/jquery.ui.datepicker.js
@@ -1,23 +1,37 @@
/* Turkish initialisation for the jQuery UI date picker plugin. */
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
-jQuery(function($){
- $.datepicker.regional['tr'] = {
- closeText: 'kapat',
- prevText: '&#x3C;geri',
- nextText: 'ileri&#x3e',
- currentText: 'bugün',
- monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
- 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
- monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
- 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
- dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
- dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
- dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
- weekHeader: 'Hf',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['tr']);
-});
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define([ "../datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+}(function( datepicker ) {
+
+datepicker.regional['tr'] = {
+ closeText: 'kapat',
+ prevText: '&#x3C;geri',
+ nextText: 'ileri&#x3e',
+ currentText: 'bugün',
+ monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
+ 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
+ monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
+ 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
+ dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
+ dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
+ dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
+ weekHeader: 'Hf',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+datepicker.setDefaults(datepicker.regional['tr']);
+
+return datepicker.regional['tr'];
+
+}));