diff --git a/frontend/.prettierrc.js b/frontend/.prettierrc.cjs similarity index 100% rename from frontend/.prettierrc.js rename to frontend/.prettierrc.cjs diff --git a/frontend/package.json b/frontend/package.json index 85beded8..2587b58a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.3.1", - "@vueuse/core": "^11.1.0", + "@vueuse/core": "^11.2.0", "asciinema-player": "^3.8.1", "axios": "^1.6.2", "clipboard": "^2.0.11", @@ -19,7 +19,7 @@ "crypto-js": "^4.2.0", "dayjs": "^1.11.13", "echarts": "^5.5.1", - "element-plus": "^2.8.6", + "element-plus": "^2.8.8", "js-base64": "^3.7.7", "jsencrypt": "^3.3.2", "lodash": "^4.17.21", @@ -28,7 +28,7 @@ "monaco-sql-languages": "^0.12.2", "monaco-themes": "^0.4.4", "nprogress": "^0.2.0", - "pinia": "^2.2.5", + "pinia": "^2.2.6", "qrcode.vue": "^3.5.1", "screenfull": "^6.0.2", "sortablejs": "^1.15.3", @@ -36,7 +36,8 @@ "sql-formatter": "^15.4.5", "trzsz": "^1.1.5", "uuid": "^9.0.1", - "vue": "^3.5.12", + "vue": "^3.5.13", + "vue-i18n": "^10.0.4", "vue-router": "^4.4.5", "xterm": "^5.3.0", "xterm-addon-fit": "^0.8.0", @@ -51,16 +52,16 @@ "@types/sortablejs": "^1.15.8", "@typescript-eslint/eslint-plugin": "^6.7.4", "@typescript-eslint/parser": "^6.7.4", - "@vitejs/plugin-vue": "^5.1.4", - "@vue/compiler-sfc": "^3.5.12", + "@vitejs/plugin-vue": "^5.2.0", + "@vue/compiler-sfc": "^3.5.13", "code-inspector-plugin": "^0.4.5", "dotenv": "^16.3.1", "eslint": "^8.35.0", "eslint-plugin-vue": "^9.28.0", "prettier": "^3.2.5", - "sass": "^1.80.5", + "sass": "^1.80.6", "typescript": "^5.6.3", - "vite": "^5.4.10", + "vite": "^5.4.11", "vue-eslint-parser": "^9.4.3" }, "browserslist": [ @@ -68,4 +69,4 @@ "last 2 versions", "not dead" ] -} \ No newline at end of file +} diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 8d2356e8..f12b60c7 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,24 +1,26 @@ diff --git a/frontend/src/components/contextmenu/index.vue b/frontend/src/components/contextmenu/index.vue index e2b9e4a1..531036fe 100644 --- a/frontend/src/components/contextmenu/index.vue +++ b/frontend/src/components/contextmenu/index.vue @@ -22,7 +22,7 @@ @click="onCurrentContextmenuClick(v)" > - {{ v.txt }} + {{ $t(v.txt) }} diff --git a/frontend/src/components/crontab/Crontab.vue b/frontend/src/components/crontab/Crontab.vue index ffe06eb8..5648f68b 100644 --- a/frontend/src/components/crontab/Crontab.vue +++ b/frontend/src/components/crontab/Crontab.vue @@ -1,43 +1,43 @@