Closed kuweiguge closed 1 year ago
@kuweiguge Hey, thanks for the PR :)
How did you translate the text? I have checked it with deepL and it looks good. One thing that i found is this one: "High Red Question Label", that should say Bold, is that an error with deepL?
@0verEngineer Hey During my previous submission, I utilized the AI assistant from IntelliJ IDEA for Chinese translation, and subsequently noted several inaccuracies. With an aim to enhance translation quality and ensure the validity of the content, I conducted a meticulous examination and made minor adjustments to the translation. I place significant importance on ensuring the translated text isn't just accurate, but also complies with Chinese grammatical norms and context. I am confident that these modifications will make the Chinese context more natural and easier to comprehend. Thank you for considering these further submissions.
@kuweiguge If you have time and interest, it would be cool if you would translate the new strings added here: https://github.com/0verEngineer/InlineProblems/pull/40
@kuweiguge If you have time and interest, it would be cool if you would translate the new strings added here: #40
I'm not quite sure what I should do. Can you guide me? Should I checkout the dev branch, add Chinese translations, and then submit a PR?
Yea submit a PR into dev or main, does not matter. :)
Title:Added Chinese localization to the settings interface
Description: I immensely enjoy using this plugin. However, as a non-native English speaker, I have experienced difficulties in understanding the English text in the settings interface. I am positive that there are other Chinese speaking users who love this plugin as much as I do and might face the same language challenges. So, to eliminate this difficulty, I have added Chinese localization support to enhance the user experience for Chinese users. Looking forward to your feedback and hope this inclusion will be beneficial.
Settings UI:
Below is the commit description generated by Idea AI Assistant:
This commit refactors hardcoded strings in
SettingsComponent.java
intoresource bundles
. The strings are now extracted into two properties files,SettingsBundle_en.properties
andSettingsBundle_zh_CN.properties
. This is intended to provide support for internationalization (i18n) and improve code maintainability. Also, a new class,SettingsBundle.java
is created to manage these resource bundles dynamically using the path 'messages.SettingsBundle', which has been added to the plugin.xml file. This refactor creates a reusable and extensible mechanism for localizing the settings UI in the future.