/source/Plug-in/ext/build/locale/ext-lang-fa.js

http://prosporous.googlecode.com/ · JavaScript · 266 lines · 239 code · 22 blank · 5 comment · 22 complexity · 4c8b60522e18295c04a5c577977d1e0a MD5 · raw file

  1. /*
  2. * Farsi (Persian) translation
  3. * By Mohaqa
  4. * 03-10-2007, 06:23 PM
  5. */
  6. Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">?? ??? ???????? ...</div>';
  7. if(Ext.View){
  8. Ext.View.prototype.emptyText = "";
  9. }
  10. if(Ext.grid.GridPanel){
  11. Ext.grid.GridPanel.prototype.ddText = "{0} ????? ?????? ???";
  12. }
  13. if(Ext.TabPanelItem){
  14. Ext.TabPanelItem.prototype.closeText = "????";
  15. }
  16. if(Ext.form.Field){
  17. Ext.form.Field.prototype.invalidText = "????? ???? ???? ????";
  18. }
  19. if(Ext.LoadMask){
  20. Ext.LoadMask.prototype.msg = "?? ??? ???????? ...";
  21. }
  22. Date.monthNames = [
  23. "??????",
  24. "?????",
  25. "????",
  26. "?????",
  27. "??",
  28. "????",
  29. "?????",
  30. "?????",
  31. "???????",
  32. "?????",
  33. "??????",
  34. "??????"
  35. ];
  36. Date.monthNumbers = {
  37. Jan : 0,
  38. Feb : 1,
  39. Mar : 2,
  40. Apr : 3,
  41. May : 4,
  42. Jun : 5,
  43. Jul : 6,
  44. Aug : 7,
  45. Sep : 8,
  46. Oct : 9,
  47. Nov : 10,
  48. Dec : 11
  49. };
  50. Date.dayNames = [
  51. "??????",
  52. "??????",
  53. "?? ????",
  54. "????????",
  55. "???????",
  56. "????",
  57. "????"
  58. ];
  59. if(Ext.MessageBox){
  60. Ext.MessageBox.buttonText = {
  61. ok : "?????",
  62. cancel : "??????",
  63. yes : "???",
  64. no : "???"
  65. };
  66. }
  67. if(Ext.util.Format){
  68. Ext.util.Format.date = function(v, format){
  69. if(!v) return "";
  70. if(!(v instanceof Date)) v = new Date(Date.parse(v));
  71. return v.dateFormat(format || "Y/m/d");
  72. };
  73. }
  74. if(Ext.DatePicker){
  75. Ext.apply(Ext.DatePicker.prototype, {
  76. todayText : "?????",
  77. minText : "??? ????? ??? ?? ?????? ???? ???",
  78. maxText : "??? ????? ?? ?? ?????? ???? ???",
  79. disabledDaysText : "",
  80. disabledDatesText : "",
  81. monthNames : Date.monthNames,
  82. dayNames : Date.dayNames,
  83. nextText : '??? ??? (Control + Right)',
  84. prevText : '??? ??? (Control+Left)',
  85. monthYearText : '?? ??? ?? ?????? ???? (Control+Up/Down ???? ?????? ?? ???)',
  86. todayTip : "{0} (Spacebar)",
  87. format : "y/m/d",
  88. okText : "&#160;OK&#160;",
  89. cancelText : "Cancel",
  90. startDay : 0
  91. });
  92. }
  93. if(Ext.PagingToolbar){
  94. Ext.apply(Ext.PagingToolbar.prototype, {
  95. beforePageText : "????",
  96. afterPageText : "?? {0}",
  97. firstText : "???? ???",
  98. prevText : "???? ???",
  99. nextText : "???? ???",
  100. lastText : "???? ???",
  101. refreshText : "????????",
  102. displayMsg : "????? {0} - {1} of {2}",
  103. emptyMsg : '???? ?? ???? ????? ???? ?????'
  104. });
  105. }
  106. if(Ext.form.TextField){
  107. Ext.apply(Ext.form.TextField.prototype, {
  108. minLengthText : "????? ??? ??? ???? ????? ??? ?? {0}",
  109. maxLengthText : "?????? ??? ??? ???? ????? ??? ?? {0}",
  110. blankText : "??? ???? ???? ?????? ????? ????",
  111. regexText : "",
  112. emptyText : null
  113. });
  114. }
  115. if(Ext.form.NumberField){
  116. Ext.apply(Ext.form.NumberField.prototype, {
  117. minText : "????? ????? ??? ???? ????? ??? ?? {0}",
  118. maxText : "?????? ????? ??? ???? ????? ??? ?? {0}",
  119. nanText : "{0} ?? ??? ????"
  120. });
  121. }
  122. if(Ext.form.DateField){
  123. Ext.apply(Ext.form.DateField.prototype, {
  124. disabledDaysText : "???????",
  125. disabledDatesText : "???????",
  126. minText : "????? ???? ?? ?? {0} ????",
  127. maxText : "????? ???? ?? ?? {0} ????",
  128. invalidText : "{0} ????? ????? ???? - ???? ???? {1}",
  129. format : "y/m/d"
  130. });
  131. }
  132. if(Ext.form.ComboBox){
  133. Ext.apply(Ext.form.ComboBox.prototype, {
  134. loadingText : "?? ??? ???????? ...",
  135. valueNotFoundText : undefined
  136. });
  137. }
  138. if(Ext.form.VTypes){
  139. Ext.apply(Ext.form.VTypes, {
  140. emailText : '????? ??? ???? ???? ?? ????? ?? ??? ???? ???? "user@domain.com"',
  141. urlText : '????? ??? ???? ???? ?? ???? ???? ?? ??? ???? ???? "http:/'+'/www.domain.com"',
  142. alphaText : '????? ??? ???? ???? ??? ?? ???? ????? ? _ ????? ??? ???? ',
  143. alphanumText : '????? ??? ???? ???? ??? ?? ???? ?????? ????? ? _ ????? ??? ????'
  144. });
  145. }
  146. if(Ext.form.HtmlEditor){
  147. Ext.apply(Ext.form.HtmlEditor.prototype, {
  148. createLinkText : '???? ???? ???? ?? ???? ????:',
  149. buttonTips : {
  150. bold : {
  151. title: '???? (Ctrl+B)',
  152. text: '??? ?????? ??? ?? ???? ?? ???.',
  153. cls: 'x-html-editor-tip'
  154. },
  155. italic : {
  156. title: '??????? (Ctrl+I)',
  157. text: '??? ?????? ??? ?? ??????? ?? ???.',
  158. cls: 'x-html-editor-tip'
  159. },
  160. underline : {
  161. title: '????? (Ctrl+U)',
  162. text: '??? ?? ????? ?? ?? ????? ?? ???.',
  163. cls: 'x-html-editor-tip'
  164. },
  165. increasefontsize : {
  166. title: '?????? ??????',
  167. text: '?????? ???? ?? ?????? ?? ???.',
  168. cls: 'x-html-editor-tip'
  169. },
  170. decreasefontsize : {
  171. title: '???? ??????',
  172. text: '?????? ??? ?? ???? ?? ???.',
  173. cls: 'x-html-editor-tip'
  174. },
  175. backcolor : {
  176. title: '??? ????? ???',
  177. text: '???? ????? ??? ????? ??? ??????? ?? ???.',
  178. cls: 'x-html-editor-tip'
  179. },
  180. forecolor : {
  181. title: '??? ???',
  182. text: '??? ??? ??? ?? ????? ?? ???.',
  183. cls: 'x-html-editor-tip'
  184. },
  185. justifyleft : {
  186. title: '???? ??? ?? ??? ??',
  187. text: '??? ?? ??? ?? ???? ??? ?? ???.',
  188. cls: 'x-html-editor-tip'
  189. },
  190. justifycenter : {
  191. title: '??? ?? ??? ',
  192. text: '????? ??? ?? ???? ??? ???? ? ????? ??? ?? ? ????.',
  193. cls: 'x-html-editor-tip'
  194. },
  195. justifyright : {
  196. title: '???? ??? ?? ??? ????',
  197. text: '??? ?? ??? ???? ???? ????? ??.',
  198. cls: 'x-html-editor-tip'
  199. },
  200. insertunorderedlist : {
  201. title: '???? ????? ?? ?????',
  202. text: '?? ???? ???? ????? ?? ???.',
  203. cls: 'x-html-editor-tip'
  204. },
  205. insertorderedlist : {
  206. title: '???? ????',
  207. text: '?? ???? ???? ????? ?? ???. ',
  208. cls: 'x-html-editor-tip'
  209. },
  210. createlink : {
  211. title: '????',
  212. text: '??? ?????? ??? ?? ?? ???? ????? ????.',
  213. cls: 'x-html-editor-tip'
  214. },
  215. sourceedit : {
  216. title: '?????? ????',
  217. text: '???? ?? ???? ?????? ????.',
  218. cls: 'x-html-editor-tip'
  219. }
  220. }
  221. });
  222. }
  223. if(Ext.grid.GridView){
  224. Ext.apply(Ext.grid.GridView.prototype, {
  225. sortAscText : "???? ???? ???????",
  226. sortDescText : "???? ???? ?????",
  227. lockText : "??? ???? ??",
  228. unlockText : "??????? ???? ??",
  229. columnsText : "???? ??"
  230. });
  231. }
  232. if(Ext.grid.PropertyColumnModel){
  233. Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
  234. nameText : "???",
  235. valueText : "?????",
  236. dateFormat : "Y/m/d"
  237. });
  238. }
  239. if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
  240. Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
  241. splitTip : "??? ???? ????? ??????.",
  242. collapsibleSplitTip : "???? ????? ?????? ??? ????."
  243. });
  244. }