Open comradekingu opened 1 year ago
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.
There are lots of names like DeLorean, McFly, O'Brien, etc. with more than one capital letter per word. And in computing: SmartArt, JavaScript, GitHub (!), etc.
You could of course look for two consecutive capital letters. But no more than two, unless you want to get false positives for things like PDF, SQL, HTML, etc.
The check should work the same as others – anything what is present in the source string is considered okay, it should trigger only on capitalization added in the translation.
Describe the problem
THis
is an error, and it often stems from holding down shift for too long, etc.Describe the solution you'd like
A check triggered when a word contains more than one capital letter, which is an error in most any language (?)
Describe alternatives you've considered
If someone wants to do "ALL CAPS", or "CamelCase" in user-facing strings I think it follows that it is most often dumb enough to where having to add "ignore-doublecapital" flags for the ones that actually make sense is warranted.
Screenshots
No response
Additional context
Taken from #5281