diff --git a/po/ChangeLog b/po/ChangeLog index 70b56d31..7d2b13ed 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2000-08-11 Valek Filippov + + * ru.po: Updated russian translation. + 2000-08-09 Szabolcs BAN * hu.po: Added Rob's work, all thanks goes to diff --git a/po/POTFILES.in b/po/POTFILES.in index 50b8dcb5..18a9dbd3 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,3 +1,8 @@ +lib/sysdeps-init-freebsd.c +lib/sysdeps-init-linux.c +support/popt.c +support/popthelp.c +support/poptint.h sysdeps/names/cpu.c sysdeps/names/fsusage.c sysdeps/names/loadavg.c diff --git a/po/ru.po b/po/ru.po index 7d6ceeac..506d6aeb 100644 --- a/po/ru.po +++ b/po/ru.po @@ -5,14 +5,150 @@ msgid "" msgstr "" "Project-Id-Version: libgtop-1.0.1\n" -"POT-Creation-Date: 2000-06-05 01:05+0000\n" -"PO-Revision-Date: 2000-06-05 01:13+00:00\n" +"POT-Creation-Date: 2000-08-11 22:44+0000\n" +"PO-Revision-Date: 2000-08-11 22:59+00:00\n" "Last-Translator: Valek Filippov \n" "Language-Team: Russian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=koi8-r\n" "Content-Transfer-Encoding: 8bit\n" +#: lib/sysdeps-init-freebsd.c:33 lib/sysdeps-init-linux.c:33 +msgid "Hangup (POSIX)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:34 lib/sysdeps-init-linux.c:34 +msgid "Interrupt (ANSI)" +msgstr "Прерывание (ANSI)" + +#: lib/sysdeps-init-freebsd.c:35 lib/sysdeps-init-linux.c:35 +msgid "Quit (POSIX)" +msgstr "Выход (POSIX)" + +#: lib/sysdeps-init-freebsd.c:36 lib/sysdeps-init-linux.c:36 +msgid "Illegal instruction (ANSI)" +msgstr "Недопустимая инструкция (ANSI)" + +#: lib/sysdeps-init-freebsd.c:37 lib/sysdeps-init-linux.c:37 +msgid "Trace trap (POSIX)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:38 lib/sysdeps-init-linux.c:38 +msgid "Abort (ANSI)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:39 +msgid "EMT instruction" +msgstr "EMT инструкция" + +#: lib/sysdeps-init-freebsd.c:40 lib/sysdeps-init-linux.c:40 +msgid "Floating-point exception (ANSI)" +msgstr "Исключение плавающей точки (ANSI)" + +#: lib/sysdeps-init-freebsd.c:41 lib/sysdeps-init-linux.c:41 +msgid "Kill, unblockable (POSIX)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:42 lib/sysdeps-init-linux.c:39 +msgid "BUS error (4.2 BSD)" +msgstr "Ошибка Шины (4.2 BSD)" + +#: lib/sysdeps-init-freebsd.c:43 lib/sysdeps-init-linux.c:43 +msgid "Segmentation violation (ANSI)" +msgstr "Нарушение сегментации (ANSI)" + +#: lib/sysdeps-init-freebsd.c:44 +msgid "Bad argument to system call" +msgstr "Плохой аргумент в системном вызове" + +#: lib/sysdeps-init-freebsd.c:45 lib/sysdeps-init-linux.c:45 +msgid "Broken pipe (POSIX)" +msgstr "Неисправный канал (POSIX)" + +#: lib/sysdeps-init-freebsd.c:46 lib/sysdeps-init-linux.c:46 +msgid "Alarm clock (POSIX)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:47 lib/sysdeps-init-linux.c:47 +msgid "Termination (ANSI)" +msgstr "Обрыв (ANSI)" + +#: lib/sysdeps-init-freebsd.c:48 lib/sysdeps-init-linux.c:55 +msgid "Urgent condition on socket (4.2 BSD)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:49 lib/sysdeps-init-linux.c:51 +msgid "Stop, unblockable (POSIX)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:50 lib/sysdeps-init-linux.c:52 +msgid "Keyboard stop (POSIX)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:51 lib/sysdeps-init-linux.c:50 +msgid "Continue (POSIX)" +msgstr "Продолжение (POSIX)" + +#: lib/sysdeps-init-freebsd.c:52 lib/sysdeps-init-linux.c:49 +msgid "Child status has changed (POSIX)" +msgstr "Состояние потомка было изменено (POSIX)" + +#: lib/sysdeps-init-freebsd.c:53 lib/sysdeps-init-linux.c:53 +msgid "Background read from tty (POSIX)" +msgstr "Фоновое чтение из tty (POSIX)" + +#: lib/sysdeps-init-freebsd.c:54 lib/sysdeps-init-linux.c:54 +msgid "Background write to tty (POSIX)" +msgstr "Фоновая запись в tty (POSIX)" + +#: lib/sysdeps-init-freebsd.c:55 lib/sysdeps-init-linux.c:61 +msgid "I/O now possible (4.2 BSD)" +msgstr "Сейчас возможен ввод/вывод (4.2 BSD)" + +#: lib/sysdeps-init-freebsd.c:56 lib/sysdeps-init-linux.c:56 +msgid "CPU limit exceeded (4.2 BSD)" +msgstr "Превышен предел CPU (4.2 BSD)" + +#: lib/sysdeps-init-freebsd.c:57 lib/sysdeps-init-linux.c:57 +msgid "File size limit exceeded (4.2 BSD)" +msgstr "Превышен предел размера файла (4.2 BSD)" + +#: lib/sysdeps-init-freebsd.c:58 lib/sysdeps-init-linux.c:58 +msgid "Virtual alarm clock (4.2 BSD)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:59 lib/sysdeps-init-linux.c:59 +msgid "Profiling alarm clock (4.2 BSD)" +msgstr "" + +#: lib/sysdeps-init-freebsd.c:60 lib/sysdeps-init-linux.c:60 +msgid "Window size change (4.3 BSD, Sun)" +msgstr "Изменение размера окна (4.3 BSD, Sun)" + +#: lib/sysdeps-init-freebsd.c:61 +msgid "Information request" +msgstr "Запрос информации" + +#: lib/sysdeps-init-freebsd.c:62 lib/sysdeps-init-linux.c:42 +msgid "User-defined signal 1 (POSIX)" +msgstr "Сигнал пользователя 1 (POSIX)" + +#: lib/sysdeps-init-freebsd.c:63 lib/sysdeps-init-linux.c:44 +msgid "User-defined signal 2 (POSIX)" +msgstr "Сигнал пользователя 2 (POSIX)" + +#: lib/sysdeps-init-linux.c:62 +msgid "Power failure restart (System V)" +msgstr "Перезапуск по сбою питания (System V)" + +#: support/popthelp.c:23 +msgid "Show this help message" +msgstr "Показать это справочное сообщение" + +#: support/popthelp.c:24 +msgid "Display brief usage message" +msgstr "Показать краткое сообщение об использовании" + #: sysdeps/names/cpu.c:45 msgid "Total CPU Time" msgstr "Общее время ЦПУ" @@ -171,7 +307,7 @@ msgstr " #: sysdeps/names/mem.c:50 msgid "Locked" -msgstr "" +msgstr "Заблокировано" #: sysdeps/names/mem.c:55 msgid "Total physical memory in kB" @@ -203,7 +339,7 @@ msgstr " #: sysdeps/names/mem.c:62 msgid "Memory in locked pages in kB" -msgstr "" +msgstr "Память в заблокированных страницах в кБ" #: sysdeps/names/msg_limits.c:42 sysdeps/names/msg_limits.c:53 msgid "Size in kilobytes of message pool" @@ -235,39 +371,39 @@ msgstr " #: sysdeps/names/prockernel.c:44 msgid "K_Flags" -msgstr "" +msgstr "K_Flags" #: sysdeps/names/prockernel.c:44 msgid "Min_Flt" -msgstr "" +msgstr "Min_Flt" #: sysdeps/names/prockernel.c:44 msgid "Maj_Flt" -msgstr "" +msgstr "Maj_Flt" #: sysdeps/names/prockernel.c:44 msgid "CMin_Flt" -msgstr "" +msgstr "CMin_Flt" #: sysdeps/names/prockernel.c:45 msgid "CMaj_Flt" -msgstr "" +msgstr "CMaj_Flt" #: sysdeps/names/prockernel.c:45 msgid "KStk_ESP" -msgstr "" +msgstr "KStk_ESP" #: sysdeps/names/prockernel.c:45 msgid "KStk_EIP" -msgstr "" +msgstr "KStk_EIP" #: sysdeps/names/prockernel.c:45 msgid "NWChan" -msgstr "" +msgstr "NWChan" #: sysdeps/names/prockernel.c:46 msgid "WChan" -msgstr "" +msgstr "WChan" #. K_Flags #: sysdeps/names/prockernel.c:52 @@ -350,11 +486,11 @@ msgstr " #: sysdeps/names/procmem.c:50 msgid "Resident Set Size" -msgstr "" +msgstr "Размер резидентного набора" #: sysdeps/names/procmem.c:50 msgid "Resident Set Size Limit" -msgstr "" +msgstr "Предел размера резидентного набора" #: sysdeps/names/procmem.c:55 msgid "Total # of pages of memory" @@ -423,11 +559,11 @@ msgstr " #: sysdeps/names/procsegment.c:52 msgid "Start_Brk" -msgstr "" +msgstr "Start_Brk" #: sysdeps/names/procsegment.c:52 msgid "Brk" -msgstr "" +msgstr "Brk" #: sysdeps/names/procsegment.c:53 msgid "Start_Stack" @@ -491,11 +627,11 @@ msgstr " #: sysdeps/names/procsegment.c:68 msgid "Brk_Start" -msgstr "" +msgstr "Brk_Start" #: sysdeps/names/procsegment.c:69 msgid "Brk_End" -msgstr "" +msgstr "Brk_End" #: sysdeps/names/procsegment.c:70 msgid "Address of the bottom of stack segment" @@ -733,7 +869,7 @@ msgstr "FsUid" #: sysdeps/names/procuid.c:49 msgid "FsGid" -msgstr "" +msgstr "FsGid" #: sysdeps/names/procuid.c:49 msgid "Pid" @@ -833,7 +969,7 @@ msgstr "ID #: sysdeps/names/procuid.c:71 msgid "Kernel scheduling priority" -msgstr "" +msgstr "Приоритет планирования ядра" #: sysdeps/names/procuid.c:72 msgid "Standard unix nice level of process" @@ -1001,7 +1137,7 @@ msgstr " #: sysdeps/names/sysdeps.c:69 sysdeps/names/sysdeps.c:99 msgid "Process Kernel Data information" -msgstr "" +msgstr "Информация о данных ядра процесса" #: sysdeps/names/sysdeps.c:70 sysdeps/names/sysdeps.c:100 msgid "Process Segment information" @@ -1041,7 +1177,7 @@ msgstr " #: sysdeps/names/sysdeps.c:84 msgid "Pointer Size on the Server (in bits)" -msgstr "" +msgstr "Размер указателя на сервере (в битах)" #: sysdeps/names/sysdeps.c:101 msgid "Current working directory of the process" diff --git a/po/update.pl b/po/update.pl new file mode 100755 index 00000000..81ec0f3c --- /dev/null +++ b/po/update.pl @@ -0,0 +1,166 @@ +#!/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 , 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 .\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 = ; + @buf1 = ; + + if (-s "POTFILES.ignore"){ + open FILE, "POTFILES.ignore"; + while () { + if ($_=~/^[^#]/o){ + push @bup, $_; + } + } + print "POTFILES.ignore found! Ignoring files...\n"; + @buf2 = (@bup, @buf2); + } + + foreach my $file (@buf1){ + open FILE, "<$file"; + while () { + 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; +}