https://bugs.documentfoundation.org/show_bug.cgi?id=128200

--- Comment #10 from Christian Lohmaier <[email protected]> ---
(In reply to Lionel Elie Mamane from comment #6)
> 
> git grep -A2 -F 'RID_RSC_SQL_INTERNATIONAL' |
> egrep -B2 'msgstr ".*[^[:alnum:]_].*"'
> 
> This assumes [:alnum:] does the right thing in all languages / character
> sets.

Hmm. Please specify what "the right thing" is. I was assuming it should accept
numerical and characters from all scripts, but the list also refuses combined
characters, e.g. the গ্য that is a combination of গ + য (according to
http://www.wbsed.gov.in/feedback/bengali_help.html, I have no idea of writing
in that script :-))

Not treating combinations and advanced characters matches python's behaviour in
regards to the \w character class, so I added a check for strings with context
RID_RSC_SQL_INTERNATIONAL that complains unless the translation matches
^[\w\d]+$
(unicode word and digit characters, \w includes underscore)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to