diff --git a/ChangeLog b/ChangeLog index 7a2ecea..62b9202 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-10-18 Bernhard Walle + * added Spanish translation, thanks to Rudy Godoy + * changed some fileds in the translation files because the new tool + version in SUSE 10.0 require non-standard fields (and changing them + was faster than finding out the parameter to change this) + * replaced autogen.sh by one using Xfce Deveopement tools + 2005-10-04 Bernhard Walle * removed generated files and use Xfce Deveopement tools * added Russian translation, thanks to Fedoseev Sergey diff --git a/autogen.sh b/autogen.sh index 98ed0e9..d4db27f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,155 +1,24 @@ #!/bin/sh -# Run this to generate all the initial makefiles, etc. +# +# $Id$ +# +# Copyright (c) 2002-2005 +# The Thunar development team. All rights reserved. +# +# Written for Thunar by Benedikt Meurer . +# -srcdir=`dirname $0` -test -z "$srcdir" && srcdir=. - -DIE=0 - -ACLOCAL_FLAGS="-I m4 $ACLOCAL_FLAGS" - -(test -f $srcdir/configure.ac) || { - echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" - echo " top-level package directory" - exit 1 -} - -(autoconf --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`autoconf' installed." - echo "Download the appropriate package for your distribution," - echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -(grep "^AC_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && { - (intltoolize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`intltool' installed." - echo "You can get it from:" - echo " ftp://ftp.gnome.org/pub/GNOME/" - DIE=1 - } -} - -(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.ac >/dev/null) && { - (xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`xml-i18n-toolize' installed." - echo "You can get it from:" - echo " ftp://ftp.gnome.org/pub/GNOME/" - DIE=1 - } -} - -(grep "^AC_PROG_LIBTOOL" $srcdir/configure.ac >/dev/null) && { - (libtool --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`libtool' installed." - echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" - DIE=1 - } -} - -(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.ac >/dev/null) && { - (grep "sed.*POTFILES" $srcdir/configure.ac) > /dev/null || \ - (glib-gettextize --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`glib' installed." - echo "You can get it from: ftp://ftp.gtk.org/pub/gtk" - DIE=1 - } -} - -(automake --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: You must have \`automake' installed." - echo "You can get it from: ftp://ftp.gnu.org/pub/gnu/" - DIE=1 - NO_AUTOMAKE=yes -} - - -# if no automake, don't bother testing for aclocal -test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || { - echo - echo "**Error**: Missing \`aclocal'. The version of \`automake'" - echo "installed doesn't appear recent enough." - echo "You can get automake from ftp://ftp.gnu.org/pub/gnu/" - DIE=1 -} - -if test "$DIE" -eq 1; then +(type xdt-autogen) >/dev/null 2>&1 || { + cat >&2 </dev/null; then - echo "Creating $dr/aclocal.m4 ..." - test -r $dr/aclocal.m4 || touch $dr/aclocal.m4 - echo "Running glib-gettextize... Ignore non-fatal messages." - echo "no" | glib-gettextize --force --copy - echo "Making $dr/aclocal.m4 writable ..." - test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4 - fi - if grep "^AC_PROG_INTLTOOL" configure.ac >/dev/null; then - echo "Running intltoolize..." - intltoolize --copy --force --automake - fi - if grep "^AM_PROG_XML_I18N_TOOLS" configure.ac >/dev/null; then - echo "Running xml-i18n-toolize..." - xml-i18n-toolize --copy --force --automake - fi - if grep "^AC_PROG_LIBTOOL" configure.ac >/dev/null; then - if test -z "$NO_LIBTOOLIZE" ; then - echo "Running libtoolize..." - libtoolize --force --copy - fi - fi - echo "Running aclocal $aclocalinclude ..." - aclocal $aclocalinclude - if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then - echo "Running autoheader..." - autoheader - fi - echo "Running automake --foreign $am_opt ..." - automake --add-missing --foreign --force --copy $am_opt - echo "Running autoconf ..." - autoconf - ) - fi -done - -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type \`make\' to compile. || exit 1 -else - echo Skipping configure process. -fi +# vi:set ts=2 sw=2 et ai: diff --git a/compile b/compile index ad57e2f..1b1d232 100755 --- a/compile +++ b/compile @@ -1,7 +1,7 @@ #! /bin/sh # Wrapper for compilers which do not understand `-c -o'. -scriptversion=2005-02-03.08 +scriptversion=2005-05-14.22 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # Written by Tom Tromey . @@ -18,7 +18,7 @@ scriptversion=2005-02-03.08 # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a diff --git a/configure.ac b/configure.ac index 130255f..1125d61 100644 --- a/configure.ac +++ b/configure.ac @@ -49,7 +49,7 @@ AC_CHECK_LIB(nsl, kstat_open, SOLLIBS="$SOLLIBS -linet_ntop", SOLLIBS="$SOLLIBS" AC_SUBST(SOLLIBS) dnl Check for i18n support -BM_I18N([xfce4-netload], [ca de fr ko lt pl uk ru]) +BM_I18N([xfce4-netload], [ca de fr ko lt pl uk ru es]) dnl configure the panel plugin XFCE_PANEL_PLUGIN([XFCE4_PANEL], [4.0.0]) diff --git a/po/Makefile.in.in b/po/Makefile.in.in index bd1dd9e..ec526e8 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -78,7 +78,7 @@ INSTOBJEXT = @INSTOBJEXT@ .po.gmo: file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ - && rm -f $$file && $(GMSGFMT) -o $$file $< + && rm -f $$file && $(GMSGFMT) -c -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ diff --git a/po/es.po b/po/es.po new file mode 100644 index 0000000..6cc0bc9 --- /dev/null +++ b/po/es.po @@ -0,0 +1,132 @@ +# Spanish translation of xfce4-netload-plugin package +# Copyright (C) 2005 Software in the Public Interest +# This file is distributed under the same license as the postfix package. +# +# Changes: +# - Initial translation +# Rudy Godoy , 2005 +# +# Traductores, si no conoce el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: xfce4-netload-plugin 0.3.3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-02-04 19:20+0100\n" +"PO-Revision-Date: 2005-10-17 10:42-0500\n" +"Last-Translator: Rudy Godoy \n" +"Language-Team: Debian l10n Spanish Team \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: panel-plugin/netload.c:61 +msgid "Xfce4-Netload-Plugin" +msgstr "Xfce4-Netload-Plugin" + +#: panel-plugin/netload.c:64 +msgid "Unknown error." +msgstr "Fallo desconocido" + +#: panel-plugin/netload.c:65 +msgid "Linux proc device '/proc/net/dev' not found." +msgstr "No se ha encontrado dispositivo «/proc/net/dev»." + +#: panel-plugin/netload.c:66 +msgid "Interface was not found." +msgstr "No se ha encontrado interfaz." + +#: panel-plugin/netload.c:223 +#, c-format +msgid "" +"<< %s >> (%s)\n" +"Average of last %d measures:\n" +"Incoming: %s kByte/s\n" +"Outgoing: %s kByte/s\n" +"Total: %s kByte/s" +msgstr "" +"« %s » (%s)\n" +"Promedio de últimas %d mediciones:\n" +"Entrada: %s kByte/s\n" +"Salida: %s kByte/s\n" +"Total: %s kByte/s" + +#: panel-plugin/netload.c:225 +msgid "no IP address" +msgstr "sin dirección IP" + +#: panel-plugin/netload.c:537 +#, c-format +msgid "" +"%s: Error in initalizing:\n" +"%s" +msgstr "" +"%s: Fallo al inicializar:\n" +"%s" + +#: panel-plugin/netload.c:897 +msgid "Select color" +msgstr "Elija color" + +#: panel-plugin/netload.c:955 +msgid "Bar color (incoming):" +msgstr "Color de barra (entrada):" + +#: panel-plugin/netload.c:956 +msgid "Bar color (outgoing):" +msgstr "Color de barra (salida):" + +#: panel-plugin/netload.c:959 +msgid "Maximum (incoming):" +msgstr "Máximo (entrada):" + +#: panel-plugin/netload.c:960 +msgid "Maximum (outgoing):" +msgstr "Máximo (salida):" + +#: panel-plugin/netload.c:984 +msgid "Text to display:" +msgstr "Texto a mostrar:" + +#: panel-plugin/netload.c:1015 +msgid "Network device:" +msgstr "Dispositivo de red:" + +#: panel-plugin/netload.c:1041 +msgid "Update interval:" +msgstr "Intervalo de actualización:" + +#: panel-plugin/netload.c:1052 +msgid "s" +msgstr "s" + +#: panel-plugin/netload.c:1065 +msgid "Automatic maximum" +msgstr "Máximo automático" + +#: panel-plugin/netload.c:1097 +msgid "kByte/s" +msgstr "kByte/s" + +#: panel-plugin/netload.c:1186 +msgid "Netload" +msgstr "Carga de red" diff --git a/po/fr.po b/po/fr.po index 594f601..378f77e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -10,7 +10,7 @@ msgstr "" "POT-Creation-Date: 2005-02-04 19:20+0100\n" "PO-Revision-Date: 2005-06-13 14:11+0100\n" "Last-Translator: Stephane Roy \n" -"Language-Team: LANGUAGE \n" +"Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/po/ko.po b/po/ko.po index e7beeaa..ddf2682 100644 --- a/po/ko.po +++ b/po/ko.po @@ -3,15 +3,14 @@ # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # -#, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: xfce4-netload-plugin\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-02-04 19:20+0100\n" "PO-Revision-Date: 2005-03-05 02:42+0900\n" "Last-Translator: ByungHyun Choi\n" -"Language-Team: LANGUAGE \n" +"Language-Team: Ko \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/po/ru.po b/po/ru.po index b95715c..829d885 100644 --- a/po/ru.po +++ b/po/ru.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: xfce4-netload-plugin\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2005-01-13 21:48+0100\n" +"POT-Creation-Date: 2005-02-04 19:20+0100\n" "PO-Revision-Date: 2005-10-03 21:00+0600\n" "Last-Translator: Sergey Fedoseev \n" "Language-Team: \n"