[Xfce4-commits] <xfce4-indicator-plugin:master> Updates for auto-po generation.

Nick Schermer noreply at xfce.org
Thu Feb 24 20:32:01 CET 2011


Updating branch refs/heads/master
         to 93a1c284a3a257c943a084783d365343e2ad4752 (commit)
       from 3ebc177f02bf8350c737329376317a2f4ef6e7d8 (commit)

commit 93a1c284a3a257c943a084783d365343e2ad4752
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Feb 24 20:31:16 2011 +0100

    Updates for auto-po generation.

 autogen.sh                    |   16 +---------------
 configure.in.in               |    2 +-
 po/ChangeLog                  |    8 --------
 po/LINGUAS                    |    2 --
 po/xfce4-indicator-plugin.pot |   30 ------------------------------
 5 files changed, 2 insertions(+), 56 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index bceccc9..04afe68 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -16,18 +16,4 @@ EOF
   exit 1
 }
 
-# substitute revision and linguas
-linguas=`ls po/*.po | awk 'BEGIN { FS="[./]"; ORS=" " } { print $2 }'`
-if [ -d .git ]; then
-  revision=`git rev-parse --short HEAD 2>/dev/null`
-fi
-
-if [ -z "$revision" ]; then
-  revision="UNKNOWN"
-fi
-
-sed -e "s/@LINGUAS@/${linguas}/g" \
-    -e "s/@REVISION@/${revision}/g" \
-    < "configure.in.in" > "configure.in"
-
-exec xdt-autogen $@
+XDT_AUTOGEN_REQUIRED_VERSION="4.7.3" exec xdt-autogen $@
diff --git a/configure.in.in b/configure.in.in
index 9c26060..0b668e3 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -19,7 +19,7 @@ AC_COPYRIGHT([Copyright (c) 2006-2007
 AC_INIT([xfce4-indicator-plugin], [indicator_version], [http://bugzilla.xfce.org/], [xfce4-indicator-plugin])
 AC_PREREQ([2.50])
 AC_CANONICAL_TARGET()
-AC_REVISION([$Id])
+AC_REVISION([@REVISION@])
 
 dnl ***************************
 dnl *** Initialize automake ***
diff --git a/po/ChangeLog b/po/ChangeLog
deleted file mode 100644
index 06bf860..0000000
--- a/po/ChangeLog
+++ /dev/null
@@ -1,8 +0,0 @@
-2009-06-10 Og Maciel <ogmaciel at gnome.org>
-
-	* pt_BR.po: Added Brazilian Portuguese translation.
-	* LINGUAS: Added Brazilian Portuguese.
-
-YYYY-MM-DD	John Doo <john at foo.org>
-
-	* be.po: Update translations
diff --git a/po/LINGUAS b/po/LINGUAS
deleted file mode 100644
index c60f564..0000000
--- a/po/LINGUAS
+++ /dev/null
@@ -1,2 +0,0 @@
-# set of available languages (in alphabetic order)
-de fr nl pt_BR ro ru
diff --git a/po/xfce4-indicator-plugin.pot b/po/xfce4-indicator-plugin.pot
deleted file mode 100644
index be7784f..0000000
--- a/po/xfce4-indicator-plugin.pot
+++ /dev/null
@@ -1,30 +0,0 @@
-# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
-# This file is distributed under the same license as the PACKAGE package.
-# FIRST AUTHOR <EMAIL at ADDRESS>, YEAR.
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-06-09 13:40+0200\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
-"Language-Team: LANGUAGE <LL at li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
-"Content-Transfer-Encoding: 8bit\n"
-
-#. A label to allow for click through
-#: ../panel-plugin/indicator.c:209
-msgid "No Indicators"
-msgstr ""
-
-#: ../panel-plugin/indicator.desktop.in.in.h:1
-msgid "An indicator of something that needs your attention on the desktop"
-msgstr ""
-
-#: ../panel-plugin/indicator.desktop.in.in.h:2
-msgid "Indicator Plugin"
-msgstr ""



More information about the Xfce4-commits mailing list