Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

commit 196885980bbb51562264cb5aad9a3e01133d1d7d fixes a situation where
some translated strings may be missing from installation because of a
bug in one of our tools. I would like to see it in 3.4 .

Details:

The fast_merge.pl script creates hierarchy of localize.sdf files (one
per source directory) from sdf files containing all translations for a
language. It reads from the source files by chunks, always all lines
that contain translations for one source file. If the first two source
files in the input sdfs are from different directories, the translations
for the first are lost, because the localize.sdf is created in the
directory of the second file.

It seems that the order of the source files in the input sdfs is random
(but they are grouped per directory), which suggests they are created
by crawling the directory structure in translations/source. This makes
the bug system specific.

See https://bugzilla.redhat.com/show_bug.cgi?id=771108 as an example.
Here the top translations evidently came from
framework/source/classes/resource.src and
framework/source/services/fwk_services.src and translations from the
former were lost.

Note: Miklos tried to fix it before, but unfortunately his fix was not
complete and I reverted it.

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.