]> git.ipfire.org Git - thirdparty/libvirt.git/commit
po: stop stripping non-translated strings from po files
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 18 May 2020 16:49:03 +0000 (17:49 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 4 Jun 2020 10:18:35 +0000 (11:18 +0100)
commit35d68db5b1a3d7dbc66f482540dd786289ac5a28
treeb18a750515bd468601027606730858d0e1d2c9c7
parent737cadff772c1bdc6ab9f2d695dd5e0cdf65016b
po: stop stripping non-translated strings from po files

We previously adopted a minimization technique for po files which
stripped source locations and non-translated msgids in order to save
space in the git repos and have saner commit diffs.

At this time it is not possible to integrate with weblate while having
non-translated msgids stripped, as it will immediately add them back
again.

By keeping all non-translated msgids, our .po files are about x2 the
size at 37 MB vs the original 18 MB. This is still way better than the
original po/ directory which was 109 MB. We're saving 38 MB by still
omitting source file locations, and another 34 MB are saved by the
dropping of all languages which are 100% untranslated.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am
po/Makefile.am
scripts/minimize-po.py [deleted file]