-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
INI file: strings prefix with 'rem' missing #10561
Comments
Probably related to this "allow_rem" parameter from iniparse API: Probably these lines are being parsed as comments. |
Indeed. ';' or '#' or 'rem' start line parse as a comment. But I can't find any documentation about using rem as a comment.(usually use # or ;) |
These are typically valid INI keys, this iniparse behavior seems weird. Other iniparse consumers seem to do this as well (for example crudini). Fixes WeblateOrg/weblate#10561
Apparently it is in the iniparse since the very beginning: candlepin/python-iniparse@fd4f69f The fix might be to call translate/translate#5130 should address this. |
These are typically valid INI keys, this iniparse behavior seems weird. Other iniparse consumers seem to do this as well (for example crudini). Fixes WeblateOrg/weblate#10561
Thank you for your report; the issue you have reported has just been fixed.
|
Describe the issue
Project is https://hosted.weblate.org/projects/aseprite/aseprite/en/#search
The follow sentences cannot be searched, but they do exist.
https://github.com/aseprite/aseprite/blob/516a927a59d8b6dc65061da39bcbf3434965337a/data/strings/en.ini#L162-L165
https://github.com/aseprite/aseprite/blob/516a927a59d8b6dc65061da39bcbf3434965337a/data/strings/en.ini#L385-L388
The statistics count are also incorrect, now is 1606 but actually it should be 1614. (Exactly 8 are missing)
They all use ‘rem’ as a prefix, and I'm not sure if it's related to this.
Raise from: aseprite/aseprite#4208
I already tried
Steps to reproduce the behavior
Go to https://hosted.weblate.org/projects/aseprite/aseprite/en/#search
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: