* 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


(Old svn revision: 850)
master
Bernhard Walle 2005-10-18 18:45:11 +00:00
parent b564be753c
commit 9909b16091
9 changed files with 165 additions and 158 deletions

View File

@ -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 2005-10-04 Bernhard Walle
* removed generated files and use Xfce Deveopement tools * removed generated files and use Xfce Deveopement tools
* added Russian translation, thanks to Fedoseev Sergey * added Russian translation, thanks to Fedoseev Sergey

View File

@ -1,155 +1,24 @@
#!/bin/sh #!/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 <benny@xfce.org>.
#
srcdir=`dirname $0` (type xdt-autogen) >/dev/null 2>&1 || {
test -z "$srcdir" && srcdir=. cat >&2 <<EOF
autogen.sh: You don't seem to have the Xfce development tools installed on
DIE=0 your system, which are required to build this software.
Please install the xfce4-dev-tools package first, it is available
ACLOCAL_FLAGS="-I m4 $ACLOCAL_FLAGS" from http://www.xfce.org/.
EOF
(test -f $srcdir/configure.ac) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level package directory"
exit 1 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) && { exec xdt-autogen $@
(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) && { # vi:set ts=2 sw=2 et ai:
(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
exit 1
fi
if test -z "$*"; then
echo "**Message**: I am going to add --enable-maintainer-mode to \`configure'."
echo "If you wish to pass any other to it, please specify them on the"
echo \`$0\'" command line."
echo
conf_flags="--enable-maintainer-mode"
else
unset conf_flags
fi
case $CC in
xlc )
am_opt=--include-deps;;
esac
for coin in `find $srcdir -path $srcdir/CVS -prune -o -name configure.ac -print`
do
dr=`dirname $coin`
if test -f $dr/NO-AUTO-GEN; then
echo skipping $dr -- flagged as no auto-gen
else
echo processing $dr
( cd $dr
aclocalinclude="$ACLOCAL_FLAGS"
if grep "^AM_GLIB_GNU_GETTEXT" configure.ac >/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

View File

@ -1,7 +1,7 @@
#! /bin/sh #! /bin/sh
# Wrapper for compilers which do not understand `-c -o'. # 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. # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>. # Written by Tom Tromey <tromey@cygnus.com>.
@ -18,7 +18,7 @@ scriptversion=2005-02-03.08
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # 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 # As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a # distribute this file as part of a program that contains a

View File

@ -49,7 +49,7 @@ AC_CHECK_LIB(nsl, kstat_open, SOLLIBS="$SOLLIBS -linet_ntop", SOLLIBS="$SOLLIBS"
AC_SUBST(SOLLIBS) AC_SUBST(SOLLIBS)
dnl Check for i18n support 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 dnl configure the panel plugin
XFCE_PANEL_PLUGIN([XFCE4_PANEL], [4.0.0]) XFCE_PANEL_PLUGIN([XFCE4_PANEL], [4.0.0])

View File

@ -78,7 +78,7 @@ INSTOBJEXT = @INSTOBJEXT@
.po.gmo: .po.gmo:
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
&& rm -f $$file && $(GMSGFMT) -o $$file $< && rm -f $$file && $(GMSGFMT) -c -o $$file $<
.po.cat: .po.cat:
sed -f ../intl/po2msg.sed < $< > $*.msg \ sed -f ../intl/po2msg.sed < $< > $*.msg \

132
po/es.po Normal file
View File

@ -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 <rudy@kernel-panik.org>, 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 <rudy@kernel-panik.org>\n"
"Language-Team: Debian l10n Spanish Team <debian-l10n-spanish@lists.debian."
"org>\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"

View File

@ -10,7 +10,7 @@ msgstr ""
"POT-Creation-Date: 2005-02-04 19:20+0100\n" "POT-Creation-Date: 2005-02-04 19:20+0100\n"
"PO-Revision-Date: 2005-06-13 14:11+0100\n" "PO-Revision-Date: 2005-06-13 14:11+0100\n"
"Last-Translator: Stephane Roy <sroy@j2n.net>\n" "Last-Translator: Stephane Roy <sroy@j2n.net>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: French <fr@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"

View File

@ -3,15 +3,14 @@
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: xfce4-netload-plugin\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-02-04 19:20+0100\n" "POT-Creation-Date: 2005-02-04 19:20+0100\n"
"PO-Revision-Date: 2005-03-05 02:42+0900\n" "PO-Revision-Date: 2005-03-05 02:42+0900\n"
"Last-Translator: ByungHyun Choi<byunghyun.choi@gmail.com>\n" "Last-Translator: ByungHyun Choi<byunghyun.choi@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: Ko <ko@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: xfce4-netload-plugin\n" "Project-Id-Version: xfce4-netload-plugin\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: 2005-10-03 21:00+0600\n"
"Last-Translator: Sergey Fedoseev <fedoseev.sergey@gmail.com>\n" "Last-Translator: Sergey Fedoseev <fedoseev.sergey@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"