-
-
Notifications
You must be signed in to change notification settings - Fork 955
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
Make character limit less restrictive #3662
Comments
Having something more fancy requires using some better editor, there are already several issues related to this, see #2964 (comment) |
I think there should be hard and soft limits. |
@comradekingu, it's common to be external limit, which shouldn't be exceeded no matter what the length of source line is e.g. Google Play limits "Recent Changes" to 500 characters. For normal strings the «hard» limit is 10 times the size of source. The soft AFAIK already exist by some checks e.g. MaxSizeCheck that limits size of strings by rendering them. |
I often see it being more than 500. Does that mean it is cut off at 500? |
AFAIK, yep... Google Play and F-droid just chop off the rest of the string. But I haven't found any related docs, so I'm not really sure... If it's crucial, I would rather double check... |
See #1525 for discussion on Google Play limits. |
- Prepare for using as a translation editor - Add warning when getting close to the chars limit - Add support for counting label Issue #3662
Thank you for your report, the issue you have reported has just been fixed.
|
It displays the counter and colors the border, but does not block editing. This makes it possible to edit too long text before sending. Fixes WeblateOrg#3662
It displays the counter and colors the border, but does not block editing. This makes it possible to edit too long text before sending. Fixes #3662
Currently if a translated message is hitting character limit in the text input, weblate prevents new character from being input. It's quite inconvenient if some restrictive string length is defined and you are trying to fit translation into into it. Basically, you just have to copy the translated text to external text editor or a comment field, because you need extra space to shuffle words around or rephrase the translation.
I suggest (instead of forbidding input of extra characters) to mark the word indicator with red (and may be bold) if the translation length is exceeded and refuse to save it until the length fits.
The text was updated successfully, but these errors were encountered: