[file-roller] update-potfiles: added support for .gschema.xml files
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] update-potfiles: added support for .gschema.xml files
- Date: Wed, 17 Aug 2016 07:20:37 +0000 (UTC)
commit 3a4bf91febe5e4824ed36d6398e739eab0d37fda
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Aug 17 07:17:38 2016 +0200
update-potfiles: added support for .gschema.xml files
po/POTFILES.in | 5 ++++-
po/update-potfiles.sh | 9 +++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index a7ada62..03282a8 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,5 +1,8 @@
-# DO NOT EDIT. This file is automatically generated.
# List of source files which contain translatable strings.
+#
+# DO NOT EDIT. This file is automatically generated, to
+# update the content run the following command:
+# sh update-potfiles.sh > POTFILES.in
[encoding: UTF-8]
data/org.gnome.FileRoller.appdata.xml.in
data/org.gnome.FileRoller.desktop.in.in
diff --git a/po/update-potfiles.sh b/po/update-potfiles.sh
index f2e9731..0ea423a 100644
--- a/po/update-potfiles.sh
+++ b/po/update-potfiles.sh
@@ -1,13 +1,18 @@
#!/bin/sh
-echo "# DO NOT EDIT. This file is automatically generated."
echo "# List of source files which contain translatable strings."
+echo "#"
+echo "# DO NOT EDIT. This file is automatically generated, to"
+echo "# update the content run the following command:"
+echo "# sh update-potfiles.sh > POTFILES.in"
echo "[encoding: UTF-8]"
-files=`find .. \( -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.ui' -o -name '*.schemas.in' -o
-name "*.xml.in" -o -name '*.desktop.in.in' -o -name '*.extension.in.in' \) -printf "%P\n" | sort`
+files=`find .. \( -name '*.c' -o -name '*.h' -o -name '*.cpp' -o -name '*.ui' -o -name '*.gschema.xml' -o
-name '*.schemas.in' -o -name "*.xml.in" -o -name '*.desktop.in.in' -o -name '*.extension.in.in' \) -printf
"%P\n" | sort`
for f in $files; do
case $f in
build/*) ;;
*.ui) echo "[type: gettext/glade]$f" ;;
+ *.extension.in.in) echo "[type: gettext/ini]$f" ;;
+ *.gschema.xml) echo "[type: gettext/gsettings]$f" ;;
*) echo $f
esac
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]