en_US.js 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. Date.dayNames = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday',
  2. 'Friday', 'Saturday'];
  3. Date.monthNames = ['January', 'February', 'March', 'April', 'May', 'June',
  4. 'July', 'August', 'September', 'October', 'November', 'December'];
  5. Date.monthNumbers = {
  6. 'Jan' : 0,
  7. 'Feb' : 1,
  8. 'Mar' : 2,
  9. 'Apr' : 3,
  10. 'May' : 4,
  11. 'Jun' : 5,
  12. 'Jul' : 6,
  13. 'Aug' : 7,
  14. 'Sep' : 8,
  15. 'Oct' : 9,
  16. 'Nov' : 10,
  17. 'Dec' : 11
  18. };
  19. Date.getShortMonthName = function(month) {
  20. return Date.monthNames[month].substring(0, 3);
  21. };
  22. Date.getShortDayName = function(day) {
  23. return Date.dayNames[day].substring(0, 3);
  24. };
  25. Date.getMonthNumber = function(name) {
  26. return Date.monthNumbers[name.substring(0, 1).toUpperCase()
  27. + name.substring(1, 3).toLowerCase()];
  28. };
  29. // Date.parseCodes.S.s = '(?:st|nd|rd|th)';
  30. if (Ext.picker.Picker) {
  31. Ext.override(Ext.picker.Picker, {
  32. doneText : 'Done'
  33. });
  34. }
  35. /**
  36. * 处理选择汉化
  37. *
  38. * @type
  39. */
  40. var defaultPhonePickerConfig = {
  41. doneButton : 'done',
  42. cancelButton : 'cancel'
  43. };
  44. if (Ext.picker.Date) {
  45. Ext.override(Ext.picker.Date, {
  46. 'dayText' : 'Day',
  47. 'monthText' : 'Month',
  48. 'yearText' : 'Year',
  49. 'slotOrder' : ['month', 'day', 'year']
  50. });
  51. }
  52. if (Ext.IndexBar) {
  53. Ext.override(Ext.IndexBar, {
  54. 'letters' : ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',
  55. 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U',
  56. 'V', 'W', 'X', 'Y', 'Z']
  57. });
  58. }
  59. if (Ext.NestedList) {
  60. Ext.override(Ext.NestedList, {
  61. 'backText' : 'Back',
  62. 'loadingText' : 'Loading...',
  63. 'emptyText' : 'No items available.'
  64. });
  65. }
  66. if (Ext.util.Format) {
  67. Ext.util.Format.defaultDateFormat = 'm/d/Y';
  68. }
  69. if (Ext.MessageBox) {
  70. Ext.MessageBox.OK.text = 'OK';
  71. Ext.MessageBox.CANCEL.text = 'Cancel';
  72. Ext.MessageBox.YES.text = 'Yes';
  73. Ext.MessageBox.NO.text = 'No';
  74. Ext.MessageBox.OKCANCEL = [{
  75. text : 'Cancel',
  76. itemId : 'cancel'
  77. }, {
  78. text : 'OK',
  79. itemId : 'ok',
  80. ui : 'action'
  81. }];
  82. Ext.MessageBox.YESNO = [{
  83. text : 'NO',
  84. itemId : 'no'
  85. }, {
  86. text : 'Yes',
  87. itemId : 'yes',
  88. ui : 'action'
  89. }]
  90. }
  91. var __lang = 'en_US';
  92. // System International
  93. Ext.ns('lang');
  94. lang = {
  95. unsupported : "Your current browser does not support this website. \n \n Supporting browser: \n",
  96. defaultBackButtonText : 'Back',
  97. switchLang : 'Switch languages',
  98. operate : {
  99. msgTip : 'Attention',
  100. searchPlaceHolder : 'Search ...',
  101. button : {
  102. cancel : 'Cancel',
  103. save : 'Save',
  104. ok : 'OK',
  105. clean : 'Clear'
  106. }
  107. },
  108. tip : {
  109. loadingText : 'Loading ......',
  110. noRecords : 'No Result',
  111. pullRefreshText : 'Pull down to refresh...',
  112. releaseRefreshText : 'Release to refresh...',
  113. loading : 'Loading……',
  114. loadMoreText : 'Load More ......',
  115. lastUpdatedText : 'Last Updated:',
  116. noMoreRecordsText : 'No More Records',
  117. waitMsg : 'Submitting data…',
  118. successMsg : 'Information saved successfully!',
  119. failureMsg : 'Information could not be saved , please contact the administrator!'
  120. },
  121. response : {
  122. timeout : 'Request timeout, please login again!',
  123. accessRight : 'System access notification',
  124. notRight : 'You currently have no access: {0}',
  125. error : 'Error, please contact the administrator!'
  126. },
  127. system : {
  128. title : 'BPM X3业务管理移动平台',
  129. menu : 'Function Menu'
  130. },
  131. login : {
  132. username : 'Account',
  133. password : 'Password',
  134. login : 'Login',
  135. reset : 'Reset'
  136. },
  137. logout:{
  138. text: "Exit",
  139. tip: "Are you sure you want to exit?"
  140. },
  141. menus : {
  142. pendingMatters : 'Pending',
  143. alreadyMatters : 'Handled',
  144. completedMatters : 'Completed',
  145. taskExe : 'Transferred/Delegated',
  146. newProcess : 'New Workflow',
  147. myDraftList : 'My Draft',
  148. myRequest : 'My Request',
  149. myCompleted : 'My Completed',
  150. myStartTask : 'My Initiated Task',
  151. myUndertakeTask : 'My Task'
  152. },
  153. tableForm : {
  154. option : 'Opionions',
  155. feedback : 'Feedback',
  156. cancelAgency : 'Cancel proxy',
  157. cancelTransmitting : 'Cancel transfer',
  158. tableDetail : 'Form Details',
  159. flowTable : 'Form',
  160. userImage : 'Flowchart',
  161. taskOpinions : 'History',
  162. button : {
  163. directComlete : 'End immediately',
  164. agree : 'Approve',
  165. notAgree : 'Object',
  166. abandon : 'Abstain',
  167. retoactive : 'Supplementary signature',
  168. saveForm : 'Save',
  169. changeAssignee : 'Transfer',
  170. reject : 'Reject',
  171. rejectToStart : 'Reject and return to initiator',
  172. communication : 'Communicate',
  173. recover : 'Cancel',
  174. urge : 'Urge',
  175. reSubmit : 'Re-submit',
  176. del : 'Delete',
  177. copy : 'Copy',
  178. divert : 'Forward',
  179. copyUser : 'Cc'
  180. },
  181. msg : {
  182. execute : 'Task execution successful!',
  183. reject : 'Task rejection successful!',
  184. rejectToStart : 'Reject and return to initiator successful!',
  185. option : 'Please fill opinions!'
  186. },
  187. retoactive : {
  188. title : 'Supplementary signature',
  189. signUserIds : 'Supplementary signer ID',
  190. signFullnames : 'Supplementary signer',
  191. button : 'Supplementary signature',
  192. msg : 'Please choose the supplementary signer!'
  193. },
  194. changeAssignee : {
  195. title : 'Transfer',
  196. assigneeId : 'Transferee ID',
  197. assigneeName : 'Transferee ',
  198. memo : 'Reason',
  199. msg : {
  200. assigneeName : 'Please choose the transferee!',
  201. memo : 'Please write your reason for transfer!'
  202. }
  203. },
  204. communication : {
  205. title : 'Communicate',
  206. cmpIds : "Contact person' s ID",
  207. cmpNames : 'Contact person ',
  208. opinion : 'Contents',
  209. msg : {
  210. assigneeName : 'Please choose the contact person!',
  211. opinion : 'Please write the contents!'
  212. }
  213. },
  214. toTaskNotify : {
  215. title : 'Communicate & Feedback',
  216. msg : 'Please write the suggestions from communication and feedbacks!'
  217. },
  218. cancelTaskExe : {
  219. msg : 'Please write the reason!'
  220. },
  221. copyUser : {
  222. title : 'Cc',
  223. readed : 'Read',
  224. noReaded : 'Unread',
  225. copyTo : 'Cc',
  226. divert : 'Forward',
  227. ccUname : 'Recipient',
  228. posName : 'Job position',
  229. orgName : 'Department',
  230. isReaded : 'Read/Unread',
  231. ccTime : 'Time received',
  232. cpType : 'Type'
  233. }
  234. },
  235. grade : {
  236. high : 'High',
  237. middle : 'Medium',
  238. low : 'Low'
  239. },
  240. taskState : {
  241. notStarted : 'Not started',
  242. inProgress : 'In process',
  243. discontinued : 'Terminated',
  244. completed : 'Completed',
  245. rated : 'Evaluated'
  246. },
  247. taskExe : {
  248. status : {
  249. init : 'Default setting',
  250. completed : 'Complete task',
  251. cancelAgency : 'Cancel proxy',
  252. cancelTransmitting : 'Cancel Transmitting',
  253. otherCompleted : 'Completed by others'
  254. }
  255. },
  256. taskOpinions : {
  257. title : 'Approval History',
  258. emptyText : 'No histroy record.',
  259. opinion : 'Suggestions',
  260. status : 'Status',
  261. receiver : 'Receiver',
  262. startTime : 'Start time',
  263. exeFullname : 'Executor'
  264. },
  265. userImage : {
  266. init : 'Not executed',
  267. agree : 'Approve',
  268. abandon : 'Abstain',
  269. curNode : 'Current node',
  270. notAgree : 'Object',
  271. reject : 'Reject',
  272. recover : 'Cancel',
  273. signPassed : 'Countersignature approved',
  274. signNotPassed : 'Countersignature not approved',
  275. endProcess : 'Terminate manually ',
  276. nodeName : 'Name of node',
  277. nodeTitle : 'Node details',
  278. task : {
  279. title : 'Task status',
  280. taskName : 'Task Name',
  281. exeFullname : 'Executor',
  282. candidateUser : 'Candidate',
  283. startTime : 'Start time',
  284. endTime : 'End time',
  285. durTime : 'Duration',
  286. status : 'Status',
  287. opinion : 'Suggestions'
  288. },
  289. subFlow : {
  290. title : 'Sub-workflow'
  291. }
  292. },
  293. receiver : {
  294. noRecords : 'No receiver record',
  295. receivername : 'Receiver',
  296. statu : 'Status',
  297. status : {
  298. init : 'Default',
  299. read : 'Read',
  300. communication : 'Communicated'
  301. },
  302. createtime : 'Time created ',
  303. receivetime : 'Time received ',
  304. feedbacktime : 'Feedback time',
  305. title : 'receiver'
  306. },
  307. taskStatus : {
  308. pending : 'Pending',
  309. transmitting : 'Transfer',
  310. communication : 'Communicate',
  311. recover : 'Cancel',
  312. reject : 'Reject',
  313. rejectToStart : 'Reject and return to the initiator',
  314. cancelAgency : 'Cancel proxy',
  315. agency : 'Proxy',
  316. cancelTransmitting : 'Cancel transfer'
  317. },
  318. processStatus : {
  319. suspend : 'Suspended',
  320. running : 'Waiting for approval',
  321. finish : 'Archived',
  322. manualFinish : 'Terminated',
  323. recover : 'Canceled',
  324. reject : 'Rejected',
  325. recoverToStart : 'Cancelled by the initiator',
  326. rejectToStart : 'Reject and return to the initiator',
  327. transmitting : 'Transfer',
  328. agency : 'Proxy',
  329. del : 'Logical deletion',
  330. restartTask: 'Restart task'
  331. },
  332. assignType : {
  333. agency : 'Proxy',
  334. transmitting : 'Transfer'
  335. },
  336. tasTaskForm : {
  337. toolbar : {
  338. done : 'Terminate',
  339. deal : 'Handle',
  340. dialogue : 'Conversation',
  341. comment : 'Evaluate',
  342. queryComment : 'View evaluation'
  343. },
  344. title : 'Task details',
  345. taskname : 'Task name',
  346. grade : 'Priority level',
  347. fiveelementName : 'Five elements Grade',
  348. startUser : 'Initiator',
  349. handleuser : 'Handler',
  350. superviseuser : 'Supervisor',
  351. planstarttime : 'Estimated start time',
  352. planendtime : 'Estimated completion time',
  353. factstarttime : 'Actual start time',
  354. factendtime : 'Actual completion time',
  355. warningtime : 'Reminder time',
  356. attachment : 'Attachment',
  357. stopidea : 'Reason for termination ',
  358. taskDoneIdea : 'Opinion upon completion',
  359. taskdesc : 'Contents',
  360. createName : 'creator',
  361. createtime : 'Time created ',
  362. occupy : "The task had already been undertaken by others!",
  363. done : {
  364. tip : {
  365. discontinued : "The task had already been terminated and cannot be terminated again!",
  366. completed : "The task had already been completed and cannot be terminated!",
  367. comment : "The task had already been evaluated and cannot be terminated!"
  368. },
  369. title : 'Terminated task',
  370. stopidea : 'Reasons for termination',
  371. done : 'Terminate',
  372. inputStopidea : 'Please write the reasons for termination!',
  373. confirm : 'Are you sure you want to terminate it?',
  374. success : 'Termination successful!'
  375. },
  376. deal : {
  377. tip : {
  378. discontinued : "The task had already been terminated and cannot be completed!",
  379. completed : "The task had already been completed!",
  380. comment : 'The task had already been evaluated and cannot be completed!'
  381. },
  382. title : 'Task handled',
  383. taskDoneIdea : 'Opinions upon completion',
  384. deal : 'Completed',
  385. inputTaskDoneIdea : 'Please write your opinions upon completion!',
  386. confirm : 'Are you sure you want to complete the task?',
  387. success : 'Task completion successful!'
  388. },
  389. dialogue : {
  390. tip : {
  391. discontinued : "The task had already been terminated, unable to leave comments!",
  392. completed : "The task had already been completed, unable to leave comments!",
  393. comment : "The task had already been evaluated, unable to leave comments!"
  394. }
  395. },
  396. comment : {
  397. tip : {
  398. discontinued : "The task had already been terminated, unable to evaluated!",
  399. comment : "The task had already been evaluated!"
  400. },
  401. title : 'Evaluated task',
  402. grade : 'Grade',
  403. content : 'Suggestions',
  404. inputGrade : 'Please grade!',
  405. inputContent : 'Please write the suggestions',
  406. confirm : 'Are you sure evaluation? ',
  407. success : 'Evaluation successful!'
  408. },
  409. queryComment : {
  410. tip : {
  411. noComment : "Task not evaluated!"
  412. },
  413. message : 'No evaluation record!',
  414. title : 'View evaluation',
  415. grade : 'Grade',
  416. content : 'Suggestions ',
  417. commentDate : 'Time of evaluation'
  418. }
  419. },
  420. tasTaskDialogue : {
  421. startUser : 'Initiator',
  422. handleUser : 'Handler',
  423. title : 'Conversation',
  424. conoUser : 'Commentator',
  425. sendMessage : 'Send message',
  426. inputMessage : 'Please enter the message!',
  427. inputSelectUser : 'Please choose the sender!',
  428. inputOwerMessage : 'You cannot send message to yourself'
  429. }
  430. }