zh_CN.ts 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. const login = {
  18. test: '测试',
  19. userName: '用户名',
  20. userName_tips: '请输入用户名',
  21. userPassword: '密码',
  22. userPassword_tips: '请输入密码',
  23. login: '登录'
  24. }
  25. const modal = {
  26. cancel: '取消',
  27. confirm: '确定'
  28. }
  29. const theme = {
  30. light: '浅色',
  31. dark: '深色'
  32. }
  33. const userDropdown = {
  34. profile: '用户信息',
  35. password: '密码管理',
  36. logout: '退出登录'
  37. }
  38. const menu = {
  39. home: '首页',
  40. project: '项目管理',
  41. resources: '资源中心',
  42. datasource: '数据源中心',
  43. monitor: '监控中心',
  44. security: '安全中心',
  45. workflow_monitoring: '工作流监控',
  46. workflow_relationships: '工作流关系',
  47. workflow: '工作流',
  48. workflow_definition: '工作流定义',
  49. workflow_instance: '工作流实例',
  50. task_instance: '任务实例',
  51. task_definition: '任务定义',
  52. file_manage: '文件管理',
  53. udf_manage: 'UDF管理',
  54. resource_manage: '资源管理',
  55. function_manage: '函数管理',
  56. service_manage: '服务管理',
  57. master: 'Master',
  58. worker: 'Worker',
  59. db: 'DB',
  60. statistical_manage: '统计管理',
  61. statistics: 'Statistics',
  62. tenant_manage: '租户管理',
  63. user_manage: '用户管理',
  64. alarm_group_manage: '告警组管理',
  65. alarm_instance_manage: '告警实例管理',
  66. worker_group_manage: 'Worker分组管理',
  67. yarn_queue_manage: 'Yarn队列管理',
  68. environment_manage: '环境管理',
  69. token_manage: '令牌管理'
  70. }
  71. const home = {
  72. task_state_statistics: '任务状态统计',
  73. process_state_statistics: '流程状态统计',
  74. process_definition_statistics: '流程定义统计',
  75. number: '数量',
  76. state: '状态'
  77. }
  78. const password = {
  79. edit_password: '修改密码',
  80. password: '密码',
  81. confirm_password: '确认密码',
  82. password_tips: '请输入密码',
  83. confirm_password_tips: '请输入确认密码',
  84. two_password_entries_are_inconsistent: '两次密码输入不一致',
  85. submit: '提交'
  86. }
  87. const profile = {
  88. profile: '用户信息',
  89. edit: '编辑',
  90. username: '用户名',
  91. email: '邮箱',
  92. phone: '手机',
  93. state: '状态',
  94. permission: '权限',
  95. create_time: '创建时间',
  96. update_time: '更新时间',
  97. administrator: '管理员',
  98. ordinary_user: '普通用户',
  99. edit_profile: '编辑用户',
  100. username_tips: '请输入用户名',
  101. email_tips: '请输入邮箱',
  102. email_correct_tips: '请输入正确格式的邮箱',
  103. phone_tips: '请输入手机号',
  104. state_tips: '请选择状态',
  105. enable: '启用',
  106. disable: '禁用'
  107. }
  108. const monitor = {
  109. master: {
  110. cpu_usage: '处理器使用量',
  111. memory_usage: '内存使用量',
  112. load_average: '平均负载量',
  113. create_time: '创建时间',
  114. last_heartbeat_time: '最后心跳时间',
  115. directory_detail: '目录详情',
  116. host: '主机',
  117. directory: '注册目录'
  118. },
  119. worker: {
  120. cpu_usage: '处理器使用量',
  121. memory_usage: '内存使用量',
  122. load_average: '平均负载量',
  123. create_time: '创建时间',
  124. last_heartbeat_time: '最后心跳时间',
  125. directory_detail: '目录详情',
  126. host: '主机',
  127. directory: '注册目录'
  128. },
  129. db: {
  130. health_state: '健康状态',
  131. max_connections: '最大连接数',
  132. threads_connections: '当前连接数',
  133. threads_running_connections: '数据库当前活跃连接数'
  134. },
  135. statistics: {
  136. command_number_of_waiting_for_running: '待执行的命令数',
  137. failure_command_number: '执行失败的命令数',
  138. tasks_number_of_waiting_running: '待运行任务数',
  139. task_number_of_ready_to_kill: '待杀死任务数'
  140. }
  141. }
  142. const resource = {
  143. file: {
  144. file_manage: '文件管理',
  145. create_folder: '创建文件夹',
  146. create_file: '创建文件',
  147. upload_files: '上传文件',
  148. enter_keyword_tips: '请输入关键词',
  149. id: '编号',
  150. name: '名称',
  151. user_name: '所属用户',
  152. whether_directory: '是否文件夹',
  153. file_name: '文件名称',
  154. description: '描述',
  155. size: '大小',
  156. update_time: '更新时间',
  157. operation: '操作',
  158. edit: '编辑',
  159. rename: '重命名',
  160. download: '下载',
  161. delete: '删除',
  162. yes: '是',
  163. no: '否',
  164. folder_name: '文件夹名称',
  165. enter_name_tips: '请输入名称',
  166. enter_description_tips: '请输入描述',
  167. enter_content_tips: '请输入资源内容',
  168. enter_suffix_tips: '请输入文件后缀',
  169. file_format: '文件格式',
  170. file_content: '文件内容',
  171. delete_confirm: '确定删除吗?',
  172. confirm: '确定',
  173. cancel: '取消',
  174. success: '成功',
  175. file_details: '文件详情',
  176. return: '返回',
  177. save: '保存'
  178. }
  179. }
  180. const project = {
  181. list: {
  182. create_project: '创建项目',
  183. edit_project: '编辑项目',
  184. project_list: '项目列表',
  185. project_tips: '请输入项目名称',
  186. description_tips: '请输入项目描述',
  187. username_tips: '请输入所属用户',
  188. project_name: '项目名称',
  189. project_description: '项目描述',
  190. owned_users: '所属用户',
  191. workflow_define_count: '工作流定义数',
  192. process_instance_running_count: '正在运行的流程数',
  193. description: '描述',
  194. create_time: '创建时间',
  195. update_time: '更新时间',
  196. operation: '操作',
  197. edit: '编辑',
  198. delete: '删除',
  199. confirm: '确定',
  200. cancel: '取消',
  201. delete_confirm: '确定删除吗?'
  202. }
  203. }
  204. const security = {
  205. tenant: {
  206. tenant_manage: '租户管理',
  207. create_tenant: '创建租户',
  208. search_tips: '请输入关键词',
  209. num: '编号',
  210. tenant_code: '操作系统租户',
  211. description: '描述',
  212. queue_name: '队列',
  213. create_time: '创建时间',
  214. update_time: '更新时间',
  215. actions: '操作',
  216. edit_tenant: '编辑租户',
  217. tenant_code_tips: '请输入操作系统租户',
  218. queue_name_tips: '请选择队列',
  219. description_tips: '请输入描述',
  220. delete_confirm: '确定删除吗?',
  221. edit: '编辑',
  222. delete: '删除'
  223. },
  224. yarn_queue: {
  225. create_queue: '创建队列',
  226. edit_queue: '编辑队列',
  227. search_tips: '请输入关键词',
  228. queue_name: '队列名',
  229. queue_value: '队列值',
  230. create_time: '创建时间',
  231. update_time: '更新时间',
  232. operation: '操作',
  233. edit: '编辑',
  234. queue_name_tips: '请输入队列名',
  235. queue_value_tips: '请输入队列值'
  236. },
  237. environment: {
  238. create_environment: '创建环境',
  239. edit_environment: '编辑环境',
  240. search_tips: '请输入关键词',
  241. edit: '编辑',
  242. delete: '删除',
  243. environment_name: '环境名称',
  244. environment_config: '环境配置',
  245. environment_desc: '环境描述',
  246. worker_groups: 'Worker分组',
  247. create_time: '创建时间',
  248. update_time: '更新时间',
  249. operation: '操作',
  250. delete_confirm: '确定删除吗?',
  251. environment_name_tips: '请输入环境名',
  252. environment_config_tips: '请输入环境配置',
  253. environment_description_tips: '请输入环境描述',
  254. worker_group_tips: '请选择Worker分组'
  255. }
  256. }
  257. export default {
  258. login,
  259. modal,
  260. theme,
  261. userDropdown,
  262. menu,
  263. home,
  264. password,
  265. profile,
  266. monitor,
  267. resource,
  268. project,
  269. security
  270. }