forked from jquery/jquery-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
All: Wrap I18n files with UMD return exports
Ref #9464 Ref jquerygh-1029
- Loading branch information
Showing
78 changed files
with
1,328 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
/* Arabic Translation for jQuery UI date picker plugin. */ | ||
/* Khaled Alhourani -- [email protected] */ | ||
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ | ||
jQuery(function($){ | ||
$.datepicker.regional['ar'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['ar'] = { | ||
closeText: 'إغلاق', | ||
prevText: '<السابق', | ||
nextText: 'التالي>', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($){ | |
isRTL: true, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['ar']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['ar']); | ||
|
||
return datepicker.regional['ar']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,18 @@ | |
/* Written by Keith Wood (kbwood{at}iinet.com.au), | ||
Stéphane Nahmani ([email protected]), | ||
Stéphane Raimbault <[email protected]> */ | ||
jQuery(function($){ | ||
$.datepicker.regional['fr'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['fr'] = { | ||
closeText: 'Fermer', | ||
prevText: 'Précédent', | ||
nextText: 'Suivant', | ||
|
@@ -21,5 +31,8 @@ jQuery(function($){ | |
isRTL: false, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['fr']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['fr']); | ||
|
||
return datepicker.regional['fr']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/* Chinese initialisation for the jQuery UI date picker plugin. */ | ||
/* Written by Ressol ([email protected]). */ | ||
jQuery(function($){ | ||
$.datepicker.regional['zh-TW'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['zh-TW'] = { | ||
closeText: '關閉', | ||
prevText: '<上月', | ||
nextText: '下月>', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($){ | |
isRTL: false, | ||
showMonthAfterYear: true, | ||
yearSuffix: '年'}; | ||
$.datepicker.setDefaults($.datepicker.regional['zh-TW']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['zh-TW']); | ||
|
||
return datepicker.regional['zh-TW']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/ | ||
/* Mohamed Cherif BOUCHELAGHEM -- [email protected] */ | ||
|
||
jQuery(function($){ | ||
$.datepicker.regional['ar-DZ'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['ar-DZ'] = { | ||
closeText: 'إغلاق', | ||
prevText: '<السابق', | ||
nextText: 'التالي>', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($){ | |
isRTL: true, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['ar-DZ']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['ar-DZ']); | ||
|
||
return datepicker.regional['ar-DZ']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
/* Arabic Translation for jQuery UI date picker plugin. */ | ||
/* Khaled Alhourani -- [email protected] */ | ||
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */ | ||
jQuery(function($){ | ||
$.datepicker.regional['ar'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['ar'] = { | ||
closeText: 'إغلاق', | ||
prevText: '<السابق', | ||
nextText: 'التالي>', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($){ | |
isRTL: true, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['ar']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['ar']); | ||
|
||
return datepicker.regional['ar']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */ | ||
/* Written by Jamil Najafov ([email protected]). */ | ||
jQuery(function($) { | ||
$.datepicker.regional['az'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['az'] = { | ||
closeText: 'Bağla', | ||
prevText: '<Geri', | ||
nextText: 'İrəli>', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($) { | |
isRTL: false, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['az']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['az']); | ||
|
||
return datepicker.regional['az']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/* Belarusian initialisation for the jQuery UI date picker plugin. */ | ||
/* Written by Pavel Selitskas <[email protected]> */ | ||
jQuery(function($){ | ||
$.datepicker.regional['be'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['be'] = { | ||
closeText: 'Зачыніць', | ||
prevText: '←Папяр.', | ||
nextText: 'Наст.→', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($){ | |
isRTL: false, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['be']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['be']); | ||
|
||
return datepicker.regional['be']; | ||
|
||
})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */ | ||
/* Writers: ([email protected]). */ | ||
jQuery(function($){ | ||
$.datepicker.regional['ca'] = { | ||
(function( factory ) { | ||
if ( typeof define === "function" && define.amd ) { | ||
|
||
// AMD. Register as an anonymous module. | ||
define([ "../jquery.ui.datepicker" ], factory ); | ||
} else { | ||
|
||
// Browser globals | ||
factory( jQuery.datepicker ); | ||
} | ||
}(function( datepicker ) { | ||
datepicker.regional['ca'] = { | ||
closeText: 'Tanca', | ||
prevText: 'Anterior', | ||
nextText: 'Següent', | ||
|
@@ -19,5 +29,8 @@ jQuery(function($){ | |
isRTL: false, | ||
showMonthAfterYear: false, | ||
yearSuffix: ''}; | ||
$.datepicker.setDefaults($.datepicker.regional['ca']); | ||
}); | ||
datepicker.setDefaults(datepicker.regional['ca']); | ||
|
||
return datepicker.regional['ca']; | ||
|
||
})); |
Oops, something went wrong.