Skip to content

feat: add Chinese (zh-CN) localization for UI - #175

Open
hq970123 wants to merge 1 commit into
codeforreal1:mainfrom
hq970123:feat/zh-CN-localization
Open

hq970123 wants to merge 1 commit into
codeforreal1:mainfrom
hq970123:feat/zh-CN-localization

Conversation

@hq970123

Copy link
Copy Markdown

概述

本 PR 为 CompressO 添加了简体中文(zh-CN)的完整界面本地化,将所有 UI 文本翻译为中文,为中文用户提供完整的中文使用体验。

修改内容

共修改 45 个文件,涵盖以下模块:

主要 UI

  • 拖放区域、媒体选择、压缩操作
  • 主题切换器、视频裁剪时间轴

图片设置

  • 压缩质量、尺寸、格式扩展名
  • SVG 配置、缩放因子、图片变换

视频设置

  • 编解码器、压缩预设、压缩质量
  • 尺寸、帧率、速度、视频变换
  • 视频裁剪

音频设置

  • 比特率、声道、编解码器、音量

其他设置

  • 元数据、字幕

应用设置

  • 关于页面、致谢、设置

Tauri 配置

  • 应用描述本地化

翻译范围

  • 所有 toast 消息(成功、错误、警告)
  • 按钮文本、标签、工具提示
  • 描述文本、设置选项
  • 错误消息

测试

  • 所有 UI 文本已翻译为简体中文
  • 保持原有代码结构和逻辑不变
  • 仅修改字符串内容,不改变功能行为

截图

翻译覆盖了整个应用的界面文本,从主页面到所有设置面板。

This PR translates the entire compressO user interface into Simplified Chinese (zh-CN), covering:

- Main UI: drag & drop, media selection, compression actions
- Image settings: quality, dimensions, extensions, SVG config, transform
- Video settings: codec, preset, quality, dimensions, FPS, speed, transform, trim
- Audio settings: bitrate, channels, codec, volume
- Other settings: metadata, subtitles
- App settings: about page, credits, settings
- Tauri config: app description localization
- Theme switcher, video trimmer timeline

All UI text strings (toasts, labels, tooltips, buttons, descriptions) have been
translated to provide a complete Chinese-language experience for zh-CN users.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant