Compare commits

...

9 Commits

Author SHA1 Message Date
Kevin Vandersloot
f659523856 bump version
2002-02-10  Kevin Vandersloot <kfv101@psu.edu>

        * configure.in: bump version

        * release 1.90.2
2002-02-10 14:35:48 +00:00
Bastien Nocera
6b81006d08 - remove stamp-h.in, remove need for dc in configure.in 2002-02-09 19:11:35 +00:00
Kwok-Koon Cheung
b70be80aca Updated traditional Chinese translation. 2002-02-08 18:52:16 +00:00
Kwok-Koon Cheung
f8fb49a428 Rename simplified Chinese translation 2002-02-05 09:24:45 +00:00
Christian Rose
18356c6ae6 Removed, they are obsoleted by intltool. Updated and converted to UTF-8.
2002-01-27  Christian Rose  <menthos@menthos.com>

	* README.tools, update.pl, update.sh: Removed, they are
	obsoleted by intltool.
	* sv.po: Updated and converted to UTF-8.
2002-01-27 01:57:53 +00:00
Roy-Magne Mo
807d4bf6ae Updated Norwegian nynorsk translation 2002-01-25 04:51:21 +00:00
Hasbullah Bin Pit
c0350d38ae "Hasbullah Bin Pit (sebol)" <sebol@ikhlas.com> Tag: libgtop-GNOME-2-0-port
"Hasbullah Bin Pit (sebol)" <sebol@ikhlas.com>
Tag: libgtop-GNOME-2-0-port
        * configure.in: Added ms in ALL_LINGUAS.
        * po/ms.po: Added Malay Translation.
        * po/.cvsignore: Added 'libgtop-2.0.pot'.
2002-01-14 20:27:53 +00:00
Kwok-Koon Cheung
d3a9e47ffb Fix previous changelog. 2002-01-14 00:59:46 +00:00
Kwok-Koon Cheung
c8a3e46433 Make examples at least compile under glib 1.3.x, and make use of
* Make examples at least compile under glib 1.3.x, and make use
	  of GETTEXT_PACKAGE.
	* Don't install popt* header.
	* Add nn to ALL_LINGUAS.
2002-01-14 00:56:50 +00:00
25 changed files with 2155 additions and 1502 deletions

View File

@@ -20,6 +20,7 @@ ltconfig
ltmain.sh
macros
stamp-h
stamp-h.in
sun4
sun4sol2
support

View File

@@ -1,3 +1,31 @@
2002-02-10 Kevin Vandersloot <kfv101@psu.edu>
* configure.in: bump version
* release 1.90.2
2002-02-09 Bastien Nocera <hadess@hadess.net>
reviewed by: Kevin Vandersloot <kfv101@psu.edu>
* configure.in: remove need for dc, and clean up
* stamp-h.in, .cvsignore: remove
2002-02-05 Abel Cheung <maddog@linux.org.hk>
* configure.in (ALL_LINGUAS): zh_CN.GB2312 -> zh_CN
2001-01-14 Hasbullah bin Pit <sebol@ikhlas.com>
* configure.in: Added ms in ALL_LINGUAS.
* po/ms.po: Added Malay Translation.
* po/.cvsignore: Added 'libgtop-2.0.pot'.
2001-01-14 Abel Cheung <maddog@linux.org.hk>
* configure.in: Sync'ed ALL_LINGUAS with files in po directory,
and renamed GETTEXT_PACKAGE to avoid conflict with libgtop 1.0.x.
2002-01-10 Kevin Vandersloot <kfv101@psu.edu>
* acininclude.m4: add back the support stuf but make it really

View File

@@ -6,29 +6,13 @@ AC_INIT(copyright.txt)
AM_CONFIG_HEADER(config.h)
AC_CANONICAL_SYSTEM
dnl This is required at several places
AC_CHECK_PROG(ac_dc_found, dc, yes, no)
if test x$ac_dc_found != xyes ; then
AC_MSG_ERROR([
*** The "dc" utility was not found on your system.
***
*** When using RedHat Linux, you need to install the "bc" package.
***
*** It is now part of the "bc" package, so you should look at
*** ftp://ftp.gnu.org/pub/gnu/bc/ if you want to compile it yourself.
***
*** Other systems and distributions may also have it in their "bc" package,
*** so if there's no "dc" one, please look for "bc".
***])
fi
LIBGTOP_MAJOR_VERSION=1
LIBGTOP_MINOR_VERSION=90
LIBGTOP_MICRO_VERSION=1
LIBGTOP_MICRO_VERSION=2
LIBGTOP_VERSION=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION.$LIBGTOP_MICRO_VERSION
AM_INIT_AUTOMAKE(libgtop, $LIBGTOP_VERSION)
LIBGTOP_INTERFACE_AGE=1
LIBGTOP_BINARY_AGE=1
LIBGTOP_INTERFACE_AGE=2
LIBGTOP_BINARY_AGE=2
# you can set this to `-snap' for instance to create
# a `libgtop-1.x.y-snap.tar.gz' tarball.
@@ -37,7 +21,8 @@ LIBGTOP_VERSION_SUFFIX=
# Increase each time you change the client/server protocol.
LIBGTOP_SERVER_VERSION=5
LIBGTOP_VERSION_CODE=`echo "$LIBGTOP_MAJOR_VERSION 1000000 * $LIBGTOP_MINOR_VERSION 1000 * + $LIBGTOP_MICRO_VERSION + p q" | dc`
# Version code calculation
LIBGTOP_VERSION_CODE=`expr $LIBGTOP_MAJOR_VERSION \* 1000000 + $LIBGTOP_MINOR_VERSION \* 1000 + $LIBGTOP_MICRO_VERSION`
AC_SUBST(LIBGTOP_MAJOR_VERSION)
AC_SUBST(LIBGTOP_MINOR_VERSION)
@@ -49,22 +34,6 @@ AC_SUBST(LIBGTOP_VERSION)
AC_SUBST(LIBGTOP_VERSION_CODE)
AC_SUBST(LIBGTOP_VERSION_SUFFIX)
dnl This is required at several places
AC_CHECK_PROG(ac_dc_found, dc, yes, no)
if test x$ac_dc_found != xyes ; then
AC_MSG_ERROR([
*** The "dc" utility was not found on your system.
***
*** When using RedHat Linux, you need to install the "bc" package.
***
*** It is now part of the "bc" package, so you should look at
*** ftp://ftp.gnu.org/pub/gnu/bc/ if you want to compile it yourself.
***
*** Other systems and distributions may also have it in their "bc" package,
*** so if there's no "dc" one, please look for "bc".
***])
fi
# libtool versioning
LT_RELEASE=$LIBGTOP_MAJOR_VERSION.$LIBGTOP_MINOR_VERSION
LT_CURRENT=`expr $LIBGTOP_MICRO_VERSION - $LIBGTOP_INTERFACE_AGE`
@@ -314,9 +283,9 @@ AC_FUNC_STRFTIME
AC_CHECK_FUNCS(getcwd gettimeofday getwd putenv strdup strtoul uname)
dnl ## all 'es_??' are only needed for format numbers different of 'es'
ALL_LINGUAS="az ca da de el es es_DO es_GT es_HN es_MX es_PA es_PE es_SV fi fr ga gl hu ja ko nl no pl pt pt_BR ru sk sl sv tr uk zh_CN.GB2312 zh_TW"
ALL_LINGUAS="az ca da de el es es_DO es_GT es_HN es_MX es_PA es_PE es_SV fi fr ga gl hu ja ko ms nl nn no pl pt pt_BR ru sk sl sv tr uk zh_CN zh_TW"
GETTEXT_PACKAGE=libgtop
GETTEXT_PACKAGE=libgtop-2.0
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")

View File

@@ -1,3 +1,11 @@
2001-01-14 Abel Cheung <maddog@linux.org.hk>
* \*.c: bindtextdomain and textdomain uses GETTEXT_PACKAGE.
* Makefile.am, first.c, second.c, sysdeps.c: Make them at least
compile for now, by disabling chunks which should belong to
HEAD branch.
1999-05-28 Martin Baulig <martin@home-of-linux.org>
* first.c, second.c, sysdeps.c: Use LibGTop version conditionals

View File

@@ -64,9 +64,9 @@ netload_static_LDADD = $(netload_LDADD)
netload_static_LDFLAGS = -static
sysdeps_SOURCES = sysdeps.c
sysdeps_LDADD = $(top_builddir)/lib/libgtop.la \
$(top_builddir)/sysdeps/common/libgtop_common.la \
$(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps.la \
sysdeps_LDADD = $(top_builddir)/lib/libgtop-2.0.la \
$(top_builddir)/sysdeps/common/libgtop_common-2.0.la \
$(top_builddir)/sysdeps/@sysdeps_dir@/libgtop_sysdeps-2.0.la \
@LIBSUPPORT@ @INTLLIBS@
sysdeps_static_SOURCES = $(sysdeps_SOURCES)

View File

@@ -52,8 +52,8 @@ main (int argc, char *argv [])
count = PROFILE_COUNT;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);
@@ -116,16 +116,9 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_uptime (&data.uptime);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Uptime (0x%08lx): %f, %f, %lu\n",
(unsigned long) data.uptime.flags,
data.uptime.uptime, data.uptime.idletime,
(unsigned long) data.uptime.boot_time);
#else
printf ("Uptime (0x%08lx): %f, %f\n",
(unsigned long) data.uptime.flags,
data.uptime.uptime, data.uptime.idletime);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_loadavg (&data.loadavg);
@@ -249,52 +242,15 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_state (&data.proc_state, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_State PID %5d (0x%08lx): '%s', %u - "
"%u, %u, %u, %u - %u, %u, %u\n", (int) pid,
(unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
data.proc_state.uid, data.proc_state.gid,
data.proc_state.ruid, data.proc_state.rgid,
data.proc_state.has_cpu, data.proc_state.processor,
data.proc_state.last_processor);
#else
printf ("Proc_State PID %5d (0x%08lx): '%s', %c, %lu, %lu\n",
(int) pid, (unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
(unsigned long) data.proc_state.uid,
(unsigned long) data.proc_state.gid);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_uid (&data.proc_uid, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Uid PID %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d - %d",
(int) pid, (unsigned long) data.proc_uid.flags,
data.proc_uid.uid, data.proc_uid.euid,
data.proc_uid.gid, data.proc_uid.egid,
data.proc_uid.suid, data.proc_uid.sgid,
data.proc_uid.fsuid, data.proc_uid.fsgid,
data.proc_uid.pid, data.proc_uid.ppid,
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice,
data.proc_uid.ngroups);
if (data.proc_uid.ngroups) {
for (i = 0; i < data.proc_uid.ngroups; i++) {
if (i)
printf (" %d", data.proc_uid.groups [i]);
else
printf (" (%d", data.proc_uid.groups [i]);
}
printf (")");
}
printf ("\n");
#else
printf ("Proc_Uid PID %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d\n", (int) pid,
(unsigned long) data.proc_uid.flags,
@@ -304,7 +260,6 @@ main (int argc, char *argv [])
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_mem (&data.proc_mem, pid);
@@ -322,30 +277,6 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_segment (&data.proc_segment, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Segment PID %5d (0x%08lx): "
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx\n", (int) pid,
(unsigned long) data.proc_segment.flags,
(unsigned long) data.proc_segment.text_rss,
(unsigned long) data.proc_segment.shlib_rss,
(unsigned long) data.proc_segment.data_rss,
(unsigned long) data.proc_segment.stack_rss,
(unsigned long) data.proc_segment.dirty_size,
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_data,
(unsigned long) data.proc_segment.end_data,
(unsigned long) data.proc_segment.start_brk,
(unsigned long) data.proc_segment.end_brk,
(unsigned long) data.proc_segment.start_stack,
(unsigned long) data.proc_segment.start_mmap,
(unsigned long) data.proc_segment.arg_start,
(unsigned long) data.proc_segment.arg_end,
(unsigned long) data.proc_segment.env_start,
(unsigned long) data.proc_segment.env_end);
#else
printf ("Proc_Segment PID %5d (0x%08lx): "
"%lu %lu %lu %lu %lu %lu %lu %lu\n", (int) pid,
(unsigned long) data.proc_segment.flags,
@@ -357,7 +288,6 @@ main (int argc, char *argv [])
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_stack);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_time (&data.proc_time, pid);
@@ -378,19 +308,6 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_signal (&data.proc_signal, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Signal PID %5d (0x%08lx): "
"%lx %lx %lx %lx %lx %lx %lx %lx\n", (int) pid,
(unsigned long) data.proc_signal.flags,
(unsigned long) data.proc_signal.signal [0],
(unsigned long) data.proc_signal.signal [1],
(unsigned long) data.proc_signal.blocked [0],
(unsigned long) data.proc_signal.blocked [1],
(unsigned long) data.proc_signal.sigignore [0],
(unsigned long) data.proc_signal.sigignore [1],
(unsigned long) data.proc_signal.sigcatch [0],
(unsigned long) data.proc_signal.sigcatch [1]);
#else
printf ("Proc_Signal PID %5d (0x%08lx): "
"%lu %lu %lu %lu\n", (int) pid,
(unsigned long) data.proc_signal.flags,
@@ -398,7 +315,6 @@ main (int argc, char *argv [])
(unsigned long) data.proc_signal.blocked,
(unsigned long) data.proc_signal.sigignore,
(unsigned long) data.proc_signal.sigcatch);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_kernel (&data.proc_kernel, pid);
@@ -437,52 +353,15 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_state (&data.proc_state, ppid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_State PPID %5d (0x%08lx): '%s', %u - "
"%u, %u, %u, %u - %u, %u, %u\n", (int) ppid,
(unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
data.proc_state.uid, data.proc_state.gid,
data.proc_state.ruid, data.proc_state.rgid,
data.proc_state.has_cpu, data.proc_state.processor,
data.proc_state.last_processor);
#else
printf ("Proc_State PPID %5d (0x%08lx): '%s', %c, %lu, %lu\n",
(int) ppid, (unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
(unsigned long) data.proc_state.uid,
(unsigned long) data.proc_state.gid);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_uid (&data.proc_uid, ppid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Uid PPID %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d - %d",
(int) ppid, (unsigned long) data.proc_uid.flags,
data.proc_uid.uid, data.proc_uid.euid,
data.proc_uid.gid, data.proc_uid.egid,
data.proc_uid.suid, data.proc_uid.sgid,
data.proc_uid.fsuid, data.proc_uid.fsgid,
data.proc_uid.pid, data.proc_uid.ppid,
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice,
data.proc_uid.ngroups);
if (data.proc_uid.ngroups) {
for (i = 0; i < data.proc_uid.ngroups; i++) {
if (i)
printf (" %d", data.proc_uid.groups [i]);
else
printf (" (%d", data.proc_uid.groups [i]);
}
printf (")");
}
printf ("\n");
#else
printf ("Proc_Uid PPID %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d\n", (int) ppid,
(unsigned long) data.proc_uid.flags,
@@ -492,7 +371,6 @@ main (int argc, char *argv [])
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_mem (&data.proc_mem, ppid);
@@ -510,30 +388,6 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_segment (&data.proc_segment, ppid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Segment PPID %5d (0x%08lx): "
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx\n", (int) ppid,
(unsigned long) data.proc_segment.flags,
(unsigned long) data.proc_segment.text_rss,
(unsigned long) data.proc_segment.shlib_rss,
(unsigned long) data.proc_segment.data_rss,
(unsigned long) data.proc_segment.stack_rss,
(unsigned long) data.proc_segment.dirty_size,
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_data,
(unsigned long) data.proc_segment.end_data,
(unsigned long) data.proc_segment.start_brk,
(unsigned long) data.proc_segment.end_brk,
(unsigned long) data.proc_segment.start_stack,
(unsigned long) data.proc_segment.start_mmap,
(unsigned long) data.proc_segment.arg_start,
(unsigned long) data.proc_segment.arg_end,
(unsigned long) data.proc_segment.env_start,
(unsigned long) data.proc_segment.env_end);
#else
printf ("Proc_Segment PPID %5d (0x%08lx): "
"%lu %lu %lu %lu %lu %lu %lu %lu\n", (int) ppid,
(unsigned long) data.proc_segment.flags,
@@ -545,7 +399,6 @@ main (int argc, char *argv [])
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_stack);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_time (&data.proc_time, ppid);
@@ -566,26 +419,12 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_signal (&data.proc_signal, ppid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Signal PPID %5d (0x%08lx): "
"%lx %lx %lx %lx %lx %lx %lx %lx\n",
(int) ppid, (unsigned long) data.proc_signal.flags,
(unsigned long) data.proc_signal.signal [0],
(unsigned long) data.proc_signal.signal [1],
(unsigned long) data.proc_signal.blocked [0],
(unsigned long) data.proc_signal.blocked [1],
(unsigned long) data.proc_signal.sigignore [0],
(unsigned long) data.proc_signal.sigignore [1],
(unsigned long) data.proc_signal.sigcatch [0],
(unsigned long) data.proc_signal.sigcatch [1]);
#else
printf ("Proc_Signal PPID %5d (0x%08lx): %lu %lu %lu %lu\n",
(int) ppid, (unsigned long) data.proc_signal.flags,
(unsigned long) data.proc_signal.signal,
(unsigned long) data.proc_signal.blocked,
(unsigned long) data.proc_signal.sigignore,
(unsigned long) data.proc_signal.sigcatch);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_kernel (&data.proc_kernel, ppid);
@@ -624,52 +463,15 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_state (&data.proc_state, 1);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_State INIT %5d (0x%08lx): '%s', %u - "
"%u, %u, %u, %u - %u, %u, %u\n", 1,
(unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
data.proc_state.uid, data.proc_state.gid,
data.proc_state.ruid, data.proc_state.rgid,
data.proc_state.has_cpu, data.proc_state.processor,
data.proc_state.last_processor);
#else
printf ("Proc_State INIT %5d (0x%08lx): '%s', %c, %lu, %lu\n", 1,
(unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
(unsigned long) data.proc_state.uid,
(unsigned long) data.proc_state.gid);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_uid (&data.proc_uid, 1);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Uid INIT %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d - %d", 1,
(unsigned long) data.proc_uid.flags,
data.proc_uid.uid, data.proc_uid.euid,
data.proc_uid.gid, data.proc_uid.egid,
data.proc_uid.suid, data.proc_uid.sgid,
data.proc_uid.fsuid, data.proc_uid.fsgid,
data.proc_uid.pid, data.proc_uid.ppid,
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice,
data.proc_uid.ngroups);
if (data.proc_uid.ngroups) {
for (i = 0; i < data.proc_uid.ngroups; i++) {
if (i)
printf (" %d", data.proc_uid.groups [i]);
else
printf (" (%d", data.proc_uid.groups [i]);
}
printf (")");
}
printf ("\n");
#else
printf ("Proc_Uid INIT %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d\n", 1,
(unsigned long) data.proc_uid.flags,
@@ -679,7 +481,6 @@ main (int argc, char *argv [])
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_mem (&data.proc_mem, 1);
@@ -697,30 +498,6 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_segment (&data.proc_segment, 1);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Segment INIT %5d (0x%08lx): "
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx\n", 1,
(unsigned long) data.proc_segment.flags,
(unsigned long) data.proc_segment.text_rss,
(unsigned long) data.proc_segment.shlib_rss,
(unsigned long) data.proc_segment.data_rss,
(unsigned long) data.proc_segment.stack_rss,
(unsigned long) data.proc_segment.dirty_size,
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_data,
(unsigned long) data.proc_segment.end_data,
(unsigned long) data.proc_segment.start_brk,
(unsigned long) data.proc_segment.end_brk,
(unsigned long) data.proc_segment.start_stack,
(unsigned long) data.proc_segment.start_mmap,
(unsigned long) data.proc_segment.arg_start,
(unsigned long) data.proc_segment.arg_end,
(unsigned long) data.proc_segment.env_start,
(unsigned long) data.proc_segment.env_end);
#else
printf ("Proc_Segment INIT %5d (0x%08lx): "
"%lu %lu %lu %lu %lu %lu %lu %lu\n", 1,
(unsigned long) data.proc_segment.flags,
@@ -732,7 +509,6 @@ main (int argc, char *argv [])
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_stack);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_time (&data.proc_time, 1);
@@ -753,19 +529,6 @@ main (int argc, char *argv [])
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_signal (&data.proc_signal, 1);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Signal INIT %5d (0x%08lx): "
"%lx %lx %lx %lx %lx %lx %lx %lx\n", 1,
(unsigned long) data.proc_signal.flags,
(unsigned long) data.proc_signal.signal [0],
(unsigned long) data.proc_signal.signal [1],
(unsigned long) data.proc_signal.blocked [0],
(unsigned long) data.proc_signal.blocked [1],
(unsigned long) data.proc_signal.sigignore [0],
(unsigned long) data.proc_signal.sigignore [1],
(unsigned long) data.proc_signal.sigcatch [0],
(unsigned long) data.proc_signal.sigcatch [1]);
#else
printf ("Proc_Signal INIT %5d (0x%08lx): "
"%lu %lu %lu %lu\n", 1,
(unsigned long) data.proc_signal.flags,
@@ -773,7 +536,6 @@ main (int argc, char *argv [])
(unsigned long) data.proc_signal.blocked,
(unsigned long) data.proc_signal.sigignore,
(unsigned long) data.proc_signal.sigcatch);
#endif
for (c = 0; c < PROFILE_COUNT; c++)
glibtop_get_proc_kernel (&data.proc_kernel, 1);

View File

@@ -47,8 +47,8 @@ main (int argc, char *argv [])
char buffer [BUFSIZ];
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);

View File

@@ -51,8 +51,8 @@ main (int argc, char *argv [])
count = PROFILE_COUNT;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);

View File

@@ -58,8 +58,8 @@ main (int argc, char *argv [])
count = PROFILE_COUNT;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);

View File

@@ -51,52 +51,15 @@ output (pid_t pid)
glibtop_get_proc_state (&data.proc_state, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_State PID %5d (0x%08lx): '%s', %u - "
"%u, %u, %u, %u - %u, %u, %u\n", (int) pid,
(unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
data.proc_state.uid, data.proc_state.gid,
data.proc_state.ruid, data.proc_state.rgid,
data.proc_state.has_cpu, data.proc_state.processor,
data.proc_state.last_processor);
#else
printf ("Proc_State PID %5d (0x%08lx): "
"'%s', %c, %lu, %lu\n", (int) pid,
(unsigned long) data.proc_state.flags,
data.proc_state.cmd, data.proc_state.state,
(unsigned long) data.proc_state.uid,
(unsigned long) data.proc_state.gid);
#endif
glibtop_get_proc_uid (&data.proc_uid, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Uid PID %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d - %d",
(int) pid, (unsigned long) data.proc_uid.flags,
data.proc_uid.uid, data.proc_uid.euid,
data.proc_uid.gid, data.proc_uid.egid,
data.proc_uid.suid, data.proc_uid.sgid,
data.proc_uid.fsuid, data.proc_uid.fsgid,
data.proc_uid.pid, data.proc_uid.ppid,
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice,
data.proc_uid.ngroups);
if (data.proc_uid.ngroups) {
for (i = 0; i < data.proc_uid.ngroups; i++) {
if (i)
printf (" %d", data.proc_uid.groups [i]);
else
printf (" (%d", data.proc_uid.groups [i]);
}
printf (")");
}
printf ("\n");
#else
printf ("Proc_Uid PID %5d (0x%08lx): "
"%d %d %d %d %d %d %d %d %d %d %d %d\n", (int) pid,
(unsigned long) data.proc_uid.flags,
@@ -106,7 +69,6 @@ output (pid_t pid)
data.proc_uid.pgrp, data.proc_uid.session,
data.proc_uid.tty, data.proc_uid.tpgid,
data.proc_uid.priority, data.proc_uid.nice);
#endif
glibtop_get_proc_mem (&data.proc_mem, pid);
@@ -122,30 +84,6 @@ output (pid_t pid)
glibtop_get_proc_segment (&data.proc_segment, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Segment PID %5d (0x%08lx): "
"%lu %lu %lu %lu %lu 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx 0x%lx "
"0x%lx 0x%lx 0x%lx 0x%lx\n", (int) pid,
(unsigned long) data.proc_segment.flags,
(unsigned long) data.proc_segment.text_rss,
(unsigned long) data.proc_segment.shlib_rss,
(unsigned long) data.proc_segment.data_rss,
(unsigned long) data.proc_segment.stack_rss,
(unsigned long) data.proc_segment.dirty_size,
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_data,
(unsigned long) data.proc_segment.end_data,
(unsigned long) data.proc_segment.start_brk,
(unsigned long) data.proc_segment.end_brk,
(unsigned long) data.proc_segment.start_stack,
(unsigned long) data.proc_segment.start_mmap,
(unsigned long) data.proc_segment.arg_start,
(unsigned long) data.proc_segment.arg_end,
(unsigned long) data.proc_segment.env_start,
(unsigned long) data.proc_segment.env_end);
#else
printf ("Proc_Segment PID %5d (0x%08lx): "
"%lu %lu %lu %lu %lu %lu %lu %lu\n", (int) pid,
(unsigned long) data.proc_segment.flags,
@@ -157,7 +95,6 @@ output (pid_t pid)
(unsigned long) data.proc_segment.start_code,
(unsigned long) data.proc_segment.end_code,
(unsigned long) data.proc_segment.start_stack);
#endif
glibtop_get_proc_time (&data.proc_time, pid);
@@ -176,19 +113,6 @@ output (pid_t pid)
glibtop_get_proc_signal (&data.proc_signal, pid);
#if LIBGTOP_VERSION_CODE > 1001000
printf ("Proc_Signal PID %5d (0x%08lx): "
"%lx %lx %lx %lx %lx %lx %lx %lx\n", (int) pid,
(unsigned long) data.proc_signal.flags,
(unsigned long) data.proc_signal.signal [0],
(unsigned long) data.proc_signal.signal [1],
(unsigned long) data.proc_signal.blocked [0],
(unsigned long) data.proc_signal.blocked [1],
(unsigned long) data.proc_signal.sigignore [0],
(unsigned long) data.proc_signal.sigignore [1],
(unsigned long) data.proc_signal.sigcatch [0],
(unsigned long) data.proc_signal.sigcatch [1]);
#else
printf ("Proc_Signal PID %5d (0x%08lx): "
"%lu %lu %lu %lu\n", (int) pid,
(unsigned long) data.proc_signal.flags,
@@ -196,7 +120,6 @@ output (pid_t pid)
(unsigned long) data.proc_signal.blocked,
(unsigned long) data.proc_signal.sigignore,
(unsigned long) data.proc_signal.sigcatch);
#endif
glibtop_get_proc_kernel (&data.proc_kernel, pid);
@@ -315,8 +238,8 @@ main (int argc, char *argv [])
unsigned *ptr, pid, i;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_init ();

View File

@@ -39,8 +39,8 @@ main (int argc, char *argv [])
int ncpu, i;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_get_cpu (&cpu);

View File

@@ -44,8 +44,8 @@ main (int argc, char *argv [])
count = PROFILE_COUNT;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
glibtop_init_r (&glibtop_global_server, 0, GLIBTOP_INIT_NO_OPEN);
@@ -73,9 +73,6 @@ main (int argc, char *argv [])
printf ("Sysdeps (0x%08lx):\n\n"
"\tfeatures:\t\t0x%08lx\n\n"
#if LIBGTOP_VERSION_CODE > 1001000
"\tpointer_size:\t\t0x%08lx\n\n"
#endif
"\tcpu:\t\t%d\t0x%08lx\n"
"\tmem:\t\t%d\t0x%08lx\n"
"\tswap:\t\t%d\t0x%08lx\n\n"
@@ -100,9 +97,6 @@ main (int argc, char *argv [])
"\tppp:\t\t%d\t0x%08lx\n\n",
(unsigned long) sysdeps.flags,
(unsigned long) sysdeps.features,
#if LIBGTOP_VERSION_CODE > 1001000
(unsigned long) sysdeps.pointer_size,
#endif
FEATURE_CHECK(CPU),
(unsigned long) sysdeps.cpu,
FEATURE_CHECK(MEM),

View File

@@ -38,8 +38,8 @@ int
main (int argc, char *argv[])
{
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
gh_enter (argc, argv, main_prog);
exit (0);

View File

@@ -79,8 +79,8 @@ main (int argc, char *argv [])
count = PROFILE_COUNT;
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GTOPLOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (GETTEXT_PACKAGE, GTOPLOCALEDIR);
textdomain (GETTEXT_PACKAGE);
printf ("%-12s (%-10s): %7s - %9s - %9s\n",
"Feature", "Flags", "Count", "utime", "stime");

View File

@@ -5,6 +5,7 @@ cat-id-tbl.c
*.gmo
*.mo
libgtop.pot
libgtop-2.0.pot
Makefile.in.in
messages
stamp-cat-id

View File

@@ -1,3 +1,25 @@
2002-02-09 Abel Cheung <maddog@linux.org.hk>
* zh_TW.po: Updated traditional Chinese translation.
2002-02-05 Abel Cheung <maddog@linux.org.hk>
* zh_CN.GB2312.po -> zh_CN.po: Convert to UTF-8 encoding.
2002-01-27 Christian Rose <menthos@menthos.com>
* README.tools, update.pl, update.sh: Removed, they are
obsoleted by intltool.
* sv.po: Updated and converted to UTF-8.
2002-01-25 Roy-Magne Mo <rmo@sunnmore.net>
* nn.po: Updated Norwegian (nynorsk) translation.
2002-01-14 Hasbullah Bin Pit <sebol@ikhlas.com>
* ms.po: Added Malay Translation.
2001-11-26 Abel Cheung <maddog@linux.org.hk>
* stamp-cat-id: Removed, and add it to .cvsignore.

View File

@@ -1,58 +0,0 @@
The po/ directory includes two perlscripts, which is done to help
making the translations fully uptodate.
The first script is called update.pl and is supposed to be run like this:
./update.pl [OPTIONS] ...LANGCODE
This will updates the pot file (the po template, generated from the source code)
and merge them with the translations po files.
For instance to do this for Danish, type the following
./update.pl da
The update.pl script also supports other options, they are:
-V, --version shows the version
-H, --help shows this help page
-P, --pot only generates the potfile
-M, --maintain search for missing files in POTFILES.in
Especially the --maintain option is very handy for package maintainer, to check
if you included all the files that have marked strings in the POTFILES.in, so
they will be in the generated po template, the socalled pot file.
There is though one thing to take notice of with this option, please check the
configure.in file to make sure that the files you add to POTFILES.in are being
build, otherwise this can leed to "make dist" throuble.
The other utility is the desk.pl script, which will check the cvs module for
missing translation in files like *.desktop, *.directory, *.soundlist and so on.
Run the script like this:
./desk.pl [OPTIONS] ...LANGCODE ENTRY
An example use could be.
./desk.pl da
which will check all the files for missing Name[da] entries, or
./desk.pl no Comment
which will check all the files for missing Comment[no] entries. "Comment" can
here be replaced with whatever you like
All scripts support the --help option for further help, though it's not very
extensive for the moment.
Kenneth Christiansen
kenneth@gnu.org
kenneth@gnome.org
Both scripts are copyright 2000 The Free Software Foundation and me.

1341
po/ms.po Normal file

File diff suppressed because it is too large Load Diff

368
po/nn.po
View File

@@ -1,15 +1,15 @@
# Norwegian (nynorsk) translation of libgtop.
# Copyright (C) 2000 Gaute Hvoslef Kvalnes.
# Gaute Hvoslef Kvalnes <ai98ghk@stud.hib.no>, 2000
# Copyright (C) 2001 Roy-Magne Mo
# Kjartan Maraas <kmaraas@gnome.org>, 2001.
# Roy-Magne Mo <rmo@sunnmore.net>, 2001.
#
msgid ""
msgstr ""
"Project-Id-Version: libgtop 1.0.13\n"
"POT-Creation-Date: 2001-07-16 21:07+0200\n"
"PO-Revision-Date: 2001-06-25 18:55+02:00\n"
"Last-Translator: Kjartan Maraas <kmaraas@gnome.org>\n"
"Language-Team: Norwegian (Nynorsk)\n"
"POT-Creation-Date: 2002-01-25 05:49+0100\n"
"PO-Revision-Date: 2002-01-25 05:50+0100\n"
"Last-Translator: Roy-Magne Mo <rmo@sunnmore.net>\n"
"Language-Team: Norwegian (Nynorsk) <nn@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=iso-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -32,9 +32,8 @@ msgid "Nice"
msgstr "Snill"
#: examples/smp.c:71
#, fuzzy
msgid "Sys"
msgstr "Sys Req"
msgstr "Sys"
#: examples/smp.c:71
msgid "Idle"
@@ -53,34 +52,28 @@ msgid "CPU %3d (0x%08lx): %12lu %12lu %12lu %12lu %12lu\n"
msgstr ""
#: examples/smp.c:94
#, fuzzy
msgid "Percent:"
msgstr "Prosent"
msgstr "Prosent:"
#: examples/smp.c:95
#, fuzzy
msgid "Total (%)"
msgstr "Totalt: %1"
msgstr "Totalt (%)"
#: examples/smp.c:95
#, fuzzy
msgid "User (%)"
msgstr "Brukar%"
msgstr "Brukar (%)"
#: examples/smp.c:95
#, fuzzy
msgid "Nice (%)"
msgstr "Linje (%1)"
msgstr "Snill (%)"
#: examples/smp.c:95
#, fuzzy
msgid "Sys (%)"
msgstr "Dagar (d)"
msgstr "Sys (%)"
#: examples/smp.c:96
#, fuzzy
msgid "Idle (%)"
msgstr "Inaktiv"
msgstr "Inaktiv (%)"
#: examples/smp.c:98
#, c-format
@@ -88,26 +81,26 @@ msgid ""
"CPU (0x%08lx): %12.3f %12.3f %12.3f %12.3f %12.3f\n"
"\n"
msgstr ""
"CPU (0x%08lx): %12.3f %12.3f %12.3f %12.3f %12.3f\n"
"\n"
#: examples/smp.c:114
#, c-format
msgid "CPU %3d (0x%08lx): %12.3f %12.3f %12.3f %12.3f %12.3f\n"
msgstr ""
msgstr "CPU %3d (0x%08lx): %12.3f %12.3f %12.3f %12.3f %12.3f\n"
#: examples/smp.c:120
#, fuzzy
msgid "Spin:"
msgstr "Spania"
msgstr "Rotasjon:"
#: lib/read.c:75
#, fuzzy, c-format
#, c-format
msgid "read %d bytes"
msgstr "%2 (%1 byte)"
msgstr "las %d byte"
#: lib/read_data.c:49
#, fuzzy
msgid "read data size"
msgstr "Set storleik"
msgstr "lesestorleik"
#: lib/read_data.c:66
#, c-format
@@ -115,121 +108,117 @@ msgid "read data %d bytes"
msgstr ""
#: lib/write.c:48
#, fuzzy, c-format
#, c-format
msgid "write %d bytes"
msgstr "Skrivartest"
msgstr "skriv %d byte"
#: src/daemon/gnuserv.c:448
#, fuzzy
msgid "Enable debugging"
msgstr "Skru p<> avlusingsinfo"
#: src/daemon/gnuserv.c:448
msgid "DEBUG"
msgstr ""
msgstr "DEBUG"
#: src/daemon/gnuserv.c:450
#, fuzzy
msgid "Enable verbose output"
msgstr "Skru p<> avlusingsinfo"
msgstr "Skru p<> verbos utdata"
#: src/daemon/gnuserv.c:450
msgid "VERBOSE"
msgstr ""
msgstr "VERBOSE"
#: src/daemon/gnuserv.c:452
#, fuzzy
msgid "Don't fork into background"
msgstr "Bokmerkebakgrunn"
msgstr "Ikkje fork av inn i bakgrunnen"
#: src/daemon/gnuserv.c:452
msgid "NO-DAEMON"
msgstr ""
msgstr "NO-DAEMON"
#: src/daemon/gnuserv.c:454
#, fuzzy
msgid "Invoked from inetd"
msgstr "Kom fr<66> venstre"
msgstr "Starta fr<66> inetd"
#: src/daemon/gnuserv.c:454
#, fuzzy
msgid "INETD"
msgstr "INT"
msgstr "INETD"
#: src/daemon/gnuserv.c:488
#, fuzzy, c-format
#, c-format
msgid ""
"Error on option %s: %s.\n"
"Run '%s --help' to see a full list of available command line options.\n"
msgstr "Bruk --help for <20> f<> ei liste over tilgjengelege kommandolinjeval."
msgstr ""
"Feil p<> val %s: %s.\n"
"K<>yr <20>%s --help<6C> for <20> sj<73> full liste av tilgjengelege kommandlinjeval.\n"
#: support/error.c:109
msgid "Unknown system error"
msgstr ""
msgstr "Ukjent systemfeil"
#: support/getopt.c:669
#, c-format
msgid "%s: option `%s' is ambiguous\n"
msgstr "%s: flagg <20>%s<> er fleirtydig\n"
msgstr "%s: valet <20>%s<> er fleirtydig\n"
#: support/getopt.c:693
#, c-format
msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: flagg <20>--%s<> tek ikkje argument\n"
msgstr "%s: valet <20>--%s<> tillet ikkje argument\n"
#: support/getopt.c:698
#, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: flagg <20>%c%s<> tek ikkje argument\n"
msgstr "%s: valet <20>%c%s<> tillet ikkje argument\n"
#: support/getopt.c:715 support/getopt.c:888
#, c-format
msgid "%s: option `%s' requires an argument\n"
msgstr "%s: flagg <20>%s<> treng eit argument\n"
msgstr "%s: valet <20>%s<> treng eit argument\n"
#. --option
#: support/getopt.c:744
#, fuzzy, c-format
#, c-format
msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: ulovleg flagg -- %c\n"
msgstr "%s: ukjent val <20>--%s<>\n"
#. +option or -option
#: support/getopt.c:748
#, fuzzy, c-format
#, c-format
msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: ulovleg flagg -- %c\n"
msgstr "%s: ukjent val <20>%c%s<>\n"
#. 1003.2 specifies the format of this message.
#: support/getopt.c:774
#, c-format
msgid "%s: illegal option -- %c\n"
msgstr "%s: ulovleg flagg -- %c\n"
msgstr "%s: ulovleg val -- %c\n"
#: support/getopt.c:777
#, fuzzy, c-format
#, c-format
msgid "%s: invalid option -- %c\n"
msgstr "%s: ulovleg flagg -- %c\n"
msgstr "%s: ugyldig val -- %c\n"
#. 1003.2 specifies the format of this message.
#: support/getopt.c:807 support/getopt.c:937
#, c-format
msgid "%s: option requires an argument -- %c\n"
msgstr "%s: flagg treng eit argument -- %c\n"
msgstr "%s: valet treng eit argument -- %c\n"
#: support/getopt.c:854
#, fuzzy, c-format
#, c-format
msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: flagg <20>%s<> er fleirtydig\n"
msgstr "%s: valet <20>-W %s<> er fleirtydig\n"
#: support/getopt.c:872
#, fuzzy, c-format
#, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: flagg <20>--%s<> tek ikkje argument\n"
msgstr "%s: valet <20>-W %s<> kan ikkje ha argument\n"
#: sysdeps/names/cpu.c:43
#, fuzzy
msgid "Total CPU Time"
msgstr "Totaltid"
msgstr "Total CPU-tid"
#: sysdeps/names/cpu.c:44
msgid "CPU Time in User Mode"
@@ -248,14 +237,12 @@ msgid "CPU Time in the Idle Task"
msgstr ""
#: sysdeps/names/cpu.c:48
#, fuzzy
msgid "Tick Frequency"
msgstr "Klokkefrekvens"
msgstr "Tikkfrekvens"
#: sysdeps/names/cpu.c:49
#, fuzzy
msgid "SMP Total CPU Time"
msgstr "Totaltid"
msgstr "SMP Total CPU-tid"
#: sysdeps/names/cpu.c:50
msgid "SMP CPU Time in User Mode"
@@ -298,74 +285,63 @@ msgid "Tick frequency (default is 100)"
msgstr ""
#: sysdeps/names/fsusage.c:39 sysdeps/names/fsusage.c:48
#, fuzzy
msgid "Total blocks"
msgstr "Tal p<> filer totalt:"
msgstr "Totale blokker"
#: sysdeps/names/fsusage.c:40
#, fuzzy
msgid "Free blocks"
msgstr "M<EFBFBD>rke felt"
msgstr "Ledige blokker"
#: sysdeps/names/fsusage.c:41
#, fuzzy
msgid "Available blocks"
msgstr "Tilgjengelege reglar"
msgstr "Tilgjengelege blokker"
#: sysdeps/names/fsusage.c:42 sysdeps/names/fsusage.c:51
#, fuzzy
msgid "Total file nodes"
msgstr "Tal p<> filer totalt:"
msgstr "Totale filnoder"
#: sysdeps/names/fsusage.c:43 sysdeps/names/fsusage.c:52
#, fuzzy
msgid "Free file nodes"
msgstr "F<EFBFBD>rehandsvis filinformasjon"
msgstr "Ledige filnodar"
#: sysdeps/names/fsusage.c:49
msgid "Free blocks available to the superuser"
msgstr ""
msgstr "Ledige blokker tilgjengeleg for superbrukar"
#: sysdeps/names/fsusage.c:50
msgid "Free blocks available to non-superusers"
msgstr ""
msgstr "Ledige blokker tilgjengeleg for ikkje-superbrukar"
#: sysdeps/names/loadavg.c:39
#, fuzzy
msgid "Load Average"
msgstr "Snittlast (1 min)"
msgstr "Snittlast"
#: sysdeps/names/loadavg.c:40
#, fuzzy
msgid "Running Tasks"
msgstr "K<>yrer "
msgstr "K<>yrande oppg<70>ver "
#: sysdeps/names/loadavg.c:41
#, fuzzy
msgid "Number of Tasks"
msgstr "Tal p<> maur:"
msgstr "Tal p<> oppg<EFBFBD>ver"
#: sysdeps/names/loadavg.c:42 sysdeps/names/loadavg.c:50
#, fuzzy
msgid "Last PID"
msgstr "har GID"
msgstr "Siste PID"
#: sysdeps/names/loadavg.c:47
msgid "Number of jobs running simultaneously averaged over 1, 5 and 15 minutes"
msgid ""
"Number of jobs running simultaneously averaged over 1, 5 and 15 minutes"
msgstr ""
#: sysdeps/names/loadavg.c:48
#, fuzzy
msgid "Number of tasks currently running"
msgstr "Tal p<> tekstar:"
msgstr "Tal p<> k<EFBFBD>yrande oppg<70>ver"
#: sysdeps/names/loadavg.c:49
#, fuzzy
msgid "Total number of tasks"
msgstr "Tal p<> element i alt"
msgstr "Totalt tal p<> oppg<70>ver"
#: sysdeps/names/mem.c:41
#, fuzzy
msgid "Total Memory"
msgstr "Totalt minne"
@@ -378,7 +354,6 @@ msgid "Free Memory"
msgstr "Ledig minne"
#: sysdeps/names/mem.c:44
#, fuzzy
msgid "Shared Memory"
msgstr "Delt minne"
@@ -391,61 +366,52 @@ msgid "Cached"
msgstr "Sn<53>gglagra"
#: sysdeps/names/mem.c:48
#, fuzzy
msgid "Locked"
msgstr "L<>s"
#: sysdeps/names/mem.c:53
#, fuzzy
msgid "Total physical memory in kB"
msgstr "Totalt fysisk minne"
msgstr "Totalt fysisk minne i kB"
#: sysdeps/names/mem.c:54
#, fuzzy
msgid "Used memory size in kB"
msgstr "Brukt minne"
msgstr "Brukt minne kB"
#: sysdeps/names/mem.c:55
#, fuzzy
msgid "Free memory size in kB"
msgstr "Ledig minne"
msgstr "Ledig minne i kB"
#: sysdeps/names/mem.c:56
#, fuzzy
msgid "Shared memory size in kB"
msgstr "Delt minne i kilobyte"
msgstr "Delt minne i kB"
#: sysdeps/names/mem.c:57
#, fuzzy
msgid "Size of buffers kB"
msgstr "Skjema-&storleik"
msgstr "Storleik p<> buffer kB"
#: sysdeps/names/mem.c:58
#, fuzzy
msgid "Size of cached memory in kB"
msgstr "Delt minne i kilobyte"
msgstr "Storleik p<> mellomlagra minne i kilobyte"
#: sysdeps/names/mem.c:59
msgid "Memory used from user processes in kB"
msgstr ""
msgstr "Minne brukt av brukarprosessar i kB"
#: sysdeps/names/mem.c:60
msgid "Memory in locked pages in kB"
msgstr ""
msgstr "Minne i l<>ste sider i kB"
#: sysdeps/names/mountlist.c:38 sysdeps/names/mountlist.c:45
#: sysdeps/names/proclist.c:38 sysdeps/names/proclist.c:45
#: sysdeps/names/procmap.c:38 sysdeps/names/procmap.c:45
#, fuzzy
msgid "Number of list elements"
msgstr "Tal p<> element i alt"
msgstr "Tal p<> listeelement"
#: sysdeps/names/mountlist.c:39 sysdeps/names/mountlist.c:46
#: sysdeps/names/proclist.c:39 sysdeps/names/proclist.c:46
#: sysdeps/names/procmap.c:39 sysdeps/names/procmap.c:46
#, fuzzy
msgid "Total size of list"
msgstr "Total storleik er %1 byte"
msgstr "Total storleik p<EFBFBD> liste"
#: sysdeps/names/mountlist.c:40 sysdeps/names/mountlist.c:47
#: sysdeps/names/proclist.c:40 sysdeps/names/proclist.c:47
@@ -463,9 +429,8 @@ msgid "Number of entries in message map"
msgstr "Tal p<> filer i bruk:"
#: sysdeps/names/msg_limits.c:42 sysdeps/names/msg_limits.c:53
#, fuzzy
msgid "Max size of message"
msgstr "storleik p<> vertsnamn"
msgstr "Maks storleik p<> melding"
#: sysdeps/names/msg_limits.c:43 sysdeps/names/msg_limits.c:54
#, fuzzy
@@ -487,13 +452,12 @@ msgid "Number of system message headers"
msgstr "Tal p<> programtekstar: %1\n"
#: sysdeps/names/netload.c:45 sysdeps/names/netload.c:63
#, fuzzy
msgid "Interface Flags"
msgstr "Avbrot"
msgstr "Grensesnittflagg"
#: sysdeps/names/netload.c:46
msgid "MTU"
msgstr ""
msgstr "MTU"
#: sysdeps/names/netload.c:47 sysdeps/names/netload.c:65
#, fuzzy
@@ -505,27 +469,22 @@ msgid "Address"
msgstr "Adresse"
#: sysdeps/names/netload.c:49 sysdeps/names/netload.c:67
#, fuzzy
msgid "Packets In"
msgstr "pakkar inn"
msgstr "Pakkar inn"
#: sysdeps/names/netload.c:50 sysdeps/names/netload.c:68
#, fuzzy
msgid "Packets Out"
msgstr "pakkar ut"
msgstr "Pakkar ut"
#: sysdeps/names/netload.c:51 sysdeps/names/netload.c:69
#, fuzzy
msgid "Packets Total"
msgstr "pakkar ut"
msgstr "Totale pakkar"
#: sysdeps/names/netload.c:52 sysdeps/names/netload.c:70
#, fuzzy
msgid "Bytes In"
msgstr "Byte inn"
#: sysdeps/names/netload.c:53 sysdeps/names/netload.c:71
#, fuzzy
msgid "Bytes Out"
msgstr "Byte ut"
@@ -535,24 +494,20 @@ msgid "Bytes Total"
msgstr "Byte ut"
#: sysdeps/names/netload.c:55 sysdeps/names/netload.c:73
#, fuzzy
msgid "Errors In"
msgstr "Feil"
msgstr "Feil inn"
#: sysdeps/names/netload.c:56 sysdeps/names/netload.c:74
#, fuzzy
msgid "Errors Out"
msgstr "Feil"
msgstr "Feil ut"
#: sysdeps/names/netload.c:57 sysdeps/names/netload.c:75
#, fuzzy
msgid "Errors Total"
msgstr "Feilfarge"
msgstr "Feil total"
#: sysdeps/names/netload.c:58 sysdeps/names/netload.c:76
#, fuzzy
msgid "Collisions"
msgstr "Kolonnar:"
msgstr "Kollisjonar"
#: sysdeps/names/netload.c:64
#, fuzzy
@@ -560,9 +515,8 @@ msgid "Maximum Transfer Unit"
msgstr "Overf<72>ringseiningar"
#: sysdeps/names/ppp.c:38 sysdeps/names/ppp.c:45
#, fuzzy
msgid "PPP State"
msgstr "Stat"
msgstr "PPP tilstand"
#: sysdeps/names/ppp.c:39
#, fuzzy
@@ -663,19 +617,21 @@ msgstr ""
#. CMin_Flt
#: sysdeps/names/prockernel.c:65
msgid "The number of minor faults that the process and its children have made."
msgid ""
"The number of minor faults that the process and its children have made."
msgstr ""
#. CMaj_Flt
#: sysdeps/names/prockernel.c:68
msgid "The number of major faults that the process and its children have made."
msgid ""
"The number of major faults that the process and its children have made."
msgstr ""
#. KStk_ESP
#: sysdeps/names/prockernel.c:71
msgid ""
"The current value of esp (32-bit stack pointer), as found in the kernel "
"stack page for the process."
"The current value of esp (32-bit stack pointer), as found in the kernel stack "
"page for the process."
msgstr ""
#. KStk_EIP
@@ -686,10 +642,10 @@ msgstr ""
#. NWChan
#: sysdeps/names/prockernel.c:76
msgid ""
"This is the \"channel\" in which the process is waiting. This is the "
"address of a system call, and can be looked up in a namelist if you need a "
"textual name. (If you have an up-to-date /etc/psdatabase, then try ps -l to "
"see the WCHAN field in action)"
"This is the \"channel\" in which the process is waiting. This is the address "
"of a system call, and can be looked up in a namelist if you need a textual "
"name. (If you have an up-to-date /etc/psdatabase, then try ps -l to see the "
"WCHAN field in action)"
msgstr ""
#. WChan
@@ -832,9 +788,8 @@ msgid "Signal"
msgstr "Signal"
#: sysdeps/names/procsignal.c:40
#, fuzzy
msgid "Blocked"
msgstr "Blokk"
msgstr "Blokkert"
#: sysdeps/names/procsignal.c:40
#, fuzzy
@@ -868,8 +823,9 @@ msgid "Cmd"
msgstr "LC-modus"
#: sysdeps/names/procstate.c:40
#, fuzzy
msgid "State"
msgstr "Stat"
msgstr "Tilstand"
#: sysdeps/names/procstate.c:40
msgid "UID"
@@ -987,9 +943,8 @@ msgid ""
msgstr ""
#: sysdeps/names/proctime.c:60
#, fuzzy
msgid "Tick frequency"
msgstr "Klokkefrekvens"
msgstr "Tikkfrekvens"
#: sysdeps/names/proctime.c:61
msgid "SMP user-mode CPU time accumulated by process"
@@ -1000,53 +955,44 @@ msgid "SMP kernel-mode CPU time accumulated by process"
msgstr ""
#: sysdeps/names/procuid.c:56
#, fuzzy
msgid "Uid"
msgstr "Brukar-id"
msgstr "Uid"
#: sysdeps/names/procuid.c:56
#, fuzzy
msgid "EUid"
msgstr "Avslutta"
msgstr "EUid"
#: sysdeps/names/procuid.c:56
#, fuzzy
msgid "Gid"
msgstr "Ingen rutenett"
msgstr "Gid"
#: sysdeps/names/procuid.c:56
#, fuzzy
msgid "EGid"
msgstr "Avslutta"
msgstr "EGid"
#: sysdeps/names/procuid.c:56
#, fuzzy
msgid "Pid"
msgstr "Pod"
msgstr "Pid"
#: sysdeps/names/procuid.c:57
#, fuzzy
msgid "PPid"
msgstr "Punktum"
msgstr "PPid"
#: sysdeps/names/procuid.c:57
#, fuzzy
msgid "PGrp"
msgstr "Grep"
msgstr "PGrp"
#: sysdeps/names/procuid.c:57
msgid "Session"
msgstr "<22>kt"
#: sysdeps/names/procuid.c:57
#, fuzzy
msgid "Tty"
msgstr "Txt"
msgstr "Tty"
#: sysdeps/names/procuid.c:58
#, fuzzy
msgid "TPGid"
msgstr "Til rutenett"
msgstr "TPGid"
#: sysdeps/names/procuid.c:58
msgid "Priority"
@@ -1062,9 +1008,8 @@ msgid "Effective User ID"
msgstr "Effektiv rente"
#: sysdeps/names/procuid.c:65
#, fuzzy
msgid "Group ID"
msgstr " Gruppe "
msgstr "Gruppe-ID"
#: sysdeps/names/procuid.c:66
#, fuzzy
@@ -1175,27 +1120,22 @@ msgid "Max total shared memory"
msgstr "Totalt veksleminne"
#: sysdeps/names/swap.c:39 sysdeps/names/swap.c:48
#, fuzzy
msgid "Total Swap Space"
msgstr "Totalt veksleminne"
#: sysdeps/names/swap.c:40 sysdeps/names/swap.c:49
#, fuzzy
msgid "Used Swap Space"
msgstr "Bruk midi-mapper"
msgstr "Brukt veksleminne"
#: sysdeps/names/swap.c:41 sysdeps/names/swap.c:50
#, fuzzy
msgid "Free Swap Space"
msgstr "Ledig veksleminne"
#: sysdeps/names/swap.c:42
#, fuzzy
msgid "Page In"
msgstr "Sider inn"
#: sysdeps/names/swap.c:43
#, fuzzy
msgid "Page Out"
msgstr "Sider ut"
@@ -1204,7 +1144,8 @@ msgid "Total number of swap pages that have been brought in since system boot"
msgstr ""
#: sysdeps/names/swap.c:53
msgid "Total number of swap pages that have been brought out since system boot"
msgid ""
"Total number of swap pages that have been brought out since system boot"
msgstr ""
#: sysdeps/names/sysdeps.c:49 sysdeps/names/sysdeps.c:76
@@ -1213,29 +1154,24 @@ msgid "Server Features"
msgstr "Tenarnamn"
#: sysdeps/names/sysdeps.c:50 sysdeps/names/sysdeps.c:77
#, fuzzy
msgid "CPU Usage"
msgstr "Bruk"
msgstr "CPU bruk"
#: sysdeps/names/sysdeps.c:51 sysdeps/names/sysdeps.c:78
#, fuzzy
msgid "Memory Usage"
msgstr "Minneomr<EFBFBD>de"
msgstr "Minnebruk"
#: sysdeps/names/sysdeps.c:52 sysdeps/names/sysdeps.c:79
#, fuzzy
msgid "Swap Usage"
msgstr "Bruk"
msgstr "Veksleminnebruk"
#: sysdeps/names/sysdeps.c:53 sysdeps/names/sysdeps.c:80
#, fuzzy
msgid "System Uptime"
msgstr "Set systemdato/-tid"
msgstr "Oppetid for systemet"
#: sysdeps/names/sysdeps.c:54 sysdeps/names/sysdeps.c:81
#, fuzzy
msgid "Load Averange"
msgstr "Snittlast (1 min)"
msgstr "Snittlast"
#: sysdeps/names/sysdeps.c:55 sysdeps/names/sysdeps.c:82
#, fuzzy
@@ -1292,39 +1228,32 @@ msgid "Process Segment information"
msgstr "Dokumentinformasjon"
#: sysdeps/names/sysdeps.c:66
#, fuzzy
msgid "Process Arguments"
msgstr "Prosessoppteljing"
msgstr "Prosessargument"
#: sysdeps/names/sysdeps.c:67 sysdeps/names/sysdeps.c:94
#, fuzzy
msgid "Process Memory Map"
msgstr "Prosessor"
msgstr "Prosessminnekart"
#: sysdeps/names/sysdeps.c:68
#, fuzzy
msgid "Mount List"
msgstr "Liste over skrifttypar"
msgstr "Monteringsliste"
#: sysdeps/names/sysdeps.c:69 sysdeps/names/sysdeps.c:96
#, fuzzy
msgid "File System Usage"
msgstr "Filsystemtype:"
msgstr "Filsystembruk"
#: sysdeps/names/sysdeps.c:70 sysdeps/names/sysdeps.c:97
#, fuzzy
msgid "Network Load"
msgstr "Leit p<> nettverket"
msgstr "Nettverkslast"
#: sysdeps/names/sysdeps.c:71 sysdeps/names/sysdeps.c:98
#, fuzzy
msgid "PPP Statistics"
msgstr "Statistikk"
msgstr "PPP statistikk"
#: sysdeps/names/sysdeps.c:93
#, fuzzy
msgid "Command line arguments of the process"
msgstr "Kommandolinja som starta prosessen"
msgstr "Kommandolinjeargumenta til prosessen"
#: sysdeps/names/sysdeps.c:95
#, fuzzy
@@ -1332,18 +1261,16 @@ msgid "List of currently mounted filesystems"
msgstr "S<>k i monterte filsystem"
#: sysdeps/names/uptime.c:38
#, fuzzy
msgid "Uptime"
msgstr "Tid"
msgstr "Oppetid"
#: sysdeps/names/uptime.c:39
#, fuzzy
msgid "Idletime"
msgstr "Inaktiv-tid"
#: sysdeps/names/uptime.c:44
msgid "Time in seconds since system boot"
msgstr ""
msgstr "Tid i sekund sidan system-oppstart"
#: sysdeps/names/uptime.c:45
msgid "Time in seconds the system spent in the idle task since system boot"
@@ -1362,9 +1289,8 @@ msgid "Quit"
msgstr "Avslutt"
#: sysdeps/osf1/siglist.c:31 sysdeps/sun4/siglist.c:31
#, fuzzy
msgid "Illegal instruction"
msgstr "Comment=Ulovleg instruksjon."
msgstr "Ulovleg instruksjon."
#: sysdeps/osf1/siglist.c:32 sysdeps/sun4/siglist.c:32
#, fuzzy
@@ -1390,9 +1316,8 @@ msgid "Kill"
msgstr "Drep"
#: sysdeps/osf1/siglist.c:37 sysdeps/sun4/siglist.c:37
#, fuzzy
msgid "Bus error"
msgstr "Vertsfeil"
msgstr "Bussfeil"
#: sysdeps/osf1/siglist.c:38 sysdeps/sun4/siglist.c:38
#, fuzzy
@@ -1404,19 +1329,16 @@ msgid "Bad argument to system call"
msgstr ""
#: sysdeps/osf1/siglist.c:40 sysdeps/sun4/siglist.c:40
#, fuzzy
msgid "Broken pipe"
msgstr "Broten"
msgstr "Brote r<>yr"
#: sysdeps/osf1/siglist.c:41 sysdeps/sun4/siglist.c:41
#, fuzzy
msgid "Alarm clock"
msgstr "Kolonnar:"
msgstr "Alarmklokke"
#: sysdeps/osf1/siglist.c:42 sysdeps/sun4/siglist.c:42
#, fuzzy
msgid "Termination"
msgstr "Terminalval"
msgstr "Avlustting"
#: sysdeps/osf1/siglist.c:43 sysdeps/sun4/siglist.c:43
msgid "Urgent condition on socket"
@@ -1437,7 +1359,7 @@ msgstr "Fortset"
#: sysdeps/osf1/siglist.c:47 sysdeps/sun4/siglist.c:47
msgid "Child status has changed"
msgstr ""
msgstr "Status p<> born er endra"
#: sysdeps/osf1/siglist.c:48 sysdeps/sun4/siglist.c:48
#, fuzzy
@@ -1450,9 +1372,8 @@ msgid "Background write to tty"
msgstr "Bakgrunn:"
#: sysdeps/osf1/siglist.c:50 sysdeps/sun4/siglist.c:50
#, fuzzy
msgid "I/O now possible"
msgstr "Kan ikkje angra"
msgstr "I/O no mogleg"
#: sysdeps/osf1/siglist.c:51 sysdeps/sun4/siglist.c:51
#, fuzzy
@@ -1469,18 +1390,16 @@ msgstr ""
"G<>tt over <20>vre grense!"
#: sysdeps/osf1/siglist.c:53 sysdeps/sun4/siglist.c:53
#, fuzzy
msgid "Virtual alarm clock"
msgstr "Virtuelt teikn "
msgstr "Virtuel alarmklokke"
#: sysdeps/osf1/siglist.c:54 sysdeps/sun4/siglist.c:54
msgid "Profiling alarm clock"
msgstr ""
#: sysdeps/osf1/siglist.c:55 sysdeps/sun4/siglist.c:55
#, fuzzy
msgid "Window size change"
msgstr "Rull opp vindauge"
msgstr "Endring i vindaugsstorleik"
#: sysdeps/osf1/siglist.c:56 sysdeps/sun4/siglist.c:56
#, fuzzy
@@ -1488,11 +1407,10 @@ msgid "Information request"
msgstr "Krev stadfesting"
#: sysdeps/osf1/siglist.c:57 sysdeps/sun4/siglist.c:57
#, fuzzy
msgid "User defined signal 1"
msgstr "Eigendefinert 1:"
msgstr "Eigendefinert 1"
#: sysdeps/osf1/siglist.c:58 sysdeps/sun4/siglist.c:58
#, fuzzy
msgid "User defined signal 2"
msgstr "Eigendefinert 2:"
msgstr "Eigendefinert 2"

353
po/sv.po

File diff suppressed because it is too large Load Diff

View File

@@ -1,166 +0,0 @@
#!/usr/bin/perl -w
# GNOME po update utility.
# (C) 2000 The Free Software Foundation
#
# Author(s): Kenneth Christiansen
$VERSION = "1.2.5 beta 2";
$LANG = $ARGV[0];
$PACKAGE = "libgtop";
if (! $LANG){
print "update.pl: missing file arguments\n";
print "Try `update.pl --help' for more information.\n";
exit;
}
if ($LANG=~/^-(.)*/){
if ("$LANG" eq "--version" || "$LANG" eq "-V"){
print "GNOME PO Updater $VERSION\n";
print "Written by Kenneth Christiansen <kenneth\@gnome.org>, 2000.\n\n";
print "Copyright (C) 2000 Free Software Foundation, Inc.\n";
print "This is free software; see the source for copying conditions. There is NO\n";
print "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n";
exit;
}
elsif ($LANG eq "--help" || "$LANG" eq "-H"){
print "Usage: ./update.pl [OPTIONS] ...LANGCODE\n";
print "Updates pot files and merge them with the translations.\n\n";
print " -V, --version shows the version\n";
print " -H, --help shows this help page\n";
print " -P, --pot only generates the potfile\n";
print " -M, --maintain search for missing files in POTFILES.in\n";
print "\nExamples of use:\n";
print "update.sh --pot just creates a new pot file from the source\n";
print "update.sh da created new pot file and updated the da.po file\n\n";
print "Report bugs to <kenneth\@gnome.org>.\n";
exit;
}
elsif($LANG eq "--pot" || "$LANG" eq "-P"){
print "Building the $PACKAGE.pot ...";
$b="xgettext --default-domain\=$PACKAGE --directory\=\.\."
." --add-comments --keyword\=\_ --keyword\=N\_"
." --files-from\=\.\/POTFILES\.in ";
$b1="test \! -f $PACKAGE\.po \|\| \( rm -f \.\/$PACKAGE\.pot "
."&& mv $PACKAGE\.po \.\/$PACKAGE\.pot \)";
`$b`;
`$b1`;
print "...done\n";
exit;
}
elsif ($LANG eq "--maintain" || "$LANG" eq "-M"){
$a="find ../ -print | egrep '.*\\.(c|y|cc|c++|h|gob)' ";
open(BUF2, "POTFILES.in") || die "update.pl: there's not POTFILES.in!!!\n";
print "Searching for missing _(\" \") entries...\n";
open(BUF1, "$a|");
@buf2 = <BUF2>;
@buf1 = <BUF1>;
if (-s "POTFILES.ignore"){
open FILE, "POTFILES.ignore";
while (<FILE>) {
if ($_=~/^[^#]/o){
push @bup, $_;
}
}
print "POTFILES.ignore found! Ignoring files...\n";
@buf2 = (@bup, @buf2);
}
foreach my $file (@buf1){
open FILE, "<$file";
while (<FILE>) {
if ($_=~/_\(\"/o){
$file = unpack("x3 A*",$file) . "\n";
push @buff1, $file;
last;
}
}
}
@bufff1 = sort (@buff1);
@bufff2 = sort (@buf2);
my %in2;
foreach (@bufff2) {
$in2{$_} = 1;
}
foreach (@bufff1){
if (!exists($in2{$_})){
push @result, $_ }
}
if(@result){
open OUT, ">POTFILES.in.missing";
print OUT @result;
print "\nHere are the results:\n\n", @result, "\n";
print "File POTFILES.in.missing is being placed in directory...\n";
print "Please add the files that should be ignored in POTFILES.ignore\n";
}
else{
print "\nWell, it's all perfect! Congratulation!\n";
}
}
else{
print "update.pl: invalid option -- $LANG\n";
print "Try `update.pl --help' for more information.\n";
}
exit;
}
elsif(-s "$LANG.po"){
print "Building the $PACKAGE.pot ...";
$c="xgettext --default-domain\=$PACKAGE --directory\=\.\."
." --add-comments --keyword\=\_ --keyword\=N\_"
." --files-from\=\.\/POTFILES\.in ";
$c1="test \! -f $PACKAGE\.po \|\| \( rm -f \.\/$PACKAGE\.pot "
."&& mv $PACKAGE\.po \.\/$PACKAGE\.pot \)";
`$c`;
`$c1`;
print "...done";
print "\nNow merging $LANG.po with $PACKAGE.pot, and creating an updated $LANG.po ...\n";
$d="mv $LANG.po $LANG.po.old && msgmerge $LANG.po.old $PACKAGE.pot -o $LANG.po";
$f="msgfmt --statistics $LANG.po";
`$d`;
`$f`;
unlink "messages";
unlink "$LANG.po.old";
exit;
}
else{
print "update.pl: sorry $LANG.po does not exist!\n";
print "Try `update.pl --help' for more information.\n";
exit;
}

View File

@@ -1,90 +0,0 @@
#!/bin/sh
VERSION="1.2.4"
PACKAGE="libgtop"
if [ "x$1" = "x--help" ]; then
echo Usage: ./update.sh langcode
echo --help display this help and exit
echo --missing search for missing files in POTFILES.in
echo --version shows the version
echo
echo Examples of use:
echo ./update.sh ----- just creates a new pot file from the source
echo ./update.sh da -- created new pot file and updated the da.po file
elif [ "x$1" = "x--version" ]; then
echo "update.sh release $VERSION"
elif [ "x$1" = "x--missing" ]; then
echo "Searching for files containing _( ) but missing in POTFILES.in..."
find ../ -print | egrep '.*\.(c|y|cc|c++|h|gob)' | xargs grep _\( | cut -d: -f1 | uniq | cut -d/ -f2- > POTFILES.in.missing
echo Sorting... comparing...
sort -d POTFILES.in -o POTFILES.in
sort -d POTFILES.in.missing -o POTFILES.in.missing
diff POTFILES.in POTFILES.in.missing -u0 | grep '^+' |grep -v '^+++'|grep -v '^@@' > POTFILES.in.missing
if [ -s POTFILES.in.missing ]; then
if [ -s POTFILES.ignore ]; then
sort -d POTFILES.ignore -o POTFILES.tmp
diff POTFILES.tmp POTFILES.in.missing -u0 | grep '^+' |grep -v '^+++'|grep -v '^@@' > POTFILES.in.missing
rm POTFILES.tmp
fi
echo && echo "Here are the results:"
echo && cat POTFILES.in.missing
echo && echo "File POTFILES.in.missing is being placed in directory..."
echo "Please add the files that should be ignored in POTFILES.ignore"
else
echo &&echo "There are no missing files, thanks God!"
rm POTFILES.in.missing
fi
elif [ "x$1" = "x" ]; then
echo "Building the $PACKAGE.pot ..."
xgettext --default-domain=$PACKAGE --directory=.. \
--add-comments --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
&& test ! -f $PACKAGE.po \
|| ( rm -f ./$PACKAGE.pot \
&& mv $PACKAGE.po ./$PACKAGE.pot );
else
if [ -s $1.po ]; then
xgettext --default-domain=$PACKAGE --directory=.. \
--add-comments --keyword=_ --keyword=N_ \
--files-from=./POTFILES.in \
&& test ! -f $PACKAGE.po \
|| ( rm -f ./PACKAGE.pot \
&& mv $PACKAGE.po ./$PACKAGE.pot );
echo "Building the $PACKAGE.pot ..."
echo "Now merging $1.po with $PACKAGE.pot, and creating an updated $1.po ..."
mv $1.po $1.po.old && msgmerge $1.po.old $PACKAGE.pot -o $1.po \
&& rm $1.po.old;
msgfmt --statistics $1.po
else
echo Sorry $1.po does not exist!
fi;
fi;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1 +0,0 @@
timestamp