New version 0.2.0pre6
Added GUI warning if the plugin initialization failed and corrected "ms" to "s" (seconds) (Old svn revision: 309)master
parent
eaaaa9c2e3
commit
6140e1bbd0
|
@ -1,4 +1,10 @@
|
||||||
2003-08-31 Bernhard Wale
|
2003-09-06 Bernhard Walle
|
||||||
|
* added error message if the network device could not be found or if
|
||||||
|
/proc/net/dev could not be opened
|
||||||
|
* changed "ms" to "s" because that was wrong
|
||||||
|
* Released 0.2.0pre6
|
||||||
|
|
||||||
|
2003-08-31 Bernhard Walle
|
||||||
* Fixed problem with unnecessary calls of init_netload().
|
* Fixed problem with unnecessary calls of init_netload().
|
||||||
* Call init_osspecific() on the right place. This caused the plugin not to
|
* Call init_osspecific() on the right place. This caused the plugin not to
|
||||||
work on (at least) NetBSD.
|
work on (at least) NetBSD.
|
||||||
|
|
|
@ -1748,7 +1748,7 @@ fi
|
||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE=xfce4-netload-plugin
|
PACKAGE=xfce4-netload-plugin
|
||||||
VERSION=0.2.0pre5
|
VERSION=0.2.0pre6
|
||||||
|
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
|
|
@ -9,7 +9,7 @@ AC_INIT([panel-plugin/netload.c])
|
||||||
|
|
||||||
AM_CONFIG_HEADER([config.h])
|
AM_CONFIG_HEADER([config.h])
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.0pre5])
|
AM_INIT_AUTOMAKE([xfce4-netload-plugin], [0.2.0pre6])
|
||||||
|
|
||||||
AM_MAINTAINER_MODE
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* XFce 4 - Netload Plugin
|
/* XFce 4 - Netload Plugin
|
||||||
* Copyright (c) 2003 Bernhard Walle <bernhard.walle@gmx.de>
|
* Copyright (c) 2003 Bernhard Walle <bernhard.walle@gmx.de>
|
||||||
*
|
*
|
||||||
* Id: $Id: net.c,v 1.4 2003/08/31 12:54:36 bwalle Exp $
|
* Id: $Id: net.c,v 1.5 2003/09/06 12:37:20 bwalle Exp $
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -65,11 +65,15 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
int init_netload(netdata* data, const char* device)
|
||||||
|
|
||||||
void init_netload(netdata* data, const char* device)
|
|
||||||
{
|
{
|
||||||
memset( data, 0, sizeof(netdata) );
|
memset( data, 0, sizeof(netdata) );
|
||||||
|
|
||||||
|
if (device == NULL || strlen(device) == 0)
|
||||||
|
{
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
strncpy( data->ifdata.if_name, device, 9 );
|
strncpy( data->ifdata.if_name, device, 9 );
|
||||||
data->ifdata.if_name[9] = '\0';
|
data->ifdata.if_name[9] = '\0';
|
||||||
|
|
||||||
|
@ -78,7 +82,7 @@ void init_netload(netdata* data, const char* device)
|
||||||
if (checkinterface(data) != TRUE)
|
if (checkinterface(data) != TRUE)
|
||||||
{
|
{
|
||||||
data->correct_interface = FALSE;
|
data->correct_interface = FALSE;
|
||||||
return;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* init in a sane state */
|
/* init in a sane state */
|
||||||
|
@ -91,6 +95,8 @@ void init_netload(netdata* data, const char* device)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf( stderr, "The netload plugin was initialized for '%s'.\n", device );
|
fprintf( stderr, "The netload plugin was initialized for '%s'.\n", device );
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* XFce 4 - Netload Plugin
|
/* XFce 4 - Netload Plugin
|
||||||
* Copyright (c) 2003 Bernhard Walle <bernhard.walle@gmx.de>
|
* Copyright (c) 2003 Bernhard Walle <bernhard.walle@gmx.de>
|
||||||
*
|
*
|
||||||
* Id: $Id: net.h,v 1.5 2003/08/31 12:54:36 bwalle Exp $
|
* Id: $Id: net.h,v 1.6 2003/09/06 12:37:20 bwalle Exp $
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -31,6 +31,19 @@
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
#include "slurm.h"
|
#include "slurm.h"
|
||||||
|
|
||||||
|
#define MSGSIZE 1024
|
||||||
|
|
||||||
|
#ifndef gettext_noop
|
||||||
|
#define gettext_noop(String) String
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** errorcodes */
|
||||||
|
typedef enum {
|
||||||
|
UNKNOWN_ERROR, /* 0 */
|
||||||
|
PROC_DEVICE_NOT_FOUND, /* 1 */
|
||||||
|
INTERFACE_NOT_FOUND /* 2 */
|
||||||
|
} errorcode_t;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We need this because we cannot use static variables. Using of static variables allows
|
* We need this because we cannot use static variables. Using of static variables allows
|
||||||
|
@ -43,6 +56,7 @@ typedef struct
|
||||||
{
|
{
|
||||||
char old_interface[9];
|
char old_interface[9];
|
||||||
double backup_in;
|
double backup_in;
|
||||||
|
errorcode_t errorcode;
|
||||||
double backup_out;
|
double backup_out;
|
||||||
double cur_in;
|
double cur_in;
|
||||||
double cur_out;
|
double cur_out;
|
||||||
|
@ -80,13 +94,14 @@ typedef struct
|
||||||
} netdata;
|
} netdata;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the netload plugin. Used to set up inital values. This function must
|
* Initializes the netload plugin. Used to set up inital values. This function must
|
||||||
* be called after each change of the network interface.
|
* be called after each change of the network interface.
|
||||||
* @param device The network device, e.g. <code>ippp0</code> for ISDN on Linux.
|
* @param device The network device, e.g. <code>ippp0</code> for ISDN on Linux.
|
||||||
|
* @return <code>true</code> if no error occurs, <code>false</code> otherwise. If there's
|
||||||
|
* an error, the error message may be set
|
||||||
*/
|
*/
|
||||||
void init_netload(netdata* data, const char* device);
|
int init_netload(netdata* data, const char* device);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the current netload. You must call init_netload() once before you use this function!
|
* Gets the current netload. You must call init_netload() once before you use this function!
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* XFce 4 - Netload Plugin
|
/* XFce 4 - Netload Plugin
|
||||||
* Copyright (c) 2003 Bernhard Walle <bernhard.walle@gmx.de>
|
* Copyright (c) 2003 Bernhard Walle <bernhard.walle@gmx.de>
|
||||||
*
|
*
|
||||||
* Id: $Id: netload.c,v 1.7 2003/08/31 12:54:36 bwalle Exp $
|
* Id: $Id: netload.c,v 1.8 2003/09/06 12:37:20 bwalle Exp $
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -43,7 +43,6 @@ extern xmlDocPtr xmlconfig;
|
||||||
|
|
||||||
/* Defaults */
|
/* Defaults */
|
||||||
#define DEFAULT_TEXT "Net"
|
#define DEFAULT_TEXT "Net"
|
||||||
#define DEFAULT_DEVICE "eth0"
|
|
||||||
|
|
||||||
#define INIT_MAX 4096
|
#define INIT_MAX 4096
|
||||||
#define MINIMAL_MAX 1024
|
#define MINIMAL_MAX 1024
|
||||||
|
@ -62,6 +61,14 @@ static gchar* DEFAULT_COLOR[] = { "#FF4F00", "#FFE500" };
|
||||||
#define TOT 2
|
#define TOT 2
|
||||||
#define SUM 2
|
#define SUM 2
|
||||||
|
|
||||||
|
#define APP_NAME N_("Xfce4-Netload-Plugin")
|
||||||
|
|
||||||
|
static char *errormessages[] = {
|
||||||
|
N_("Unknown error."),
|
||||||
|
N_("Linux proc device '/proc/net/dev' not found."),
|
||||||
|
N_("Interface was not found.")
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
gboolean use_label;
|
gboolean use_label;
|
||||||
|
@ -256,7 +263,7 @@ static t_global_monitor * monitor_new(void)
|
||||||
|
|
||||||
global->monitor = g_new(t_monitor, 1);
|
global->monitor = g_new(t_monitor, 1);
|
||||||
global->monitor->options.label_text = g_strdup(DEFAULT_TEXT);
|
global->monitor->options.label_text = g_strdup(DEFAULT_TEXT);
|
||||||
global->monitor->options.network_device = g_strdup(DEFAULT_DEVICE);
|
global->monitor->options.network_device = g_strdup("");
|
||||||
global->monitor->options.old_network_device = g_strdup("");
|
global->monitor->options.old_network_device = g_strdup("");
|
||||||
global->monitor->options.use_label = TRUE;
|
global->monitor->options.use_label = TRUE;
|
||||||
global->monitor->options.auto_max = TRUE;
|
global->monitor->options.auto_max = TRUE;
|
||||||
|
@ -509,7 +516,16 @@ static void setup_monitor(t_global_monitor *global)
|
||||||
if (!strcmp(global->monitor->options.network_device,
|
if (!strcmp(global->monitor->options.network_device,
|
||||||
global->monitor->options.old_network_device) == 0)
|
global->monitor->options.old_network_device) == 0)
|
||||||
{
|
{
|
||||||
init_netload( &(global->monitor->data), global->monitor->options.network_device);
|
if (!init_netload( &(global->monitor->data), global->monitor->options.network_device))
|
||||||
|
{
|
||||||
|
xfce_err (_("%s: Error in initalizing:\n%s"),
|
||||||
|
_(APP_NAME),
|
||||||
|
_(errormessages[
|
||||||
|
global->monitor->data.errorcode == 0
|
||||||
|
? INTERFACE_NOT_FOUND
|
||||||
|
: global->monitor->data.errorcode ]));
|
||||||
|
}
|
||||||
|
|
||||||
if (global->monitor->options.old_network_device)
|
if (global->monitor->options.old_network_device)
|
||||||
{
|
{
|
||||||
g_free(global->monitor->options.old_network_device);
|
g_free(global->monitor->options.old_network_device);
|
||||||
|
@ -629,19 +645,11 @@ static void monitor_write_config(Control *ctrl, xmlNodePtr parent)
|
||||||
xmlSetProp(root, "Text",
|
xmlSetProp(root, "Text",
|
||||||
global->monitor->options.label_text);
|
global->monitor->options.label_text);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
xmlSetProp(root, "Text", DEFAULT_TEXT);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (global->monitor->options.network_device)
|
if (global->monitor->options.network_device)
|
||||||
{
|
{
|
||||||
xmlSetProp(root, "Network_Device", global->monitor->options.network_device);
|
xmlSetProp(root, "Network_Device", global->monitor->options.network_device);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
xmlSetProp(root, "Network_Device", DEFAULT_DEVICE);
|
|
||||||
}
|
|
||||||
|
|
||||||
g_snprintf(value, 20, "%lu", global->monitor->options.max[IN]);
|
g_snprintf(value, 20, "%lu", global->monitor->options.max[IN]);
|
||||||
xmlSetProp(root, "Max_In", value);
|
xmlSetProp(root, "Max_In", value);
|
||||||
|
@ -981,7 +989,7 @@ static void monitor_create_options(Control *control, GtkContainer *container, Gt
|
||||||
gtk_box_pack_start(GTK_BOX(update_hbox), GTK_WIDGET(global->monitor->update_spinner),
|
gtk_box_pack_start(GTK_BOX(update_hbox), GTK_WIDGET(global->monitor->update_spinner),
|
||||||
FALSE, FALSE, 0);
|
FALSE, FALSE, 0);
|
||||||
|
|
||||||
update_unit_label = gtk_label_new(_("ms"));
|
update_unit_label = gtk_label_new(_("s"));
|
||||||
gtk_box_pack_start(GTK_BOX(update_hbox), GTK_WIDGET(update_unit_label),
|
gtk_box_pack_start(GTK_BOX(update_hbox), GTK_WIDGET(update_unit_label),
|
||||||
FALSE, FALSE, 0);
|
FALSE, FALSE, 0);
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* $Id: linux.c,v 1.3 2003/08/31 12:54:36 bwalle Exp $ */
|
/* $Id: linux.c,v 1.4 2003/09/06 12:37:20 bwalle Exp $ */
|
||||||
|
|
||||||
|
|
||||||
|
#include "linux.h"
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
*
|
*
|
||||||
|
@ -50,6 +50,13 @@ int checkinterface(netdata* data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* check if the /proc/net/dev exists */
|
||||||
|
if (access(PATH_NET_DEV, R_OK) != 0)
|
||||||
|
{
|
||||||
|
data->errorcode = PROC_DEVICE_NOT_FOUND;
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
return interfacefound;
|
return interfacefound;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2003-09-06 Bernhard Walle
|
||||||
|
* Updated translation strings according to the new release.
|
||||||
|
* Updated German translation.
|
||||||
|
|
||||||
2003-08-27 Carles Muñoz Gorriz
|
2003-08-27 Carles Muñoz Gorriz
|
||||||
* Updated Catalan translation
|
* Updated Catalan translation
|
||||||
|
|
||||||
|
|
54
po/ca.po
54
po/ca.po
|
@ -6,7 +6,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: XFce 4\n"
|
"Project-Id-Version: XFce 4\n"
|
||||||
"POT-Creation-Date: 2003-08-31 14:41+0200\n"
|
"POT-Creation-Date: 2003-09-06 14:31+0200\n"
|
||||||
"PO-Revision-Date: 2003-08-26 23:58+0100\n"
|
"PO-Revision-Date: 2003-08-26 23:58+0100\n"
|
||||||
"Last-Translator: Carles Mu-oz Gorriz <carlesmu@internautas.org>\n"
|
"Last-Translator: Carles Mu-oz Gorriz <carlesmu@internautas.org>\n"
|
||||||
"Language-Team: ca <LL@li.org>\n"
|
"Language-Team: ca <LL@li.org>\n"
|
||||||
|
@ -14,7 +14,23 @@ msgstr ""
|
||||||
"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"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:216
|
#: panel-plugin/netload.c:64
|
||||||
|
msgid "Xfce4-Netload-Plugin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:67
|
||||||
|
msgid "Unknown error."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:68
|
||||||
|
msgid "Linux proc device '/proc/net/dev' not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:69
|
||||||
|
msgid "Interface was not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:223
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Average of last %d measures:\n"
|
"Average of last %d measures:\n"
|
||||||
|
@ -27,50 +43,58 @@ msgstr ""
|
||||||
"Sortint: %s kBytes/s\n"
|
"Sortint: %s kBytes/s\n"
|
||||||
"Total: %s kBytes/s"
|
"Total: %s kBytes/s"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:834
|
#: panel-plugin/netload.c:521
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"%s: Error in initalizing:\n"
|
||||||
|
"%s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:842
|
||||||
msgid "Select color"
|
msgid "Select color"
|
||||||
msgstr "Seleccioneu el color"
|
msgstr "Seleccioneu el color"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:887
|
#: panel-plugin/netload.c:895
|
||||||
msgid "Bar color (incoming):"
|
msgid "Bar color (incoming):"
|
||||||
msgstr "Color de la barra (entrant):"
|
msgstr "Color de la barra (entrant):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:888
|
#: panel-plugin/netload.c:896
|
||||||
msgid "Bar color (outgoing):"
|
msgid "Bar color (outgoing):"
|
||||||
msgstr "Color de la barra (sortint):"
|
msgstr "Color de la barra (sortint):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:891
|
#: panel-plugin/netload.c:899
|
||||||
msgid "Maximum (incoming):"
|
msgid "Maximum (incoming):"
|
||||||
msgstr "Màxim (entrant):"
|
msgstr "Màxim (entrant):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:892
|
#: panel-plugin/netload.c:900
|
||||||
msgid "Maximum (outgoing):"
|
msgid "Maximum (outgoing):"
|
||||||
msgstr "Màxim (sortint):"
|
msgstr "Màxim (sortint):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:916
|
#: panel-plugin/netload.c:924
|
||||||
msgid "Text to display:"
|
msgid "Text to display:"
|
||||||
msgstr "Text a mostrar:"
|
msgstr "Text a mostrar:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:947
|
#: panel-plugin/netload.c:955
|
||||||
msgid "Network device:"
|
msgid "Network device:"
|
||||||
msgstr "Dispositiu de xarxa:"
|
msgstr "Dispositiu de xarxa:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:973
|
#: panel-plugin/netload.c:981
|
||||||
msgid "Update interval:"
|
msgid "Update interval:"
|
||||||
msgstr "Interval d'actualització:"
|
msgstr "Interval d'actualització:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:984
|
#: panel-plugin/netload.c:992
|
||||||
msgid "ms"
|
#, fuzzy
|
||||||
|
msgid "s"
|
||||||
msgstr "ms"
|
msgstr "ms"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:997
|
#: panel-plugin/netload.c:1005
|
||||||
msgid "Automatic maximum"
|
msgid "Automatic maximum"
|
||||||
msgstr "Màxim automatitzat"
|
msgstr "Màxim automatitzat"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1029
|
#: panel-plugin/netload.c:1037
|
||||||
msgid "kByte/s"
|
msgid "kByte/s"
|
||||||
msgstr "kBytes/s"
|
msgstr "kBytes/s"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1117
|
#: panel-plugin/netload.c:1125
|
||||||
msgid "Netload"
|
msgid "Netload"
|
||||||
msgstr "Càrrega de red"
|
msgstr "Càrrega de red"
|
||||||
|
|
59
po/de.po
59
po/de.po
|
@ -3,15 +3,31 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: de\n"
|
"Project-Id-Version: de\n"
|
||||||
"POT-Creation-Date: 2003-08-31 14:41+0200\n"
|
"POT-Creation-Date: 2003-09-06 14:31+0200\n"
|
||||||
"PO-Revision-Date: 2003-08-10 19:35+0200\n"
|
"PO-Revision-Date: 2003-09-06 14:25+0200\n"
|
||||||
"Last-Translator: Bernhard Walle <bernhard.walle@gmx.de>\n"
|
"Last-Translator: Bernhard Walle <bernhard.walle@gmx.de>\n"
|
||||||
"Language-Team: Deutsch <www.xfce.org>\n"
|
"Language-Team: Deutsch <www.xfce.org>\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"
|
||||||
"X-Generator: KBabel 1.0.2\n"
|
"X-Generator: KBabel 1.0.2\n"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:216
|
#: panel-plugin/netload.c:64
|
||||||
|
msgid "Xfce4-Netload-Plugin"
|
||||||
|
msgstr "Xfce4-Netzlast-Plugin"
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:67
|
||||||
|
msgid "Unknown error."
|
||||||
|
msgstr "Unbekannter Fehler."
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:68
|
||||||
|
msgid "Linux proc device '/proc/net/dev' not found."
|
||||||
|
msgstr "Linux Prozessdatei '/proc/net/dev' nicht gefunden."
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:69
|
||||||
|
msgid "Interface was not found."
|
||||||
|
msgstr "Schnittstelle nicht gefunden."
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:223
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Average of last %d measures:\n"
|
"Average of last %d measures:\n"
|
||||||
|
@ -24,50 +40,59 @@ msgstr ""
|
||||||
"Ausgehend: %s kByte/s\n"
|
"Ausgehend: %s kByte/s\n"
|
||||||
"Gesamt: %s kByte/s"
|
"Gesamt: %s kByte/s"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:834
|
#: panel-plugin/netload.c:521
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"%s: Error in initalizing:\n"
|
||||||
|
"%s"
|
||||||
|
msgstr ""
|
||||||
|
"%s: Fehler beim Initialisieren:\n"
|
||||||
|
"%s"
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:842
|
||||||
msgid "Select color"
|
msgid "Select color"
|
||||||
msgstr "Farbe auswählen"
|
msgstr "Farbe auswählen"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:887
|
#: panel-plugin/netload.c:895
|
||||||
msgid "Bar color (incoming):"
|
msgid "Bar color (incoming):"
|
||||||
msgstr "Balkenfarbe (eingehend):"
|
msgstr "Balkenfarbe (eingehend):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:888
|
#: panel-plugin/netload.c:896
|
||||||
msgid "Bar color (outgoing):"
|
msgid "Bar color (outgoing):"
|
||||||
msgstr "Balkenfarbe (ausgehend):"
|
msgstr "Balkenfarbe (ausgehend):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:891
|
#: panel-plugin/netload.c:899
|
||||||
msgid "Maximum (incoming):"
|
msgid "Maximum (incoming):"
|
||||||
msgstr "Maximum (eingehend):"
|
msgstr "Maximum (eingehend):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:892
|
#: panel-plugin/netload.c:900
|
||||||
msgid "Maximum (outgoing):"
|
msgid "Maximum (outgoing):"
|
||||||
msgstr "Maximum (ausgehend):"
|
msgstr "Maximum (ausgehend):"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:916
|
#: panel-plugin/netload.c:924
|
||||||
msgid "Text to display:"
|
msgid "Text to display:"
|
||||||
msgstr "Angezeigter Text:"
|
msgstr "Angezeigter Text:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:947
|
#: panel-plugin/netload.c:955
|
||||||
msgid "Network device:"
|
msgid "Network device:"
|
||||||
msgstr "Netzwerkschnittstelle:"
|
msgstr "Netzwerkschnittstelle:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:973
|
#: panel-plugin/netload.c:981
|
||||||
msgid "Update interval:"
|
msgid "Update interval:"
|
||||||
msgstr "Aktualisierungsintervall:"
|
msgstr "Aktualisierungsintervall:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:984
|
#: panel-plugin/netload.c:992
|
||||||
msgid "ms"
|
msgid "s"
|
||||||
msgstr "ms"
|
msgstr "s"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:997
|
#: panel-plugin/netload.c:1005
|
||||||
msgid "Automatic maximum"
|
msgid "Automatic maximum"
|
||||||
msgstr "Automatisches Maximum"
|
msgstr "Automatisches Maximum"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1029
|
#: panel-plugin/netload.c:1037
|
||||||
msgid "kByte/s"
|
msgid "kByte/s"
|
||||||
msgstr "kByte/s"
|
msgstr "kByte/s"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1117
|
#: panel-plugin/netload.c:1125
|
||||||
msgid "Netload"
|
msgid "Netload"
|
||||||
msgstr "Netzlast"
|
msgstr "Netzlast"
|
||||||
|
|
53
po/lt.po
53
po/lt.po
|
@ -6,7 +6,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: xfce4-netload 1.0\n"
|
"Project-Id-Version: xfce4-netload 1.0\n"
|
||||||
"POT-Creation-Date: 2003-08-31 14:41+0200\n"
|
"POT-Creation-Date: 2003-09-06 14:31+0200\n"
|
||||||
"PO-Revision-Date: 2003-08-15 11:08+0300\n"
|
"PO-Revision-Date: 2003-08-15 11:08+0300\n"
|
||||||
"Last-Translator: Mantas <zaz@xxx.lt>\n"
|
"Last-Translator: Mantas <zaz@xxx.lt>\n"
|
||||||
"Language-Team: <komp_lt@konferencijos.lt>\n"
|
"Language-Team: <komp_lt@konferencijos.lt>\n"
|
||||||
|
@ -14,7 +14,23 @@ msgstr ""
|
||||||
"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"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:216
|
#: panel-plugin/netload.c:64
|
||||||
|
msgid "Xfce4-Netload-Plugin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:67
|
||||||
|
msgid "Unknown error."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:68
|
||||||
|
msgid "Linux proc device '/proc/net/dev' not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:69
|
||||||
|
msgid "Interface was not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:223
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Average of last %d measures:\n"
|
"Average of last %d measures:\n"
|
||||||
|
@ -26,52 +42,59 @@ msgstr ""
|
||||||
"Siunčiami: %lld bitų/s\n"
|
"Siunčiami: %lld bitų/s\n"
|
||||||
"Viso: %lld bitų/s"
|
"Viso: %lld bitų/s"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:834
|
#: panel-plugin/netload.c:521
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"%s: Error in initalizing:\n"
|
||||||
|
"%s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:842
|
||||||
msgid "Select color"
|
msgid "Select color"
|
||||||
msgstr "Pasirinkite spalvą"
|
msgstr "Pasirinkite spalvą"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:887
|
#: panel-plugin/netload.c:895
|
||||||
msgid "Bar color (incoming):"
|
msgid "Bar color (incoming):"
|
||||||
msgstr "Juostos spalva (gaunami duomenys)"
|
msgstr "Juostos spalva (gaunami duomenys)"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:888
|
#: panel-plugin/netload.c:896
|
||||||
msgid "Bar color (outgoing):"
|
msgid "Bar color (outgoing):"
|
||||||
msgstr "Juostos spalva (siunčiami duomenys)"
|
msgstr "Juostos spalva (siunčiami duomenys)"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:891
|
#: panel-plugin/netload.c:899
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Maximum (incoming):"
|
msgid "Maximum (incoming):"
|
||||||
msgstr "Juostos spalva (gaunami duomenys)"
|
msgstr "Juostos spalva (gaunami duomenys)"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:892
|
#: panel-plugin/netload.c:900
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "Maximum (outgoing):"
|
msgid "Maximum (outgoing):"
|
||||||
msgstr "Juostos spalva (siunčiami duomenys)"
|
msgstr "Juostos spalva (siunčiami duomenys)"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:916
|
#: panel-plugin/netload.c:924
|
||||||
msgid "Text to display:"
|
msgid "Text to display:"
|
||||||
msgstr "Rodomas tekstas:"
|
msgstr "Rodomas tekstas:"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:947
|
#: panel-plugin/netload.c:955
|
||||||
msgid "Network device:"
|
msgid "Network device:"
|
||||||
msgstr "Tinklo įrenginys"
|
msgstr "Tinklo įrenginys"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:973
|
#: panel-plugin/netload.c:981
|
||||||
msgid "Update interval:"
|
msgid "Update interval:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:984
|
#: panel-plugin/netload.c:992
|
||||||
msgid "ms"
|
msgid "s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:997
|
#: panel-plugin/netload.c:1005
|
||||||
msgid "Automatic maximum"
|
msgid "Automatic maximum"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1029
|
#: panel-plugin/netload.c:1037
|
||||||
msgid "kByte/s"
|
msgid "kByte/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1117
|
#: panel-plugin/netload.c:1125
|
||||||
msgid "Netload"
|
msgid "Netload"
|
||||||
msgstr "Tinklo apkrovimas"
|
msgstr "Tinklo apkrovimas"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2003-08-31 14:41+0200\n"
|
"POT-Creation-Date: 2003-09-06 14:31+0200\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -15,7 +15,23 @@ msgstr ""
|
||||||
"Content-Type: text/plain; charset=CHARSET\n"
|
"Content-Type: text/plain; charset=CHARSET\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
#: panel-plugin/netload.c:216
|
#: panel-plugin/netload.c:64
|
||||||
|
msgid "Xfce4-Netload-Plugin"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:67
|
||||||
|
msgid "Unknown error."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:68
|
||||||
|
msgid "Linux proc device '/proc/net/dev' not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:69
|
||||||
|
msgid "Interface was not found."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:223
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid ""
|
msgid ""
|
||||||
"Average of last %d measures:\n"
|
"Average of last %d measures:\n"
|
||||||
|
@ -24,50 +40,57 @@ msgid ""
|
||||||
"Total: %s kByte/s"
|
"Total: %s kByte/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:834
|
#: panel-plugin/netload.c:521
|
||||||
|
#, c-format
|
||||||
|
msgid ""
|
||||||
|
"%s: Error in initalizing:\n"
|
||||||
|
"%s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: panel-plugin/netload.c:842
|
||||||
msgid "Select color"
|
msgid "Select color"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:887
|
#: panel-plugin/netload.c:895
|
||||||
msgid "Bar color (incoming):"
|
msgid "Bar color (incoming):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:888
|
#: panel-plugin/netload.c:896
|
||||||
msgid "Bar color (outgoing):"
|
msgid "Bar color (outgoing):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:891
|
#: panel-plugin/netload.c:899
|
||||||
msgid "Maximum (incoming):"
|
msgid "Maximum (incoming):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:892
|
#: panel-plugin/netload.c:900
|
||||||
msgid "Maximum (outgoing):"
|
msgid "Maximum (outgoing):"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:916
|
#: panel-plugin/netload.c:924
|
||||||
msgid "Text to display:"
|
msgid "Text to display:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:947
|
#: panel-plugin/netload.c:955
|
||||||
msgid "Network device:"
|
msgid "Network device:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:973
|
#: panel-plugin/netload.c:981
|
||||||
msgid "Update interval:"
|
msgid "Update interval:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:984
|
#: panel-plugin/netload.c:992
|
||||||
msgid "ms"
|
msgid "s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:997
|
#: panel-plugin/netload.c:1005
|
||||||
msgid "Automatic maximum"
|
msgid "Automatic maximum"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1029
|
#: panel-plugin/netload.c:1037
|
||||||
msgid "kByte/s"
|
msgid "kByte/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: panel-plugin/netload.c:1117
|
#: panel-plugin/netload.c:1125
|
||||||
msgid "Netload"
|
msgid "Netload"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
Loading…
Reference in New Issue