Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added CJuiSpinner. Added Globalize library.

  • Loading branch information...
commit 891ade59a72481c664a1a22c45acd0a27f85eb30 1 parent 0d2456f
@resurtm authored
Showing with 29,594 additions and 0 deletions.
  1. +2 −0  CHANGELOG
  2. +5 −0 framework/vendors/README.html
  3. +21 −0 framework/vendors/globalize/LICENSE
  4. +3 −0  framework/web/js/packages.php
  5. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.af-ZA.js
  6. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.af.js
  7. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.am-ET.js
  8. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.am.js
  9. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-AE.js
  10. +462 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-BH.js
  11. +458 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-DZ.js
  12. +484 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-EG.js
  13. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-IQ.js
  14. +462 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-JO.js
  15. +462 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-KW.js
  16. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-LB.js
  17. +462 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-LY.js
  18. +458 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-MA.js
  19. +458 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-OM.js
  20. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-QA.js
  21. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-SA.js
  22. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-SY.js
  23. +463 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-TN.js
  24. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar-YE.js
  25. +457 −0 framework/web/js/source/globalize/cultures/globalize.culture.ar.js
  26. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.arn-CL.js
  27. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.arn.js
  28. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.as-IN.js
  29. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.as.js
  30. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.az-Cyrl-AZ.js
  31. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.az-Cyrl.js
  32. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.az-Latn-AZ.js
  33. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.az-Latn.js
  34. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.az.js
  35. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.ba-RU.js
  36. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.ba.js
  37. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.be-BY.js
  38. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.be.js
  39. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.bg-BG.js
  40. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.bg.js
  41. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.bn-BD.js
  42. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.bn-IN.js
  43. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.bn.js
  44. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.bo-CN.js
  45. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.bo.js
  46. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.br-FR.js
  47. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.br.js
  48. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.bs-Cyrl-BA.js
  49. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.bs-Cyrl.js
  50. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.bs-Latn-BA.js
  51. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.bs-Latn.js
  52. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.bs.js
  53. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.ca-ES.js
  54. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.ca.js
  55. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.co-FR.js
  56. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.co.js
  57. +85 −0 framework/web/js/source/globalize/cultures/globalize.culture.cs-CZ.js
  58. +85 −0 framework/web/js/source/globalize/cultures/globalize.culture.cs.js
  59. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.cy-GB.js
  60. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.cy.js
  61. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.da-DK.js
  62. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.da.js
  63. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.de-AT.js
  64. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.de-CH.js
  65. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.de-DE.js
  66. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.de-LI.js
  67. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.de-LU.js
  68. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.de.js
  69. +84 −0 framework/web/js/source/globalize/cultures/globalize.culture.dsb-DE.js
  70. +84 −0 framework/web/js/source/globalize/cultures/globalize.culture.dsb.js
  71. +164 −0 framework/web/js/source/globalize/cultures/globalize.culture.dv-MV.js
  72. +164 −0 framework/web/js/source/globalize/cultures/globalize.culture.dv.js
  73. +82 −0 framework/web/js/source/globalize/cultures/globalize.culture.el-GR.js
  74. +82 −0 framework/web/js/source/globalize/cultures/globalize.culture.el.js
  75. +47 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-029.js
  76. +52 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-AU.js
  77. +54 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-BZ.js
  78. +49 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-CA.js
  79. +55 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-GB.js
  80. +57 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-IE.js
  81. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-IN.js
  82. +51 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-JM.js
  83. +56 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-MY.js
  84. +54 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-NZ.js
  85. +39 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-PH.js
  86. +53 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-SG.js
  87. +54 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-TT.js
  88. +33 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-US.js
  89. +61 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-ZA.js
  90. +39 −0 framework/web/js/source/globalize/cultures/globalize.culture.en-ZW.js
  91. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-AR.js
  92. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-BO.js
  93. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-CL.js
  94. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-CO.js
  95. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-CR.js
  96. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-DO.js
  97. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-EC.js
  98. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-ES.js
  99. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-GT.js
  100. +71 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-HN.js
  101. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-MX.js
  102. +71 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-NI.js
  103. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-PA.js
  104. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-PE.js
  105. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-PR.js
  106. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-PY.js
  107. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-SV.js
  108. +62 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-US.js
  109. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-UY.js
  110. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.es-VE.js
  111. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.es.js
  112. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.et-EE.js
  113. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.et.js
  114. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.eu-ES.js
  115. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.eu.js
  116. +213 −0 framework/web/js/source/globalize/cultures/globalize.culture.fa-IR.js
  117. +213 −0 framework/web/js/source/globalize/cultures/globalize.culture.fa.js
  118. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.fi-FI.js
  119. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.fi.js
  120. +54 −0 framework/web/js/source/globalize/cultures/globalize.culture.fil-PH.js
  121. +54 −0 framework/web/js/source/globalize/cultures/globalize.culture.fil.js
  122. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fo-FO.js
  123. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fo.js
  124. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr-BE.js
  125. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr-CA.js
  126. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr-CH.js
  127. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr-FR.js
  128. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr-LU.js
  129. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr-MC.js
  130. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.fr.js
  131. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.fy-NL.js
  132. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.fy.js
  133. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.ga-IE.js
  134. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.ga.js
  135. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.gd-GB.js
  136. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.gd.js
  137. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.gl-ES.js
  138. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.gl.js
  139. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.gsw-FR.js
  140. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.gsw.js
  141. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.gu-IN.js
  142. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.gu.js
  143. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.ha-Latn-NG.js
  144. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.ha-Latn.js
  145. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.ha.js
  146. +97 −0 framework/web/js/source/globalize/cultures/globalize.culture.he-IL.js
  147. +97 −0 framework/web/js/source/globalize/cultures/globalize.culture.he.js
  148. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.hi-IN.js
  149. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.hi.js
  150. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.hr-BA.js
  151. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.hr-HR.js
  152. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.hr.js
  153. +84 −0 framework/web/js/source/globalize/cultures/globalize.culture.hsb-DE.js
  154. +84 −0 framework/web/js/source/globalize/cultures/globalize.culture.hsb.js
  155. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.hu-HU.js
  156. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.hu.js
  157. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.hy-AM.js
  158. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.hy.js
  159. +75 −0 framework/web/js/source/globalize/cultures/globalize.culture.id-ID.js
  160. +75 −0 framework/web/js/source/globalize/cultures/globalize.culture.id.js
  161. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.ig-NG.js
  162. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.ig.js
  163. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.ii-CN.js
  164. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.ii.js
  165. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.is-IS.js
  166. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.is.js
  167. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.it-CH.js
  168. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.it-IT.js
  169. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.it.js
  170. +65 −0 framework/web/js/source/globalize/cultures/globalize.culture.iu-Cans-CA.js
  171. +65 −0 framework/web/js/source/globalize/cultures/globalize.culture.iu-Cans.js
  172. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.iu-Latn-CA.js
  173. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.iu-Latn.js
  174. +60 −0 framework/web/js/source/globalize/cultures/globalize.culture.iu.js
  175. +100 −0 framework/web/js/source/globalize/cultures/globalize.culture.ja-JP.js
  176. +100 −0 framework/web/js/source/globalize/cultures/globalize.culture.ja.js
  177. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.ka-GE.js
  178. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.ka.js
  179. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.kk-KZ.js
  180. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.kk.js
  181. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.kl-GL.js
  182. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.kl.js
  183. +99 −0 framework/web/js/source/globalize/cultures/globalize.culture.km-KH.js
  184. +99 −0 framework/web/js/source/globalize/cultures/globalize.culture.km.js
  185. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.kn-IN.js
  186. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.kn.js
  187. +96 −0 framework/web/js/source/globalize/cultures/globalize.culture.ko-KR.js
  188. +96 −0 framework/web/js/source/globalize/cultures/globalize.culture.ko.js
  189. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.kok-IN.js
  190. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.kok.js
  191. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.ky-KG.js
  192. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.ky.js
  193. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.lb-LU.js
  194. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.lb.js
  195. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.lo-LA.js
  196. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.lo.js
  197. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.lt-LT.js
  198. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.lt.js
  199. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.lv-LV.js
  200. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.lv.js
  201. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.mi-NZ.js
  202. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.mi.js
  203. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.mk-MK.js
  204. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.mk.js
  205. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.ml-IN.js
  206. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.ml.js
  207. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.mn-Cyrl.js
  208. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.mn-MN.js
  209. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.mn-Mong-CN.js
  210. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.mn-Mong.js
  211. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.mn.js
  212. +52 −0 framework/web/js/source/globalize/cultures/globalize.culture.moh-CA.js
  213. +52 −0 framework/web/js/source/globalize/cultures/globalize.culture.moh.js
  214. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.mr-IN.js
  215. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.mr.js
  216. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.ms-BN.js
  217. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.ms-MY.js
  218. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.ms.js
  219. +68 −0 framework/web/js/source/globalize/cultures/globalize.culture.mt-MT.js
  220. +68 −0 framework/web/js/source/globalize/cultures/globalize.culture.mt.js
  221. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.nb-NO.js
  222. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.nb.js
  223. +68 −0 framework/web/js/source/globalize/cultures/globalize.culture.ne-NP.js
  224. +68 −0 framework/web/js/source/globalize/cultures/globalize.culture.ne.js
  225. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.nl-BE.js
  226. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.nl-NL.js
  227. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.nl.js
  228. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.nn-NO.js
  229. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.nn.js
  230. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.no.js
  231. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.nso-ZA.js
  232. +67 −0 framework/web/js/source/globalize/cultures/globalize.culture.nso.js
  233. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.oc-FR.js
  234. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.oc.js
  235. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.or-IN.js
  236. +70 −0 framework/web/js/source/globalize/cultures/globalize.culture.or.js
  237. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.pa-IN.js
  238. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.pa.js
  239. +84 −0 framework/web/js/source/globalize/cultures/globalize.culture.pl-PL.js
  240. +84 −0 framework/web/js/source/globalize/cultures/globalize.culture.pl.js
  241. +174 −0 framework/web/js/source/globalize/cultures/globalize.culture.prs-AF.js
  242. +174 −0 framework/web/js/source/globalize/cultures/globalize.culture.prs.js
  243. +176 −0 framework/web/js/source/globalize/cultures/globalize.culture.ps-AF.js
  244. +176 −0 framework/web/js/source/globalize/cultures/globalize.culture.ps.js
  245. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.pt-BR.js
  246. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.pt-PT.js
  247. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.pt.js
  248. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.qut-GT.js
  249. +69 −0 framework/web/js/source/globalize/cultures/globalize.culture.qut.js
  250. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.quz-BO.js
  251. +73 −0 framework/web/js/source/globalize/cultures/globalize.culture.quz-EC.js
  252. +68 −0 framework/web/js/source/globalize/cultures/globalize.culture.quz-PE.js
  253. +74 −0 framework/web/js/source/globalize/cultures/globalize.culture.quz.js
  254. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.rm-CH.js
  255. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.rm.js
  256. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.ro-RO.js
  257. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.ro.js
  258. +82 −0 framework/web/js/source/globalize/cultures/globalize.culture.ru-RU.js
  259. +82 −0 framework/web/js/source/globalize/cultures/globalize.culture.ru.js
  260. +65 −0 framework/web/js/source/globalize/cultures/globalize.culture.rw-RW.js
  261. +65 −0 framework/web/js/source/globalize/cultures/globalize.culture.rw.js
  262. +71 −0 framework/web/js/source/globalize/cultures/globalize.culture.sa-IN.js
  263. +71 −0 framework/web/js/source/globalize/cultures/globalize.culture.sa.js
  264. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.sah-RU.js
  265. +83 −0 framework/web/js/source/globalize/cultures/globalize.culture.sah.js
  266. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.se-FI.js
  267. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.se-NO.js
  268. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.se-SE.js
  269. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.se.js
  270. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.si-LK.js
  271. +72 −0 framework/web/js/source/globalize/cultures/globalize.culture.si.js
  272. +85 −0 framework/web/js/source/globalize/cultures/globalize.culture.sk-SK.js
  273. +85 −0 framework/web/js/source/globalize/cultures/globalize.culture.sk.js
  274. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.sl-SI.js
  275. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.sl.js
  276. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.sma-NO.js
  277. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sma-SE.js
  278. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sma.js
  279. +81 −0 framework/web/js/source/globalize/cultures/globalize.culture.smj-NO.js
  280. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.smj-SE.js
  281. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.smj.js
  282. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.smn-FI.js
  283. +76 −0 framework/web/js/source/globalize/cultures/globalize.culture.smn.js
  284. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sms-FI.js
  285. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sms.js
  286. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.sq-AL.js
  287. +77 −0 framework/web/js/source/globalize/cultures/globalize.culture.sq.js
  288. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Cyrl-BA.js
  289. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Cyrl-CS.js
  290. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Cyrl-ME.js
  291. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Cyrl-RS.js
  292. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Cyrl.js
  293. +79 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Latn-BA.js
  294. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Latn-CS.js
  295. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Latn-ME.js
  296. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Latn-RS.js
  297. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr-Latn.js
  298. +80 −0 framework/web/js/source/globalize/cultures/globalize.culture.sr.js
  299. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.sv-FI.js
  300. +78 −0 framework/web/js/source/globalize/cultures/globalize.culture.sv-SE.js
Sorry, we could not display the entire diff because too many files (359) changed.
View
2  CHANGELOG
@@ -12,6 +12,8 @@ Version 1.1.14 work in progress
- Chg #645: CDbConnection now throws CDbException when failed to open DB connection instead of failing with a warning (kidol, eirikhm, samdark, cebe)
- Chg #1891: Changed order of methods in models generated by Gii and yiic, added better description of search method (hijarian, samdark)
- New #1785: Added CPasswordHelper (tom--)
+- New #1962: Added CJuiSpinner (resurtm)
+- New: Added Globalize v0.1.1 (https://github.com/jquery/globalize) to the vendors (third party libraries and utilities) (resurtm)
Version 1.1.13 December 30, 2012
--------------------------------
View
5 framework/vendors/README.html
@@ -108,6 +108,11 @@
<td><a href="punycode/LICENSE-MIT.txt">MIT</a>, <a href="punycode/LICENSE-GPL.txt">GPL</a></td>
<td><a href="http://www.yiiframework.com/doc/api/1.1/CUrlValidator">CUrlValidator</a>, <a href="http://www.yiiframework.com/doc/api/1.1/CEmailValidator">CEmailValidator</a></td>
</tr>
+<tr>
+ <td><a href="https://github.com/jquery/globalize">Globalize</a> (v0.1.1) - October 31 2012</td>
+ <td><a href="globalize/LICENSE">MIT</a>, <a href="globalize/LICENSE">GPL v2</a></td>
+ <td><a href="http://www.yiiframework.com/doc/api/1.1/CJuiSpinner">CJuiSpinner</a></td>
+</tr>
</table>
</body>
View
21 framework/vendors/globalize/LICENSE
@@ -0,0 +1,21 @@
+Copyright Software Freedom Conservancy, Inc.
+http://jquery.org/license
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
3  framework/web/js/packages.php
@@ -78,4 +78,7 @@
'punycode'=>array(
'js'=>array(YII_DEBUG ? 'punycode.js' : 'punycode.min.js'),
),
+ 'globalize'=>array(
+ 'js'=>array('globalize/globalize.js'),
+ ),
);
View
67 framework/web/js/source/globalize/cultures/globalize.culture.af-ZA.js
@@ -0,0 +1,67 @@
+/*
+ * Globalize Culture af-ZA
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "af-ZA", "default", {
+ name: "af-ZA",
+ englishName: "Afrikaans (South Africa)",
+ nativeName: "Afrikaans (Suid Afrika)",
+ language: "af",
+ numberFormat: {
+ percent: {
+ pattern: ["-n%","n%"]
+ },
+ currency: {
+ pattern: ["$-n","$ n"],
+ symbol: "R"
+ }
+ },
+ calendars: {
+ standard: {
+ days: {
+ names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],
+ namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"],
+ namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"]
+ },
+ months: {
+ names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],
+ namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""]
+ },
+ patterns: {
+ d: "yyyy/MM/dd",
+ D: "dd MMMM yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd MMMM yyyy hh:mm tt",
+ F: "dd MMMM yyyy hh:mm:ss tt",
+ M: "dd MMMM",
+ Y: "MMMM yyyy"
+ }
+ }
+ }
+});
+
+}( this ));
View
67 framework/web/js/source/globalize/cultures/globalize.culture.af.js
@@ -0,0 +1,67 @@
+/*
+ * Globalize Culture af
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "af", "default", {
+ name: "af",
+ englishName: "Afrikaans",
+ nativeName: "Afrikaans",
+ language: "af",
+ numberFormat: {
+ percent: {
+ pattern: ["-n%","n%"]
+ },
+ currency: {
+ pattern: ["$-n","$ n"],
+ symbol: "R"
+ }
+ },
+ calendars: {
+ standard: {
+ days: {
+ names: ["Sondag","Maandag","Dinsdag","Woensdag","Donderdag","Vrydag","Saterdag"],
+ namesAbbr: ["Son","Maan","Dins","Woen","Dond","Vry","Sat"],
+ namesShort: ["So","Ma","Di","Wo","Do","Vr","Sa"]
+ },
+ months: {
+ names: ["Januarie","Februarie","Maart","April","Mei","Junie","Julie","Augustus","September","Oktober","November","Desember",""],
+ namesAbbr: ["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Aug","Sep","Okt","Nov","Des",""]
+ },
+ patterns: {
+ d: "yyyy/MM/dd",
+ D: "dd MMMM yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd MMMM yyyy hh:mm tt",
+ F: "dd MMMM yyyy hh:mm:ss tt",
+ M: "dd MMMM",
+ Y: "MMMM yyyy"
+ }
+ }
+ }
+});
+
+}( this ));
View
74 framework/web/js/source/globalize/cultures/globalize.culture.am-ET.js
@@ -0,0 +1,74 @@
+/*
+ * Globalize Culture am-ET
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "am-ET", "default", {
+ name: "am-ET",
+ englishName: "Amharic (Ethiopia)",
+ nativeName: "አማርኛ (ኢትዮጵያ)",
+ language: "am",
+ numberFormat: {
+ decimals: 1,
+ groupSizes: [3,0],
+ "NaN": "NAN",
+ percent: {
+ pattern: ["-n%","n%"],
+ decimals: 1,
+ groupSizes: [3,0]
+ },
+ currency: {
+ pattern: ["-$n","$n"],
+ groupSizes: [3,0],
+ symbol: "ETB"
+ }
+ },
+ calendars: {
+ standard: {
+ days: {
+ names: ["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],
+ namesAbbr: ["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],
+ namesShort: ["","","","","","",""]
+ },
+ months: {
+ names: ["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],
+ namesAbbr: ["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""]
+ },
+ AM: ["ጡዋት","ጡዋት","ጡዋት"],
+ PM: ["ከሰዓት","ከሰዓት","ከሰዓት"],
+ eras: [{"name":"ዓመተ ምሕረት","start":null,"offset":0}],
+ patterns: {
+ d: "d/M/yyyy",
+ D: "dddd '፣' MMMM d 'ቀን' yyyy",
+ f: "dddd '፣' MMMM d 'ቀን' yyyy h:mm tt",
+ F: "dddd '፣' MMMM d 'ቀን' yyyy h:mm:ss tt",
+ M: "MMMM d ቀን",
+ Y: "MMMM yyyy"
+ }
+ }
+ }
+});
+
+}( this ));
View
74 framework/web/js/source/globalize/cultures/globalize.culture.am.js
@@ -0,0 +1,74 @@
+/*
+ * Globalize Culture am
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "am", "default", {
+ name: "am",
+ englishName: "Amharic",
+ nativeName: "አማርኛ",
+ language: "am",
+ numberFormat: {
+ decimals: 1,
+ groupSizes: [3,0],
+ "NaN": "NAN",
+ percent: {
+ pattern: ["-n%","n%"],
+ decimals: 1,
+ groupSizes: [3,0]
+ },
+ currency: {
+ pattern: ["-$n","$n"],
+ groupSizes: [3,0],
+ symbol: "ETB"
+ }
+ },
+ calendars: {
+ standard: {
+ days: {
+ names: ["እሑድ","ሰኞ","ማክሰኞ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],
+ namesAbbr: ["እሑድ","ሰኞ","ማክሰ","ረቡዕ","ሐሙስ","ዓርብ","ቅዳሜ"],
+ namesShort: ["","","","","","",""]
+ },
+ months: {
+ names: ["ጃንዩወሪ","ፌብሩወሪ","ማርች","ኤፕረል","ሜይ","ጁን","ጁላይ","ኦገስት","ሴፕቴምበር","ኦክተውበር","ኖቬምበር","ዲሴምበር",""],
+ namesAbbr: ["ጃንዩ","ፌብሩ","ማርች","ኤፕረ","ሜይ","ጁን","ጁላይ","ኦገስ","ሴፕቴ","ኦክተ","ኖቬም","ዲሴም",""]
+ },
+ AM: ["ጡዋት","ጡዋት","ጡዋት"],
+ PM: ["ከሰዓት","ከሰዓት","ከሰዓት"],
+ eras: [{"name":"ዓመተ ምሕረት","start":null,"offset":0}],
+ patterns: {
+ d: "d/M/yyyy",
+ D: "dddd '፣' MMMM d 'ቀን' yyyy",
+ f: "dddd '፣' MMMM d 'ቀን' yyyy h:mm tt",
+ F: "dddd '፣' MMMM d 'ቀን' yyyy h:mm:ss tt",
+ M: "MMMM d ቀን",
+ Y: "MMMM yyyy"
+ }
+ }
+ }
+});
+
+}( this ));
View
457 framework/web/js/source/globalize/cultures/globalize.culture.ar-AE.js
@@ -0,0 +1,457 @@
+/*
+ * Globalize Culture ar-AE
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "ar-AE", "default", {
+ name: "ar-AE",
+ englishName: "Arabic (U.A.E.)",
+ nativeName: "العربية (الإمارات العربية المتحدة)",
+ language: "ar",
+ isRTL: true,
+ numberFormat: {
+ pattern: ["n-"],
+ "NaN": "ليس برقم",
+ negativeInfinity: "-لا نهاية",
+ positiveInfinity: "+لا نهاية",
+ currency: {
+ pattern: ["$n-","$ n"],
+ symbol: "د.إ.\u200f"
+ }
+ },
+ calendars: {
+ standard: {
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],
+ namesAbbr: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ patterns: {
+ d: "dd/MM/yyyy",
+ D: "dd MMMM, yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd MMMM, yyyy hh:mm tt",
+ F: "dd MMMM, yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ }
+ },
+ UmAlQura: {
+ name: "UmAlQura",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],
+ namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"بعد الهجرة","start":null,"offset":0}],
+ twoDigitYearMax: 1451,
+ patterns: {
+ d: "dd/MM/yy",
+ D: "dd/MMMM/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd/MMMM/yyyy hh:mm tt",
+ F: "dd/MMMM/yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ },
+ convert: {
+ _yearInfo: [
+ // MonthLengthFlags, Gregorian Date
+ [746, -2198707200000],
+ [1769, -2168121600000],
+ [3794, -2137449600000],
+ [3748, -2106777600000],
+ [3402, -2076192000000],
+ [2710, -2045606400000],
+ [1334, -2015020800000],
+ [2741, -1984435200000],
+ [3498, -1953763200000],
+ [2980, -1923091200000],
+ [2889, -1892505600000],
+ [2707, -1861920000000],
+ [1323, -1831334400000],
+ [2647, -1800748800000],
+ [1206, -1770076800000],
+ [2741, -1739491200000],
+ [1450, -1708819200000],
+ [3413, -1678233600000],
+ [3370, -1647561600000],
+ [2646, -1616976000000],
+ [1198, -1586390400000],
+ [2397, -1555804800000],
+ [748, -1525132800000],
+ [1749, -1494547200000],
+ [1706, -1463875200000],
+ [1365, -1433289600000],
+ [1195, -1402704000000],
+ [2395, -1372118400000],
+ [698, -1341446400000],
+ [1397, -1310860800000],
+ [2994, -1280188800000],
+ [1892, -1249516800000],
+ [1865, -1218931200000],
+ [1621, -1188345600000],
+ [683, -1157760000000],
+ [1371, -1127174400000],
+ [2778, -1096502400000],
+ [1748, -1065830400000],
+ [3785, -1035244800000],
+ [3474, -1004572800000],
+ [3365, -973987200000],
+ [2637, -943401600000],
+ [685, -912816000000],
+ [1389, -882230400000],
+ [2922, -851558400000],
+ [2898, -820886400000],
+ [2725, -790300800000],
+ [2635, -759715200000],
+ [1175, -729129600000],
+ [2359, -698544000000],
+ [694, -667872000000],
+ [1397, -637286400000],
+ [3434, -606614400000],
+ [3410, -575942400000],
+ [2710, -545356800000],
+ [2349, -514771200000],
+ [605, -484185600000],
+ [1245, -453600000000],
+ [2778, -422928000000],
+ [1492, -392256000000],
+ [3497, -361670400000],
+ [3410, -330998400000],
+ [2730, -300412800000],
+ [1238, -269827200000],
+ [2486, -239241600000],
+ [884, -208569600000],
+ [1897, -177984000000],
+ [1874, -147312000000],
+ [1701, -116726400000],
+ [1355, -86140800000],
+ [2731, -55555200000],
+ [1370, -24883200000],
+ [2773, 5702400000],
+ [3538, 36374400000],
+ [3492, 67046400000],
+ [3401, 97632000000],
+ [2709, 128217600000],
+ [1325, 158803200000],
+ [2653, 189388800000],
+ [1370, 220060800000],
+ [2773, 250646400000],
+ [1706, 281318400000],
+ [1685, 311904000000],
+ [1323, 342489600000],
+ [2647, 373075200000],
+ [1198, 403747200000],
+ [2422, 434332800000],
+ [1388, 465004800000],
+ [2901, 495590400000],
+ [2730, 526262400000],
+ [2645, 556848000000],
+ [1197, 587433600000],
+ [2397, 618019200000],
+ [730, 648691200000],
+ [1497, 679276800000],
+ [3506, 709948800000],
+ [2980, 740620800000],
+ [2890, 771206400000],
+ [2645, 801792000000],
+ [693, 832377600000],
+ [1397, 862963200000],
+ [2922, 893635200000],
+ [3026, 924307200000],
+ [3012, 954979200000],
+ [2953, 985564800000],
+ [2709, 1016150400000],
+ [1325, 1046736000000],
+ [1453, 1077321600000],
+ [2922, 1107993600000],
+ [1748, 1138665600000],
+ [3529, 1169251200000],
+ [3474, 1199923200000],
+ [2726, 1230508800000],
+ [2390, 1261094400000],
+ [686, 1291680000000],
+ [1389, 1322265600000],
+ [874, 1352937600000],
+ [2901, 1383523200000],
+ [2730, 1414195200000],
+ [2381, 1444780800000],
+ [1181, 1475366400000],
+ [2397, 1505952000000],
+ [698, 1536624000000],
+ [1461, 1567209600000],
+ [1450, 1597881600000],
+ [3413, 1628467200000],
+ [2714, 1659139200000],
+ [2350, 1689724800000],
+ [622, 1720310400000],
+ [1373, 1750896000000],
+ [2778, 1781568000000],
+ [1748, 1812240000000],
+ [1701, 1842825600000],
+ [0, 1873411200000]
+ ],
+ minDate: -2198707200000,
+ maxDate: 1873411199999,
+ toGregorian: function(hyear, hmonth, hday) {
+ var days = hday - 1,
+ gyear = hyear - 1318;
+ if (gyear < 0 || gyear >= this._yearInfo.length) return null;
+ var info = this._yearInfo[gyear],
+ gdate = new Date(info[1]),
+ monthLength = info[0];
+ // Date's ticks in javascript are always from the GMT time,
+ // but we are interested in the gregorian date in the same timezone,
+ // not what the gregorian date was at GMT time, so we adjust for the offset.
+ gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset());
+ for (var i = 0; i < hmonth; i++) {
+ days += 29 + (monthLength & 1);
+ monthLength = monthLength >> 1;
+ }
+ gdate.setDate(gdate.getDate() + days);
+ return gdate;
+ },
+ fromGregorian: function(gdate) {
+ // Date's ticks in javascript are always from the GMT time,
+ // but we are interested in the hijri date in the same timezone,
+ // not what the hijri date was at GMT time, so we adjust for the offset.
+ var ticks = gdate - gdate.getTimezoneOffset() * 60000;
+ if (ticks < this.minDate || ticks > this.maxDate) return null;
+ var hyear = 0,
+ hmonth = 1;
+ // find the earliest gregorian date in the array that is greater than or equal to the given date
+ while (ticks > this._yearInfo[++hyear][1]) { }
+ if (ticks !== this._yearInfo[hyear][1]) {
+ hyear--;
+ }
+ var info = this._yearInfo[hyear],
+ // how many days has it been since the date we found in the array?
+ // 86400000 = ticks per day
+ days = Math.floor((ticks - info[1]) / 86400000),
+ monthLength = info[0];
+ hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N
+ // now increment day/month based on the total days, considering
+ // how many days are in each month. We cannot run past the year
+ // mark since we would have found a different array entry in that case.
+ var daysInMonth = 29 + (monthLength & 1);
+ while (days >= daysInMonth) {
+ days -= daysInMonth;
+ monthLength = monthLength >> 1;
+ daysInMonth = 29 + (monthLength & 1);
+ hmonth++;
+ }
+ // remaining days is less than is in one month, thus is the day of the month we landed on
+ // hmonth-1 because in javascript months are zero based, stay consistent with that.
+ return [hyear, hmonth - 1, days + 1];
+ }
+ }
+ },
+ Hijri: {
+ name: "Hijri",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],
+ namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"بعد الهجرة","start":null,"offset":0}],
+ twoDigitYearMax: 1451,
+ patterns: {
+ d: "dd/MM/yy",
+ D: "dd/MM/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd/MM/yyyy hh:mm tt",
+ F: "dd/MM/yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ },
+ convert: {
+ // Adapted to Script from System.Globalization.HijriCalendar
+ ticks1970: 62135596800000,
+ // number of days leading up to each month
+ monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355],
+ minDate: -42521673600000,
+ maxDate: 253402300799999,
+ // The number of days to add or subtract from the calendar to accommodate the variances
+ // in the start and the end of Ramadan and to accommodate the date difference between
+ // countries/regions. May be dynamically adjusted based on user preference, but should
+ // remain in the range of -2 to 2, inclusive.
+ hijriAdjustment: 0,
+ toGregorian: function(hyear, hmonth, hday) {
+ var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment;
+ // 86400000 = ticks per day
+ var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970);
+ // adjust for timezone, because we are interested in the gregorian date for the same timezone
+ // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base
+ // date in the current timezone.
+ gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset());
+ return gdate;
+ },
+ fromGregorian: function(gdate) {
+ if ((gdate < this.minDate) || (gdate > this.maxDate)) return null;
+ var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000,
+ daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment;
+ // very particular formula determined by someone smart, adapted from the server-side implementation.
+ // it approximates the hijri year.
+ var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1,
+ absDays = this.daysToYear(hyear),
+ daysInYear = this.isLeapYear(hyear) ? 355 : 354;
+ // hyear is just approximate, it may need adjustment up or down by 1.
+ if (daysSinceJan0101 < absDays) {
+ hyear--;
+ absDays -= daysInYear;
+ }
+ else if (daysSinceJan0101 === absDays) {
+ hyear--;
+ absDays = this.daysToYear(hyear);
+ }
+ else {
+ if (daysSinceJan0101 > (absDays + daysInYear)) {
+ absDays += daysInYear;
+ hyear++;
+ }
+ }
+ // determine month by looking at how many days into the hyear we are
+ // monthDays contains the number of days up to each month.
+ hmonth = 0;
+ var daysIntoYear = daysSinceJan0101 - absDays;
+ while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) {
+ hmonth++;
+ }
+ hmonth--;
+ hday = daysIntoYear - this.monthDays[hmonth];
+ return [hyear, hmonth, hday];
+ },
+ daysToYear: function(year) {
+ // calculates how many days since Jan 1, 0001
+ var yearsToYear30 = Math.floor((year - 1) / 30) * 30,
+ yearsInto30 = year - yearsToYear30 - 1,
+ days = Math.floor((yearsToYear30 * 10631) / 30) + 227013;
+ while (yearsInto30 > 0) {
+ days += (this.isLeapYear(yearsInto30) ? 355 : 354);
+ yearsInto30--;
+ }
+ return days;
+ },
+ isLeapYear: function(year) {
+ return ((((year * 11) + 14) % 30) < 11);
+ }
+ }
+ },
+ Gregorian_MiddleEastFrench: {
+ name: "Gregorian_MiddleEastFrench",
+ firstDay: 6,
+ days: {
+ names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],
+ namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],
+ namesShort: ["di","lu","ma","me","je","ve","sa"]
+ },
+ months: {
+ names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],
+ namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"ap. J.-C.","start":null,"offset":0}],
+ patterns: {
+ d: "MM/dd/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dddd, MMMM dd, yyyy hh:mm tt",
+ F: "dddd, MMMM dd, yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ }
+ },
+ Gregorian_Arabic: {
+ name: "Gregorian_Arabic",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],
+ namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"م","start":null,"offset":0}],
+ patterns: {
+ d: "MM/dd/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dddd, MMMM dd, yyyy hh:mm tt",
+ F: "dddd, MMMM dd, yyyy hh:mm:ss tt"
+ }
+ },
+ Gregorian_TransliteratedFrench: {
+ name: "Gregorian_TransliteratedFrench",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],
+ namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"م","start":null,"offset":0}],
+ patterns: {
+ d: "MM/dd/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dddd, MMMM dd, yyyy hh:mm tt",
+ F: "dddd, MMMM dd, yyyy hh:mm:ss tt"
+ }
+ }
+ }
+});
+
+}( this ));
View
462 framework/web/js/source/globalize/cultures/globalize.culture.ar-BH.js
@@ -0,0 +1,462 @@
+/*
+ * Globalize Culture ar-BH
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "ar-BH", "default", {
+ name: "ar-BH",
+ englishName: "Arabic (Bahrain)",
+ nativeName: "العربية (البحرين)",
+ language: "ar",
+ isRTL: true,
+ numberFormat: {
+ pattern: ["n-"],
+ decimals: 3,
+ "NaN": "ليس برقم",
+ negativeInfinity: "-لا نهاية",
+ positiveInfinity: "+لا نهاية",
+ percent: {
+ decimals: 3
+ },
+ currency: {
+ pattern: ["$n-","$ n"],
+ decimals: 3,
+ symbol: "د.ب.\u200f"
+ }
+ },
+ calendars: {
+ standard: {
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],
+ namesAbbr: ["يناير","فبراير","مارس","ابريل","مايو","يونيو","يوليو","اغسطس","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ patterns: {
+ d: "dd/MM/yyyy",
+ D: "dd MMMM, yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd MMMM, yyyy hh:mm tt",
+ F: "dd MMMM, yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ }
+ },
+ UmAlQura: {
+ name: "UmAlQura",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],
+ namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"بعد الهجرة","start":null,"offset":0}],
+ twoDigitYearMax: 1451,
+ patterns: {
+ d: "dd/MM/yy",
+ D: "dd/MMMM/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd/MMMM/yyyy hh:mm tt",
+ F: "dd/MMMM/yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ },
+ convert: {
+ _yearInfo: [
+ // MonthLengthFlags, Gregorian Date
+ [746, -2198707200000],
+ [1769, -2168121600000],
+ [3794, -2137449600000],
+ [3748, -2106777600000],
+ [3402, -2076192000000],
+ [2710, -2045606400000],
+ [1334, -2015020800000],
+ [2741, -1984435200000],
+ [3498, -1953763200000],
+ [2980, -1923091200000],
+ [2889, -1892505600000],
+ [2707, -1861920000000],
+ [1323, -1831334400000],
+ [2647, -1800748800000],
+ [1206, -1770076800000],
+ [2741, -1739491200000],
+ [1450, -1708819200000],
+ [3413, -1678233600000],
+ [3370, -1647561600000],
+ [2646, -1616976000000],
+ [1198, -1586390400000],
+ [2397, -1555804800000],
+ [748, -1525132800000],
+ [1749, -1494547200000],
+ [1706, -1463875200000],
+ [1365, -1433289600000],
+ [1195, -1402704000000],
+ [2395, -1372118400000],
+ [698, -1341446400000],
+ [1397, -1310860800000],
+ [2994, -1280188800000],
+ [1892, -1249516800000],
+ [1865, -1218931200000],
+ [1621, -1188345600000],
+ [683, -1157760000000],
+ [1371, -1127174400000],
+ [2778, -1096502400000],
+ [1748, -1065830400000],
+ [3785, -1035244800000],
+ [3474, -1004572800000],
+ [3365, -973987200000],
+ [2637, -943401600000],
+ [685, -912816000000],
+ [1389, -882230400000],
+ [2922, -851558400000],
+ [2898, -820886400000],
+ [2725, -790300800000],
+ [2635, -759715200000],
+ [1175, -729129600000],
+ [2359, -698544000000],
+ [694, -667872000000],
+ [1397, -637286400000],
+ [3434, -606614400000],
+ [3410, -575942400000],
+ [2710, -545356800000],
+ [2349, -514771200000],
+ [605, -484185600000],
+ [1245, -453600000000],
+ [2778, -422928000000],
+ [1492, -392256000000],
+ [3497, -361670400000],
+ [3410, -330998400000],
+ [2730, -300412800000],
+ [1238, -269827200000],
+ [2486, -239241600000],
+ [884, -208569600000],
+ [1897, -177984000000],
+ [1874, -147312000000],
+ [1701, -116726400000],
+ [1355, -86140800000],
+ [2731, -55555200000],
+ [1370, -24883200000],
+ [2773, 5702400000],
+ [3538, 36374400000],
+ [3492, 67046400000],
+ [3401, 97632000000],
+ [2709, 128217600000],
+ [1325, 158803200000],
+ [2653, 189388800000],
+ [1370, 220060800000],
+ [2773, 250646400000],
+ [1706, 281318400000],
+ [1685, 311904000000],
+ [1323, 342489600000],
+ [2647, 373075200000],
+ [1198, 403747200000],
+ [2422, 434332800000],
+ [1388, 465004800000],
+ [2901, 495590400000],
+ [2730, 526262400000],
+ [2645, 556848000000],
+ [1197, 587433600000],
+ [2397, 618019200000],
+ [730, 648691200000],
+ [1497, 679276800000],
+ [3506, 709948800000],
+ [2980, 740620800000],
+ [2890, 771206400000],
+ [2645, 801792000000],
+ [693, 832377600000],
+ [1397, 862963200000],
+ [2922, 893635200000],
+ [3026, 924307200000],
+ [3012, 954979200000],
+ [2953, 985564800000],
+ [2709, 1016150400000],
+ [1325, 1046736000000],
+ [1453, 1077321600000],
+ [2922, 1107993600000],
+ [1748, 1138665600000],
+ [3529, 1169251200000],
+ [3474, 1199923200000],
+ [2726, 1230508800000],
+ [2390, 1261094400000],
+ [686, 1291680000000],
+ [1389, 1322265600000],
+ [874, 1352937600000],
+ [2901, 1383523200000],
+ [2730, 1414195200000],
+ [2381, 1444780800000],
+ [1181, 1475366400000],
+ [2397, 1505952000000],
+ [698, 1536624000000],
+ [1461, 1567209600000],
+ [1450, 1597881600000],
+ [3413, 1628467200000],
+ [2714, 1659139200000],
+ [2350, 1689724800000],
+ [622, 1720310400000],
+ [1373, 1750896000000],
+ [2778, 1781568000000],
+ [1748, 1812240000000],
+ [1701, 1842825600000],
+ [0, 1873411200000]
+ ],
+ minDate: -2198707200000,
+ maxDate: 1873411199999,
+ toGregorian: function(hyear, hmonth, hday) {
+ var days = hday - 1,
+ gyear = hyear - 1318;
+ if (gyear < 0 || gyear >= this._yearInfo.length) return null;
+ var info = this._yearInfo[gyear],
+ gdate = new Date(info[1]),
+ monthLength = info[0];
+ // Date's ticks in javascript are always from the GMT time,
+ // but we are interested in the gregorian date in the same timezone,
+ // not what the gregorian date was at GMT time, so we adjust for the offset.
+ gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset());
+ for (var i = 0; i < hmonth; i++) {
+ days += 29 + (monthLength & 1);
+ monthLength = monthLength >> 1;
+ }
+ gdate.setDate(gdate.getDate() + days);
+ return gdate;
+ },
+ fromGregorian: function(gdate) {
+ // Date's ticks in javascript are always from the GMT time,
+ // but we are interested in the hijri date in the same timezone,
+ // not what the hijri date was at GMT time, so we adjust for the offset.
+ var ticks = gdate - gdate.getTimezoneOffset() * 60000;
+ if (ticks < this.minDate || ticks > this.maxDate) return null;
+ var hyear = 0,
+ hmonth = 1;
+ // find the earliest gregorian date in the array that is greater than or equal to the given date
+ while (ticks > this._yearInfo[++hyear][1]) { }
+ if (ticks !== this._yearInfo[hyear][1]) {
+ hyear--;
+ }
+ var info = this._yearInfo[hyear],
+ // how many days has it been since the date we found in the array?
+ // 86400000 = ticks per day
+ days = Math.floor((ticks - info[1]) / 86400000),
+ monthLength = info[0];
+ hyear += 1318; // the Nth array entry corresponds to hijri year 1318+N
+ // now increment day/month based on the total days, considering
+ // how many days are in each month. We cannot run past the year
+ // mark since we would have found a different array entry in that case.
+ var daysInMonth = 29 + (monthLength & 1);
+ while (days >= daysInMonth) {
+ days -= daysInMonth;
+ monthLength = monthLength >> 1;
+ daysInMonth = 29 + (monthLength & 1);
+ hmonth++;
+ }
+ // remaining days is less than is in one month, thus is the day of the month we landed on
+ // hmonth-1 because in javascript months are zero based, stay consistent with that.
+ return [hyear, hmonth - 1, days + 1];
+ }
+ }
+ },
+ Hijri: {
+ name: "Hijri",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],
+ namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"بعد الهجرة","start":null,"offset":0}],
+ twoDigitYearMax: 1451,
+ patterns: {
+ d: "dd/MM/yy",
+ D: "dd/MM/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dd/MM/yyyy hh:mm tt",
+ F: "dd/MM/yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ },
+ convert: {
+ // Adapted to Script from System.Globalization.HijriCalendar
+ ticks1970: 62135596800000,
+ // number of days leading up to each month
+ monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355],
+ minDate: -42521673600000,
+ maxDate: 253402300799999,
+ // The number of days to add or subtract from the calendar to accommodate the variances
+ // in the start and the end of Ramadan and to accommodate the date difference between
+ // countries/regions. May be dynamically adjusted based on user preference, but should
+ // remain in the range of -2 to 2, inclusive.
+ hijriAdjustment: 0,
+ toGregorian: function(hyear, hmonth, hday) {
+ var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment;
+ // 86400000 = ticks per day
+ var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970);
+ // adjust for timezone, because we are interested in the gregorian date for the same timezone
+ // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base
+ // date in the current timezone.
+ gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset());
+ return gdate;
+ },
+ fromGregorian: function(gdate) {
+ if ((gdate < this.minDate) || (gdate > this.maxDate)) return null;
+ var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000,
+ daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment;
+ // very particular formula determined by someone smart, adapted from the server-side implementation.
+ // it approximates the hijri year.
+ var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1,
+ absDays = this.daysToYear(hyear),
+ daysInYear = this.isLeapYear(hyear) ? 355 : 354;
+ // hyear is just approximate, it may need adjustment up or down by 1.
+ if (daysSinceJan0101 < absDays) {
+ hyear--;
+ absDays -= daysInYear;
+ }
+ else if (daysSinceJan0101 === absDays) {
+ hyear--;
+ absDays = this.daysToYear(hyear);
+ }
+ else {
+ if (daysSinceJan0101 > (absDays + daysInYear)) {
+ absDays += daysInYear;
+ hyear++;
+ }
+ }
+ // determine month by looking at how many days into the hyear we are
+ // monthDays contains the number of days up to each month.
+ hmonth = 0;
+ var daysIntoYear = daysSinceJan0101 - absDays;
+ while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) {
+ hmonth++;
+ }
+ hmonth--;
+ hday = daysIntoYear - this.monthDays[hmonth];
+ return [hyear, hmonth, hday];
+ },
+ daysToYear: function(year) {
+ // calculates how many days since Jan 1, 0001
+ var yearsToYear30 = Math.floor((year - 1) / 30) * 30,
+ yearsInto30 = year - yearsToYear30 - 1,
+ days = Math.floor((yearsToYear30 * 10631) / 30) + 227013;
+ while (yearsInto30 > 0) {
+ days += (this.isLeapYear(yearsInto30) ? 355 : 354);
+ yearsInto30--;
+ }
+ return days;
+ },
+ isLeapYear: function(year) {
+ return ((((year * 11) + 14) % 30) < 11);
+ }
+ }
+ },
+ Gregorian_MiddleEastFrench: {
+ name: "Gregorian_MiddleEastFrench",
+ firstDay: 6,
+ days: {
+ names: ["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],
+ namesAbbr: ["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],
+ namesShort: ["di","lu","ma","me","je","ve","sa"]
+ },
+ months: {
+ names: ["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre",""],
+ namesAbbr: ["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc.",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"ap. J.-C.","start":null,"offset":0}],
+ patterns: {
+ d: "MM/dd/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dddd, MMMM dd, yyyy hh:mm tt",
+ F: "dddd, MMMM dd, yyyy hh:mm:ss tt",
+ M: "dd MMMM"
+ }
+ },
+ Gregorian_Arabic: {
+ name: "Gregorian_Arabic",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""],
+ namesAbbr: ["كانون الثاني","شباط","آذار","نيسان","أيار","حزيران","تموز","آب","أيلول","تشرين الأول","تشرين الثاني","كانون الأول",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"م","start":null,"offset":0}],
+ patterns: {
+ d: "MM/dd/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dddd, MMMM dd, yyyy hh:mm tt",
+ F: "dddd, MMMM dd, yyyy hh:mm:ss tt"
+ }
+ },
+ Gregorian_TransliteratedFrench: {
+ name: "Gregorian_TransliteratedFrench",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""],
+ namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","اكتوبر","نوفمبر","ديسمبر",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"م","start":null,"offset":0}],
+ patterns: {
+ d: "MM/dd/yyyy",
+ t: "hh:mm tt",
+ T: "hh:mm:ss tt",
+ f: "dddd, MMMM dd, yyyy hh:mm tt",
+ F: "dddd, MMMM dd, yyyy hh:mm:ss tt"
+ }
+ }
+ }
+});
+
+}( this ));
View
458 framework/web/js/source/globalize/cultures/globalize.culture.ar-DZ.js
@@ -0,0 +1,458 @@
+/*
+ * Globalize Culture ar-DZ
+ *
+ * http://github.com/jquery/globalize
+ *
+ * Copyright Software Freedom Conservancy, Inc.
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * This file was generated by the Globalize Culture Generator
+ * Translation: bugs found in this file need to be fixed in the generator
+ */
+
+(function( window, undefined ) {
+
+var Globalize;
+
+if ( typeof require !== "undefined" &&
+ typeof exports !== "undefined" &&
+ typeof module !== "undefined" ) {
+ // Assume CommonJS
+ Globalize = require( "globalize" );
+} else {
+ // Global variable
+ Globalize = window.Globalize;
+}
+
+Globalize.addCultureInfo( "ar-DZ", "default", {
+ name: "ar-DZ",
+ englishName: "Arabic (Algeria)",
+ nativeName: "العربية (الجزائر)",
+ language: "ar",
+ isRTL: true,
+ numberFormat: {
+ pattern: ["n-"],
+ "NaN": "ليس برقم",
+ negativeInfinity: "-لا نهاية",
+ positiveInfinity: "+لا نهاية",
+ currency: {
+ pattern: ["$n-","$ n"],
+ symbol: "د.ج.\u200f"
+ }
+ },
+ calendars: {
+ standard: {
+ "/": "-",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""],
+ namesAbbr: ["جانفييه","فيفرييه","مارس","أفريل","مي","جوان","جوييه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ patterns: {
+ d: "dd-MM-yyyy",
+ D: "dd MMMM, yyyy",
+ t: "H:mm",
+ T: "H:mm:ss",
+ f: "dd MMMM, yyyy H:mm",
+ F: "dd MMMM, yyyy H:mm:ss",
+ M: "dd MMMM"
+ }
+ },
+ Hijri: {
+ name: "Hijri",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],
+ namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"بعد الهجرة","start":null,"offset":0}],
+ twoDigitYearMax: 1451,
+ patterns: {
+ d: "dd/MM/yy",
+ D: "dd/MM/yyyy",
+ t: "H:mm",
+ T: "H:mm:ss",
+ f: "dd/MM/yyyy H:mm",
+ F: "dd/MM/yyyy H:mm:ss",
+ M: "dd MMMM"
+ },
+ convert: {
+ // Adapted to Script from System.Globalization.HijriCalendar
+ ticks1970: 62135596800000,
+ // number of days leading up to each month
+ monthDays: [0, 30, 59, 89, 118, 148, 177, 207, 236, 266, 295, 325, 355],
+ minDate: -42521673600000,
+ maxDate: 253402300799999,
+ // The number of days to add or subtract from the calendar to accommodate the variances
+ // in the start and the end of Ramadan and to accommodate the date difference between
+ // countries/regions. May be dynamically adjusted based on user preference, but should
+ // remain in the range of -2 to 2, inclusive.
+ hijriAdjustment: 0,
+ toGregorian: function(hyear, hmonth, hday) {
+ var daysSinceJan0101 = this.daysToYear(hyear) + this.monthDays[hmonth] + hday - 1 - this.hijriAdjustment;
+ // 86400000 = ticks per day
+ var gdate = new Date(daysSinceJan0101 * 86400000 - this.ticks1970);
+ // adjust for timezone, because we are interested in the gregorian date for the same timezone
+ // but ticks in javascript is always from GMT, unlike the server were ticks counts from the base
+ // date in the current timezone.
+ gdate.setMinutes(gdate.getMinutes() + gdate.getTimezoneOffset());
+ return gdate;
+ },
+ fromGregorian: function(gdate) {
+ if ((gdate < this.minDate) || (gdate > this.maxDate)) return null;
+ var ticks = this.ticks1970 + (gdate-0) - gdate.getTimezoneOffset() * 60000,
+ daysSinceJan0101 = Math.floor(ticks / 86400000) + 1 + this.hijriAdjustment;
+ // very particular formula determined by someone smart, adapted from the server-side implementation.
+ // it approximates the hijri year.
+ var hday, hmonth, hyear = Math.floor(((daysSinceJan0101 - 227013) * 30) / 10631) + 1,
+ absDays = this.daysToYear(hyear),
+ daysInYear = this.isLeapYear(hyear) ? 355 : 354;
+ // hyear is just approximate, it may need adjustment up or down by 1.
+ if (daysSinceJan0101 < absDays) {
+ hyear--;
+ absDays -= daysInYear;
+ }
+ else if (daysSinceJan0101 === absDays) {
+ hyear--;
+ absDays = this.daysToYear(hyear);
+ }
+ else {
+ if (daysSinceJan0101 > (absDays + daysInYear)) {
+ absDays += daysInYear;
+ hyear++;
+ }
+ }
+ // determine month by looking at how many days into the hyear we are
+ // monthDays contains the number of days up to each month.
+ hmonth = 0;
+ var daysIntoYear = daysSinceJan0101 - absDays;
+ while (hmonth <= 11 && daysIntoYear > this.monthDays[hmonth]) {
+ hmonth++;
+ }
+ hmonth--;
+ hday = daysIntoYear - this.monthDays[hmonth];
+ return [hyear, hmonth, hday];
+ },
+ daysToYear: function(year) {
+ // calculates how many days since Jan 1, 0001
+ var yearsToYear30 = Math.floor((year - 1) / 30) * 30,
+ yearsInto30 = year - yearsToYear30 - 1,
+ days = Math.floor((yearsToYear30 * 10631) / 30) + 227013;
+ while (yearsInto30 > 0) {
+ days += (this.isLeapYear(yearsInto30) ? 355 : 354);
+ yearsInto30--;
+ }
+ return days;
+ },
+ isLeapYear: function(year) {
+ return ((((year * 11) + 14) % 30) < 11);
+ }
+ }
+ },
+ UmAlQura: {
+ name: "UmAlQura",
+ firstDay: 6,
+ days: {
+ names: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesAbbr: ["الأحد","الإثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"],
+ namesShort: ["ح","ن","ث","ر","خ","ج","س"]
+ },
+ months: {
+ names: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""],
+ namesAbbr: ["محرم","صفر","ربيع الأول","ربيع الثاني","جمادى الأولى","جمادى الثانية","رجب","شعبان","رمضان","شوال","ذو القعدة","ذو الحجة",""]
+ },
+ AM: ["ص","ص","ص"],
+ PM: ["م","م","م"],
+ eras: [{"name":"بعد الهجرة","start":null,"offset":0}],
+ twoDigitYearMax: 1451,
+ patterns: {
+ d: "dd/MM/yy",
+ D: "dd/MMMM/yyyy",
+ t: "H:mm",
+ T: "H:mm:ss",
+ f: "dd/MMMM/yyyy H:mm",
+ F: "dd/MMMM/yyyy H:mm:ss",
+ M: "dd MMMM"
+ },
+ convert: {
+ _yearInfo: [
+ // MonthLengthFlags, Gregorian Date
+ [746, -2198707200000],
+ [1769, -2168121600000],
+ [3794, -2137449600000],
+ [3748, -2106777600000],
+ [3402, -2076192000000],
+ [2710, -2045606400000],
+ [1334, -2015020800000],
+ [2741, -1984435200000],
+ [3498, -1953763200000],
+ [2980, -1923091200000],
+ [2889, -1892505600000],
+ [2707, -1861920000000],
+ [1323, -1831334400000],
+ [2647, -1800748800000],
+ [1206, -1770076800000],
+ [2741, -1739491200000],
+ [1450, -1708819200000],
+ [3413, -1678233600000],
+ [3370, -1647561600000],
+ [2646, -1616976000000],
+ [1198, -1586390400000],
+ [2397, -1555804800000],
+ [748, -1525132800000],
+ [1749, -1494547200000],
+ [1706, -1463875200000],
+ [1365, -1433289600000],
+ [1195, -1402704000000],
+ [2395, -1372118400000],
+ [698, -1341446400000],
+ [1397, -1310860800000],
+ [2994, -1280188800000],
+ [1892, -1249516800000],
+ [1865, -1218931200000],
+ [1621, -1188345600000],
+ [683, -1157760000000],
+ [1371, -1127174400000],
+ [2778, -1096502400000],
+ [1748, -1065830400000],
+ [3785, -1035244800000],
+ [3474, -1004572800000],
+ [3365, -973987200000],
+ [2637, -943401600000],
+ [685, -912816000000],
+ [1389, -882230400000],
+ [2922, -851558400000],
+ [2898, -820886400000],
+ [2725, -790300800000],
+ [2635, -759715200000],
+ [1175, -729129600000],
+ [2359, -698544000000],