-
-
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
Detect to many curly brackets (Python) #12197
Comments
Thank you for your report; the issue you have reported has just been fixed.
|
1 similar comment
Thank you for your report; the issue you have reported has just been fixed.
|
nijel
added a commit
to nijel/weblate
that referenced
this issue
Aug 5, 2024
- look for escaped braces in the original string as well - treat { } escapes same as with % - remove bogus detection of % placeable - detect any stray { } besides parsed format string See WeblateOrg#12198 and WeblateOrg#12197
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the problem
Translated strings used in Python do have (sometimes) to many curly brackets. Weblate do not warn about that. It cause Exceptions in the running code.
Describe the solution you would like
Weblate could detect it somehow.
Describe alternatives you have considered
No response
Screenshots
Additional context
No response
The text was updated successfully, but these errors were encountered: