-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix syntax errors in all .po translation files for Weblate parsing #4748
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
|
✅ All Jest tests passed! This PR is ready to merge. |
|
@ac-mmi Can you please look into this? |
|
@walterbender Some components in Weblate were locked because the .po files couldn’t be parsed. I wasn’t able to check the alerts directly since I signed up but never got the confirmation email. That said, the PR description makes it clear what the issue was. Fixing the .po syntax should let Weblate parse everything again, unlock the components, and allow translators to contribute. |
|
@ac-mmi thx. I guess I am wondering if you need to make changes to your code to ensure that the auto-generated files are compatible. I assume that none of these files were touched by your code. (I'm still waiting on Devin to review JA before merging your changes.) |
|
@walterbender Only the tr.po file was provided by me. The rest of the .po files weren’t touched by me or my code. |
|
@ac-mmi The TR file also had the issue with the missing spaces for trans notes and deprecated translations. Please double-check that your code will include the proper space when we run it across other languages. Thx. |
|
@walterbender I noticed that the idea “Improve synth and sample features in Music Blocks” is listed in the GitHub GSoC ideas repository, but it does not appear in the official GSoC 2025 project list on the website. |
|
We have a DMP project for this. |
|
@walterbender Thanks for clarifying, Could you please guide me on how contributors can get involved with the DMP project? Should we start by exploring its repository or join a specific discussion channel? |
|
@Faisal77666 please take the discussion to our Matrix channel. |
This PR fixes syntax errors in all .po translation files in the repository. The errors included:
Missing space after #~ in obsolete entries (#
msgid → #msgid, #msgstr → #msgstr)Unescaped double quotes in msgstr lines.
Incorrectly formatted multi-line msgstr entries.
Benefits / Impact:
Resolves Weblate parsing errors that previously locked the translation component.
Ensures all translation files can now be accessed and translated without issues.
Improves maintainability of the .po files and prevents similar parsing errors in the future.
Example errors fixed:
zh_TW.po: Syntax error due to #~msgid without space.
ayc.po: Unescaped double quotes in msgstr.
es.po: Complex strings with unescaped quotes corrected.
tr.po: Header formatting issue.