[Libreoffice-bugs] [Bug 119080] pocheck utility needs an update

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 4 16:19:13 UTC 2018


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

Andras Timar <timar74 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |caolanm at redhat.com,
                   |                            |cloph at documentfoundation.or
                   |                            |g
             Status|UNCONFIRMED                 |NEW
           Keywords|                            |regression
     Ever confirmed|0                           |1

--- Comment #1 from Andras Timar <timar74 at gmail.com> ---
Invocation of pocheck:

LD_LIBRARY_PATH=instdir/program make cmd
cmd=workdir/LinkTarget/Executable/pocheck

Currently it gives a lot of warnings because of missing po files. 

Unfortunately it takes more that just changing the po file names in
l10ntools/source/pocheck.cxx. I got an "pocheck: exception std::exception". It
seems that the problem is, that the #, c-format flag is not handled (exception
is thrown when the po parser reads an entry with this flag). But this flag
should not be there in the first place, because there are no true C format
strings in LibreOffice strings. It is an artifact from the underlying xgettext
call. I would rather leave this to someone else.

I think, it would be good to fix pocheck, because it prevents various runtime
errors. For example there are clashing style names in various languages (I saw
German, Japanese) in LibreOffice 6.0 and onwards.

-- 
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/20180804/d337f455/attachment.html>


More information about the Libreoffice-bugs mailing list