summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/po
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/po')
-rw-r--r--perl-install/standalone/po/pl.po87
1 files changed, 9 insertions, 78 deletions
diff --git a/perl-install/standalone/po/pl.po b/perl-install/standalone/po/pl.po
index e60c1d9e5..76e787cc3 100644
--- a/perl-install/standalone/po/pl.po
+++ b/perl-install/standalone/po/pl.po
@@ -17,8 +17,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Mageia\n"
"POT-Creation-Date: 2016-10-16 11:39+0200\n"
-"PO-Revision-Date: 2016-04-15 14:27+0000\n"
-"Last-Translator: Daniel Napora <napcok@gmail.com>\n"
+"PO-Revision-Date: 2016-11-14 18:14+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
"Language-Team: Polish (http://www.transifex.com/MageiaLinux/mageia/language/"
"pl/)\n"
"Language: pl\n"
@@ -43,11 +43,11 @@ msgstr "Zamknij"
msgid "Authentication"
msgstr "Uwierzytelnianie"
-#: drakauth:37 drakclock:117 drakclock:140 drakdvb:74 drakfont:213 drakfont:226
-#: drakfont:264 finish-install:136 logdrake:177 logdrake:453 logdrake:458
-#: scannerdrake:56 scannerdrake:98 scannerdrake:139 scannerdrake:197
-#: scannerdrake:256 scannerdrake:726 scannerdrake:737 scannerdrake:876
-#: scannerdrake:887 scannerdrake:957
+#: drakauth:37 drakclock:117 drakclock:140 drakdvb:74 drakfont:213
+#: drakfont:226 drakfont:264 finish-install:136 logdrake:177 logdrake:453
+#: logdrake:458 scannerdrake:56 scannerdrake:98 scannerdrake:139
+#: scannerdrake:197 scannerdrake:256 scannerdrake:726 scannerdrake:737
+#: scannerdrake:876 scannerdrake:887 scannerdrake:957
#, c-format
msgid "Error"
msgstr "Błąd"
@@ -429,9 +429,9 @@ msgid "GDM (GNOME Display Manager)"
msgstr "GDM (Menedżer wyświetlania GNOME)"
#: drakedm:42
-#, fuzzy, c-format
+#, c-format
msgid "SDDM (Simple Desktop Display Manager)"
-msgstr "KDM (Menedżer wyświetlania KDE)"
+msgstr ""
#: drakedm:43
#, c-format
@@ -3401,72 +3401,3 @@ msgstr "Konfiguracja Usług"
#: ../polkit/org.mageia.drakxservices.policy.in.h:2
msgid "Authentication is required to run Mageia Service Configuration"
msgstr "Konfiguracja Usług - wymagane uwierzytelnianie"
-
-#~ msgid "Text only"
-#~ msgstr "Tylko tekst"
-
-#~ msgid "Silent"
-#~ msgstr "Tryb cichy"
-
-#~ msgid ""
-#~ "Your system bootloader is not in framebuffer mode. To activate graphical "
-#~ "boot, select a graphic video mode from the bootloader configuration tool."
-#~ msgstr ""
-#~ "Twój program rozruchowy systemu nie jest w trybie bufora ramek. Aby "
-#~ "włączyć graficzne uruchamianie, zaznacz tryb graficzny wideo z narzędzia "
-#~ "konfiguracyjnego programu rozruchowego."
-
-#~ msgid "Do you want to configure it now?"
-#~ msgstr "Czy chcesz skonfigurować to teraz?"
-
-#~ msgid "Install themes"
-#~ msgstr "Zainstaluj tematy"
-
-#~ msgid "Graphical boot theme selection"
-#~ msgstr "Wybór motywu graficznego uruchamiania"
-
-#~ msgid "Graphical boot mode:"
-#~ msgstr "Graficzny tryb uruchamiania:"
-
-#~ msgid "Theme"
-#~ msgstr "Motyw"
-
-#~ msgid "Boot Style Configuration"
-#~ msgstr "Konfiguracja sposobu uruchamiania"
-
-#~ msgid "Video mode"
-#~ msgstr "Tryb graficzny"
-
-#~ msgid ""
-#~ "Please choose a video mode, it will be applied to each of the boot "
-#~ "entries selected below.\n"
-#~ "Be sure your video card supports the mode you choose."
-#~ msgstr ""
-#~ "Wybierz tryb wideo, zostanie on zastosowany do każdego wpisu\n"
-#~ "uruchamiania wybranego poniżej. Upewnij się, że twoja karta wideo,\n"
-#~ "obsługuje wybrany tryb."
-
-#~ msgid "Finishing install"
-#~ msgstr "Finalizowanie instalacji"
-
-#~ msgid ""
-#~ "This system will be rebooted\n"
-#~ "for the changes to take effect!"
-#~ msgstr ""
-#~ "System zostanie uruchomiony ponownie,\n"
-#~ "aby zmiany odniosły efekt!"
-
-#~ msgid ""
-#~ "\n"
-#~ "\n"
-#~ "\n"
-#~ "Note: if you've an ISA PnP sound card, you'll have to use the alsaconf or "
-#~ "the sndconfig program. Just type \"alsaconf\" or \"sndconfig\" in a "
-#~ "console."
-#~ msgstr ""
-#~ "\n"
-#~ "\n"
-#~ "\n"
-#~ "Uwaga: jeśli posiadasz kartę dźwiękową ISA PnP, należy użyć programu "
-#~ "alsaconf lub sndconfig. Po prostu wpisz polecenie \"alsaconf\" lub "
-#~ "\"sndconfig\" z konsoli."
n312' href='#n312'>312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577
package my_gtk; # $Id$

use diagnostics;
use strict;
use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK $border);

@ISA = qw(Exporter);
%EXPORT_TAGS = (
    helpers => [ qw(create_okcancel createScrolledWindow create_menu create_notebook create_packtable create_hbox create_vbox create_adjustment create_box_with_title create_treeitem) ],
    wrappers => [ qw(gtksignal_connect gtkradio gtkpack gtkpack_ gtkpack__ gtkpack2 gtkpack2_ gtkpack2__ gtkpowerpack gtkset_editable gtksetstyle gtkset_tip gtkappenditems gtkappend gtkset_shadow_type gtkset_layout gtkset_relief gtkadd gtkput gtktext_insert gtkset_usize gtksize gtkset_justify gtkset_active gtkset_sensitive gtkset_visibility gtkset_modal gtkset_border_width gtkmove gtkresize gtkshow gtkhide gtkdestroy gtkcolor gtkset_mousecursor gtkset_mousecursor_normal gtkset_mousecursor_wait gtkset_background gtkset_default_fontset gtkctree_children gtkxpm gtkpng create_pix_text get_text_coord fill_tiled gtkicons_labels_widget write_on_pixmap gtkcreate_xpm gtkcreate_png gtkbuttonset create_pixbutton gtkroot gtkentry) ],
    ask => [ qw(ask_warn ask_okcancel ask_yesorno ask_from_entry ask_browse_tree_info ask_browse_tree_info_given_widgets ask_dir) ],
    various => [ qw(add_icon_path) ],
);
$EXPORT_TAGS{all} = [ map { @$_ } values %EXPORT_TAGS ];
@EXPORT_OK = map { @$_ } values %EXPORT_TAGS;

use ugtk qw(:helpers :wrappers :various);
use common;
use log;

add_icon_path(@ugtk::icon_paths, "$ENV{SHARE_PATH}/libDrakX/pixmaps", '/usr/lib/libDrakX/icons', 'standalone/icons');

my $forgetTime = 1000; #- in milli-seconds
$border = 5;

#-###############################################################################
#- OO stuff
#-###############################################################################

sub new {
    my ($type, $title, %opts) = @_;

    Gtk->set_locale;

    my $o = bless { %opts }, $type;
    $o->_create_window($title);
    while (my $e = shift @tempory::objects) { $e->destroy }
    foreach (@interactive::objects) {
	$_->{rwindow}->set_modal(0) if $_->{rwindow}->can('set_modal');
    }
    push @interactive::objects, $o if !$opts{no_interactive_objects};
    $o->{rwindow}->set_position('center_always') if $::isStandalone;
    $o->{rwindow}->set_modal(1) if $my_gtk::grab || $o->{grab};
    
    if ($::isWizard && !$my_gtk::pop_it) {
	$o->{isWizard} = 1;
	$o->{window} = new Gtk::VBox(0,0);
	$o->{window}->set_border_width($::Wizard_splash ? 0 : 10);
	$o->{rwindow} = $o->{window};
	if (!defined($::WizardWindow)) {
	    $::WizardWindow = new Gtk::Window;
	    $::WizardWindow->set_position('center_always');
	    $::WizardWindow->signal_connect(delete_event => sub { die 'wizcancel' });
	    $::WizardTable = new Gtk::Table(2, 2, 0);
	    $::WizardWindow->add($::WizardTable);
	    my $draw1 = new Gtk::DrawingArea;
	    $draw1->set_usize(540,100);
	    my $draw2 = new Gtk::DrawingArea;
	    $draw2->set_usize(100,300);
	    my ($im_up, $_mask_up) = gtkcreate_png($::Wizard_pix_up || "wiz_default_up.png");
	    my ($y1, $x1) = $im_up->get_size;
	    my ($im_left, $_mask_left) = gtkcreate_png($::Wizard_pix_left || "wiz_default_left.png");
	    my ($y2, $x2) = $im_left->get_size;
	    my $style = $draw1->style->copy();
	    $style->font(Gtk::Gdk::Font->fontset_load(N("-adobe-utopia-regular-r-*-*-25-*-*-*-p-*-iso8859-*,*-r-*")));
	    $draw1->signal_connect(expose_event => sub {
				       for (my $i = 0; $i < 540/$y1; $i++) {
					   $draw1->window->draw_pixmap($draw1->style->bg_gc('normal'),
									$im_up, 0, 0, 0, $y1*$i,
									$x1, $y1);
					   $draw1->window->draw_string(
								       $style->font,
								       $draw1->style->white_gc,
								       40, 62,
								       ($::Wizard_title));
				       }
				   });
	    $draw2->signal_connect(expose_event => sub {
				       for (my $i = 0; $i < 300/$y2; $i++) {
					   $draw2->window->draw_pixmap($draw2->style->bg_gc('normal'),
									$im_left, 0, 0, 0, $y2*$i,
									$x2, $y2);
				       }
				   });
	    $::WizardTable->attach($draw1, 0, 2, 0, 1, 'fill', 'fill', 0, 0);
	    #- $::WizardTable->attach($draw2, 0, 1, 1, 2, 'fill', 'fill', 0, 0);
	    $::WizardTable->set_usize(540,420);
	    $::WizardWindow->show_all;
	    flush();
	}
	$::WizardTable->attach($o->{window}, 0, 2, 1, 2, ['fill', 'expand'], ['fill', 'expand'], 0, 0);
    }

    if ($::isEmbedded && !$my_gtk::pop_it && !eval { $::Plug && $::Plug->child }) {
	$o->{isEmbedded} = 1;
	$o->{window} = new Gtk::HBox(0,0);
	$o->{rwindow} = $o->{window};
	$::Plug ||= new Gtk::Plug($::XID);
	$::Plug->show;
	flush();
	$::Plug->add($o->{window});
    }
    $o;
}
sub main {
    my ($o, $completed, $canceled) = @_;
    gtkset_mousecursor_normal();
    $::CCPID and kill 'USR2', $::CCPID;
    my $timeout = Gtk->timeout_add(1000, sub { gtkset_mousecursor_normal(); 1 });
    my $_b = MDK::Common::Func::before_leaving { Gtk->timeout_remove($timeout) };
    $o->show;

    do {
	Gtk->main;
    } while ($o->{retval} ? $completed && !$completed->() : $canceled && !$canceled->());
    $o->destroy;
    $o->{retval}
}

sub show($) {
    my ($o) = @_;
    $o->{window}->show;
    $o->{rwindow}->show;
}
sub destroy($) {
    my ($o) = @_;
    $o->{rwindow} and $o->{rwindow}->destroy;
    gtkset_mousecursor_wait();
    flush();
}
sub DESTROY { goto &destroy }
sub sync {
    my ($o) = @_;
    show($o);
    flush();
}
sub flush { gtkflush() }
sub exit {
    gtkset_mousecursor_normal(); #- for restoring a normal in any case
    flush();
    $::isEmbedded and kill 'USR1', $::CCPID;
    c::_exit($_[1]) #- workaround 
}

#- in case "exit" above was not called by the program
END { print "BUG in $0 : my_gtk->exit was *NOT* called !! \n"; &exit() }

#-###############################################################################
#- createXXX functions

#- these functions return a widget
#-###############################################################################

sub create_okcancel {
    my ($w, $ok, $cancel, $spread, @other) = @_;
    $spread ||= $::isWizard ? "end" : "spread";
    $cancel = $::isWizard ? N("<- Previous") : N("Cancel") if !defined $cancel && !defined $ok;
    $ok = $::isWizard ? ($::Wizard_finished ? N("Finish") : N("Next ->")) : N("Ok") if !defined $ok;
    my $b1 = gtksignal_connect($w->{ok} = new Gtk::Button($ok), clicked => $w->{ok_clicked} || sub { $w->{retval} = 1; Gtk->main_quit });
    my $b2 = $cancel && gtksignal_connect($w->{cancel} = new Gtk::Button($cancel), clicked => $w->{cancel_clicked} || sub { log::l("default cancel_clicked"); undef $w->{retval}; Gtk->main_quit });
    $::isWizard and gtksignal_connect($w->{wizcancel} = new Gtk::Button(N("Cancel")), clicked => sub { die 'wizcancel' });
    my @l = grep { $_ } $::isWizard ? ($w->{wizcancel}, if_(!$::Wizard_no_previous, $b2, $b1)) : ($b1, $b2);
    push @l, map { gtksignal_connect(new Gtk::Button($_->[0]), clicked => $_->[1]) } @other;

    $_->can_default($::isWizard) foreach @l;