Comment # 1 on bug 1158957 from
I just finished a review of all mimeinfo.po and
update-desktop-files-mimelnk.po.

There is not a single string in any language that is not already present in the
shared-mime-info translation.

There is a small chance that some other MIME files still have unique strings.


We can drop all update-desktop-files-mimelnk.po* completely, and remove
shared-mime-info strings from mimeinfo.pot

Note: the possible reuse in an upstream project is a bit complicated.
Downstream strings have context, shared-mime-infor does not. (It has an ugly
side effect that translators have duplicated MIME definitions translate more
than once.)

As gettext-tools don't have any tool for context removal, I did following:

mkdir NOCTXTMP NOCTX
cp -a *.po NOCTXTMP/
sed -i '/^msgctxt/,/^msgid/{/^msgid/p;d;}' NOCTXTMP/*.po
for i in *.po ; do msguniq --unique NOCTXTMP/$i -o NOCTX/$i ; done


You are receiving this mail because: