-
Notifications
You must be signed in to change notification settings - Fork 19
chore: update translations #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
update translations Log: update translations
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Johnson-zs The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideThis PR refreshes all .ts translation files for the dde-device-formatter by normalizing headers, bumping line references, filling in missing translations and dropping obsolete entries, plus adding new locale files. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Johnson-zs - I've reviewed your changes - here's some feedback:
- The newly added sq locale file is entirely marked unfinished and contains no translations yet—please either supply the actual translations or remove it from this PR to avoid blank UI text.
- Many TS headers were hand-edited (encoding, DOCTYPE, line numbers) which can lead to parser errors; consider regenerating all TS files with lupdate to keep headers and formatting consistent.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The newly added sq locale file is entirely marked unfinished and contains no translations yet—please either supply the actual translations or remove it from this PR to avoid blank UI text.
- Many TS headers were hand-edited (encoding, DOCTYPE, line numbers) which can lead to parser errors; consider regenerating all TS files with lupdate to keep headers and formatting consistent.
## Individual Comments
### Comment 1
<location> `translations/dde-device-formatter_af.ts:17` </location>
<code_context>
+ <message>
+ <location filename="../view/formatingpage.cpp" line="29"/>
+ <source>Formatting the disk, please wait...</source>
+ <translation>Formaat van die skerm, asseblief wag...</translation>
+ </message>
+</context>
</code_context>
<issue_to_address>
Possible mistranslation of 'disk' as 'skerm' (screen) in Afrikaans.
'Skerm' should be replaced with 'skyf' to accurately translate 'disk.'
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
<translation>Formaat van die skerm, asseblief wag...</translation>
=======
<translation>Formateer die skyf, asseblief wag...</translation>
>>>>>>> REPLACE
</suggested_fix>
### Comment 2
<location> `translations/dde-device-formatter_af.ts:40` </location>
<code_context>
+ <message>
+ <location filename="../view/mainpage.cpp" line="144"/>
+ <source>Formatting will erase all data on the disk.</source>
+ <translation>Formaat sal alle data op die skerm verwyder.</translation>
+ </message>
+</context>
</code_context>
<issue_to_address>
Incorrect term 'skerm' (screen) used for 'disk' in Afrikaans.
Replace 'skerm' with 'skyf' to accurately refer to 'disk' and avoid user confusion.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
<translation>Formaat sal alle data op die skerm verwyder.</translation>
=======
<translation>Formaat sal alle data op die skyf verwyder.</translation>
>>>>>>> REPLACE
</suggested_fix>
### Comment 3
<location> `translations/dde-device-formatter_af.ts:135` </location>
<code_context>
+ <message>
+ <location filename="../view/warnpage.cpp" line="23"/>
+ <source>Formatting will erase all data on this disk, are you sure you want to continue? It cannot be restored.</source>
+ <translation>Formaat sal alle data op hierdie skerm verwyder, is u seker dat u wil voortgaan? Dit kan nie herstel word nie.</translation>
+ </message>
+</context>
</code_context>
<issue_to_address>
Repeated mistranslation of 'disk' as 'skerm' in warning message.
Please replace 'skerm' with 'skyf' in the translation for accuracy.
</issue_to_address>
<suggested_fix>
<<<<<<< SEARCH
<source>Formatting will erase all data on this disk, are you sure you want to continue? It cannot be restored.</source>
<translation>Formaat sal alle data op hierdie skerm verwyder, is u seker dat u wil voortgaan? Dit kan nie herstel word nie.</translation>
=======
<source>Formatting will erase all data on this disk, are you sure you want to continue? It cannot be restored.</source>
<translation>Formaat sal alle data op hierdie skyf verwyder, is u seker dat u wil voortgaan? Dit kan nie herstel word nie.</translation>
>>>>>>> REPLACE
</suggested_fix>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
| <message> | ||
| <location filename="../view/formatingpage.cpp" line="29"/> | ||
| <source>Formatting the disk, please wait...</source> | ||
| <translation>Formaat van die skerm, asseblief wag...</translation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (typo): Possible mistranslation of 'disk' as 'skerm' (screen) in Afrikaans.
'Skerm' should be replaced with 'skyf' to accurately translate 'disk.'
| <translation>Formaat van die skerm, asseblief wag...</translation> | |
| <translation>Formateer die skyf, asseblief wag...</translation> |
| <message> | ||
| <location filename="../view/mainpage.cpp" line="144"/> | ||
| <source>Formatting will erase all data on the disk.</source> | ||
| <translation>Formaat sal alle data op die skerm verwyder.</translation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (typo): Incorrect term 'skerm' (screen) used for 'disk' in Afrikaans.
Replace 'skerm' with 'skyf' to accurately refer to 'disk' and avoid user confusion.
| <translation>Formaat sal alle data op die skerm verwyder.</translation> | |
| <translation>Formaat sal alle data op die skyf verwyder.</translation> |
| <source>Formatting will erase all data on this disk, are you sure you want to continue? It cannot be restored.</source> | ||
| <translation>Formaat sal alle data op hierdie skerm verwyder, is u seker dat u wil voortgaan? Dit kan nie herstel word nie.</translation> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (typo): Repeated mistranslation of 'disk' as 'skerm' in warning message.
Please replace 'skerm' with 'skyf' in the translation for accuracy.
| <source>Formatting will erase all data on this disk, are you sure you want to continue? It cannot be restored.</source> | |
| <translation>Formaat sal alle data op hierdie skerm verwyder, is u seker dat u wil voortgaan? Dit kan nie herstel word nie.</translation> | |
| <source>Formatting will erase all data on this disk, are you sure you want to continue? It cannot be restored.</source> | |
| <translation>Formaat sal alle data op hierdie skyf verwyder, is u seker dat u wil voortgaan? Dit kan nie herstel word nie.</translation> |
|
/forcemerge |
|
This pr force merged! (status: blocked) |
update translations
Log: update translations
Summary by Sourcery
Update and complete translation resources for dde-device-formatter by standardizing TS file headers, synchronizing source references, and filling in missing strings across numerous locales.
Enhancements: