diff --git a/web-vue/src/App.vue b/web-vue/src/App.vue index e26cad86b..df973fdfd 100644 --- a/web-vue/src/App.vue +++ b/web-vue/src/App.vue @@ -90,7 +90,7 @@ watch(pageLoadingStore, (newValue) => { pageloading.value = true globalLoading({ spinning: true, - tip: t('App.a4e5a0a8') + tip: t('i18n.6ad02e7a1b') }) }, 500) } @@ -127,7 +127,7 @@ const reload = () => { const globalLoadingProps = ref({ spinning: false, - tip: t('App.ed2baf28'), + tip: t('i18n.26b5bd4947'), size: 'large', delay: 500, wrapperClassName: '' diff --git a/web-vue/src/api/backup-info.ts b/web-vue/src/api/backup-info.ts index ba0b5d5b5..201002c5d 100644 --- a/web-vue/src/api/backup-info.ts +++ b/web-vue/src/api/backup-info.ts @@ -113,10 +113,10 @@ export function uploadBackupFile(formData) { } export const backupTypeArray = [ - { key: 0, value: t('api.backup-info.945bddc'), disabled: false }, - { key: 1, value: t('api.backup-info.4e769e75'), disabled: false }, - { key: 2, value: t('api.backup-info.8cefd9a6'), disabled: true }, - { key: 3, value: t('api.backup-info.bc583419'), disabled: true } + { key: 0, value: t('i18n.6d68bd5458'), disabled: false }, + { key: 1, value: t('i18n.67b667bf98'), disabled: false }, + { key: 2, value: t('i18n.90c0458a4c'), disabled: true }, + { key: 3, value: t('i18n.590e5b46a0'), disabled: true } ] export const arrayToMap = (arra) => { @@ -130,7 +130,7 @@ export const arrayToMap = (arra) => { export const backupTypeMap = arrayToMap(backupTypeArray) export const backupStatusMap = { - 0: t('api.backup-info.fc1391c9'), - 1: t('api.backup-info.6d865b0a'), - 2: t('api.backup-info.78bc7266') + 0: t('i18n.5d459d550a'), + 1: t('i18n.3ba621d736'), + 2: t('i18n.1012e09849') } diff --git a/web-vue/src/api/build-info.ts b/web-vue/src/api/build-info.ts index beb09913e..5c863c6fc 100644 --- a/web-vue/src/api/build-info.ts +++ b/web-vue/src/api/build-info.ts @@ -292,16 +292,16 @@ export function sortItem(params) { } export const statusMap = { - 1: t('api.build-info.90b71abe'), - 2: t('api.build-info.47e182a5'), - 3: t('api.build-info.20ce2aae'), - 4: t('api.build-info.e64e695c'), - 5: t('api.build-info.5fe167f7'), - 6: t('api.build-info.4adb4e9b'), - 7: t('api.build-info.2ebf779c'), - 8: t('api.build-info.f7ba88b7'), - 9: t('api.build-info.7c974164'), - 10: t('api.build-info.7ab6f39e') + 1: t('i18n.32493aeef9'), + 2: t('i18n.641796b655'), + 3: t('i18n.41298f56a3'), + 4: t('i18n.0baa0e3fc4'), + 5: t('i18n.2fff079bc7'), + 6: t('i18n.250688d7c9'), + 7: t('i18n.b4fc1ac02c'), + 8: t('i18n.979b7d10b0'), + 9: t('i18n.81afd9e713'), + 10: t('i18n.8160b4be4e') } export const statusColor = { 1: 'orange', @@ -317,22 +317,22 @@ export const statusColor = { } export const releaseMethodMap = { - 0: t('api.build-info.ea464dbb'), - 1: t('api.build-info.2341ce30'), - 2: t('api.build-info.a2c247c4'), + 0: t('i18n.a189314b9e'), + 1: t('i18n.ae6838c0e6'), + 2: t('i18n.31ecc0e65b'), 3: 'SSH', - 4: t('api.build-info.a979b939'), - 5: t('api.build-info.913d1c8d') + 4: t('i18n.b71a7e6aab'), + 5: t('i18n.9136e1859a') } export const triggerBuildTypeMap = { - 0: t('api.build-info.4139f3b5'), - 1: t('api.build-info.44701ced'), - 2: t('api.build-info.5bccadd3'), - 3: t('api.build-info.f6ef2a8') + 0: t('i18n.2a3e7f5c38'), + 1: t('i18n.4696724ed3'), + 2: t('i18n.72ebfe28b0'), + 3: t('i18n.31070fd376') } export const buildModeMap = { - 0: t('api.build-info.db53bc39'), - 1: t('api.build-info.19d0a75') + 0: t('i18n.69c3b873c1'), + 1: t('i18n.685e5de706') } diff --git a/web-vue/src/api/command.ts b/web-vue/src/api/command.ts index 596876c19..43896c816 100644 --- a/web-vue/src/api/command.ts +++ b/web-vue/src/api/command.ts @@ -120,14 +120,14 @@ export function getTriggerUrl(data) { } export const statusMap = { - 0: t('api.command.5b123a0d'), - 1: t('api.command.f979b457'), - 2: t('api.command.2e68c441'), - 3: t('api.command.5da3d762') + 0: t('i18n.46e3867956'), + 1: t('i18n.ec219f99ee'), + 2: t('i18n.05f6e923af'), + 3: t('i18n.e2f942759e') } export const triggerExecTypeMap = { - 0: t('api.command.4139f3b5'), - 1: t('api.command.dc8de4ff'), - 2: t('api.command.44701ced') + 0: t('i18n.2a3e7f5c38'), + 1: t('i18n.3aed2c11e9'), + 2: t('i18n.4696724ed3') } diff --git a/web-vue/src/api/config.ts b/web-vue/src/api/config.ts index 916ebb573..2a27428ec 100644 --- a/web-vue/src/api/config.ts +++ b/web-vue/src/api/config.ts @@ -131,7 +131,7 @@ instance.interceptors.response.use( $notification.error({ key: 'network-error-no-response', message: 'Network Error No response', - description: t('api.config.80d94c1b') + error + description: t('i18n.9ee0deb3c8') + error }) } else if (!error.response.config.headers[NO_NOTIFY_KEY]) { const { status, statusText, data } = error.response @@ -139,12 +139,12 @@ instance.interceptors.response.use( $notification.error({ key: 'network-error-no-response', message: 'Network Error', - description: t('api.config.80d94c1b') + error + description: t('i18n.9ee0deb3c8') + error }) } else { $notification.error({ key: 'network-error-status-' + status, - message: t('api.config.e4090b01') + status, + message: t('i18n.cc9a708364') + status, description: (statusText || '') + (data || '') }) } @@ -196,8 +196,8 @@ async function request(arg: string | AxiosRequestConfig, config?: Axios if (data.code === 999) { $notification.error({ key: 'prohibit-access', - message: t('api.config.26cb698e'), - description: t('api.config.50ec27cf') + message: t('i18n.bb9ef827bf'), + description: t('i18n.f05e3ec44d') }) window.location.href = jpomWindow_.routerBase + '/prohibit-access' return Promise.reject(data) @@ -208,7 +208,7 @@ async function request(arg: string | AxiosRequestConfig, config?: Axios // 如果 headers 里面配置了 tip: no 就不用弹出提示信息 if (!response.config.headers[NO_NOTIFY_KEY]) { $notification.error({ - message: t('api.config.b12a126b') + (pro ? '' : response.config.url), + message: t('i18n.1a8f90122f') + (pro ? '' : response.config.url), description: data.msg }) console.error(response.config.url, data) @@ -227,8 +227,8 @@ async function handleRefreshTokenAndRetryQueue(config: InternalAxiosRequestConfi try { $notification.info({ key: 'login-timeout', - message: t('api.config.f3e23cfc'), - description: t('api.config.e50dee1a') + message: t('i18n.72d46ec2cf'), + description: t('i18n.f652d8cca7') }) // 执行续签操作 const result = await refreshToken() @@ -238,8 +238,8 @@ async function handleRefreshTokenAndRetryQueue(config: InternalAxiosRequestConfi await userStore.login(result.data) $notification.success({ key: 'login-timeout', - message: t('api.config.f3e23cfc'), - description: t('api.config.a1387e97') + message: t('i18n.72d46ec2cf'), + description: t('i18n.a7c8eea801') }) // 更新token到config中,以便于后续请求使用新token config.headers[TOKEN_HEADER_KEY] = userStore.getToken() @@ -247,12 +247,12 @@ async function handleRefreshTokenAndRetryQueue(config: InternalAxiosRequestConfi resolve(result2) isRefreshing = false } else { - toLoginOnly(t('api.config.f3e23cfc'), t('api.config.b40257fb') + result.msg + t('api.config.377b243')) + toLoginOnly(t('i18n.72d46ec2cf'), t('i18n.edc1185b8e') + result.msg + t('i18n.d3fb6a7c83')) return } } catch (error) { //reject('Failed to refresh token:' + error) - toLoginOnly(t('api.config.f3e23cfc'), t('api.config.b40257fb') + error + t('api.config.377b243')) + toLoginOnly(t('i18n.72d46ec2cf'), t('i18n.edc1185b8e') + error + t('i18n.d3fb6a7c83')) } finally { } }) @@ -274,7 +274,7 @@ async function handleRefreshTokenAndRetryQueue(config: InternalAxiosRequestConfi } function toLogin(res: IResponse, response: AxiosResponse>) { - return toLogin2(t('api.config.b12a126b') + (pro ? '' : response.config.url), res.msg) + return toLogin2(t('i18n.1a8f90122f') + (pro ? '' : response.config.url), res.msg) } function toLogin2(message: any, description: any) { diff --git a/web-vue/src/api/dispatch.ts b/web-vue/src/api/dispatch.ts index 7199f6d25..8cf3a8270 100644 --- a/web-vue/src/api/dispatch.ts +++ b/web-vue/src/api/dispatch.ts @@ -277,40 +277,40 @@ export function saveDispatchProjectConfig(data) { } export const afterOptList = [ - { title: t('api.dispatch.83fd11a1'), value: 0 }, - { title: t('api.dispatch.e77cefce'), value: 1 }, - { title: t('api.dispatch.c1710178'), value: 2 }, - { title: t('api.dispatch.54d3f1f5'), value: 3 } + { title: t('i18n.a2ebd000e4'), value: 0 }, + { title: t('i18n.82915930eb'), value: 1 }, + { title: t('i18n.0e1ecdae4a'), value: 2 }, + { title: t('i18n.8887e94cb7'), value: 3 } ] export const afterOptListSimple = [ - { title: t('api.dispatch.83fd11a1'), value: 0 }, - { title: t('api.dispatch.865550b4'), value: 1 } + { title: t('i18n.a2ebd000e4'), value: 0 }, + { title: t('i18n.913ef5d129'), value: 1 } ] export const dispatchStatusMap = { - 0: t('api.dispatch.afc66cc9'), - 1: t('api.dispatch.a7e33987'), - 2: t('api.dispatch.cce13f66'), - 3: t('api.dispatch.d9db160a'), - 4: t('api.dispatch.aab64cfb'), - 5: t('api.dispatch.9622bffb'), - 6: t('api.dispatch.5b773403') + 0: t('i18n.29efa328e5'), + 1: t('i18n.5b3ffc2910'), + 2: t('i18n.7e300e89b1'), + 3: t('i18n.2a049f4f5b'), + 4: t('i18n.036c0dc2aa'), + 5: t('i18n.339097ba2e'), + 6: t('i18n.7bf62f7284') } export const statusMap = { - 0: t('api.dispatch.afc66cc9'), - 1: t('api.dispatch.a7e33987'), - 2: t('api.dispatch.f44cbbb4'), - 3: t('api.dispatch.fa14a52c'), - 4: t('api.dispatch.d9db160a') + 0: t('i18n.29efa328e5'), + 1: t('i18n.5b3ffc2910'), + 2: t('i18n.3ea6c5e8ec'), + 3: t('i18n.30e855a053'), + 4: t('i18n.2a049f4f5b') } export const dispatchMode = { - upload: t('api.dispatch.17e12f0a'), - download: t('api.dispatch.5b364aef'), - 'build-trigger': t('api.dispatch.3e0a458'), - 'use-build': t('api.dispatch.29329b03'), - 'static-file-storage': t('api.dispatch.d0afc180'), - 'file-storage': t('api.dispatch.ec4380bb') + upload: t('i18n.bd7c8c96bc'), + download: t('i18n.bd7043cae3'), + 'build-trigger': t('i18n.74d5f61b9f'), + 'use-build': t('i18n.c1af35d001'), + 'static-file-storage': t('i18n.28f6e7a67b'), + 'file-storage': t('i18n.26183c99bf') } diff --git a/web-vue/src/api/docker-swarm.ts b/web-vue/src/api/docker-swarm.ts index 76f43917f..e87e19aff 100644 --- a/web-vue/src/api/docker-swarm.ts +++ b/web-vue/src/api/docker-swarm.ts @@ -204,19 +204,19 @@ export function dockerSwarmServicesDownloaLog(urlPrefix, id) { 已失联 */ export const TASK_STATE = { - NEW: t('api.docker-swarm.d84cdb52'), + NEW: t('i18n.40da3fb58b'), // ALLOCATED: "已分配", - PENDING: t('api.docker-swarm.f7d829eb'), - ASSIGNED: t('api.docker-swarm.8192b104'), - ACCEPTED: t('api.docker-swarm.fc1391c9'), - PREPARING: t('api.docker-swarm.bda03d7d'), - READY: t('api.docker-swarm.2a21d3d2'), - STARTING: t('api.docker-swarm.7487690f'), - RUNNING: t('api.docker-swarm.942d3df3'), - COMPLETE: t('api.docker-swarm.c1d43085'), - SHUTDOWN: t('api.docker-swarm.24540de'), - FAILED: t('api.docker-swarm.d4ee19e9'), - REJECTED: t('api.docker-swarm.8582af3f'), - REMOVE: t('api.docker-swarm.65fcbd09'), - ORPHANED: t('api.docker-swarm.e99ab4ea') + PENDING: t('i18n.047109def4'), + ASSIGNED: t('i18n.fbfa6c18bf'), + ACCEPTED: t('i18n.5d459d550a'), + PREPARING: t('i18n.f76540a92e'), + READY: t('i18n.424a2ad8f7'), + STARTING: t('i18n.a34c24719b'), + RUNNING: t('i18n.e9e9373c6f'), + COMPLETE: t('i18n.f56c1d014e'), + SHUTDOWN: t('i18n.095e938e2a'), + FAILED: t('i18n.1c83d79715'), + REJECTED: t('i18n.7173f80900'), + REMOVE: t('i18n.86048b4fea'), + ORPHANED: t('i18n.788a3afc90') } diff --git a/web-vue/src/api/file-manager/file-storage.ts b/web-vue/src/api/file-manager/file-storage.ts index f2a50d979..ff3b27cae 100644 --- a/web-vue/src/api/file-manager/file-storage.ts +++ b/web-vue/src/api/file-manager/file-storage.ts @@ -89,14 +89,14 @@ export function triggerUrl(params) { } export const sourceMap = { - 0: t('api.file-manager.file-storage.ae09d79d'), - 1: t('api.file-manager.file-storage.fe7ede8b'), - 2: t('api.file-manager.file-storage.65b21404'), - 3: t('api.file-manager.file-storage.481e8a05') + 0: t('i18n.d5a73b0c7f'), + 1: t('i18n.fcba60e773'), + 2: t('i18n.f26ef91424'), + 3: t('i18n.d40b511510') } export const statusMap = { - 0: t('api.file-manager.file-storage.d919f7c7'), - 1: t('api.file-manager.file-storage.b46a531a'), - 2: t('api.file-manager.file-storage.d43541fc') + 0: t('i18n.2d455ce5cd'), + 1: t('i18n.50940ed76f'), + 2: t('i18n.af924a1a14') } diff --git a/web-vue/src/api/file-manager/release-task-log.ts b/web-vue/src/api/file-manager/release-task-log.ts index c99fd5ccd..5c0a97494 100644 --- a/web-vue/src/api/file-manager/release-task-log.ts +++ b/web-vue/src/api/file-manager/release-task-log.ts @@ -77,14 +77,14 @@ export function taskLogInfoList(params) { } export const statusMap = { - 0: t('api.file-manager.release-task-log.4430873a'), - 1: t('api.file-manager.release-task-log.bfb17443'), - 2: t('api.file-manager.release-task-log.a3ef7878'), - 3: t('api.file-manager.release-task-log.4adb4e9b'), - 4: t('api.file-manager.release-task-log.8e26504a') + 0: t('i18n.a87818b04f'), + 1: t('i18n.fb852fc6cc'), + 2: t('i18n.5ab90c17a3'), + 3: t('i18n.250688d7c9'), + 4: t('i18n.d926e2f58e') } export const taskTypeMap = { 0: 'SSH', - 1: t('api.file-manager.release-task-log.e076d90b') + 1: t('i18n.3bf3c0a8d6') } diff --git a/web-vue/src/api/monitor.ts b/web-vue/src/api/monitor.ts index 4db47e280..626d31e79 100644 --- a/web-vue/src/api/monitor.ts +++ b/web-vue/src/api/monitor.ts @@ -140,8 +140,8 @@ export function deleteMonitorOperate(id) { } export const notifyStyle = { - 0: t('api.monitor.ca3e5e1b'), - 1: t('api.monitor.c654b275'), - 2: t('api.monitor.6dcc4f03'), + 0: t('i18n.4a0e9142e7'), + 1: t('i18n.3bc5e602b2'), + 2: t('i18n.ff17b9f9cd'), 3: 'webhook' } diff --git a/web-vue/src/api/node-other.ts b/web-vue/src/api/node-other.ts index e203513a4..00a99be0c 100644 --- a/web-vue/src/api/node-other.ts +++ b/web-vue/src/api/node-other.ts @@ -87,9 +87,9 @@ export function syncScript(params) { }) } export const triggerExecTypeMap = { - 0: t('api.node-other.4139f3b5'), - 1: t('api.node-other.dc8de4ff'), - 2: t('api.node-other.44701ced') + 0: t('i18n.2a3e7f5c38'), + 1: t('i18n.3aed2c11e9'), + 2: t('i18n.4696724ed3') } /** diff --git a/web-vue/src/api/node-project.ts b/web-vue/src/api/node-project.ts index 9bc241c01..12f9df79c 100644 --- a/web-vue/src/api/node-project.ts +++ b/web-vue/src/api/node-project.ts @@ -542,18 +542,18 @@ export function getProjectGroupAll() { export const runModeList = ['Dsl', 'ClassPath', 'Jar', 'JarWar', 'JavaExtDirsCp', 'File', 'Link'] export const runModeArray = [ - { name: 'Dsl', desc: t('api.node-project.817ed490') }, - { name: 'ClassPath', desc: t('api.node-project.ba1922ad') }, - { name: 'Jar', desc: t('api.node-project.575da0af') }, - { name: 'JavaExtDirsCp', desc: t('api.node-project.1470f80e') }, - { name: 'File', desc: t('api.node-project.9344737c') }, + { name: 'Dsl', desc: t('i18n.386edb98a5') }, + { name: 'ClassPath', desc: t('i18n.f9c9f95929') }, + { name: 'Jar', desc: t('i18n.be24e5ffbe') }, + { name: 'JavaExtDirsCp', desc: t('i18n.eef4dfe786') }, + { name: 'File', desc: t('i18n.f282058f75') }, { name: 'Link', - desc: t('api.node-project.442c1685'), + desc: t('i18n.c538b1db4a'), // 仅有节点有此项目(节点分发不支持) onlyNode: true }, - { name: 'JarWar', desc: t('api.node-project.8117f976') } + { name: 'JarWar', desc: t('i18n.d6eab4107a') } ] /** diff --git a/web-vue/src/api/node-stat.ts b/web-vue/src/api/node-stat.ts index 1b4904bdf..78f8b98d9 100644 --- a/web-vue/src/api/node-stat.ts +++ b/web-vue/src/api/node-stat.ts @@ -105,7 +105,7 @@ const defaultData = { */ export function generateNodeTopChart(data) { const cpuItem = { - name: t('api.node-stat.b2fe8225'), + name: t('i18n.7f5bcd975b'), type: 'line', data: [], showSymbol: false, @@ -113,28 +113,28 @@ export function generateNodeTopChart(data) { smooth: true } const diskItem = { - name: t('api.node-stat.f503ab56'), + name: t('i18n.f5d14ee3f8'), type: 'line', data: [], showSymbol: false, smooth: true } const memoryItem = { - name: t('api.node-stat.f892bef6'), + name: t('i18n.883848dd37'), type: 'line', data: [], showSymbol: false, smooth: true } const virtualMemory = { - name: t('api.node-stat.9b6411f6'), + name: t('i18n.07a03567aa'), type: 'line', data: [], showSymbol: false, smooth: true } const swapMemory = { - name: t('api.node-stat.93a9742d'), + name: t('i18n.0895c740a6'), type: 'line', data: [], showSymbol: false, @@ -212,7 +212,7 @@ export function generateNodeTopChart(data) { */ export function generateNodeNetChart(data) { const rxItem = { - name: t('api.node-stat.9ffc4b4d'), + name: t('i18n.15e9238b79'), type: 'line', data: [], showSymbol: false, @@ -220,7 +220,7 @@ export function generateNodeNetChart(data) { smooth: true } const txItem = { - name: t('api.node-stat.c60e4ac2'), + name: t('i18n.1535fcfa4c'), type: 'line', data: [], showSymbol: false, @@ -281,7 +281,7 @@ export function generateNodeNetChart(data) { */ export function generateNodeNetworkTimeChart(data) { const dataArray = { - name: t('api.node-stat.bd96d908'), + name: t('i18n.204222d167'), type: 'line', data: [], showSymbol: false, diff --git a/web-vue/src/api/server-script.ts b/web-vue/src/api/server-script.ts index 17e17f98f..dc107739c 100644 --- a/web-vue/src/api/server-script.ts +++ b/web-vue/src/api/server-script.ts @@ -122,8 +122,8 @@ export function getTriggerUrl(data) { } export const triggerExecTypeMap = { - 0: t('api.server-script.4139f3b5'), - 1: t('api.server-script.dc8de4ff'), - 2: t('api.server-script.44701ced'), - 3: t('api.server-script.a1e86c58') + 0: t('i18n.2a3e7f5c38'), + 1: t('i18n.3aed2c11e9'), + 2: t('i18n.4696724ed3'), + 3: t('i18n.dba16b1b92') } diff --git a/web-vue/src/api/system/assets-docker.ts b/web-vue/src/api/system/assets-docker.ts index 2f8c2487c..6512708b1 100644 --- a/web-vue/src/api/system/assets-docker.ts +++ b/web-vue/src/api/system/assets-docker.ts @@ -146,6 +146,6 @@ export function dockerListWorkspace(params) { } export const statusMap = { - 0: { desc: t('api.system.assets-docker.b26020d2'), color: 'red' }, - 1: { desc: t('api.system.assets-docker.591ff086'), color: 'green' } + 0: { desc: t('i18n.757a730c9e'), color: 'red' }, + 1: { desc: t('i18n.0f0a5f6107'), color: 'green' } } diff --git a/web-vue/src/api/system/assets-machine.ts b/web-vue/src/api/system/assets-machine.ts index 5203ea991..8ff0ae7e2 100644 --- a/web-vue/src/api/system/assets-machine.ts +++ b/web-vue/src/api/system/assets-machine.ts @@ -56,11 +56,11 @@ export function machineDistribute(params) { } export const statusMap = { - 0: t('api.system.assets-machine.b26020d2'), - 1: t('api.system.assets-machine.e039b9b5'), - 2: t('api.system.assets-machine.2eff6016'), - 3: t('api.system.assets-machine.8ae7a8a'), - 4: t('api.system.assets-machine.f1e810b2') + 0: t('i18n.757a730c9e'), + 1: t('i18n.fd6e80f1e0'), + 2: t('i18n.c18455fbe3'), + 3: t('i18n.c5bbaed670'), + 4: t('i18n.a14da34559') } // 查看机器关联节点 diff --git a/web-vue/src/api/system/assets-ssh.ts b/web-vue/src/api/system/assets-ssh.ts index fb9465b45..aeca8e382 100644 --- a/web-vue/src/api/system/assets-ssh.ts +++ b/web-vue/src/api/system/assets-ssh.ts @@ -124,7 +124,7 @@ export function importData(formData) { } export const statusMap = { - 0: { desc: t('api.system.assets-ssh.b26020d2'), color: 'red' }, - 1: { desc: t('api.system.assets-ssh.e039b9b5'), color: 'green' }, - 2: { desc: t('api.system.assets-ssh.3eb8617a'), color: 'orange' } + 0: { desc: t('i18n.757a730c9e'), color: 'red' }, + 1: { desc: t('i18n.fd6e80f1e0'), color: 'green' }, + 2: { desc: t('i18n.46158d0d6e'), color: 'orange' } } diff --git a/web-vue/src/api/user/user-login-log.ts b/web-vue/src/api/user/user-login-log.ts index 198b98f64..41713c2b5 100644 --- a/web-vue/src/api/user/user-login-log.ts +++ b/web-vue/src/api/user/user-login-log.ts @@ -20,11 +20,11 @@ export function userLoginLgin(params) { } export const operateCodeMap = { - 0: t('api.user.user-login-log.a1d02c3e'), - 1: t('api.user.user-login-log.e5849544'), - 2: t('api.user.user-login-log.2d6b6d8f'), - 3: t('api.user.user-login-log.d08efdf4'), - 4: t('api.user.user-login-log.227abc8e'), - 5: t('api.user.user-login-log.521c4ec2'), + 0: t('i18n.dd95bf2d45'), + 1: t('i18n.5a5368cf9b'), + 2: t('i18n.18d49918f5'), + 3: t('i18n.a093ae6a6e'), + 4: t('i18n.8b63640eee'), + 5: t('i18n.bb9a581f48'), 6: 'oauth2' } diff --git a/web-vue/src/components/codeEditor/index.vue b/web-vue/src/components/codeEditor/index.vue index ee78e695c..55ceaf17b 100644 --- a/web-vue/src/components/codeEditor/index.vue +++ b/web-vue/src/components/codeEditor/index.vue @@ -5,7 +5,7 @@ height: height }" > - + - + - + diff --git a/web-vue/src/components/customInput/index.vue b/web-vue/src/components/customInput/index.vue index d1643b557..a57bf36a5 100644 --- a/web-vue/src/components/customInput/index.vue +++ b/web-vue/src/components/customInput/index.vue @@ -10,20 +10,20 @@ @@ -52,13 +52,13 @@ export default { inputPlaceholder: { type: String, default: function () { - return t('components.customSelect.index.769d59d') + return t('i18n.101a86bc84') } }, selectPlaceholder: { type: String, default: function () { - return t('components.customSelect.index.3bb646e4') + return t('i18n.708c9d6d2a') } }, selStyle: { type: String, default: '' }, diff --git a/web-vue/src/components/customTable/dict/index.ts b/web-vue/src/components/customTable/dict/index.ts index 7d697e154..8b1d6a391 100644 --- a/web-vue/src/components/customTable/dict/index.ts +++ b/web-vue/src/components/customTable/dict/index.ts @@ -12,25 +12,25 @@ import { t } from '@/i18n' export const tableSizeList = [ { value: 'large', - label: t('components.customTable.dict.index.2325de1c') + label: t('i18n.949934d97c') }, { value: 'middle', - label: t('components.customTable.dict.index.80c1453f') + label: t('i18n.eadd05ba6a') }, { value: 'small', - label: t('components.customTable.dict.index.d39bbae4') + label: t('i18n.03e59bb33c') } ] export const tableLayoutList = [ { value: 'table', - label: t('components.customTable.dict.index.4ff250dc') + label: t('i18n.b339aa8710') }, { value: 'card', - label: t('components.customTable.dict.index.7edad275') + label: t('i18n.d87f215d9a') } ] diff --git a/web-vue/src/components/customTable/index.vue b/web-vue/src/components/customTable/index.vue index 825c932bd..2485c61b0 100644 --- a/web-vue/src/components/customTable/index.vue +++ b/web-vue/src/components/customTable/index.vue @@ -16,13 +16,13 @@ @@ -30,26 +30,26 @@ - + @@ -60,7 +60,7 @@ - + @@ -70,9 +70,9 @@ @@ -103,14 +103,14 @@ - + - + @@ -158,7 +158,7 @@ - + diff --git a/web-vue/src/components/customTable/props.ts b/web-vue/src/components/customTable/props.ts index e78eaec20..6c56a21ca 100644 --- a/web-vue/src/components/customTable/props.ts +++ b/web-vue/src/components/customTable/props.ts @@ -63,7 +63,7 @@ export const customTableProps = initDefaultProps( // 空数据时现在内容 emptyDescription: { type: String, - deafult: t('components.customTable.props.d9634f4e') + deafult: t('i18n.807ed6f5a6') } }, { @@ -73,6 +73,6 @@ export const customTableProps = initDefaultProps( isHideRefresh: false, autoRefreshTime: 10, activePage: false, - emptyDescription: t('components.customTable.props.d9634f4e') + emptyDescription: t('i18n.807ed6f5a6') } ) diff --git a/web-vue/src/components/logView/index.vue b/web-vue/src/components/logView/index.vue index b7da3247f..397511cdf 100644 --- a/web-vue/src/components/logView/index.vue +++ b/web-vue/src/components/logView/index.vue @@ -20,19 +20,19 @@ - + {{ $t('components.logView.index.7333c7f7') }}{{ $t('i18n.288f0c404c') }} - + diff --git a/web-vue/src/components/logView/index2.vue b/web-vue/src/components/logView/index2.vue index 4ac00bb17..85710a63f 100644 --- a/web-vue/src/components/logView/index2.vue +++ b/web-vue/src/components/logView/index2.vue @@ -14,19 +14,19 @@ - + {{ $t('components.logView.index2.7333c7f7') }}{{ $t('i18n.288f0c404c') }} - + diff --git a/web-vue/src/components/parameterWidget/index.vue b/web-vue/src/components/parameterWidget/index.vue index 295bbb1eb..8c2ac47c0 100644 --- a/web-vue/src/components/parameterWidget/index.vue +++ b/web-vue/src/components/parameterWidget/index.vue @@ -15,7 +15,7 @@ }" @click="handleAdd" > - {{ $t('components.parameterWidget.index.42cbc280') }}{{ $t('i18n.7e1b283c57') }} @@ -23,7 +23,7 @@ v-if="editVisible" v-model:open="editVisible" destroy-on-close - :title="$t('components.parameterWidget.index.77ecbd27')" + :title="$t('i18n.71a2c432b0')" :mask-closable="false" @ok="handleEditOk" > @@ -32,11 +32,11 @@ - + @@ -98,7 +98,7 @@ watch( ) const rules = ref>({ - key: [{ required: true, message: $t('components.parameterWidget.index.1bb65976') as string, trigger: 'blur' }] + key: [{ required: true, message: $t('i18n.c0d19bbfb3') as string, trigger: 'blur' }] }) const editVisible = ref(false) diff --git a/web-vue/src/components/terminal/index.vue b/web-vue/src/components/terminal/index.vue index 68ca6c8f7..9dc6e212e 100644 --- a/web-vue/src/components/terminal/index.vue +++ b/web-vue/src/components/terminal/index.vue @@ -1,8 +1,8 @@