mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-16 12:35:02 +00:00

# Description of Changes - **What was changed:** Improved and completed the Simplified Chinese (zh_CN) translations in `messages_zh_CN.properties` - **Why the change was made:** To provide full and accurate localization for Chinese users and improve the user experience. - **Challenges encountered:** None > [!NOTE] > The below summary is generated by Github Copilot: This pull request updates the Chinese translation file (`messages_zh_CN.properties`) with comprehensive translations for various application strings, replacing English text with accurate Chinese equivalents. The changes enhance localization and improve the user experience for Chinese-speaking users. ### Localization Updates #### General Language Translations: * Replaced English language names with their Chinese counterparts for all supported languages in the application. For example, `lang.ara` was changed from "Arabic" to "阿拉伯语". #### Feature-Specific Translations: * Updated PDF-related feature strings, such as `getPdfInfo`, `sanitizePDF`, and `compress`, with Chinese translations for headers, descriptions, and settings. For instance, `getPdfInfo.summary` was changed from "PDF Summary" to "PDF 摘要". [[1]](diffhunk://#diff-96642f7f84844ca3ff72a89cad109fa1dd6a6db834e414bdabd30ba3887751b1L810-R831) [[2]](diffhunk://#diff-96642f7f84844ca3ff72a89cad109fa1dd6a6db834e414bdabd30ba3887751b1L899-R902) [[3]](diffhunk://#diff-96642f7f84844ca3ff72a89cad109fa1dd6a6db834e414bdabd30ba3887751b1L1123-R1124) #### Tool and Interface Labels: * Translated interface labels like "Undo" and "Redo" to "撤销" and "重做", respectively, in the multi-tool section. Similarly, "Page Select" was translated to "页面选择". [[1]](diffhunk://#diff-96642f7f84844ca3ff72a89cad109fa1dd6a6db834e414bdabd30ba3887751b1L1173-R1175) [[2]](diffhunk://#diff-96642f7f84844ca3ff72a89cad109fa1dd6a6db834e414bdabd30ba3887751b1L1189-R1190) #### New Feature Translation: * Added translations for the "Fake Scan" feature, including headers, descriptions, and advanced settings, such as "Brightness" ("亮度") and "Contrast" ("对比度"). * Added translations for the "EML To PDF" feature, including title, headers, descriptions, and advanced settings, such as "Convert" ("转换") and "Maximum attachment size (MB)" ("附件大小上限(MB)"). #### Error and Notification Messages: * Translated system messages, such as `login.relyingPartyRegistrationNotFound`, from "No relying party registration found" to "未找到依赖方注册信息". --- ## Checklist ### General - [x] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ ] I have read the [Stirling-PDF Developer Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md) (if applicable) - [ ] I have read the [How to add new languages to Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md) (if applicable) - [x] I have performed a self-review of my own code - [x] My changes generate no new warnings ### Documentation - [ ] I have updated relevant docs on [Stirling-PDF's doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) (if functionality has heavily changed) - [ ] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) ### UI Changes (if applicable) - [ ] Screenshots or videos demonstrating the UI changes are attached (e.g., as comments or direct attachments in the PR) ### Testing (if applicable) - [ ] I have tested my changes locally. Refer to the [Testing Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/DeveloperGuide.md#6-testing) for more details.