Files
rustfs-console/package.json
T
安正超 6b40c2bc16 feat: Add 7 new language packs (DE, ES, IT, JA, KO, PT-BR, RU) and refactor language switcher (#29)
* feat: 补充任务状态和操作相关的翻译键

- 添加小写版本的状态翻译键:waiting, in progress, success, failed, paused, canceled
- 添加 Upload 翻译键
- 更新任务状态显示使用新的翻译键
- 统一翻译键命名规范

* feat: 为法语语言包补充任务状态和操作相关的翻译键

- 添加小写版本的状态翻译键:waiting, in progress, success, failed, paused, canceled
- 添加 Upload 翻译键
- 修复 In Progress 参数名(deleting -> processing)
- 更新 Success Status 和 Failed Status 翻译

* fix: 对齐所有语言包的翻译键

- 为法语语言包添加 Processing (with count) 键
- 为土耳其语语言包添加 success 和 Success Status 键
- 为中文和英文语言包添加 Success Status 键
- 确保所有语言包(中文、英文、土耳其语、法语)的键完全对齐
- 所有语言包现在都有 880 个键

* feat: 添加国际主流语言支持

新增语言包:
- 日语 (ja-JP) - 日本語
- 韩语 (ko-KR) - 한국어
- 德语 (de-DE) - Deutsch
- 西班牙语 (es-ES) - Español
- 俄语 (ru-RU) - Русский
- 葡萄牙语 (pt-BR) - Português
- 意大利语 (it-IT) - Italiano

更新内容:
- 更新 nuxt.config.ts 添加新语言配置
- 更新 language-switcher.vue 组件添加新语言选项
- 所有新语言包包含 880 个翻译键(目前使用英文作为占位符)

现在支持共 11 种语言:英语、中文、日语、韩语、德语、法语、西班牙语、葡萄牙语、意大利语、俄语、土耳其语

* fix: 暂时隐藏未翻译的语言选项

- 从语言选择器中移除尚未翻译的语言(日语、韩语、德语、西班牙语、葡萄牙语、意大利语、俄语)
- 只保留已完整翻译的语言:英语、中文、法语、土耳其语
- 未翻译的语言配置已注释,待翻译完成后可重新启用

这些语言包文件已创建但内容为英文占位符,切换后会显示英文内容

* feat: 完成德语和日语语言包翻译

- 将德语文件 (de-DE.json) 中的所有英文值翻译为德语
- 将日语文件 (ja-JP.json) 中的所有英文值翻译为日语
- 技术术语(如 API、KMS、IAM、MQTT 等)保持英文或使用适当的本地化形式
- 遵循德语和日语的本地化习惯和语言环境

* feat: 完成意大利语、韩语、巴西葡萄牙语和俄语翻译

* feat: 完成西班牙语翻译

* refactor: remove duplicate language options in language-switcher

- Generate options array dynamically from languageConfig
- Eliminate redundant language definitions
- Maintain single source of truth for language data

* fix: input shadow
2025-12-05 22:02:45 +08:00

122 lines
3.5 KiB
JSON

{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint": "vue-tsc --noEmit && prettier --check .",
"lint:fix": "prettier --write .",
"type-check": "vue-tsc --noEmit",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:config-helpers": "vitest run tests/utils/config-helpers",
"test:integration": "vitest run tests/utils/config-helpers.integration.test.ts",
"test:watch": "vitest --watch",
"pre-commit": "bash scripts/pre-commit-check.sh",
"check": "pnpm run lint && pnpm run type-check && pnpm test:run && pnpm build"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.844.0",
"@aws-sdk/client-sts": "^3.844.0",
"@aws-sdk/s3-request-presigner": "^3.844.0",
"@iconify-json/ri": "^1.2.5",
"@iconify/json": "^2.2.385",
"@iconify/vue": "^5.0.0",
"@internationalized/date": "^3.10.0",
"@nuxt/icon": "^1.15.0",
"@nuxt/image": "^1.10.0",
"@nuxtjs/i18n": "^9.5.6",
"@pinia/nuxt": "^0.9.0",
"@smithy/protocol-http": "^5.1.2",
"@tanstack/vue-table": "^8.21.3",
"@types/file-saver": "^2.0.7",
"@types/three": "^0.175.0",
"@unovis/ts": "^1.6.1",
"@unovis/vue": "^1.6.1",
"@vee-validate/zod": "^4.15.1",
"@vueuse/integrations": "^12.8.2",
"aws-sdk": "^2.1692.0",
"axios": "^1.10.0",
"clipboard": "^2.0.11",
"dayjs": "^1.11.13",
"dotted-map": "^2.2.3",
"echarts": "^5.6.0",
"embla-carousel-vue": "^8.6.0",
"file-saver": "^2.0.5",
"json-editor-vue": "^0.18.1",
"jszip": "^3.10.1",
"lucide-vue-next": "^0.487.0",
"motion-v": "^1.5.0",
"node-forge": "^1.3.2",
"nuxt": "^4.2.0",
"pinia": "^2.3.1",
"pnpm": "^10.19.0",
"postprocessing": "^6.37.6",
"reka-ui": "^2.6.0",
"shadcn-nuxt": "^2.3.2",
"strip-json-comments": "^5.0.2",
"tailwindcss": "^4.1.16",
"three": "^0.175.0",
"three-globe": "^2.43.0",
"ufo": "^1.6.1",
"universal-cookie": "^7.2.2",
"vaul-vue": "^0.4.1",
"vee-validate": "^4.15.1",
"vue": "^3.5.17",
"vue-router": "^4.5.1",
"vue-sonner": "^1.3.2",
"zod": "^3.25.76"
},
"devDependencies": {
"@aws-sdk/types": "^3.840.0",
"@inspira-ui/plugins": "^0.0.1",
"@oxc-minify/binding-darwin-arm64": "^0.95.0",
"@oxc-transform/binding-darwin-arm64": "^0.95.0",
"@tailwindcss/vite": "^4.1.16",
"@types/aws4": "^1.11.6",
"@types/lodash": "^4.17.20",
"@types/node-forge": "^1.3.12",
"@vitalets/google-translate-api": "^9.2.1",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"@vueuse/core": "^13.5.0",
"@vueuse/nuxt": "^13.5.0",
"c8": "^10.1.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"jsdom": "^27.0.0",
"lodash": "^4.17.21",
"patch-package": "^8.0.0",
"prettier": "^3.2.5",
"tailwind-merge": "^3.3.1",
"tailwindcss-animate": "^1.0.7",
"tar": "^7.5.2",
"tw-animate-css": "^1.4.0",
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"vue-tsc": "^2.2.12"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
},
"packageManager": "pnpm@10.19.0",
"engines": {
"node": ">=22.0.0",
"pnpm": ">=10.19.0"
},
"pnpm": {
"overrides": {
"tar": ">=7.5.2",
"glob": ">=10.5.0",
"js-yaml": ">=4.1.1",
"node-forge": ">=1.3.2"
}
}
}