[Libreoffice-bugs] [Bug 128200] Wrong translations of formula function names and identifiers

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 5 18:14:58 UTC 2020


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

--- Comment #10 from Christian Lohmaier <cloph at documentfoundation.org> ---
(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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200505/1357f66e/attachment.htm>


More information about the Libreoffice-bugs mailing list