summaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorChristian Rose <menthos@src.gnome.org>2001-01-05 18:23:32 +0000
committerChristian Rose <menthos@src.gnome.org>2001-01-05 18:23:32 +0000
commitcf21aeaf63233f5252551dbe0747ad8eede34f0c (patch)
tree4a53ff75decd8ebff26bee5bb727da3ffd5b2384 /po
parentdd257f892a0c8ff446b00cdf6ad5fa2180b02a2d (diff)
downloadnautilus-cf21aeaf63233f5252551dbe0747ad8eede34f0c.tar.gz
Added new xml-i18n-tools-using update.sh script from kenneth.
Diffstat (limited to 'po')
-rw-r--r--po/ChangeLog2
-rwxr-xr-xpo/update.sh45
2 files changed, 47 insertions, 0 deletions
diff --git a/po/ChangeLog b/po/ChangeLog
index d0cecbf59..c73d9cb89 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,5 +1,7 @@
2001-01-05 Christian Rose <menthos@menthos.com>
+ * update.sh: Added new xml-18n-tools-using update.sh script from
+ Kenneth Christiansen <kenneth@gnu.org>.
* sv.po: Updated Swedish translation.
2001-01-04 Matthias Warkus <mawarkus@gnome.org>
diff --git a/po/update.sh b/po/update.sh
new file mode 100755
index 000000000..c1e5be5ad
--- /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=nautilus
+
+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