[goobox] update-potfiles: added support for .gschema.xml file



commit 5c3ec993f05e2653e26456e5ab829825f3d55a75
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Aug 26 06:46:37 2016 +0200

    update-potfiles: added support for .gschema.xml file

 po/update-potfiles.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/po/update-potfiles.sh b/po/update-potfiles.sh
index 8009dcf..0ea423a 100644
--- a/po/update-potfiles.sh
+++ b/po/update-potfiles.sh
@@ -6,12 +6,13 @@ 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]