Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

jQuery DatePicker modified to use jQuery.glob. Added jQuery.localize(…

…), added culture.language
  • Loading branch information...
commit e8978f8709bb1b0bba1764d2ef62a4dd6e64e598 1 parent 2519b69
InfinitiesLoop authored
Showing with 16,219 additions and 5,562 deletions.
  1. +95 −0 demo-datepicker.css
  2. +131 −0 demo-datepicker.html
  3. +3 −2 demo.html
  4. +0 −2  demo.js
  5. +27 −14 generator/Program.cs
  6. +55 −1 generator/glob-generator.csproj
  7. +138 −0 generator/jQueryUI/jQueryDatePickerGlob.html
  8. +23 −0 generator/jQueryUI/jquery.ui.datepicker-af.js
  9. +24 −0 generator/jQueryUI/jquery.ui.datepicker-ar.js
  10. +23 −0 generator/jQueryUI/jquery.ui.datepicker-az.js
  11. +24 −0 generator/jQueryUI/jquery.ui.datepicker-bg.js
  12. +23 −0 generator/jQueryUI/jquery.ui.datepicker-bs.js
  13. +23 −0 generator/jQueryUI/jquery.ui.datepicker-ca.js
  14. +23 −0 generator/jQueryUI/jquery.ui.datepicker-cs.js
  15. +23 −0 generator/jQueryUI/jquery.ui.datepicker-da.js
  16. +23 −0 generator/jQueryUI/jquery.ui.datepicker-de.js
  17. +23 −0 generator/jQueryUI/jquery.ui.datepicker-el.js
  18. +23 −0 generator/jQueryUI/jquery.ui.datepicker-en-GB.js
  19. +23 −0 generator/jQueryUI/jquery.ui.datepicker-eo.js
  20. +23 −0 generator/jQueryUI/jquery.ui.datepicker-es.js
  21. +23 −0 generator/jQueryUI/jquery.ui.datepicker-et.js
  22. +23 −0 generator/jQueryUI/jquery.ui.datepicker-eu.js
  23. +23 −0 generator/jQueryUI/jquery.ui.datepicker-fa.js
  24. +23 −0 generator/jQueryUI/jquery.ui.datepicker-fi.js
  25. +23 −0 generator/jQueryUI/jquery.ui.datepicker-fo.js
  26. +23 −0 generator/jQueryUI/jquery.ui.datepicker-fr-CH.js
  27. +23 −0 generator/jQueryUI/jquery.ui.datepicker-fr.js
  28. +23 −0 generator/jQueryUI/jquery.ui.datepicker-he.js
  29. +23 −0 generator/jQueryUI/jquery.ui.datepicker-hr.js
  30. +23 −0 generator/jQueryUI/jquery.ui.datepicker-hu.js
  31. +23 −0 generator/jQueryUI/jquery.ui.datepicker-hy.js
  32. +23 −0 generator/jQueryUI/jquery.ui.datepicker-id.js
  33. +23 −0 generator/jQueryUI/jquery.ui.datepicker-is.js
  34. +23 −0 generator/jQueryUI/jquery.ui.datepicker-it.js
  35. +23 −0 generator/jQueryUI/jquery.ui.datepicker-ja.js
  36. +23 −0 generator/jQueryUI/jquery.ui.datepicker-ko.js
  37. +23 −0 generator/jQueryUI/jquery.ui.datepicker-lt.js
  38. +23 −0 generator/jQueryUI/jquery.ui.datepicker-lv.js
  39. +23 −0 generator/jQueryUI/jquery.ui.datepicker-ms.js
  40. +23 −0 generator/jQueryUI/jquery.ui.datepicker-nl.js
  41. +23 −0 generator/jQueryUI/jquery.ui.datepicker-no.js
  42. +23 −0 generator/jQueryUI/jquery.ui.datepicker-pl.js
  43. +23 −0 generator/jQueryUI/jquery.ui.datepicker-pt-BR.js
  44. +26 −0 generator/jQueryUI/jquery.ui.datepicker-ro.js
  45. +23 −0 generator/jQueryUI/jquery.ui.datepicker-ru.js
  46. +23 −0 generator/jQueryUI/jquery.ui.datepicker-sk.js
  47. +24 −0 generator/jQueryUI/jquery.ui.datepicker-sl.js
  48. +23 −0 generator/jQueryUI/jquery.ui.datepicker-sq.js
  49. +23 −0 generator/jQueryUI/jquery.ui.datepicker-sr-SR.js
  50. +23 −0 generator/jQueryUI/jquery.ui.datepicker-sr.js
  51. +23 −0 generator/jQueryUI/jquery.ui.datepicker-sv.js
  52. +23 −0 generator/jQueryUI/jquery.ui.datepicker-ta.js
  53. +23 −0 generator/jQueryUI/jquery.ui.datepicker-th.js
  54. +23 −0 generator/jQueryUI/jquery.ui.datepicker-tr.js
  55. +23 −0 generator/jQueryUI/jquery.ui.datepicker-uk.js
  56. +23 −0 generator/jQueryUI/jquery.ui.datepicker-vi.js
  57. +23 −0 generator/jQueryUI/jquery.ui.datepicker-zh-CN.js
  58. +23 −0 generator/jQueryUI/jquery.ui.datepicker-zh-HK.js
  59. +23 −0 generator/jQueryUI/jquery.ui.datepicker-zh-TW.js
  60. +5 −3 globinfo/jQuery.glob.af-ZA.js
  61. +1 −1  globinfo/jQuery.glob.af-ZA.min.js
  62. +38 −0 globinfo/jQuery.glob.af.js
  63. +1 −0  globinfo/jQuery.glob.af.min.js
  64. +11,918 −5,198 globinfo/jQuery.glob.all.js
  65. +1 −1  globinfo/jQuery.glob.all.min.js
  66. +5 −3 globinfo/jQuery.glob.am-ET.js
  67. +1 −1  globinfo/jQuery.glob.am-ET.min.js
  68. +46 −0 globinfo/jQuery.glob.am.js
  69. +1 −0  globinfo/jQuery.glob.am.min.js
  70. +5 −3 globinfo/jQuery.glob.ar-AE.js
  71. +1 −1  globinfo/jQuery.glob.ar-AE.min.js
  72. +5 −3 globinfo/jQuery.glob.ar-BH.js
  73. +1 −1  globinfo/jQuery.glob.ar-BH.min.js
  74. +5 −3 globinfo/jQuery.glob.ar-DZ.js
  75. +1 −1  globinfo/jQuery.glob.ar-DZ.min.js
  76. +5 −3 globinfo/jQuery.glob.ar-EG.js
  77. +1 −1  globinfo/jQuery.glob.ar-EG.min.js
  78. +5 −3 globinfo/jQuery.glob.ar-IQ.js
  79. +1 −1  globinfo/jQuery.glob.ar-IQ.min.js
  80. +5 −3 globinfo/jQuery.glob.ar-JO.js
  81. +1 −1  globinfo/jQuery.glob.ar-JO.min.js
  82. +5 −3 globinfo/jQuery.glob.ar-KW.js
  83. +1 −1  globinfo/jQuery.glob.ar-KW.min.js
  84. +5 −3 globinfo/jQuery.glob.ar-LB.js
  85. +1 −1  globinfo/jQuery.glob.ar-LB.min.js
  86. +5 −3 globinfo/jQuery.glob.ar-LY.js
  87. +1 −1  globinfo/jQuery.glob.ar-LY.min.js
  88. +5 −3 globinfo/jQuery.glob.ar-MA.js
  89. +1 −1  globinfo/jQuery.glob.ar-MA.min.js
  90. +5 −3 globinfo/jQuery.glob.ar-OM.js
  91. +1 −1  globinfo/jQuery.glob.ar-OM.min.js
  92. +5 −3 globinfo/jQuery.glob.ar-QA.js
  93. +1 −1  globinfo/jQuery.glob.ar-QA.min.js
  94. +5 −3 globinfo/jQuery.glob.ar-SA.js
  95. +1 −1  globinfo/jQuery.glob.ar-SA.min.js
  96. +5 −3 globinfo/jQuery.glob.ar-SY.js
  97. +1 −1  globinfo/jQuery.glob.ar-SY.min.js
  98. +5 −3 globinfo/jQuery.glob.ar-TN.js
  99. +1 −1  globinfo/jQuery.glob.ar-TN.min.js
  100. +5 −3 globinfo/jQuery.glob.ar-YE.js
  101. +1 −1  globinfo/jQuery.glob.ar-YE.min.js
  102. +396 −0 globinfo/jQuery.glob.ar.js
  103. +1 −0  globinfo/jQuery.glob.ar.min.js
  104. +5 −3 globinfo/jQuery.glob.arn-CL.js
  105. +1 −1  globinfo/jQuery.glob.arn-CL.min.js
  106. +47 −0 globinfo/jQuery.glob.arn.js
  107. +1 −0  globinfo/jQuery.glob.arn.min.js
  108. +5 −3 globinfo/jQuery.glob.as-IN.js
  109. +1 −1  globinfo/jQuery.glob.as-IN.min.js
  110. +46 −0 globinfo/jQuery.glob.as.js
  111. +1 −0  globinfo/jQuery.glob.as.min.js
  112. +5 −3 globinfo/jQuery.glob.az-Cyrl-AZ.js
  113. +1 −1  globinfo/jQuery.glob.az-Cyrl-AZ.min.js
  114. +49 −0 globinfo/jQuery.glob.az-Cyrl.js
  115. +1 −0  globinfo/jQuery.glob.az-Cyrl.min.js
  116. +5 −3 globinfo/jQuery.glob.az-Latn-AZ.js
  117. +1 −1  globinfo/jQuery.glob.az-Latn-AZ.min.js
  118. +49 −0 globinfo/jQuery.glob.az-Latn.js
  119. +1 −0  globinfo/jQuery.glob.az-Latn.min.js
  120. +49 −0 globinfo/jQuery.glob.az.js
  121. +1 −0  globinfo/jQuery.glob.az.min.js
  122. +5 −3 globinfo/jQuery.glob.ba-RU.js
  123. +1 −1  globinfo/jQuery.glob.ba-RU.min.js
  124. +50 −0 globinfo/jQuery.glob.ba.js
  125. +1 −0  globinfo/jQuery.glob.ba.min.js
  126. +5 −3 globinfo/jQuery.glob.be-BY.js
  127. +1 −1  globinfo/jQuery.glob.be-BY.min.js
  128. +48 −0 globinfo/jQuery.glob.be.js
  129. +1 −0  globinfo/jQuery.glob.be.min.js
  130. +5 −3 globinfo/jQuery.glob.bg-BG.js
  131. +1 −1  globinfo/jQuery.glob.bg-BG.min.js
  132. +48 −0 globinfo/jQuery.glob.bg.js
  133. +1 −0  globinfo/jQuery.glob.bg.min.js
  134. +5 −3 globinfo/jQuery.glob.bn-BD.js
  135. +1 −1  globinfo/jQuery.glob.bn-BD.min.js
  136. +5 −3 globinfo/jQuery.glob.bn-IN.js
  137. +1 −1  globinfo/jQuery.glob.bn-IN.min.js
  138. +46 −0 globinfo/jQuery.glob.bn.js
  139. +1 −0  globinfo/jQuery.glob.bn.min.js
  140. +5 −3 globinfo/jQuery.glob.bo-CN.js
  141. +1 −1  globinfo/jQuery.glob.bo-CN.min.js
  142. +43 −0 globinfo/jQuery.glob.bo.js
  143. +1 −0  globinfo/jQuery.glob.bo.min.js
  144. +5 −3 globinfo/jQuery.glob.br-FR.js
  145. +1 −1  globinfo/jQuery.glob.br-FR.min.js
  146. +45 −0 globinfo/jQuery.glob.br.js
  147. +1 −0  globinfo/jQuery.glob.br.min.js
  148. +5 −3 globinfo/jQuery.glob.bs-Cyrl-BA.js
  149. +1 −1  globinfo/jQuery.glob.bs-Cyrl-BA.min.js
  150. +48 −0 globinfo/jQuery.glob.bs-Cyrl.js
  151. +1 −0  globinfo/jQuery.glob.bs-Cyrl.min.js
  152. +5 −3 globinfo/jQuery.glob.bs-Latn-BA.js
  153. +1 −1  globinfo/jQuery.glob.bs-Latn-BA.min.js
  154. +47 −0 globinfo/jQuery.glob.bs-Latn.js
  155. +1 −0  globinfo/jQuery.glob.bs-Latn.min.js
  156. +47 −0 globinfo/jQuery.glob.bs.js
  157. +1 −0  globinfo/jQuery.glob.bs.min.js
  158. +5 −3 globinfo/jQuery.glob.ca-ES.js
  159. +1 −1  globinfo/jQuery.glob.ca-ES.min.js
  160. +45 −0 globinfo/jQuery.glob.ca.js
  161. +1 −0  globinfo/jQuery.glob.ca.min.js
  162. +5 −3 globinfo/jQuery.glob.co-FR.js
  163. +1 −1  globinfo/jQuery.glob.co-FR.min.js
  164. +45 −0 globinfo/jQuery.glob.co.js
  165. +1 −0  globinfo/jQuery.glob.co.min.js
  166. +5 −3 globinfo/jQuery.glob.cs-CZ.js
  167. +1 −1  globinfo/jQuery.glob.cs-CZ.min.js
  168. +50 −0 globinfo/jQuery.glob.cs.js
  169. +1 −0  globinfo/jQuery.glob.cs.min.js
  170. +5 −3 globinfo/jQuery.glob.cy-GB.js
  171. +1 −1  globinfo/jQuery.glob.cy-GB.min.js
  172. +39 −0 globinfo/jQuery.glob.cy.js
  173. +1 −0  globinfo/jQuery.glob.cy.min.js
  174. +5 −3 globinfo/jQuery.glob.da-DK.js
  175. +1 −1  globinfo/jQuery.glob.da-DK.min.js
  176. +45 −0 globinfo/jQuery.glob.da.js
  177. +1 −0  globinfo/jQuery.glob.da.min.js
  178. +5 −3 globinfo/jQuery.glob.de-AT.js
  179. +1 −1  globinfo/jQuery.glob.de-AT.min.js
  180. +5 −3 globinfo/jQuery.glob.de-CH.js
  181. +1 −1  globinfo/jQuery.glob.de-CH.min.js
  182. +5 −3 globinfo/jQuery.glob.de-DE.js
  183. +1 −1  globinfo/jQuery.glob.de-DE.min.js
  184. +5 −3 globinfo/jQuery.glob.de-LI.js
  185. +1 −1  globinfo/jQuery.glob.de-LI.min.js
  186. +5 −3 globinfo/jQuery.glob.de-LU.js
  187. +1 −1  globinfo/jQuery.glob.de-LU.min.js
  188. +47 −0 globinfo/jQuery.glob.de.js
  189. +1 −0  globinfo/jQuery.glob.de.min.js
  190. +5 −3 globinfo/jQuery.glob.dsb-DE.js
  191. +1 −1  globinfo/jQuery.glob.dsb-DE.min.js
  192. +49 −0 globinfo/jQuery.glob.dsb.js
  193. +1 −0  globinfo/jQuery.glob.dsb.min.js
  194. +5 −3 globinfo/jQuery.glob.dv-MV.js
  195. +1 −1  globinfo/jQuery.glob.dv-MV.min.js
  196. +125 −0 globinfo/jQuery.glob.dv.js
  197. +1 −0  globinfo/jQuery.glob.dv.min.js
  198. +5 −3 globinfo/jQuery.glob.el-GR.js
  199. +1 −1  globinfo/jQuery.glob.el-GR.min.js
  200. +49 −0 globinfo/jQuery.glob.el.js
  201. +1 −0  globinfo/jQuery.glob.el.min.js
  202. +5 −3 globinfo/jQuery.glob.en-029.js
  203. +1 −1  globinfo/jQuery.glob.en-029.min.js
  204. +5 −3 globinfo/jQuery.glob.en-AU.js
  205. +1 −1  globinfo/jQuery.glob.en-AU.min.js
  206. +5 −3 globinfo/jQuery.glob.en-BZ.js
  207. +1 −1  globinfo/jQuery.glob.en-BZ.min.js
  208. +5 −3 globinfo/jQuery.glob.en-CA.js
  209. +1 −1  globinfo/jQuery.glob.en-CA.min.js
  210. +5 −3 globinfo/jQuery.glob.en-GB.js
  211. +1 −1  globinfo/jQuery.glob.en-GB.min.js
  212. +5 −3 globinfo/jQuery.glob.en-IE.js
  213. +1 −1  globinfo/jQuery.glob.en-IE.min.js
  214. +5 −3 globinfo/jQuery.glob.en-IN.js
  215. +1 −1  globinfo/jQuery.glob.en-IN.min.js
  216. +5 −3 globinfo/jQuery.glob.en-JM.js
  217. +1 −1  globinfo/jQuery.glob.en-JM.min.js
  218. +5 −3 globinfo/jQuery.glob.en-MY.js
  219. +1 −1  globinfo/jQuery.glob.en-MY.min.js
  220. +5 −3 globinfo/jQuery.glob.en-NZ.js
  221. +1 −1  globinfo/jQuery.glob.en-NZ.min.js
  222. +5 −3 globinfo/jQuery.glob.en-PH.js
  223. +1 −1  globinfo/jQuery.glob.en-PH.min.js
  224. +5 −3 globinfo/jQuery.glob.en-SG.js
  225. +1 −1  globinfo/jQuery.glob.en-SG.min.js
  226. +5 −3 globinfo/jQuery.glob.en-TT.js
  227. +1 −1  globinfo/jQuery.glob.en-TT.min.js
  228. +5 −3 globinfo/jQuery.glob.en-US.js
  229. +1 −1  globinfo/jQuery.glob.en-US.min.js
  230. +5 −3 globinfo/jQuery.glob.en-ZA.js
  231. +1 −1  globinfo/jQuery.glob.en-ZA.min.js
  232. +5 −3 globinfo/jQuery.glob.en-ZW.js
  233. +1 −1  globinfo/jQuery.glob.en-ZW.min.js
  234. +31 −0 globinfo/jQuery.glob.en.js
  235. +1 −0  globinfo/jQuery.glob.en.min.js
  236. +5 −3 globinfo/jQuery.glob.es-AR.js
  237. +1 −1  globinfo/jQuery.glob.es-AR.min.js
  238. +5 −3 globinfo/jQuery.glob.es-BO.js
  239. +1 −1  globinfo/jQuery.glob.es-BO.min.js
  240. +5 −3 globinfo/jQuery.glob.es-CL.js
  241. +1 −1  globinfo/jQuery.glob.es-CL.min.js
  242. +5 −3 globinfo/jQuery.glob.es-CO.js
  243. +1 −1  globinfo/jQuery.glob.es-CO.min.js
  244. +5 −3 globinfo/jQuery.glob.es-CR.js
  245. +1 −1  globinfo/jQuery.glob.es-CR.min.js
  246. +5 −3 globinfo/jQuery.glob.es-DO.js
  247. +1 −1  globinfo/jQuery.glob.es-DO.min.js
  248. +5 −3 globinfo/jQuery.glob.es-EC.js
  249. +1 −1  globinfo/jQuery.glob.es-EC.min.js
  250. +5 −3 globinfo/jQuery.glob.es-ES.js
  251. +1 −1  globinfo/jQuery.glob.es-ES.min.js
  252. +5 −3 globinfo/jQuery.glob.es-GT.js
  253. +1 −1  globinfo/jQuery.glob.es-GT.min.js
  254. +5 −3 globinfo/jQuery.glob.es-HN.js
  255. +1 −1  globinfo/jQuery.glob.es-HN.min.js
  256. +5 −3 globinfo/jQuery.glob.es-MX.js
  257. +1 −1  globinfo/jQuery.glob.es-MX.min.js
  258. +5 −3 globinfo/jQuery.glob.es-NI.js
  259. +1 −1  globinfo/jQuery.glob.es-NI.min.js
  260. +5 −3 globinfo/jQuery.glob.es-PA.js
  261. +1 −1  globinfo/jQuery.glob.es-PA.min.js
  262. +5 −3 globinfo/jQuery.glob.es-PE.js
  263. +1 −1  globinfo/jQuery.glob.es-PE.min.js
  264. +5 −3 globinfo/jQuery.glob.es-PR.js
  265. +1 −1  globinfo/jQuery.glob.es-PR.min.js
  266. +5 −3 globinfo/jQuery.glob.es-PY.js
  267. +1 −1  globinfo/jQuery.glob.es-PY.min.js
  268. +5 −3 globinfo/jQuery.glob.es-SV.js
  269. +1 −1  globinfo/jQuery.glob.es-SV.min.js
  270. +5 −3 globinfo/jQuery.glob.es-US.js
  271. +1 −1  globinfo/jQuery.glob.es-US.min.js
  272. +5 −3 globinfo/jQuery.glob.es-UY.js
  273. +1 −1  globinfo/jQuery.glob.es-UY.min.js
  274. +5 −3 globinfo/jQuery.glob.es-VE.js
  275. +1 −1  globinfo/jQuery.glob.es-VE.min.js
  276. +47 −0 globinfo/jQuery.glob.es.js
  277. +1 −0  globinfo/jQuery.glob.es.min.js
  278. +5 −3 globinfo/jQuery.glob.et-EE.js
  279. +1 −1  globinfo/jQuery.glob.et-EE.min.js
  280. +47 −0 globinfo/jQuery.glob.et.js
  281. +1 −0  globinfo/jQuery.glob.et.min.js
  282. +5 −3 globinfo/jQuery.glob.eu-ES.js
  283. +1 −1  globinfo/jQuery.glob.eu-ES.min.js
  284. +45 −0 globinfo/jQuery.glob.eu.js
  285. +1 −0  globinfo/jQuery.glob.eu.min.js
  286. +5 −3 globinfo/jQuery.glob.fa-IR.js
  287. +1 −1  globinfo/jQuery.glob.fa-IR.min.js
  288. +167 −0 globinfo/jQuery.glob.fa.js
  289. +1 −0  globinfo/jQuery.glob.fa.min.js
  290. +5 −3 globinfo/jQuery.glob.fi-FI.js
  291. +1 −1  globinfo/jQuery.glob.fi-FI.min.js
  292. +47 −0 globinfo/jQuery.glob.fi.js
  293. +1 −0  globinfo/jQuery.glob.fi.min.js
  294. +5 −3 globinfo/jQuery.glob.fil-PH.js
  295. +1 −1  globinfo/jQuery.glob.fil-PH.min.js
  296. +34 −0 globinfo/jQuery.glob.fil.js
  297. +1 −0  globinfo/jQuery.glob.fil.min.js
  298. +5 −3 globinfo/jQuery.glob.fo-FO.js
  299. +1 −1  globinfo/jQuery.glob.fo-FO.min.js
  300. +46 −0 globinfo/jQuery.glob.fo.js
Sorry, we could not display the entire diff because too many files (771) changed.
View
95 demo-datepicker.css
@@ -0,0 +1,95 @@
+body {
+ font-family: Arial
+}
+a {
+ color: #6D929B;
+}
+input {
+ width: 100px;
+ margin: 5px;
+}
+.results {
+ border-collapse: collapse;
+}
+.results td {
+ border: 1px solid #C1DAD7;
+ padding: 2px 2px 2px 2px;
+ color: #6D929B;
+ font-size: x-small;
+ white-space: nowrap;
+ text-align: center;
+}
+.results th {
+ border: 1px solid #C1DAD7;
+ letter-spacing: 2px;
+ text-align: center;
+ padding: 6px 6px 6px 12px;
+ white-space: nowrap;
+}
+table {
+ width: 100%;
+}
+fieldset.info {
+ width: 45%;
+ float: left;
+}
+.info td {
+ font-size: x-small;
+}
+
+.tab {
+ margin-top: 5px;
+ margin-right: 5px;
+ padding: 2px;
+ cursor: pointer;
+ background-color: #EEEEEE;
+}
+
+.active {
+ border: 1px solid black;
+ float: left;
+}
+
+.inactive {
+ float: left;
+}
+
+.tab.active {
+ font-weight: bold;
+ border: 1px solid black;
+ float: left;
+}
+
+div.inactive {
+ display: none;
+}
+
+div.active {
+ clear: both;
+ min-width: 100%;
+}
+
+.pane {
+ margin-top: 10px;
+ clear: both;
+}
+
+#intro {
+ font-size: x-small;
+ margin-bottom: 10px;
+}
+
+.demosection {
+ width: 800px
+}
+
+.demo {
+ float: left;
+ min-height: 300px;
+ border: 1px solid #EFEFEF;
+ font-size: smaller;
+}
+.demo select
+{
+ font-size: x-small;
+}
View
131 demo-datepicker.html
@@ -0,0 +1,131 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>Globalization Demo</title>
+ <link type="text/css" rel="Stylesheet" href="demo-datepicker.css" />
+ <link type="text/css" rel="Stylesheet" href="jquery-ui-1.8.1.custom.css" />
+ <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
+ <script type="text/javascript" src="jquery.glob.js"></script>
+ <script type="text/javascript" src="globinfo/jquery.glob.all.js"></script>
+ <script type="text/javascript" src="jquery.ui.core.js"></script>
+ <script type="text/javascript" src="jquery.ui.datepicker.js"></script>
+</head>
+
+<body>
+<div id="intro">
+This is a demo of the Globalization plugin being proposed by Microsoft. You can follow the discussion and provide feedback on the jQuery developer forum, here:
+<br/><a href="">jQuery Discussion</a>
+<br/>
+And you can view the source from here or keep up to date with it on github, here:
+<br/><a href="https://github.com/nje/jquery-glob/">jQuery Globalization on GitHub</a>
+</div>
+
+
+
+
+<script type="text/javascript">
+function sortByName(map) {
+ // converts a dictionary into a sorted dictionary based on obj.name
+ var arr = [];
+ $.each(map, function(name, value) {
+ arr.push(value);
+ });
+ arr.sort(function(a, b) {
+ return a.name < b.name ? -1 : 1;
+ });
+ return arr;
+}
+var sortedCultures = sortByName($.cultures);
+
+$.fn.dateSample = function(culture) {
+ this.each(function() {
+ var thisCulture = culture || $(this).attr("data-culture");
+ var cultures = $(".cultures", this);
+ var formats = $(".formats", this);
+ var picker = $(".picker", this);
+ var selected = $(".selected", this);
+
+ function createPicker() {
+ thisCulture = cultures.val();
+ picker.datepicker("destroy").datepicker({
+ culture: thisCulture,
+ changeMonth: true,
+ changeYear: true,
+ onSelect: function(dateText) {
+ selected.text(dateText);
+ }
+ });
+ selected.text("");
+
+ formats.empty();
+ $.each($.cultures[thisCulture].calendar.patterns, function(name) {
+ $("<option/>", {
+ value: name,
+ text: $.cultures[thisCulture].calendar.patterns[name]
+ }).appendTo(formats);
+ });
+ formats.val("d");
+ }
+
+ $.each(sortedCultures, function(i, culture) {
+ $("<option/>", {
+ value: culture.name,
+ text: culture.name + ": " + (culture.englishName || "Invariant")
+ }).appendTo(cultures);
+ });
+ cultures.val(thisCulture);
+ cultures.bind("change keyup", createPicker);
+
+ formats.bind("change keyup", function() {
+ picker.datepicker("option", "dateFormat", $(this).val());
+ selected.text("");
+ });
+
+ createPicker();
+ });
+}
+
+$(function() {
+ $(".demo").dateSample();
+});
+
+
+</script>
+
+
+<div class="demosection">
+<div class="demo" data-culture="he">
+ <div class="picker"></div>
+
+ <div>Date: <span class="selected"></span></div>
+ <div>Format: <select class="formats"></select></div>
+ <select class="cultures"></select>
+</div>
+
+<div class="demo" data-culture="ar">
+ <div class="picker"></div>
+
+ <div>Date: <span class="selected"></span></div>
+ <div>Format: <select class="formats"></select></div>
+ <select class="cultures"></select>
+</div>
+
+<div class="demo" data-culture="es-MX">
+ <div class="picker"></div>
+
+ <div>Date: <span class="selected"></span></div>
+ <div>Format: <select class="formats"></select></div>
+ <select class="cultures"></select>
+</div>
+
+<div class="demo" data-culture="fr">
+ <div class="picker"></div>
+
+ <div>Date: <span class="selected"></span></div>
+ <div>Format: <select class="formats"></select></div>
+ <select class="cultures"></select>
+</div>
+</div>
+
+</body>
+</html>
View
5 demo.html
@@ -6,7 +6,7 @@
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery.tmpl.js"></script>
<script type="text/javascript" src="jquery.glob.js"></script>
- <script type="text/javascript" src="globinfo/jquery.glob.all.min.js"></script>
+ <script type="text/javascript" src="globinfo/jquery.glob.all.js"></script>
<script type="text/javascript" src="demo.js"></script>
<script id="formattmpl" type="text/html">
<tr>
@@ -143,7 +143,8 @@
<li>{{=}}</li>
{{/each}}
</ol>
- </td> </tr>
+ </td>
+ </tr>
<tr>
<td>Months</td>
<td colspan="3">
View
2  demo.js
@@ -1,5 +1,4 @@
jQuery(function($) {
-
// setup sample data
window.numbers = [
0, 1, 10, 100, 1000, 10000, 0.1, 0.12, 0.123, 0.1234, 0.12345, 1000.123, 10000.12345,
@@ -108,6 +107,5 @@ jQuery(function($) {
// initial rendering
selectCulture();
-
});
View
41 generator/Program.cs
@@ -17,9 +17,11 @@ public class GlobalizationInfo {
public string name = "";
public string englishName;
public string nativeName;
+ public string language;
public bool isRTL;
public NumberFormatInfo numberFormat;
public Dictionary<String, DateFormatInfo> calendars;
+ private CultureInfo culture;
public static Dictionary<String, Object> InvariantGlobInfo;
@@ -31,6 +33,8 @@ public class GlobalizationInfo {
public static GlobalizationInfo GetGlobInfo(CultureInfo culture) {
var info = new GlobalizationInfo {
+ culture = culture,
+ language = (culture == CultureInfo.InvariantCulture || culture.IsNeutralCulture) ? culture.Name : culture.Parent.Name,
name = String.IsNullOrEmpty(culture.Name) ? "invariant" : culture.Name,
englishName = String.IsNullOrEmpty(culture.Name) ? "invariant" : culture.EnglishName,
nativeName = String.IsNullOrEmpty(culture.Name) ? "invariant" : culture.NativeName,
@@ -297,13 +301,13 @@ public class GlobalizationInfo {
return value < list.Length ? list[value] : null;
}
- public Dictionary<String, Object> ToDictionary(bool isInvariant) {
+ public Dictionary<String, Object> ToDictionary() {
var jss = new JavaScriptSerializer();
var str = jss.Serialize(this);
var dictionary = jss.Deserialize<Dictionary<String, Object>>(str);
var cals = (Dictionary<String, Object>) dictionary["calendars"];
Dictionary<String, Object> invariantStandardCal = null;
- if (!isInvariant) {
+ if (culture != CultureInfo.InvariantCulture) {
invariantStandardCal = (Dictionary<String, Object>)((Dictionary<String, Object>)GlobalizationInfo.InvariantGlobInfo["calendars"])["standard"];
foreach (var pair in this.calendars) {
var cal = (Dictionary<String, Object>)cals[pair.Key];
@@ -326,13 +330,13 @@ public class GlobalizationInfo {
}
public static string GenerateJavaScript(CultureInfo culture, string name, Dictionary<String, Object> dictionary, StringBuilder aggregateScript) {
- string cultureFragment = ToJavaScript(dictionary, 2, culture == CultureInfo.InvariantCulture, false);
+ string cultureFragment = ToJavaScript(culture, dictionary, 2, false);
if (aggregateScript != null) {
aggregateScript.AppendFormat(CultureInfo.InvariantCulture, @" culture = cultures[""{0}""] = $.extend(true, {{}}, invariant, {{
{1}
}}, cultures[""{0}""]);
- culture.calendar = culture.calendar || culture.calendars.standard;
+ culture.calendar = culture.calendars.standard;
", name, cultureFragment);
}
@@ -343,11 +347,11 @@ public class GlobalizationInfo {
culture = cultures[""{0}""] = $.extend(true, {{}}, invariant, {{
{1}
}}, cultures[""{0}""]);
- culture.calendar = culture.calendar || culture.calendars.standard;
+ culture.calendar = culture.calendars.standard;
}})(jQuery);", name, cultureFragment);
}
- private static string ToJavaScript(Dictionary<String, Object> dictionary, int level, bool isInvariant, bool isCalendars) {
+ private static string ToJavaScript(CultureInfo culture, Dictionary<String, Object> dictionary, int level, bool isCalendars) {
StringBuilder sb = new StringBuilder();
string padding = _padding.Substring(0, level * 4);
bool first = true;
@@ -357,11 +361,11 @@ public class GlobalizationInfo {
}
first = false;
if (pair.Value is Dictionary<String, Object>) {
- if (!isInvariant && isCalendars) {
- sb.AppendFormat("{0}{1}: $.extend(true, {{}}, standard, {{\n{2}\n{0}}})", padding, pair.Key, ToJavaScript((Dictionary<String, Object>)pair.Value, level + 1, false, false));
+ if (culture != CultureInfo.InvariantCulture && isCalendars) {
+ sb.AppendFormat("{0}{1}: $.extend(true, {{}}, standard, {{\n{2}\n{0}}})", padding, pair.Key, ToJavaScript(culture, (Dictionary<String, Object>)pair.Value, level + 1, false));
}
else {
- sb.AppendFormat("{0}{1}: {{\n{2}\n{0}}}", padding, pair.Key, ToJavaScript((Dictionary<String, Object>)pair.Value, level + 1, isInvariant, pair.Key.Equals("calendars")));
+ sb.AppendFormat("{0}{1}: {{\n{2}\n{0}}}", padding, pair.Key, ToJavaScript(culture, (Dictionary<String, Object>)pair.Value, level + 1, pair.Key.Equals("calendars")));
}
}
else if (pair.Key.Equals("convert")) {
@@ -516,7 +520,7 @@ public class Program {
private static void WriteCulture(string outputdir, CultureInfo culture, StringBuilder aggregateScript) {
var globInfo = GlobalizationInfo.GetGlobInfo(culture);
- var diff = culture == CultureInfo.InvariantCulture ? globInfo.ToDictionary(true) : GlobalizationInfo.DiffGlobInfos(GlobalizationInfo.InvariantGlobInfo, globInfo.ToDictionary(false));
+ var diff = culture == CultureInfo.InvariantCulture ? globInfo.ToDictionary() : GlobalizationInfo.DiffGlobInfos(GlobalizationInfo.InvariantGlobInfo, globInfo.ToDictionary());
var script = GlobalizationInfo.GenerateJavaScript(culture, culture.Name, diff, aggregateScript);
var filePath = Path.Combine(outputdir, "jQuery.glob." + (String.IsNullOrEmpty(culture.Name) ? "invariant" : culture.Name) + ".js");
@@ -533,23 +537,30 @@ public class Program {
static void Main(string[] args) {
string outputdir = args.Length > 0 ? args[0] : "output";
Directory.CreateDirectory(outputdir);
- GlobalizationInfo.InvariantGlobInfo = GlobalizationInfo.GetGlobInfo(CultureInfo.InvariantCulture).ToDictionary(true);
+ GlobalizationInfo.InvariantGlobInfo = GlobalizationInfo.GetGlobInfo(CultureInfo.InvariantCulture).ToDictionary();
StringBuilder aggregateScript = new StringBuilder();
- aggregateScript.Append("(function($) {\n var culture, cultures = $.cultures,\n invariant = cultures.invariant,\n standard = invariant.calendars.standard;\n\n");
+ aggregateScript.Append(
+@"(function($) {
+ var culture, cultures = $.cultures,
+ invariant = cultures.invariant,
+ standard = invariant.calendars.standard;
+
+");
WriteCulture(outputdir, CultureInfo.InvariantCulture, null);
int count = 0;
foreach (var culture in CultureInfo.GetCultures(CultureTypes.AllCultures)) {
- if (!culture.IsNeutralCulture && !String.IsNullOrEmpty(culture.Name) && culture != CultureInfo.InvariantCulture) {
+ if (!String.IsNullOrEmpty(culture.Name) && culture != CultureInfo.InvariantCulture) {
WriteCulture(outputdir, culture, aggregateScript);
count++;
}
}
+ aggregateScript.Append(@"
- aggregateScript.Append("\n\n})(jQuery);");
+})(jQuery);");
string aggregateScriptString = aggregateScript.ToString();
string aggregatePath = Path.Combine(outputdir, "jQuery.glob.all.js");
File.WriteAllText(aggregatePath, aggregateScriptString);
@@ -560,6 +571,8 @@ public class Program {
File.WriteAllText(minPath, minScript);
Console.WriteLine(minPath);
+ // generate the
+
Console.WriteLine("Done! Generated scripts for a total of {0} cultures, and 1 aggregate script.", count);
}
}
View
56 generator/glob-generator.csproj
@@ -49,7 +49,6 @@
<Reference Include="System.Xml.Linq" />
</ItemGroup>
<ItemGroup>
- <Compile Include="class.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
@@ -60,6 +59,61 @@
<ItemGroup>
<Folder Include="datepicker\" />
</ItemGroup>
+ <ItemGroup>
+ <Content Include="jQueryUI\jquery.ui.datepicker-af.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ar.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-az.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-bg.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-bs.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ca.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-cs.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-da.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-de.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-el.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-en-GB.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-eo.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-es.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-et.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-eu.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-fa.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-fi.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-fo.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-fr-CH.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-fr.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-he.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-hr.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-hu.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-hy.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-id.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-is.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-it.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ja.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ko.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-lt.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-lv.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ms.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-nl.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-no.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-pl.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-pt-BR.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ro.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ru.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-sk.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-sl.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-sq.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-sr-SR.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-sr.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-sv.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-ta.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-th.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-tr.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-uk.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-vi.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-zh-CN.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-zh-HK.js" />
+ <Content Include="jQueryUI\jquery.ui.datepicker-zh-TW.js" />
+ <Content Include="jQueryUI\jQueryDatePickerGlob.html" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSHARP.Targets" />
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
View
138 generator/jQueryUI/jQueryDatePickerGlob.html
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html>
+ <head>
+ <title></title>
+ <script type="text/javascript" src="http://code.jquery.com/jquery.js"></script>
+ <script type="text/javascript">
+ jQuery.datepicker = {
+ regional: {
+ '': { // Default regional settings
+ closeText: 'Done', // Display text for close link
+ prevText: 'Prev', // Display text for previous month link
+ nextText: 'Next', // Display text for next month link
+ currentText: 'Today', // Display text for current month link
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'], // Names of months for drop-down and formatting
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], // For formatting
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], // For formatting
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], // For formatting
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column headings for days starting at Sunday
+ weekHeader: 'Wk', // Column header for week of the year
+ dateFormat: 'mm/dd/yy', // See format options on parseDate
+ firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ...
+ isRTL: false, // True if right-to-left language, false if left-to-right
+ showMonthAfterYear: false, // True if the year select precedes month, false for month then year
+ yearSuffix: '' // Additional text to append to the year in the month headers
+ }
+ },
+ // no op
+ setDefaults: function() { }
+ };
+ </script>
+ <script src="../../jquery.glob.js" type="text/javascript"></script>
+ <script src="../../globinfo/jquery.glob.all.min.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-af.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-zh-TW.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ar.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-az.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-bg.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-bs.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ca.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-cs.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-da.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-de.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-el.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-en-GB.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-eo.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-es.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-et.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-eu.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-fa.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-fi.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-fo.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-fr-CH.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-fr.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-he.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-hr.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-hu.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-hy.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-id.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-is.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-it.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ja.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ko.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-lt.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-lv.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ms.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-nl.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-no.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-pl.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-pt-BR.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ro.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ru.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-sk.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-sl.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-sq.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-sr-SR.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-sr.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-sv.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-ta.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-th.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-tr.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-uk.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-vi.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-zh-CN.js" type="text/javascript"></script>
+ <script src="jquery.ui.datepicker-zh-HK.js" type="text/javascript"></script>
+ </head>
+ <body>
+ <textarea id="results" rows="15" cols="40">
+ </textarea>
+ </body>
+ <script type="text/javascript">
+ //<![CDATA[
+ function convertFormat(name, format) {
+ format = format
+ .replace(/DD/g, "dddd")
+ .replace(/D/g, "ddd")
+ .replace(/m/g, "#")
+ .replace(/MM/g, "####")
+ .replace(/M/g, "###")
+ .replace(/\#/g, "M")
+ .replace(/y/g, "yy");
+ var culture = $.cultures[name];
+ if (!culture) {
+ alert('unknown culture: ' + name);
+ }
+ return (culture ? "d" : format);
+ }
+
+ $(function() {
+ var count = 0;
+ var regionData = {};
+ $.each($.datepicker.regional, function(name, value) {
+ name = name || "invariant";
+ regionData[name] = {
+ closeText: value.closeText,
+ prevText: value.prevText,
+ nextText: value.nextText,
+ currentText: value.currentText,
+ weekHeader: value.weekHeader,
+ dateFormat: convertFormat(name, value.dateFormat)
+ }
+ count++;
+ });
+
+ var script = "(function($) {\n\n\
+var regions = " + JSON.stringify(regionData, null, 4) + ";\n\
+$.each(regions, function(name, value) {\n\
+ $.localize('datepicker', name, value);\n\
+});\n\
+\n\
+})(jQuery);";
+ $("#results").val(script);
+ alert(count + " regional data processed.");
+ });
+
+ //]]>
+ </script>
+</html>
View
23 generator/jQueryUI/jquery.ui.datepicker-af.js
@@ -0,0 +1,23 @@
+/* Afrikaans initialisation for the jQuery UI date picker plugin. */
+/* Written by Renier Pretorius. */
+jQuery(function($){
+ $.datepicker.regional['af'] = {
+ closeText: 'Selekteer',
+ prevText: 'Vorige',
+ nextText: 'Volgende',
+ currentText: 'Vandag',
+ monthNames: ['Januarie','Februarie','Maart','April','Mei','Junie',
+ 'Julie','Augustus','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
+ dayNames: ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
+ dayNamesShort: ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],
+ dayNamesMin: ['So','Ma','Di','Wo','Do','Vr','Sa'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['af']);
+});
View
24 generator/jQueryUI/jquery.ui.datepicker-ar.js
@@ -0,0 +1,24 @@
+/* Arabic Translation for jQuery UI date picker plugin. */
+/* Khaled Al Horani -- koko.dw@gmail.com */
+/* خالد الحوراني -- koko.dw@gmail.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'] = {
+ closeText: 'إغلاق',
+ prevText: '&#x3c;السابق',
+ nextText: 'التالي&#x3e;',
+ currentText: 'اليوم',
+ monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'آذار', 'حزيران',
+ 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
+ dayNames: ['السبت', 'الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة'],
+ dayNamesShort: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
+ dayNamesMin: ['سبت', 'أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة'],
+ weekHeader: 'أسبوع',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 0,
+ isRTL: true,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['ar']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-az.js
@@ -0,0 +1,23 @@
+/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
+/* Written by Jamil Najafov (necefov33@gmail.com). */
+jQuery(function($) {
+ $.datepicker.regional['az'] = {
+ closeText: 'Bağla',
+ prevText: '&#x3c;Geri',
+ nextText: 'İrəli&#x3e;',
+ currentText: 'Bugün',
+ monthNames: ['Yanvar','Fevral','Mart','Aprel','May','İyun',
+ 'İyul','Avqust','Sentyabr','Oktyabr','Noyabr','Dekabr'],
+ monthNamesShort: ['Yan','Fev','Mar','Apr','May','İyun',
+ 'İyul','Avq','Sen','Okt','Noy','Dek'],
+ dayNames: ['Bazar','Bazar ertəsi','Çərşənbə axşamı','Çərşənbə','Cümə axşamı','Cümə','Şənbə'],
+ dayNamesShort: ['B','Be','Ça','Ç','Ca','C','Ş'],
+ dayNamesMin: ['B','B','Ç','С','Ç','C','Ş'],
+ weekHeader: 'Hf',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['az']);
+});
View
24 generator/jQueryUI/jquery.ui.datepicker-bg.js
@@ -0,0 +1,24 @@
+/* Bulgarian initialisation for the jQuery UI date picker plugin. */
+/* Written by Stoyan Kyosev (http://svest.org). */
+jQuery(function($){
+ $.datepicker.regional['bg'] = {
+ closeText: 'затвори',
+ prevText: '&#x3c;назад',
+ nextText: 'напред&#x3e;',
+ nextBigText: '&#x3e;&#x3e;',
+ currentText: 'днес',
+ monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
+ 'Юли','Август','Септември','Октомври','Ноември','Декември'],
+ monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
+ 'Юли','Авг','Сеп','Окт','Нов','Дек'],
+ dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
+ dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
+ dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['bg']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-bs.js
@@ -0,0 +1,23 @@
+/* Bosnian i18n for the jQuery UI date picker plugin. */
+/* Written by Kenan Konjo. */
+jQuery(function($){
+ $.datepicker.regional['bs'] = {
+ closeText: 'Zatvori',
+ prevText: '&#x3c;',
+ nextText: '&#x3e;',
+ currentText: 'Danas',
+ monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
+ 'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['bs']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-ca.js
@@ -0,0 +1,23 @@
+/* Inicialització en català per a l'extenció 'calendar' per jQuery. */
+/* Writers: (joan.leon@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['ca'] = {
+ closeText: 'Tancar',
+ prevText: '&#x3c;Ant',
+ nextText: 'Seg&#x3e;',
+ currentText: 'Avui',
+ monthNames: ['Gener','Febrer','Mar&ccedil;','Abril','Maig','Juny',
+ 'Juliol','Agost','Setembre','Octubre','Novembre','Desembre'],
+ monthNamesShort: ['Gen','Feb','Mar','Abr','Mai','Jun',
+ 'Jul','Ago','Set','Oct','Nov','Des'],
+ dayNames: ['Diumenge','Dilluns','Dimarts','Dimecres','Dijous','Divendres','Dissabte'],
+ dayNamesShort: ['Dug','Dln','Dmt','Dmc','Djs','Dvn','Dsb'],
+ dayNamesMin: ['Dg','Dl','Dt','Dc','Dj','Dv','Ds'],
+ weekHeader: 'Sm',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['ca']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-cs.js
@@ -0,0 +1,23 @@
+/* Czech initialisation for the jQuery UI date picker plugin. */
+/* Written by Tomas Muller (tomas@tomas-muller.net). */
+jQuery(function($){
+ $.datepicker.regional['cs'] = {
+ closeText: 'Zavřít',
+ prevText: '&#x3c;Dříve',
+ nextText: 'Později&#x3e;',
+ currentText: 'Nyní',
+ monthNames: ['leden','únor','březen','duben','květen','červen',
+ 'červenec','srpen','září','říjen','listopad','prosinec'],
+ monthNamesShort: ['led','úno','bře','dub','kvě','čer',
+ 'čvc','srp','zář','říj','lis','pro'],
+ dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
+ dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', '', 'so'],
+ dayNamesMin: ['ne','po','út','st','čt','','so'],
+ weekHeader: 'Týd',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['cs']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-da.js
@@ -0,0 +1,23 @@
+/* Danish initialisation for the jQuery UI date picker plugin. */
+/* Written by Jan Christensen ( deletestuff@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['da'] = {
+ closeText: 'Luk',
+ prevText: '&#x3c;Forrige',
+ nextText: 'Næste&#x3e;',
+ currentText: 'Idag',
+ monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
+ 'Juli','August','September','Oktober','November','December'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
+ dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
+ dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
+ dayNamesMin: ['','Ma','Ti','On','To','Fr',''],
+ weekHeader: 'Uge',
+ dateFormat: 'dd-mm-yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['da']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-de.js
@@ -0,0 +1,23 @@
+/* German initialisation for the jQuery UI date picker plugin. */
+/* Written by Milian Wolff (mail@milianw.de). */
+jQuery(function($){
+ $.datepicker.regional['de'] = {
+ closeText: 'schließen',
+ prevText: '&#x3c;zurück',
+ nextText: 'Vor&#x3e;',
+ currentText: 'heute',
+ monthNames: ['Januar','Februar','März','April','Mai','Juni',
+ 'Juli','August','September','Oktober','November','Dezember'],
+ monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Dez'],
+ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
+ dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
+ weekHeader: 'Wo',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['de']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-el.js
@@ -0,0 +1,23 @@
+/* Greek (el) initialisation for the jQuery UI date picker plugin. */
+/* Written by Alex Cicovic (http://www.alexcicovic.com) */
+jQuery(function($){
+ $.datepicker.regional['el'] = {
+ closeText: 'Κλείσιμο',
+ prevText: 'Προηγούμενος',
+ nextText: 'Επόμενος',
+ currentText: 'Τρέχων Μήνας',
+ monthNames: ['Ιανουάριος','Φεβρουάριος','Μάρτιος','Απρίλιος','Μάιος','Ιούνιος',
+ 'Ιούλιος','Αύγουστος','Σεπτέμβριος','Οκτώβριος','Νοέμβριος','Δεκέμβριος'],
+ monthNamesShort: ['Ιαν','Φεβ','Μαρ','Απρ','Μαι','Ιουν',
+ 'Ιουλ','Αυγ','Σεπ','Οκτ','Νοε','Δεκ'],
+ dayNames: ['Κυριακή','Δευτέρα','Τρίτη','Τετάρτη','Πέμπτη','Παρασκευή','Σάββατο'],
+ dayNamesShort: ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ'],
+ dayNamesMin: ['Κυ','Δε','Τρ','Τε','Πε','Πα','Σα'],
+ weekHeader: 'Εβδ',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['el']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-en-GB.js
@@ -0,0 +1,23 @@
+/* English/UK initialisation for the jQuery UI date picker plugin. */
+/* Written by Stuart. */
+jQuery(function($){
+ $.datepicker.regional['en-GB'] = {
+ closeText: 'Done',
+ prevText: 'Prev',
+ nextText: 'Next',
+ currentText: 'Today',
+ monthNames: ['January','February','March','April','May','June',
+ 'July','August','September','October','November','December'],
+ monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
+ 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
+ dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
+ dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
+ dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['en-GB']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-eo.js
@@ -0,0 +1,23 @@
+/* Esperanto initialisation for the jQuery UI date picker plugin. */
+/* Written by Olivier M. (olivierweb@ifrance.com). */
+jQuery(function($){
+ $.datepicker.regional['eo'] = {
+ closeText: 'Fermi',
+ prevText: '&lt;Anta',
+ nextText: 'Sekv&gt;',
+ currentText: 'Nuna',
+ monthNames: ['Januaro','Februaro','Marto','Aprilo','Majo','Junio',
+ 'Julio','Aŭgusto','Septembro','Oktobro','Novembro','Decembro'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
+ 'Jul','Aŭg','Sep','Okt','Nov','Dec'],
+ dayNames: ['Dimanĉo','Lundo','Mardo','Merkredo','Ĵaŭdo','Vendredo','Sabato'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Ĵaŭ','Ven','Sab'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Ĵa','Ve','Sa'],
+ weekHeader: 'Sb',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['eo']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-es.js
@@ -0,0 +1,23 @@
+/* Inicialización en español para la extensión 'UI date picker' para jQuery. */
+/* Traducido por Vester (xvester@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['es'] = {
+ closeText: 'Cerrar',
+ prevText: '&#x3c;Ant',
+ nextText: 'Sig&#x3e;',
+ currentText: 'Hoy',
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
+ dayNames: ['Domingo','Lunes','Martes','Mi&eacute;rcoles','Jueves','Viernes','S&aacute;bado'],
+ dayNamesShort: ['Dom','Lun','Mar','Mi&eacute;','Juv','Vie','S&aacute;b'],
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','S&aacute;'],
+ weekHeader: 'Sm',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['es']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-et.js
@@ -0,0 +1,23 @@
+/* Estonian initialisation for the jQuery UI date picker plugin. */
+/* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
+jQuery(function($){
+ $.datepicker.regional['et'] = {
+ closeText: 'Sulge',
+ prevText: 'Eelnev',
+ nextText: 'Järgnev',
+ currentText: 'Täna',
+ monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
+ 'Juuli','August','September','Oktoober','November','Detsember'],
+ monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
+ 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
+ dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
+ dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
+ dayNamesMin: ['P','E','T','K','N','R','L'],
+ weekHeader: 'Sm',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['et']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-eu.js
@@ -0,0 +1,23 @@
+/* Euskarako oinarria 'UI date picker' jquery-ko extentsioarentzat */
+/* Karrikas-ek itzulia (karrikas@karrikas.com) */
+jQuery(function($){
+ $.datepicker.regional['eu'] = {
+ closeText: 'Egina',
+ prevText: '&#x3c;Aur',
+ nextText: 'Hur&#x3e;',
+ currentText: 'Gaur',
+ monthNames: ['Urtarrila','Otsaila','Martxoa','Apirila','Maiatza','Ekaina',
+ 'Uztaila','Abuztua','Iraila','Urria','Azaroa','Abendua'],
+ monthNamesShort: ['Urt','Ots','Mar','Api','Mai','Eka',
+ 'Uzt','Abu','Ira','Urr','Aza','Abe'],
+ dayNames: ['Igandea','Astelehena','Asteartea','Asteazkena','Osteguna','Ostirala','Larunbata'],
+ dayNamesShort: ['Iga','Ast','Ast','Ast','Ost','Ost','Lar'],
+ dayNamesMin: ['Ig','As','As','As','Os','Os','La'],
+ weekHeader: 'Wk',
+ dateFormat: 'yy/mm/dd',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['eu']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-fa.js
@@ -0,0 +1,23 @@
+/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */
+/* Javad Mowlanezhad -- jmowla@gmail.com */
+/* Jalali calendar should supported soon! (Its implemented but I have to test it) */
+jQuery(function($) {
+ $.datepicker.regional['fa'] = {
+ closeText: 'بستن',
+ prevText: '&#x3c;قبلي',
+ nextText: 'بعدي&#x3e;',
+ currentText: 'امروز',
+ monthNames: ['فروردين','ارديبهشت','خرداد','تير','مرداد','شهريور',
+ 'مهر','آبان','آذر','دي','بهمن','اسفند'],
+ monthNamesShort: ['1','2','3','4','5','6','7','8','9','10','11','12'],
+ dayNames: ['يکشنبه','دوشنبه','سه‌شنبه','چهارشنبه','پنجشنبه','جمعه','شنبه'],
+ dayNamesShort: ['ي','د','س','چ','پ','ج', 'ش'],
+ dayNamesMin: ['ي','د','س','چ','پ','ج', 'ش'],
+ weekHeader: 'هف',
+ dateFormat: 'yy/mm/dd',
+ firstDay: 6,
+ isRTL: true,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['fa']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-fi.js
@@ -0,0 +1,23 @@
+/* Finnish initialisation for the jQuery UI date picker plugin. */
+/* Written by Harri Kilpi� (harrikilpio@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['fi'] = {
+ closeText: 'Sulje',
+ prevText: '&laquo;Edellinen',
+ nextText: 'Seuraava&raquo;',
+ currentText: 'T&auml;n&auml;&auml;n',
+ monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kes&auml;kuu',
+ 'Hein&auml;kuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
+ monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kes&auml;',
+ 'Hein&auml;','Elo','Syys','Loka','Marras','Joulu'],
+ dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
+ dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
+ dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
+ weekHeader: 'Vk',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['fi']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-fo.js
@@ -0,0 +1,23 @@
+/* Faroese initialisation for the jQuery UI date picker plugin */
+/* Written by Sverri Mohr Olsen, sverrimo@gmail.com */
+jQuery(function($){
+ $.datepicker.regional['fo'] = {
+ closeText: 'Lat aftur',
+ prevText: '&#x3c;Fyrra',
+ nextText: 'Næsta&#x3e;',
+ currentText: 'Í dag',
+ monthNames: ['Januar','Februar','Mars','Apríl','Mei','Juni',
+ 'Juli','August','September','Oktober','November','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
+ 'Jul','Aug','Sep','Okt','Nov','Des'],
+ dayNames: ['Sunnudagur','Mánadagur','Týsdagur','Mikudagur','Hósdagur','Fríggjadagur','Leyardagur'],
+ dayNamesShort: ['Sun','Mán','Týs','Mik','Hós','Frí','Ley'],
+ dayNamesMin: ['Su','','','Mi','','Fr','Le'],
+ weekHeader: 'Vk',
+ dateFormat: 'dd-mm-yy',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['fo']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-fr-CH.js
@@ -0,0 +1,23 @@
+/* Swiss-French initialisation for the jQuery UI date picker plugin. */
+/* Written Martin Voelkle (martin.voelkle@e-tc.ch). */
+jQuery(function($){
+ $.datepicker.regional['fr-CH'] = {
+ closeText: 'Fermer',
+ prevText: '&#x3c;Préc',
+ nextText: 'Suiv&#x3e;',
+ currentText: 'Courant',
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
+ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
+ weekHeader: 'Sm',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['fr-CH']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-fr.js
@@ -0,0 +1,23 @@
+/* French initialisation for the jQuery UI date picker plugin. */
+/* Written by Keith Wood (kbwood{at}iinet.com.au) and Stéphane Nahmani (sholby@sholby.net). */
+jQuery(function($){
+ $.datepicker.regional['fr'] = {
+ closeText: 'Fermer',
+ prevText: '&#x3c;Préc',
+ nextText: 'Suiv&#x3e;',
+ currentText: 'Courant',
+ monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
+ 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
+ monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
+ 'Jul','Aoû','Sep','Oct','Nov','Déc'],
+ dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
+ dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
+ dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
+ weekHeader: 'Sm',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['fr']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-he.js
@@ -0,0 +1,23 @@
+/* Hebrew initialisation for the UI Datepicker extension. */
+/* Written by Amir Hardon (ahardon at gmail dot com). */
+jQuery(function($){
+ $.datepicker.regional['he'] = {
+ closeText: 'סגור',
+ prevText: '&#x3c;הקודם',
+ nextText: 'הבא&#x3e;',
+ currentText: 'היום',
+ monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
+ 'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
+ monthNamesShort: ['1','2','3','4','5','6',
+ '7','8','9','10','11','12'],
+ dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
+ dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 0,
+ isRTL: true,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['he']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-hr.js
@@ -0,0 +1,23 @@
+/* Croatian i18n for the jQuery UI date picker plugin. */
+/* Written by Vjekoslav Nesek. */
+jQuery(function($){
+ $.datepicker.regional['hr'] = {
+ closeText: 'Zatvori',
+ prevText: '&#x3c;',
+ nextText: '&#x3e;',
+ currentText: 'Danas',
+ monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipanj',
+ 'Srpanj','Kolovoz','Rujan','Listopad','Studeni','Prosinac'],
+ monthNamesShort: ['Sij','Velj','Ožu','Tra','Svi','Lip',
+ 'Srp','Kol','Ruj','Lis','Stu','Pro'],
+ dayNames: ['Nedjelja','Ponedjeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
+ dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
+ dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],
+ weekHeader: 'Tje',
+ dateFormat: 'dd.mm.yy.',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['hr']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-hu.js
@@ -0,0 +1,23 @@
+/* Hungarian initialisation for the jQuery UI date picker plugin. */
+/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */
+jQuery(function($){
+ $.datepicker.regional['hu'] = {
+ closeText: 'bezárás',
+ prevText: '&laquo;&nbsp;vissza',
+ nextText: 'előre&nbsp;&raquo;',
+ currentText: 'ma',
+ monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
+ 'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
+ monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
+ 'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
+ dayNames: ['Vasárnap', 'Hétfö', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
+ dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
+ dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
+ weekHeader: '',
+ dateFormat: 'yy-mm-dd',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['hu']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-hy.js
@@ -0,0 +1,23 @@
+/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */
+/* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/
+jQuery(function($){
+ $.datepicker.regional['hy'] = {
+ closeText: 'Փակել',
+ prevText: '&#x3c;Նախ.',
+ nextText: 'Հաջ.&#x3e;',
+ currentText: 'Այսօր',
+ monthNames: ['Հունվար','Փետրվար','Մարտ','Ապրիլ','Մայիս','Հունիս',
+ 'Հուլիս','Օգոստոս','Սեպտեմբեր','Հոկտեմբեր','Նոյեմբեր','Դեկտեմբեր'],
+ monthNamesShort: ['Հունվ','Փետր','Մարտ','Ապր','Մայիս','Հունիս',
+ 'Հուլ','Օգս','Սեպ','Հոկ','Նոյ','Դեկ'],
+ dayNames: ['կիրակի','եկուշաբթի','երեքշաբթի','չորեքշաբթի','հինգշաբթի','ուրբաթ','շաբաթ'],
+ dayNamesShort: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
+ dayNamesMin: ['կիր','երկ','երք','չրք','հնգ','ուրբ','շբթ'],
+ weekHeader: 'ՇԲՏ',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['hy']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-id.js
@@ -0,0 +1,23 @@
+/* Indonesian initialisation for the jQuery UI date picker plugin. */
+/* Written by Deden Fathurahman (dedenf@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['id'] = {
+ closeText: 'Tutup',
+ prevText: '&#x3c;mundur',
+ nextText: 'maju&#x3e;',
+ currentText: 'hari ini',
+ monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
+ 'Juli','Agustus','September','Oktober','Nopember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
+ 'Jul','Agus','Sep','Okt','Nop','Des'],
+ dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
+ dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
+ dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
+ weekHeader: 'Mg',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['id']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-is.js
@@ -0,0 +1,23 @@
+/* Icelandic initialisation for the jQuery UI date picker plugin. */
+/* Written by Haukur H. Thorsson (haukur@eskill.is). */
+jQuery(function($){
+ $.datepicker.regional['is'] = {
+ closeText: 'Loka',
+ prevText: '&#x3c; Fyrri',
+ nextText: 'N&aelig;sti &#x3e;',
+ currentText: '&Iacute; dag',
+ monthNames: ['Jan&uacute;ar','Febr&uacute;ar','Mars','Apr&iacute;l','Ma&iacute','J&uacute;n&iacute;',
+ 'J&uacute;l&iacute;','&Aacute;g&uacute;st','September','Okt&oacute;ber','N&oacute;vember','Desember'],
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Ma&iacute;','J&uacute;n',
+ 'J&uacute;l','&Aacute;g&uacute;','Sep','Okt','N&oacute;v','Des'],
+ dayNames: ['Sunnudagur','M&aacute;nudagur','&THORN;ri&eth;judagur','Mi&eth;vikudagur','Fimmtudagur','F&ouml;studagur','Laugardagur'],
+ dayNamesShort: ['Sun','M&aacute;n','&THORN;ri','Mi&eth;','Fim','F&ouml;s','Lau'],
+ dayNamesMin: ['Su','M&aacute;','&THORN;r','Mi','Fi','F&ouml;','La'],
+ weekHeader: 'Vika',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['is']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-it.js
@@ -0,0 +1,23 @@
+/* Italian initialisation for the jQuery UI date picker plugin. */
+/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['it'] = {
+ closeText: 'Chiudi',
+ prevText: '&#x3c;Prec',
+ nextText: 'Succ&#x3e;',
+ currentText: 'Oggi',
+ monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
+ 'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
+ monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
+ 'Lug','Ago','Set','Ott','Nov','Dic'],
+ dayNames: ['Domenica','Luned&#236','Marted&#236','Mercoled&#236','Gioved&#236','Venerd&#236','Sabato'],
+ dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
+ dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
+ weekHeader: 'Sm',
+ dateFormat: 'dd/mm/yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['it']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-ja.js
@@ -0,0 +1,23 @@
+/* Japanese initialisation for the jQuery UI date picker plugin. */
+/* Written by Kentaro SATO (kentaro@ranvis.com). */
+jQuery(function($){
+ $.datepicker.regional['ja'] = {
+ closeText: '閉じる',
+ prevText: '&#x3c;前',
+ nextText: '次&#x3e;',
+ currentText: '今日',
+ monthNames: ['1月','2月','3月','4月','5月','6月',
+ '7月','8月','9月','10月','11月','12月'],
+ monthNamesShort: ['1月','2月','3月','4月','5月','6月',
+ '7月','8月','9月','10月','11月','12月'],
+ dayNames: ['日曜日','月曜日','火曜日','水曜日','木曜日','金曜日','土曜日'],
+ dayNamesShort: ['','','','','','',''],
+ dayNamesMin: ['','','','','','',''],
+ weekHeader: '',
+ dateFormat: 'yy/mm/dd',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: true,
+ yearSuffix: ''};
+ $.datepicker.setDefaults($.datepicker.regional['ja']);
+});
View
23 generator/jQueryUI/jquery.ui.datepicker-ko.js
@@ -0,0 +1,23 @@
+/* Korean initialisation for the jQuery calendar extension. */
+/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
+jQuery(function($){
+ $.datepicker.regional['ko'] = {
+ closeText: '닫기',
+ prevText: '이전달',
+ nextText: '다음달',
+ currentText: '오늘',
+ monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
+ '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
+ monthNamesShort: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)','6월(JUN)',
+ '7월(JUL)','8월(AUG)','9월(SEP)','10월(OCT)','11월(NOV)','12월(DEC)'],
+ dayNames: ['','','','','','',''],
+ dayNamesShort: ['','','','','','',''],
+ dayNamesMin: ['','','','','','',''],
+ weekHeader: 'Wk',
+ dateFormat: 'yy-mm-dd',
+ firstDay: 0,
+ isRTL: false,
+ showMonthAfterYear: false,