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
Using NBSP with colons in the punctuation spacing fixup #11237
Comments
There could be an additional flag for this which would configure desired spacing. Something like |
This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this. You can learn about how to get started in our contributors documentation. |
Can I claim this? |
I'm thinking of working on this. How would you go about testing if you added this feature? Also, where would you add it? |
Anybody can start working on an issue. The code belongs to the existing check and fixup implementation: weblate/weblate/trans/autofixes/chars.py Lines 80 to 101 in ec2105f
weblate/weblate/checks/chars.py Lines 418 to 469 in ec2105f
|
Describe the problem
Opening a feature request as requested in #9470
Some guides like the Lexique des règles typographiques en usage à l'Imprimerie nationale, often used as a reference in France, specify that there should be a regular non-breaking space before the colon character, but not for other "two-part" characters, such as semicolons, where a NNBSP should be used instead. Some organizations and media however prefer to use NNBSP with colons.
Are there plans to add a toggle (of sorts) to allow the use of NBSP with colons?
Thanks!
Describe the solution you would like
A toggle allowing to switch between NBSP and NNBSP with colons would be useful.
The text was updated successfully, but these errors were encountered: