summaryrefslogtreecommitdiff
path: root/makepot
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-23 13:33:24 +0100
committerraveit65 <[email protected]>2020-02-08 18:18:18 +0100
commit76d1f15122ee1031a2e02fe06974757cacae7c3f (patch)
treea140a4c3ed73e3a60f1a9ac0f23082031d2d16a8 /makepot
parent770ac87b8ab8c79f2e63f6afcfe788a565ebd202 (diff)
downloadmate-system-monitor-76d1f15122ee1031a2e02fe06974757cacae7c3f.tar.bz2
mate-system-monitor-76d1f15122ee1031a2e02fe06974757cacae7c3f.tar.xz
filter-out conflictive c-format comments
Diffstat (limited to 'makepot')
-rwxr-xr-xmakepot3
1 files changed, 2 insertions, 1 deletions
diff --git a/makepot b/makepot
index 560ad9c..2939e90 100755
--- a/makepot
+++ b/makepot
@@ -5,7 +5,8 @@ PACKAGE=mate-system-monitor;
# normal translations for the package
make -C po $PACKAGE.pot && mv po/$PACKAGE.pot .
sed -i "/#, fuzzy/d" $PACKAGE.pot
-
+perl -0777 -i.001 -p -e 's/#. makepot: remove comment\n#\: src\/org\.mate\.system\-monitor\.gschema\.xml\.in\:([0-9]*)\n#, c-format\n/#\: src\/org\.mate\.system\-monitor\.gschema\.xml\.in\:\1\n/s' mate-system-monitor.pot
+perl -0777 -i.002 -p -e 's/#. makepot: remove comment\n#\: src\/org\.mate\.system\-monitor\.gschema\.xml\.in\:([0-9]*)\n#, c-format\n/#\: src\/org\.mate\.system\-monitor\.gschema\.xml\.in\:\1\n/s' mate-system-monitor.pot
# translations for user-quide
rm -f help/$PACKAGE.pot &&
make -C help $PACKAGE.pot