feat: 添加国际化支持,适配系统语言

- CMakeLists.txt 添加 LinguistTools 翻译构建流程
- 添加 zh_CN 翻译文件(11 条)
- 构建时自动用 lrelease 编译 .ts 到 .qm
- .qm 文件安装到 translations/ 目录,dde-shell 自动加载
- 添加 update_translations 目标用于手动更新翻译源文件
- .gitignore 忽略 .qm 编译产物
This commit is contained in:
2026-07-13 20:31:06 +08:00
parent 9fb80cdfc8
commit 63face00a7
3 changed files with 97 additions and 3 deletions
+1
View File
@@ -2,3 +2,4 @@ build/
.cache/
*.o
*.so
*.qm