en.php 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. <?php
  2. global $config;
  3. $lang->workflow->common = 'Workflow Flow';
  4. $lang->workflow->browseFlow = 'View Flow';
  5. $lang->workflow->browseDB = 'View DB';
  6. $lang->workflow->create = 'Create Flow';
  7. $lang->workflow->copy = 'Copy Flow';
  8. $lang->workflow->edit = 'Edit Flow';
  9. $lang->workflow->view = 'View Flow';
  10. $lang->workflow->delete = 'Delete Flow';
  11. $lang->workflow->fullTextSearch = 'Full-Text Retrieval';
  12. $lang->workflow->buildIndex = 'Build Index';
  13. $lang->workflow->custom = 'Custom';
  14. $lang->workflow->setApproval = 'Set Approval';
  15. $lang->workflow->setJS = 'JS';
  16. $lang->workflow->setCSS = 'CSS';
  17. $lang->workflow->backup = 'Backup Flow';
  18. $lang->workflow->upgrade = 'Upgrade Flow';
  19. $lang->workflow->upgradeAction = 'Upgrade Flow';
  20. $lang->workflow->preview = 'Preview';
  21. $lang->workflow->design = 'Design';
  22. $lang->workflow->release = 'Release';
  23. $lang->workflow->syncRelease = 'Synchronize Release';
  24. $lang->workflow->deactivate = 'Disable';
  25. $lang->workflow->activate = 'Enable';
  26. $lang->workflow->createApp = 'New';
  27. $lang->workflow->cover = 'Cover';
  28. $lang->workflow->approval = 'Approval';
  29. $lang->workflow->delimiter = ',';
  30. $lang->workflow->belong = 'Specific';
  31. $lang->workflow->setFulltextSearch = 'Full-Text Retrieval';
  32. $lang->workflow->id = 'ID';
  33. $lang->workflow->parent = 'Prev';
  34. $lang->workflow->type = 'Type';
  35. $lang->workflow->app = 'App';
  36. $lang->workflow->position = 'Location';
  37. $lang->workflow->module = 'Module';
  38. $lang->workflow->table = 'Table';
  39. $lang->workflow->name = 'Name';
  40. $lang->workflow->icon = 'Icon';
  41. $lang->workflow->titleField = 'Title Field';
  42. $lang->workflow->contentField = 'Content Fields';
  43. $lang->workflow->ui = 'UI';
  44. $lang->workflow->js = 'JS';
  45. $lang->workflow->css = 'CSS';
  46. $lang->workflow->order = 'Order';
  47. $lang->workflow->buildin = 'Built-in';
  48. $lang->workflow->administrator = 'White List';
  49. $lang->workflow->desc = 'Description';
  50. $lang->workflow->version = 'Version';
  51. $lang->workflow->status = 'Status';
  52. $lang->workflow->createdBy = 'Created By';
  53. $lang->workflow->createdDate = 'Created';
  54. $lang->workflow->editedBy = 'Edited By';
  55. $lang->workflow->editedDate = 'Edited';
  56. $lang->workflow->currentTime = 'Current Time';
  57. $lang->workflow->actionFlowWidth = 210;
  58. $lang->workflow->copyFlow = 'Copy';
  59. $lang->workflow->source = 'Source Flow';
  60. $lang->workflow->field = 'Field';
  61. $lang->workflow->action = 'Action';
  62. $lang->workflow->label = 'Label';
  63. $lang->workflow->mainTable = 'Main Table';
  64. $lang->workflow->subTable = 'Sub Table';
  65. $lang->workflow->relation = 'Relation';
  66. $lang->workflow->report = 'Report';
  67. $lang->workflow->export = 'Export';
  68. $lang->workflow->subTableSettings = 'Settings';
  69. $lang->workflow->flowchart = 'Flowchart';
  70. $lang->workflow->quoteDB = 'Use other template sub tables';
  71. $lang->workflow->statusList['wait'] = 'Wait';
  72. $lang->workflow->statusList['normal'] = 'Normal';
  73. $lang->workflow->statusList['pause'] = 'Pause';
  74. $lang->workflow->syncReleaseList['self'] = 'Only Release';
  75. $lang->workflow->syncReleaseList['default'] = 'Release and Synchronize in Default Template';
  76. $lang->workflow->syncReleaseList['all'] = 'Release and Synchronize in All Templates';
  77. $lang->workflow->activateList['all'] = 'All Enable';
  78. $lang->workflow->activateList['single'] = 'Single Enable';
  79. $lang->workflow->releaseList['all'] = 'All Release';
  80. $lang->workflow->releaseList['single'] = 'Single Release';
  81. $lang->workflow->positionList['before'] = 'Before';
  82. $lang->workflow->positionList['after'] = 'After';
  83. $lang->workflow->belongList['program'] = 'Program';
  84. $lang->workflow->belongList['product'] = $lang->productCommon;
  85. $lang->workflow->belongList['project'] = $lang->projectCommon;
  86. $lang->workflow->belongList['execution'] = $lang->executionCommon;
  87. if($config->vision == 'lite') unset($lang->workflow->belongList['project']);
  88. if($config->systemMode == 'light') unset($lang->workflow->belongList['program']);
  89. if($config->vision == 'or')
  90. {
  91. $lang->workflow->belongList = array();
  92. $lang->workflow->belongList['product'] = $lang->productCommon;
  93. }
  94. $lang->workflow->buildinList['0'] = 'No';
  95. $lang->workflow->buildinList['1'] = 'Yes';
  96. $lang->workflow->fullTextSearch = new stdclass();
  97. $lang->workflow->fullTextSearch->common = 'Full-Text Retrieval';
  98. $lang->workflow->fullTextSearch->titleField = 'Title Field';
  99. $lang->workflow->fullTextSearch->contentField = 'Content Fields';
  100. $lang->workflow->charterApprovalAction = 'Approval Action';
  101. $lang->workflow->charterApproval['projectApproval'] = 'Project Approval';
  102. $lang->workflow->charterApproval['completionApproval'] = 'Completion Approval';
  103. $lang->workflow->charterApproval['cancelProjectApproval'] = 'Cancel Project Approval';
  104. $lang->workflow->charterApproval['activateProjectApproval'] = 'Activate Project Approval';
  105. $lang->workflow->upgrade = new stdclass();
  106. $lang->workflow->upgrade->common = 'Upgrade';
  107. $lang->workflow->upgrade->backup = 'Backup';
  108. $lang->workflow->upgrade->backupSuccess = 'Upgraded';
  109. $lang->workflow->upgrade->newVersion = 'Get a new version';
  110. $lang->workflow->upgrade->clickme = 'Upgrade';
  111. $lang->workflow->upgrade->start = 'Start';
  112. $lang->workflow->upgrade->currentVersion = 'Current Version';
  113. $lang->workflow->upgrade->selectVersion = 'New Version';
  114. $lang->workflow->upgrade->confirm = 'Confirm Upgrade SQL';
  115. $lang->workflow->upgrade->upgrade = 'Upgrade Current Module';
  116. $lang->workflow->upgrade->upgradeFail = 'Failed!';
  117. $lang->workflow->upgrade->upgradeSuccess = 'Upgraded!';
  118. $lang->workflow->upgrade->install = 'Install New Module';
  119. $lang->workflow->upgrade->installFail = 'Failed!';
  120. $lang->workflow->upgrade->installSuccess = 'Installed!';
  121. /* Tips */
  122. $lang->workflow->tips = new stdclass();
  123. $lang->workflow->tips->noCSSTag = 'No &lt;style&gt;&lt;/style&gt; tag';
  124. $lang->workflow->tips->noJSTag = 'No &lt;script&gt;&lt;/script&gt;tag';
  125. $lang->workflow->tips->flowCSS = ', loaded in all pages.';
  126. $lang->workflow->tips->flowJS = ', loaded in all pages.';
  127. $lang->workflow->tips->actionCSS = ', loaded in the page of current action.';
  128. $lang->workflow->tips->actionJS = ', loaded in the page of current action.';
  129. $lang->workflow->tips->firstRelease = 'The flow belongs to %s. After the flow is released, it will be automatically added to the corresponding flow template. Do you want to synchronize the flow in the template?';
  130. $lang->workflow->tips->release = 'After the flow is released, the common flow in the flow template will be synchronized.';
  131. $lang->workflow->tips->activate = 'Are you sure to enable the flow? Choose "All Enable" to enable the flow in all workflow groups, or "Single Enable" to enable the flow in the default workflow group.';
  132. $lang->workflow->tips->deactivate = 'Are you sure to disable the flow?';
  133. $lang->workflow->tips->syncDeactivate = 'Are you sure to disable the flow? The flow will be hidden in all flow templates.';
  134. $lang->workflow->tips->belongDisabled = 'The flow has set an exclusive process in the template, and the dependent object cannot be modified.';
  135. $lang->workflow->tips->create = 'Nice One! You have successfully created a workflow, Would you like to design your workflow now? ';
  136. $lang->workflow->tips->subTable = 'If the detailed information is required to fill in the form, use a sub-table to do it. For example, the specifi information is required for requesting the reimbursement. You can add a sub-table "reimbursement details" to the reimbursement request.';
  137. $lang->workflow->tips->buildinFlow = 'The built-in flows can not use quick editor.';
  138. $lang->workflow->tips->fullTextSearch = 'To use the full-text retrieval function, you need to set which fields can be retrieved. The title field has less weight in full-text retrieval, while the content field has more weight. The higher the weight, the higher the search results. <br/>After setting the field, you need to rebuild the index to take effect. The speed of index reconstruction is directly proportional to the amount of content. Please wait patiently for the index reconstruction to complete.';
  139. $lang->workflow->tips->buildIndex = 'It may take some time to rebuild the index. Are you sure you want to perform the operation?';
  140. $lang->workflow->tips->deleteConfirm = "<p class='text-lg font-bold'>Are you sure you want to delete this process?</p><p>After deleting the process, all associated data will be deleted, such as history records, approval records, etc.</p><p>Including the exclusive process configured by the workflow and the data generated by the exclusive process.</p><p class='text-danger'><b>This operation is irreversible and the deleted content cannot be restored!</b></p>";
  141. $lang->workflow->tips->belong = 'This workflow will isolate data by dependent objectss, and selecting the dependent object will automatically add the flow to the corresponding flow group.';
  142. $lang->workflow->tips->belongError = 'The flow has set an exclusive flow in the %s template, and the dependent app cannot be modified.';
  143. $lang->workflow->tips->noQuoteTables = 'Other templates do not have sub-tables that can be used.';
  144. $lang->workflow->tips->subTableSync = 'This sub table has been referenced in %s and will be updated synchronously after modification.';
  145. $lang->workflow->tips->notEditTable = 'The referenced sub table cannot be edited.';
  146. $lang->workflow->tips->confirmDeleteHasQuote = 'After deletion, all data referencing this sub table in other templates will be synchronously deleted, and the operation is irreversible. Are you sure you want to delete it?';
  147. $lang->workflow->tips->confirmDeleteInQuote = 'After removal, all configurations using sub table fields in this workflow will be synchronously deleted, and the operation is irreversible. Are you sure you want to remove them?';
  148. $lang->workflow->notNow = 'No,not now';
  149. $lang->workflow->toDesign = 'Yes!Enter Workflow Editor';
  150. /* Title */
  151. $lang->workflow->title = new stdclass();
  152. $lang->workflow->title->subTable = 'Sub tables are used to record details of %s.';
  153. $lang->workflow->title->noCopy = 'The build-in flow cannot be copy.';
  154. $lang->workflow->title->noLabel = 'The build-in flow cannot set labels.';
  155. $lang->workflow->title->noSubTable = 'The build-in flow cannot set sub tables.';
  156. $lang->workflow->title->noRelation = 'The build-in flow cannot set relations.';
  157. $lang->workflow->title->noJS = 'The build-in flow cannot js.';
  158. $lang->workflow->title->noCSS = 'The build-in flow cannot css.';
  159. $lang->workflow->title->remove = 'Remove';
  160. /* Placeholder */
  161. $lang->workflow->placeholder = new stdclass();
  162. $lang->workflow->placeholder->module = 'Letters only. It cannot be changed once it is saved.';
  163. $lang->workflow->placeholder->titleField = 'There can only be one title field, which has less weight in full-text retrieval.';
  164. $lang->workflow->placeholder->contentField = 'The content field can have more than one, so it has more weight in full-text retrieval.';
  165. /* Error */
  166. $lang->workflow->error = new stdclass();
  167. $lang->workflow->error->createTableFail = 'Failed to create a table.';
  168. $lang->workflow->error->buildInModule = 'The flow code should not be same as the built-in module in Zdoo Pro.';
  169. $lang->workflow->error->wrongCode = '『%s』 should be letters.';
  170. $lang->workflow->error->conflict = '『%s』 conflicts with system language.';
  171. $lang->workflow->error->notFound = 'The flow 『%s』 not found.';
  172. $lang->workflow->error->flowLimit = 'You can create %s flows.';
  173. $lang->workflow->error->buildIndexFail = 'Failed to rebuild index.';
  174. $lang->workflow->error->unique = '『%s』 has been used by another template. To use this field, please select from 『Use other template sub tables』.';
  175. $lang->workflow->notice = new stdclass();
  176. $lang->workflow->notice->autoAddBelong = 'The system will automatically add a "%s" field for you on the "Create" page.';
  177. $lang->workflowtable = new stdclass();
  178. $lang->workflowtable->common = 'Sub Table';
  179. $lang->workflowtable->browse = 'View Table';
  180. $lang->workflowtable->create = 'Create Table';
  181. $lang->workflowtable->edit = 'Edit Table';
  182. $lang->workflowtable->view = 'View Table';
  183. $lang->workflowtable->delete = 'Delete Table';
  184. $lang->workflowtable->module = 'Code';
  185. $lang->workflowtable->name = 'Name';
  186. $lang->workflowtable->use = 'Use Table';
  187. $lang->workfloweditor = new stdclass();
  188. $lang->workfloweditor->nextStep = 'Next';
  189. $lang->workfloweditor->prevStep = 'Prev';
  190. $lang->workfloweditor->quickEditor = 'Quick Editor';
  191. $lang->workfloweditor->advanceEditor = 'Advanced Editor';
  192. $lang->workfloweditor->switchTo = '%s';
  193. $lang->workfloweditor->switchConfirmMessage = 'It will switch to the advanced workflow editor. <br> You can set extensions, design labels and sub-table in advanced editor. <br> Are you sure to switch?';
  194. $lang->workfloweditor->cancelSwitch = 'Not now';
  195. $lang->workfloweditor->confirmSwitch = 'Confirm switch';
  196. $lang->workfloweditor->elementCode = 'Code';
  197. $lang->workfloweditor->elementType = 'Type';
  198. $lang->workfloweditor->elementName = 'Name';
  199. $lang->workfloweditor->nameAndCodeRequired = 'Name and code must be required';
  200. $lang->workfloweditor->uiDesign = 'UI Design';
  201. $lang->workfloweditor->selectField = 'Select Field';
  202. $lang->workfloweditor->uiPreview = 'UI Preview';
  203. $lang->workfloweditor->fieldProperties = 'Field Properties';
  204. $lang->workfloweditor->uiControls = 'Controls';
  205. $lang->workfloweditor->showedFields = 'Exists Fields';
  206. $lang->workfloweditor->selectFieldToEditTip = 'Select form field to edit here';
  207. $lang->workfloweditor->addFieldOption = 'Add Option';
  208. $lang->workfloweditor->confirmReleaseMessage = 'You can set extension or labels by the Advanced Editor. Sure to release?';
  209. $lang->workfloweditor->switchMessage = 'Switch Editor Here';
  210. $lang->workfloweditor->continueRelease = 'Release';
  211. $lang->workfloweditor->enterToAdvance = 'Advanced Editor';
  212. $lang->workfloweditor->labelAll = 'All';
  213. $lang->workfloweditor->confirmToDelete = 'Are you sure to delete this %s?';
  214. $lang->workfloweditor->leavePageTip = 'The current page has unsaved changes. Are you sure you want to leave the page?';
  215. $lang->workfloweditor->addFile = 'Add File';
  216. $lang->workfloweditor->fieldWidth = 'Column Width';
  217. $lang->workfloweditor->fieldPosition = 'Text Align';
  218. $lang->workfloweditor->dragDropTip = 'Drag and drop here';
  219. $lang->workfloweditor->moreSettingsLabel = 'More Settings';
  220. $lang->workfloweditor->quickSteps = array();
  221. $lang->workfloweditor->quickSteps['ui'] = 'UI Design|workflow|ui';
  222. $lang->workfloweditor->advanceSteps = array();
  223. $lang->workfloweditor->advanceSteps['mainTable'] = 'Main Table|workflowfield|browse';
  224. $lang->workfloweditor->advanceSteps['subTable'] = 'Sub Table|workflow|browsedb';
  225. $lang->workfloweditor->advanceSteps['action'] = 'Actions|workflowaction|browse';
  226. $lang->workfloweditor->advanceSteps['label'] = 'Lists|workflowlabel|browse';
  227. $lang->workfloweditor->advanceSteps['setting'] = array('link' => 'More Settings|workflow|more', 'subMenu' => array('workflowrelation' => 'admin', 'workflowfield' => 'setValue,setExport,setSearch', 'workflow' => 'setJS,setCSS,setFulltextSearch', 'workflowreport' => 'browse'));
  228. $lang->workfloweditor->moreSettings = array();
  229. $lang->workfloweditor->moreSettings['approval'] = "Approval|workflow|setapproval|module=%s";
  230. $lang->workfloweditor->moreSettings['relation'] = "Relations|workflowrelation|admin|prev=%s";
  231. $lang->workfloweditor->moreSettings['setReport'] = "Report Settings|workflowreport|browse|module=%s";
  232. $lang->workfloweditor->moreSettings['setValue'] = "Display Values|workflowfield|setValue|module=%s";
  233. $lang->workfloweditor->moreSettings['setExport'] = "Export Settings|workflowfield|setExport|module=%s";
  234. $lang->workfloweditor->moreSettings['setSearch'] = "Search Settings|workflowfield|setSearch|module=%s";
  235. $lang->workfloweditor->moreSettings['fulltext'] = "Full-Text Retrieval|workflow|setFulltextSearch|id=%s";
  236. $lang->workfloweditor->moreSettings['setJS'] = "JS|workflow|setJS|id=%s";
  237. $lang->workfloweditor->moreSettings['setCSS'] = "CSS|workflow|setCSS|id=%s";
  238. if(empty($config->openedApproval)) unset($lang->workfloweditor->moreSettings['approval']);
  239. $lang->workfloweditor->validateMessages = array();
  240. $lang->workfloweditor->validateMessages['nameRequired'] = 'Field name is required';
  241. $lang->workfloweditor->validateMessages['nameDuplicated'] = 'The field name has been used, please use a different name';
  242. $lang->workfloweditor->validateMessages['fieldRequired'] = 'Field code is required';
  243. $lang->workfloweditor->validateMessages['fieldInvalid'] = 'Field code can only contain letters';
  244. $lang->workfloweditor->validateMessages['fieldDuplicated'] = 'The field code is the same as the existing field "%s", please use a different code';
  245. $lang->workfloweditor->validateMessages['lengthRequired'] = 'Field length is required';
  246. $lang->workfloweditor->validateMessages['failSummary'] = 'There are %s errors in multiple fields, please modify them before saving.';
  247. $lang->workfloweditor->validateMessages['defaultNotInOptions'] = 'Default value “%s” is not in options';
  248. $lang->workfloweditor->validateMessages['defaultNotOptionKey'] = 'Default value must be a option key, dot not use value "%s"';
  249. $lang->workfloweditor->validateMessages['widthInvalid'] = 'Width value must be number or "auto"';
  250. $lang->workfloweditor->error = new stdclass();
  251. $lang->workfloweditor->error->unknown = 'Unknown error, please retry.';
  252. $lang->workflowapproval = new stdclass();
  253. $lang->workflowapproval->enabled = 'Enable approval';
  254. $lang->workflowapproval->approval = 'Appoval';
  255. $lang->workflowapproval->approvalFlow = 'Appoval Flow';
  256. $lang->workflowapproval->noApproval = 'There is no approval process available,';
  257. $lang->workflowapproval->createTips = array('You can', 'You can contact the administrator to create an approval process.');
  258. $lang->workflowapproval->createApproval = 'Create Approval';
  259. $lang->workflowapproval->waiting = 'Waiting';
  260. $lang->workflowapproval->conflictField = 'Fields:';
  261. $lang->workflowapproval->conflictAction = 'Actions:';
  262. $lang->workflowapproval->openLater = 'You can also turn approval on or off later in the advanced editor.';
  263. $lang->workflowapproval->disableApproval = 'The flow cannot turn on the approval function.';
  264. $lang->workflowapproval->conflict = array('Enabled Approval', 'Enabling the approval function requires adding new fields and actions. The system detects conflicts between the following fields and actions:', 'You can click Cancel to resolve the conflict by yourself, such as "modify field code, delete field, delete action", and then re enable the approval function.', 'You can also click cover to resolve the conflict. The system will delete the conflicting fields and actions and add new fields and actions.', 'Note: the cover operation is irreversible, and the deleted fields and actions cannot be restored!');
  265. $lang->workflowapproval->approvalList = array('enabled' => 'Enabled', 'disabled' => 'Disabled');
  266. $lang->workflowapproval->tips = new stdclass();
  267. $lang->workflowapproval->tips->processesInProgress = 'There is an approval process in progress. Please complete or withdraw the approval.';
  268. $lang->workflowapproval->buildInFields = array('name' => array(), 'options' => array());
  269. $lang->workflowapproval->buildInFields['name']['reviewers'] = 'Reviewers';
  270. $lang->workflowapproval->buildInFields['name']['reviewStatus'] = 'Review Status';
  271. $lang->workflowapproval->buildInFields['name']['reviewResult'] = 'Review Result';
  272. $lang->workflowapproval->buildInFields['name']['reviewOpinion'] = 'Review Opinion';
  273. $lang->workflowapproval->buildInFields['options']['reviewStatus'] = array('wait' => 'wait', 'doing' => 'doing', 'pass' => 'pass', 'reject' => 'reject', 'reverting' => 'reverting');
  274. $lang->workflowapproval->buildInFields['options']['reviewResult'] = array('pass' => 'pass', 'reject' => 'reject');
  275. $lang->workflowapproval->buildInActions = array('name' => array('submit' => 'submit', 'cancel' => 'cancel', 'review' => 'review'));