From 76d1f15122ee1031a2e02fe06974757cacae7c3f Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 23 Jan 2020 13:33:24 +0100 Subject: filter-out conflictive c-format comments --- makepot | 3 ++- src/org.mate.system-monitor.gschema.xml.in | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 diff --git a/src/org.mate.system-monitor.gschema.xml.in b/src/org.mate.system-monitor.gschema.xml.in index 7482621..3e976f4 100644 --- a/src/org.mate.system-monitor.gschema.xml.in +++ b/src/org.mate.system-monitor.gschema.xml.in @@ -285,10 +285,12 @@ 0 + Width of process '% CPU' column true + Show process '% CPU' column on startup -- cgit v1.2.1