forked from pool/gnome-patch-translation
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-patch-translation?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
b8f5b926d2
commit
ddd67731d8
@@ -6,9 +6,11 @@ mkdir -p gnome-patch-translation-merged
|
||||
cd gnome-patch-translation-files
|
||||
msgcomm --more-than=0 -o ../gnome-patch-translation-merged/gnome-patch-translation.pot ../HEADER.pot *.pot
|
||||
ls -1 *.po | sed 's/^.*-//;s/\.po//' | sort -u >../gnome-patch-translation-merged/lang.lst
|
||||
touch empty.po
|
||||
for LNG in $(<../gnome-patch-translation-merged/lang.lst) ; do
|
||||
msgcomm --more-than=0 -o ../gnome-patch-translation-merged/$LNG.po ../HEADER.pot *-$LNG.po
|
||||
msgcomm --more-than=0 -o ../gnome-patch-translation-merged/$LNG.po empty.po *-$LNG.po
|
||||
done
|
||||
rm empty.po
|
||||
|
||||
cd ../gnome-patch-translation-merged
|
||||
for PO in *.po ; do
|
||||
|
Reference in New Issue
Block a user