[Libreoffice-bugs] [Bug 109258] Tooling allows (and thus code has) duplicate string entries for translation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 12 16:46:12 UTC 2017


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

--- Comment #31 from miles at filmsi.net ---
My further investigation into this showed (because poEdit did not want for some
reason delete the duplicate string definitions from extensions/messages.pot and
opened it as it is, and then I selected the Group by content option) that all
the newly generated messages.pot - and this goes for all messages.pot files
that gathered all strings from existing UI subdir po files in LibreOffice - are
all faulty!

*They consist of quadrupled gettext strings definitions.*

A simple example is the short sccomp/messages.pot file that you can check from
git.
Here is the structure of the file (as of September 10th, 2017):
lines 1-14: header
lines 16-86: first set of string definitions
lines 89-159: second set of string definitions (a complete copy of the first
set)
lines 162-232: third set of string definitions (second copy of the first set)
lines 235-305: fourth set of string definition (third copy of the first set)

You can see where the repetitions begin because there is a double empty line
there: 15, 87 160, 233. So you can check all other messages.pot files for
double empty lines and find where it happens.

So all pot files, generated by this huge migration of UI strings, resulted in
faults - with quadrupled definitions. This is a huge problem, IMHO.

-- 
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/20170912/722a83d9/attachment.html>


More information about the Libreoffice-bugs mailing list