Permalink
Browse files

All: Wrap I18n files with UMD return exports

Ref #9464
Ref gh-1029
  • Loading branch information...
rxaviers committed Jul 17, 2013
1 parent 96e027e commit 1216e2aaf5e9bae52abe1ef9dfb9ab34c271c56d
Showing with 1,328 additions and 314 deletions.
  1. +17 −4 demos/datepicker/jquery.ui.datepicker-ar.js
  2. +17 −4 demos/datepicker/jquery.ui.datepicker-fr.js
  3. +17 −4 demos/datepicker/jquery.ui.datepicker-he.js
  4. +17 −4 demos/datepicker/jquery.ui.datepicker-zh-TW.js
  5. +17 −4 ui/i18n/jquery.ui.datepicker-af.js
  6. +17 −4 ui/i18n/jquery.ui.datepicker-ar-DZ.js
  7. +17 −4 ui/i18n/jquery.ui.datepicker-ar.js
  8. +17 −4 ui/i18n/jquery.ui.datepicker-az.js
  9. +17 −4 ui/i18n/jquery.ui.datepicker-be.js
  10. +17 −4 ui/i18n/jquery.ui.datepicker-bg.js
  11. +17 −4 ui/i18n/jquery.ui.datepicker-bs.js
  12. +17 −4 ui/i18n/jquery.ui.datepicker-ca.js
  13. +17 −4 ui/i18n/jquery.ui.datepicker-cs.js
  14. +17 −4 ui/i18n/jquery.ui.datepicker-cy-GB.js
  15. +17 −4 ui/i18n/jquery.ui.datepicker-da.js
  16. +17 −4 ui/i18n/jquery.ui.datepicker-de.js
  17. +17 −4 ui/i18n/jquery.ui.datepicker-el.js
  18. +17 −4 ui/i18n/jquery.ui.datepicker-en-AU.js
  19. +17 −4 ui/i18n/jquery.ui.datepicker-en-GB.js
  20. +17 −4 ui/i18n/jquery.ui.datepicker-en-NZ.js
  21. +17 −4 ui/i18n/jquery.ui.datepicker-eo.js
  22. +17 −4 ui/i18n/jquery.ui.datepicker-es.js
  23. +17 −4 ui/i18n/jquery.ui.datepicker-et.js
  24. +18 −5 ui/i18n/jquery.ui.datepicker-eu.js
  25. +17 −4 ui/i18n/jquery.ui.datepicker-fa.js
  26. +17 −4 ui/i18n/jquery.ui.datepicker-fi.js
  27. +17 −4 ui/i18n/jquery.ui.datepicker-fo.js
  28. +17 −4 ui/i18n/jquery.ui.datepicker-fr-CA.js
  29. +17 −4 ui/i18n/jquery.ui.datepicker-fr-CH.js
  30. +17 −4 ui/i18n/jquery.ui.datepicker-fr.js
  31. +17 −4 ui/i18n/jquery.ui.datepicker-gl.js
  32. +17 −4 ui/i18n/jquery.ui.datepicker-he.js
  33. +17 −4 ui/i18n/jquery.ui.datepicker-hi.js
  34. +17 −4 ui/i18n/jquery.ui.datepicker-hr.js
  35. +18 −5 ui/i18n/jquery.ui.datepicker-hu.js
  36. +17 −4 ui/i18n/jquery.ui.datepicker-hy.js
  37. +17 −4 ui/i18n/jquery.ui.datepicker-id.js
  38. +17 −4 ui/i18n/jquery.ui.datepicker-is.js
  39. +17 −4 ui/i18n/jquery.ui.datepicker-it-CH.js
  40. +17 −4 ui/i18n/jquery.ui.datepicker-it.js
  41. +17 −4 ui/i18n/jquery.ui.datepicker-ja.js
  42. +17 −4 ui/i18n/jquery.ui.datepicker-ka.js
  43. +17 −4 ui/i18n/jquery.ui.datepicker-kk.js
  44. +17 −4 ui/i18n/jquery.ui.datepicker-km.js
  45. +17 −4 ui/i18n/jquery.ui.datepicker-ko.js
  46. +17 −4 ui/i18n/jquery.ui.datepicker-ky.js
  47. +17 −4 ui/i18n/jquery.ui.datepicker-lb.js
  48. +17 −4 ui/i18n/jquery.ui.datepicker-lt.js
  49. +17 −4 ui/i18n/jquery.ui.datepicker-lv.js
  50. +17 −4 ui/i18n/jquery.ui.datepicker-mk.js
  51. +17 −4 ui/i18n/jquery.ui.datepicker-ml.js
  52. +17 −4 ui/i18n/jquery.ui.datepicker-ms.js
  53. +17 −4 ui/i18n/jquery.ui.datepicker-nb.js
  54. +17 −4 ui/i18n/jquery.ui.datepicker-nl-BE.js
  55. +17 −4 ui/i18n/jquery.ui.datepicker-nl.js
  56. +17 −4 ui/i18n/jquery.ui.datepicker-nn.js
  57. +17 −4 ui/i18n/jquery.ui.datepicker-no.js
  58. +17 −4 ui/i18n/jquery.ui.datepicker-pl.js
  59. +17 −4 ui/i18n/jquery.ui.datepicker-pt-BR.js
  60. +17 −4 ui/i18n/jquery.ui.datepicker-pt.js
  61. +17 −4 ui/i18n/jquery.ui.datepicker-rm.js
  62. +17 −4 ui/i18n/jquery.ui.datepicker-ro.js
  63. +17 −4 ui/i18n/jquery.ui.datepicker-ru.js
  64. +17 −4 ui/i18n/jquery.ui.datepicker-sk.js
  65. +17 −4 ui/i18n/jquery.ui.datepicker-sl.js
  66. +17 −4 ui/i18n/jquery.ui.datepicker-sq.js
  67. +17 −4 ui/i18n/jquery.ui.datepicker-sr-SR.js
  68. +17 −4 ui/i18n/jquery.ui.datepicker-sr.js
  69. +17 −4 ui/i18n/jquery.ui.datepicker-sv.js
  70. +17 −4 ui/i18n/jquery.ui.datepicker-ta.js
  71. +17 −4 ui/i18n/jquery.ui.datepicker-th.js
  72. +17 −4 ui/i18n/jquery.ui.datepicker-tj.js
  73. +17 −4 ui/i18n/jquery.ui.datepicker-tr.js
  74. +17 −4 ui/i18n/jquery.ui.datepicker-uk.js
  75. +17 −4 ui/i18n/jquery.ui.datepicker-vi.js
  76. +17 −4 ui/i18n/jquery.ui.datepicker-zh-CN.js
  77. +17 −4 ui/i18n/jquery.ui.datepicker-zh-HK.js
  78. +17 −4 ui/i18n/jquery.ui.datepicker-zh-TW.js
@@ -1,8 +1,18 @@
/* Arabic Translation for jQuery UI date picker plugin. */
/* Khaled Alhourani -- me@khaledalhourani.com */
/* 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'];
}));
@@ -2,8 +2,18 @@
/* Written by Keith Wood (kbwood{at}iinet.com.au),
Stéphane Nahmani (sholby@sholby.net),
Stéphane Raimbault <stephane.raimbault@gmail.com> */
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'];
}));
@@ -1,7 +1,17 @@
/* Hebrew initialisation for the UI Datepicker extension. */
/* Written by Amir Hardon (ahardon at gmail dot com). */
jQuery(function($){
$.datepicker.regional['he'] = {
(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['he'] = {
closeText: 'סגור',
prevText: '&#x3C;הקודם',
nextText: 'הבא&#x3E;',
@@ -19,5 +29,8 @@ jQuery(function($){
isRTL: true,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['he']);
});
datepicker.setDefaults(datepicker.regional['he']);
return datepicker.regional['he'];
}));
@@ -1,7 +1,17 @@
/* Chinese initialisation for the jQuery UI date picker plugin. */
/* Written by Ressol (ressol@gmail.com). */
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: '&#x3C;上月',
nextText: '下月&#x3E;',
@@ -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'];
}));
@@ -1,7 +1,17 @@
/* Afrikaans initialisation for the jQuery UI date picker plugin. */
/* Written by Renier Pretorius. */
jQuery(function($){
$.datepicker.regional['af'] = {
(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['af'] = {
closeText: 'Selekteer',
prevText: 'Vorige',
nextText: 'Volgende',
@@ -19,5 +29,8 @@ jQuery(function($){
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['af']);
});
datepicker.setDefaults(datepicker.regional['af']);
return datepicker.regional['af'];
}));
@@ -1,8 +1,18 @@
/* Algerian Arabic Translation for jQuery UI date picker plugin. (can be used for Tunisia)*/
/* Mohamed Cherif BOUCHELAGHEM -- cherifbouchelaghem@yahoo.fr */
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: '&#x3C;السابق',
nextText: 'التالي&#x3E;',
@@ -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'];
}));
@@ -1,8 +1,18 @@
/* Arabic Translation for jQuery UI date picker plugin. */
/* Khaled Alhourani -- me@khaledalhourani.com */
/* 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: '&#x3C;السابق',
nextText: 'التالي&#x3E;',
@@ -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'];
}));
@@ -1,7 +1,17 @@
/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Jamil Najafov (necefov33@gmail.com). */
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: '&#x3C;Geri',
nextText: 'İrəli&#x3E;',
@@ -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'];
}));
@@ -1,7 +1,17 @@
/* Belarusian initialisation for the jQuery UI date picker plugin. */
/* Written by Pavel Selitskas <p.selitskas@gmail.com> */
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: '&larr;Папяр.',
nextText: 'Наст.&rarr;',
@@ -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'];
}));
@@ -1,7 +1,17 @@
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
/* Written by Stoyan Kyosev (http://svest.org). */
jQuery(function($){
$.datepicker.regional['bg'] = {
(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['bg'] = {
closeText: 'затвори',
prevText: '&#x3C;назад',
nextText: 'напред&#x3E;',
@@ -20,5 +30,8 @@ jQuery(function($){
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['bg']);
});
datepicker.setDefaults(datepicker.regional['bg']);
return datepicker.regional['bg'];
}));
@@ -1,7 +1,17 @@
/* Bosnian i18n for the jQuery UI date picker plugin. */
/* Written by Kenan Konjo. */
jQuery(function($){
$.datepicker.regional['bs'] = {
(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['bs'] = {
closeText: 'Zatvori',
prevText: '&#x3C;',
nextText: '&#x3E;',
@@ -19,5 +29,8 @@ jQuery(function($){
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''};
$.datepicker.setDefaults($.datepicker.regional['bs']);
});
datepicker.setDefaults(datepicker.regional['bs']);
return datepicker.regional['bs'];
}));
@@ -1,7 +1,17 @@
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
/* Writers: (joan.leon@gmail.com). */
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.

0 comments on commit 1216e2a

Please sign in to comment.