From 6d2414707c7e584668f9513cb24858492a4fcebf Mon Sep 17 00:00:00 2001 From: Marc Lehmann Date: Sat, 1 Jan 2000 22:35:47 +0000 Subject: [PATCH] see plug-ins/perl/Changes --- plug-ins/perl/Changes | 1 + plug-ins/perl/Net/Net.xs | 4 +- plug-ins/perl/UI/UI.pm | 19 ++++-- plug-ins/perl/po/ChangeLog | 4 -- plug-ins/perl/po/cs.po | 120 ++++++++++++++++++++----------------- 5 files changed, 84 insertions(+), 64 deletions(-) diff --git a/plug-ins/perl/Changes b/plug-ins/perl/Changes index 53c5938941..733d2a02e4 100644 --- a/plug-ins/perl/Changes +++ b/plug-ins/perl/Changes @@ -38,6 +38,7 @@ Revision history for Gimp-Perl extension. - deprecate use of included scripts with gimp-1.0 in configure.in. - fix the ColorSelectButton ro work with newer versions of Gtk. - updated logulator from scheme sources. oh yeah :( + - Net.xs didn't compile without PDL. 1.17 Wed Nov 24 21:25:19 CET 1999 - re-fitted i18n translation for most plug-ins. diff --git a/plug-ins/perl/Net/Net.xs b/plug-ins/perl/Net/Net.xs index 6507ba9c0f..8fd0a76e0e 100644 --- a/plug-ins/perl/Net/Net.xs +++ b/plug-ins/perl/Net/Net.xs @@ -19,14 +19,14 @@ # define printf PerlIO_stdoutf #endif +#include "../perl-intl.h" + #if HAVE_PDL # include # undef croak # define croak Perl_croak -#include "../perl-intl.h" - #if 0 /* hack, undocumented, argh! */ static Core* PDL; /* Structure hold core C functions */ diff --git a/plug-ins/perl/UI/UI.pm b/plug-ins/perl/UI/UI.pm index 15dacfaed6..1b610896d4 100644 --- a/plug-ins/perl/UI/UI.pm +++ b/plug-ins/perl/UI/UI.pm @@ -133,7 +133,6 @@ sub GTK_OBJECT_GET_ARG { } sub GTK_OBJECT_INIT { - shift unless ref $self; # care for "old" Gtk modules my $self = shift; (my $label = new Gtk::Label "")->show; $self->add($label); @@ -196,9 +195,13 @@ package Gimp::UI::PatternSelect; use Gtk; use Gimp '__'; -use base Gimp::UI::PreviewSelect; use Gimp::basewidget Gtk::Button; +sub GTK_CLASS_INIT { goto &Gimp::UI::PreviewSelect::GTK_CLASS_INIT } +sub GTK_OBJECT_SET_ARG { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_SET_ARG } +sub GTK_OBJECT_GET_ARG { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_GET_ARG } +sub GTK_OBJECT_INIT { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_INIT } + sub get_title { __"Pattern Selection Dialog" } sub get_list { Gimp->patterns_list } @@ -241,9 +244,13 @@ package Gimp::UI::BrushSelect; use Gtk; use Gimp '__'; -use base Gimp::UI::PreviewSelect; use Gimp::basewidget Gtk::Button; +sub GTK_CLASS_INIT { goto &Gimp::UI::PreviewSelect::GTK_CLASS_INIT } +sub GTK_OBJECT_SET_ARG { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_SET_ARG } +sub GTK_OBJECT_GET_ARG { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_GET_ARG } +sub GTK_OBJECT_INIT { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_INIT } + sub get_title { __"Brush Selection Dialog" } sub get_list { Gimp->brushes_list } @@ -281,9 +288,13 @@ package Gimp::UI::GradientSelect; use Gtk; use Gimp '__'; -use base Gimp::UI::PreviewSelect; use Gimp::basewidget Gtk::Button; +sub GTK_CLASS_INIT { goto &Gimp::UI::PreviewSelect::GTK_CLASS_INIT } +sub GTK_OBJECT_SET_ARG { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_SET_ARG } +sub GTK_OBJECT_GET_ARG { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_GET_ARG } +sub GTK_OBJECT_INIT { goto &Gimp::UI::PreviewSelect::GTK_OBJECT_INIT } + sub get_title { __"Gradient Selection Dialog" } sub get_list { keys %gradients } diff --git a/plug-ins/perl/po/ChangeLog b/plug-ins/perl/po/ChangeLog index 794b4797d5..12402693ee 100644 --- a/plug-ins/perl/po/ChangeLog +++ b/plug-ins/perl/po/ChangeLog @@ -1,7 +1,3 @@ -Wed Dec 29 21:49:22 CET 1999 Stanislav Brabec - - * cs.po: Updated translation. - 1999-12-08 Kjartan Maraas * no.po: Added Norwegian translation. diff --git a/plug-ins/perl/po/cs.po b/plug-ins/perl/po/cs.po index 0a40e1a0ea..5f4f69f269 100644 --- a/plug-ins/perl/po/cs.po +++ b/plug-ins/perl/po/cs.po @@ -1,4 +1,4 @@ -# Czech translation of GIMP perl 1.1.14. +# Czech translation of GIMP perl 1.1.13. # Copyright (C) 1999 Free Software Foundation, Inc. # Stanislav Brabec , 1999. # @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: gimp-perl 1\n" "POT-Creation-Date: 1999-09-12 17:58+0200\n" -"PO-Revision-Date: 1999-12-29 11:35+01:00\n" +"PO-Revision-Date: 1999-12-06 11:44+01:00\n" "Last-Translator: Stanislav Brabec \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" @@ -15,10 +15,11 @@ msgstr "" #, fuzzy msgid "/Filters/Logulator/Bovination" -msgstr "/Filtry/Logulátor/Průměr okraje..." +msgstr "/Filtry/Barvy/Průměr okraje..." +#, fuzzy msgid "/Guides/Center Guide" -msgstr "/Vodítka/Vodítko na střed" +msgstr "/Video/Smazat políčka" msgid "/Filters/Logulator/Blended" msgstr "/Filtry/Logulátor/Rozostřeno" @@ -32,16 +33,15 @@ msgstr "nepoda #, fuzzy msgid "/Xtns/Render/Logos/Inner Bevel" -msgstr "/Rozš./Výpočty/Loga" +msgstr "/Rozš./Výpočty/Loga" msgid "" -"Expected an INT32 but got '%s'. Add '*1' if you really intend to pass in a " -"string" +"Expected an INT32 but got '%s'. Add '*1' if you really intend to pass in a string" msgstr "" #, fuzzy msgid "/Filters/Noise/Feedback" -msgstr "/Filtry/Šum/Zpětná vazba" +msgstr "/Filtry/Kombinace/Film..." msgid "" " interface-arguments are\n" @@ -56,8 +56,9 @@ msgstr "" msgid "argument type %s expected (not %s)" msgstr "" +#, fuzzy msgid "Browse" -msgstr "Procházet" +msgstr "Štětce" #, fuzzy msgid "/Filters/Logulator/Glowing Hot" @@ -77,10 +78,11 @@ msgstr "" #, fuzzy msgid "/Xtns/Render/Logos/Glowing Steel" -msgstr "/Rozš./Výpočty/Loga" +msgstr "/Rozš./Výpočty/Loga" +#, fuzzy msgid "Brush Selection Dialog" -msgstr "Dialog výběru štětce" +msgstr "Výběr barvy" #, fuzzy msgid "gimp procedure '%s' not found" @@ -97,8 +99,7 @@ msgstr "/Soubor/Tisk..." msgid "function '$exe' not found in this script (must be one of " msgstr "" -msgid "" -"pixel size mismatch, pdl has %d channel pixels but %d channels are required" +msgid "pixel size mismatch, pdl has %d channel pixels but %d channels are required" msgstr "" msgid "Load" @@ -110,11 +111,13 @@ msgstr "/Filtry/Logul msgid "illegal parasite specification, reference expected" msgstr "" +#, fuzzy msgid "Date/Version" -msgstr "Datum/Verze" +msgstr "Verzi " +#, fuzzy msgid "Status" -msgstr "Stav" +msgstr "Stav zařízení" msgid "/Layers/Center Layer" msgstr "/Vrstvy/Vycentrovat vrstvu" @@ -122,8 +125,9 @@ msgstr "/Vrstvy/Vycentrovat vrstvu" msgid "wrong authorization, aborting connection" msgstr "" +#, fuzzy msgid "BG" -msgstr "Pozadí" +msgstr "G" msgid "internal error (please report): too many main arguments" msgstr "" @@ -137,8 +141,9 @@ msgstr "/Filtry/Barvy/Ohe msgid "illegal type for colour specification" msgstr "" +#, fuzzy msgid "/Xtns/Render/Bricks" -msgstr "/Rozš./Výpočty/Cihly" +msgstr "/Rozš./Výpočty/Loga" msgid "xlfd_unpack: unmatched XLFD '$fontname'\n" msgstr "" @@ -161,7 +166,7 @@ msgstr "" #, fuzzy msgid "/Filters/Noise/Ditherize" -msgstr "/Filtry/Šum/Film..." +msgstr "/Filtry/Kombinace/Film..." msgid "expected perl-server at other end of socket, got @r\n" msgstr "" @@ -194,8 +199,7 @@ msgid "" " -gimp used internally only\n" " -h | -help | --help | -? print some help\n" " -v | --verbose be more verbose in what you do\n" -" --host|--tcp HOST[:PORT] connect to HOST (optionally using " -"PORT)\n" +" --host|--tcp HOST[:PORT] connect to HOST (optionally using PORT)\n" " (for more info, see Gimp::Net(3))\n" msgstr "" "Užití: $0 [gimp-argumenty..] [argumenty-rozhraní..] [argumenty-skriptu..]\n" @@ -203,8 +207,7 @@ msgstr "" " -gimp pouze pro vnitřní použití\n" " -h | -help | --help | -? vypíše nejakou nápovědu\n" " -v | --verbose vypisuje bližší informace o činnosti\n" -" --host|--tcp HOST[:PORT] spojení s HOSTem (volitelně použitý " -"PORT)\n" +" --host|--tcp HOST[:PORT] spojení s HOSTem (volitelně použítý PORT)\n" " (více informací viz Gimp::Net(3))\n" #, fuzzy @@ -225,8 +228,9 @@ msgstr "Procedur msgid "authorization required for tcp connections" msgstr "" +#, fuzzy msgid "/Xtns/Perl/Server" -msgstr "/Rozš./Perl/Server" +msgstr "/Script-Fu" msgid "function name contains dashes instead of underscores" msgstr "" @@ -245,8 +249,9 @@ msgstr "" msgid "/Xtns/Render/Pixelgenerator" msgstr "/Rozš./Výpočty/Generátor pixelů" +#, fuzzy msgid "/Filters/Web/Prepare for GIF" -msgstr "/Filtry/Web/Příprava pro GIF" +msgstr "/Filtry/Web/Mapa obrázku..." msgid "$_: unknown/illegal file-save option" msgstr "" @@ -258,8 +263,9 @@ msgstr "TYP" msgid "Gradient Selection Dialog" msgstr "Výběr barvy" +#, fuzzy msgid "Function Info" -msgstr "Informace o funkci" +msgstr "Rozlišení X:" #, fuzzy msgid "unable to open $rgb_db_path" @@ -269,11 +275,13 @@ msgstr "nepoda msgid "/Filters/Logulator/Imigre-26" msgstr "/Filtry/Logulátor/Kolorování..." +#, fuzzy msgid "/Select/Round Rectangular Selection" -msgstr "/Výběr/Zaoblený obdélníkový výběr" +msgstr "Výběr obdélníkové oblasti" +#, fuzzy msgid "/Filters/Map/Pixelmap" -msgstr "/Filtry/Mapování/Pixelová mapa" +msgstr "/Filtry/Mapování/Rozmáznutí..." msgid "no additional information available, use --help\n" msgstr "" @@ -285,14 +293,16 @@ msgstr "/Filtry/V msgid "gimp_tile_set_data is not yet implemented\n" msgstr "" +#, fuzzy msgid "Visual Scriptor" -msgstr "Vizuální skriptor" +msgstr "Vizuální hloubka:" msgid "No horizontal or vertical guides found. Aborted." msgstr "" +#, fuzzy msgid "/Filters/Map/Image Tile" -msgstr "/Filtry/Mapování/Povrch obrazu" +msgstr "/Filtry/Mapování/Povrch papíru..." msgid "Internal error: stashname too long, please report!" msgstr "" @@ -300,8 +310,9 @@ msgstr "" msgid "/Filters/Logulator/Comic Book" msgstr "/Filtry/Logulátor/Komická kniha" +#, fuzzy msgid "/Guides/Remove Guides" -msgstr "/Vodítka/Smazat vodítka" +msgstr "/Video/Smazat políčka" msgid "Internal error: Gimp::Net #101, please report!" msgstr "" @@ -321,11 +332,13 @@ msgstr "" msgid "unable to read '$fn': $!" msgstr "nepodařilo se číst '$fn': $!" +#, fuzzy msgid "/Xtns/Perl/Control Center" -msgstr "/Rozš./Perl/Řídící centrum" +msgstr "/Script-Fu" +#, fuzzy msgid "[undefined]" -msgstr "[nedefinováno]" +msgstr "Nedefinováno" msgid "function/macro \"$name\" not found in $class" msgstr "" @@ -376,16 +389,16 @@ msgstr "" msgid "accepting connections on port $port" msgstr "" +#, fuzzy msgid "/Filters/Misc/Border Average" -msgstr "/Filtry/Různé/Průměr okraje" +msgstr "/Filtry/Barvy/Průměr okraje..." msgid "" -"$function: function name contains unusual characters, good style is to use " -"only 0-9, a-z and _" +"$function: function name contains unusual characters, good style is to use only " +"0-9, a-z and _" msgstr "" -msgid "" -"menupath _must_ start with , , , or !" +msgid "menupath _must_ start with , , , or !" msgstr "" #, fuzzy @@ -527,8 +540,7 @@ msgstr "" msgid "Internal error: unable to handle argtype '%c' in net2sv, please report!" msgstr "" -msgid "" -"dimension mismatch, pdl has dimension %d but at most %d dimensions allowed" +msgid "dimension mismatch, pdl has dimension %d but at most %d dimensions allowed" msgstr "" #, fuzzy @@ -567,7 +579,7 @@ msgstr "" #, fuzzy msgid "/Filters/Render/Burst..." -msgstr "/Filtry/Výpočty/Sinus..." +msgstr "/Filtry/Výpočty/Burst..." #, fuzzy msgid "-*-courier-medium-r-normal--*-120-*-*-*-*-*" @@ -659,8 +671,8 @@ msgid "/Xtns/Render/Stamps" msgstr "/Rozš./Výpočty/Loga" msgid "" -"Expected an INT32 but got '%s'. Maybe you meant '%s' instead and forgot to " -"'use strict'" +"Expected an INT32 but got '%s'. Maybe you meant '%s' instead and forgot to 'use " +"strict'" msgstr "" #, fuzzy @@ -668,8 +680,7 @@ msgid "/Filters/Misc/Magick" msgstr "/Filtry/Umění/Mozaika..." msgid "" -"malformed paramdef, expected [PARAM_TYPE,\"NAME\",\"DESCRIPTION\"] or " -"PARAM_TYPE" +"malformed paramdef, expected [PARAM_TYPE,\"NAME\",\"DESCRIPTION\"] or PARAM_TYPE" msgstr "" #, fuzzy @@ -705,8 +716,8 @@ msgid "/Filters/Map/Xach Shadows" msgstr "/Filtry/Mapování/Rozmáznutí..." msgid "" -"gimp_pixel_rgns_register supports only 1, 2 or 3 arguments, upgrade to " -"gimp-1.1 and report this error" +"gimp_pixel_rgns_register supports only 1, 2 or 3 arguments, upgrade to gimp-1.1 " +"and report this error" msgstr "" msgid "Saving '$filename' as COLORHTML..." @@ -754,7 +765,7 @@ msgstr "/Roz #, fuzzy msgid "/Filters/Noise/Xach Vision..." -msgstr "/Filtry/Šum/Film..." +msgstr "/Filtry/Kombinace/Film..." msgid "WARNING: client disconnected while holding an active lock\n" msgstr "" @@ -811,8 +822,7 @@ msgid "/Filters/Render/Random Blends" msgstr "/Filtry/Výpočty/Sinus..." msgid "" -"Internal error: asked to deobjectify an object not in the cache, please " -"report!" +"Internal error: asked to deobjectify an object not in the cache, please report!" msgstr "" msgid "too many arguments" @@ -846,8 +856,7 @@ msgstr " msgid "unable to create listening unix socket: $!\n" msgstr "nepodařilo se nalézt zásuvný modul: \"%s\"" -msgid "" -"invalid GIMP_HOST: 'spawn' is not a valid connection method for the server" +msgid "invalid GIMP_HOST: 'spawn' is not a valid connection method for the server" msgstr "" msgid "Last Modified" @@ -990,7 +999,7 @@ msgid "plug-in returned %d more values than expected" msgstr "" msgid "FG" -msgstr "Popředí" +msgstr "Pozadí" msgid "url size is too large ($max > 1024)\n" msgstr "" @@ -1011,8 +1020,8 @@ msgid "/Filters/Enhance/2x2 Contrast Enhance" msgstr "/Filtry/Vylepšení/Odstranění pruhů..." msgid "" -"$function: argument name '$p->[1]' contains illegal characters, only 0-9, " -"a-z and _ allowed" +"$function: argument name '$p->[1]' contains illegal characters, only 0-9, a-z " +"and _ allowed" msgstr "" msgid "OK" @@ -1029,3 +1038,6 @@ msgstr "/Vrstvy/Rotace/90 stup msgid "(none)" msgstr "Není" +#, fuzzy +#~ msgid "/Script-Fu/Decor/Stampify" +#~ msgstr "/Skript-fu/Dekorace"