summaryrefslogtreecommitdiff
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
parent770ac87b8ab8c79f2e63f6afcfe788a565ebd202 (diff)
downloadmate-system-monitor-76d1f15122ee1031a2e02fe06974757cacae7c3f.tar.bz2
mate-system-monitor-76d1f15122ee1031a2e02fe06974757cacae7c3f.tar.xz
filter-out conflictive c-format comments
-rwxr-xr-xmakepot3
-rw-r--r--src/org.mate.system-monitor.gschema.xml.in2
2 files changed, 4 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
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 @@
</key>
<key name="col-8-width" type="i">
<default>0</default>
+ <!-- makepot: remove comment -->
<summary>Width of process '% CPU' column</summary>
</key>
<key name="col-8-visible" type="b">
<default>true</default>
+ <!-- makepot: remove comment -->
<summary>Show process '% CPU' column on startup</summary>
</key>
<key name="col-9-width" type="i">