aboutsummaryrefslogtreecommitdiffstats
path: root/po/update.sh
diff options
context:
space:
mode:
authorGediminas Paulauskas <menesis@src.gnome.org>2001-02-11 10:56:16 +0800
committerGediminas Paulauskas <menesis@src.gnome.org>2001-02-11 10:56:16 +0800
commitac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f (patch)
treeda4ce19c2974866c33947265c03b235be10ec315 /po/update.sh
parenta5e0765d8ac3be83d705c4ea8af2684fd84addd1 (diff)
downloadgsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.tar
gsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.tar.gz
gsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.tar.bz2
gsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.tar.lz
gsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.tar.xz
gsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.tar.zst
gsoc2013-evolution-ac9abd5e6096d8511a1fe3892cf9453eb7c7ba2f.zip
Getting almost full and proper use of xml-i18n-tools.
Removed all files where glade writes strings. Changed Makefile.am to not distribute them. Changed all glade files to not write strings to those files. Removed *.desktop and evolution.keys files, because they are generated. Added them to .cvsignore Added *.desktop.in evolution.keys.in files without transalted strings. Added all existing entries from desktop files to po files. Changed Makefile.am to distribute only .in files, and merge translations into desktop files. Removed obsolete files from po/ dir svn path=/trunk/; revision=8164
Diffstat (limited to 'po/update.sh')
-rwxr-xr-xpo/update.sh45
1 files changed, 45 insertions, 0 deletions
diff --git a/po/update.sh b/po/update.sh
new file mode 100755
index 0000000000..f16601f81b
--- /dev/null
+++ b/po/update.sh
@@ -0,0 +1,45 @@
+#!/bin/bash
+#
+# Script for translators not being able to run autogen.sh
+#
+# Copyright (C) 2000 Free Software Foundation.
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of the
+# License, or (at your option) any later version.
+#
+# This script is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this library; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+#
+# Authors: Kenneth Christiansen <kenneth@gnu.org>
+
+PACKAGE=evolution
+
+DEPENDS=$(which xml-i18n-toolize 2> /dev/null)
+
+if [ "$DEPENDS" = "" -o ! -x "$DEPENDS" ] ;
+ then echo "The xml-i18n-tools system is not installed or in path!"
+ echo
+ echo "The module $PACKAGE requires this inplimentation, which"
+ echo "can be found at:"
+ echo
+ echo " ftp://ftp.gnome.org/pub/GNOME/stable/xml-i18n-tools "
+ echo
+ echo "Please install before trying to update the translations"
+ echo "again..."
+ echo
+ exit
+fi
+
+XMLDIR=$(which xml-i18n-toolize | sed s@/bin/xml-i18n-toolize@@)
+XML_I18N_EXTRACT="$XMLDIR/share/xml-i18n-tools/xml-i18n-extract"
+XML_I18N_UPDATE="$XMLDIR/share/xml-i18n-tools/xml-i18n-update"
+PACKAGE=$PACKAGE XML_I18N_EXTRACT=$XML_I18N_EXTRACT \
+$XML_I18N_UPDATE $1