zh_CN.ts 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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. environmental_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. project_list: '项目列表',
  184. project_tips: '请输入项目名称',
  185. description_tips: '请输入项目描述',
  186. username_tips: '请输入所属用户',
  187. project_name: '项目名称',
  188. project_description: '项目描述',
  189. owned_users: '所属用户',
  190. workflow_define_count: '工作流定义数',
  191. process_instance_running_count: '正在运行的流程数',
  192. description: '描述',
  193. create_time: '创建时间',
  194. update_time: '更新时间',
  195. operation: '操作',
  196. edit: '编辑',
  197. delete: '删除',
  198. confirm: '确定',
  199. cancel: '取消',
  200. delete_confirm: '确定删除吗?',
  201. },
  202. }
  203. const security = {
  204. tenant: {
  205. create_tenant: '创建租户',
  206. search_tips: '请输入关键词',
  207. num: '编号',
  208. tenantCode: '操作系统租户',
  209. description: '描述',
  210. queueName: '队列',
  211. createTime: '创建时间',
  212. updateTime: '更新时间',
  213. actions: '操作',
  214. edit_tenant: '编辑租户',
  215. tenantCode_tips: '请输入操作系统租户',
  216. queueName_tips: '请选择队列',
  217. description_tips: '请输入描述',
  218. delete_confirm: '确定删除吗?',
  219. }
  220. }
  221. export default {
  222. login,
  223. modal,
  224. theme,
  225. userDropdown,
  226. menu,
  227. home,
  228. password,
  229. profile,
  230. monitor,
  231. resource,
  232. project,
  233. security
  234. }