summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
blob: 308f774c808d20b65d8d2c7fc4f584b347343265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
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
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
 #-########################################################################
#- Pixel's implementation of Perl-GTK  :-)  [DDX]
#-########################################################################
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 gtkpack3 gtkpack2_ gtkpack2__ gtksetstyle gtkset_tip gtkappenditems gtkappend gtkset_shadow_type gtkset_layout gtkadd gtkput gtktext_insert gtkset_usize gtksize gtkset_justify gtkset_active gtkset_modal gtkset_border_width gtkmove gtkshow gtkhide gtkdestroy gtkset_mousecursor gtkset_mousecursor_normal gtkset_mousecursor_wait gtkset_background gtkset_default_fontset gtkctree_children gtkxpm gtkpng write_on_pixmap gtkcreate_xpm gtkcreate_png) ],
    ask => [ qw(ask_warn ask_okcancel ask_yesorno ask_from_entry ask_file) ],
);
$EXPORT_TAGS{all} = [ map { @$_ } values %EXPORT_TAGS ];
@EXPORT_OK = map { @$_ } values %EXPORT_TAGS;

use Gtk;
use Gtk::Gdk::ImlibImage;
use c;
use log;
use common;

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

1;

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

    Gtk->init;
    Gtk::Gdk::ImlibImage->init;
    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) {
	my $rc = "/etc/gtk/wizard.rc";
	-r $rc or $rc = dirname(__FILE__) . "/wizard.rc";
	Gtk::Rc->parse($rc);
	$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');
	    $::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(1,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= new Gtk::Style;
	    $style->font(Gtk::Gdk::Font->fontset_load("-adobe-times-bold-r-normal-*-25-*-100-100-p-*-iso8859-*"));
	    my $w = $style->font->string_width($::Wizard_title);
	    $draw1->signal_connect(expose_event => sub {
				       my $i;
				       for ($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,
								       140+(380-$w)/2, 62,
								       ($::Wizard_title) );
				       }
				   });
#	    $draw2->signal_connect(expose_event => sub {
#				       my $i;
#				       for ($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,400);
	    $::WizardWindow->show_all;
	    flush();
	}
	$::WizardTable->attach($o->{window}, 1, 2, 1, 2, {'fill', 'expand'}, {'fill', 'expand'}, 0, 0);
    }

    $::isEmbedded or return $o;
    $o->{window} = new Gtk::HBox(0,0);
    $o->{rwindow} = $o->{window};
    defined($::Plug) or $::Plug = new Gtk::Plug ($::XID);
    $::Plug->show;
    flush();
    $::Plug->add($o->{window});
    $::CCPID and kill "USR2", $::CCPID;
    $o;
}
sub main {
    my ($o, $completed, $canceled) = @_;
    gtkset_mousecursor_normal();
    my $timeout = Gtk->timeout_add(1000, sub { gtkset_mousecursor_normal(); 1 });
    my $b = before_leaving { Gtk->timeout_remove($timeout) };
    $o->show;
    $o->{rwindow}->window->set_events(['key_press_mask', 'key_release_mask', 'exposure_mask']);

    do {
	local $::setstep = 1;
	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}->destroy;
    gtkset_mousecursor_wait();
    flush();
}
sub DESTROY { goto &destroy }
sub sync {
    my ($o) = @_;
    show($o);
    flush();
}
sub flush {
    Gtk->main_iteration while Gtk->events_pending;
}

sub gtkshow($)         { $_[0]->show; $_[0] }
sub gtkhide($)         { $_[0]->hide; $_[0] }
sub gtkdestroy($)      { $_[0] and $_[0]->destroy }
sub gtkset_usize($$$)  { $_[0]->set_usize($_[1],$_[2]); $_[0] }
sub gtksize($$$)       { $_[0]->size($_[1],$_[2]); $_[0] }
sub gtkset_justify($$) { $_[0]->set_justify($_[1]); $_[0] }
sub gtkset_active($$)  { $_[0]->set_active($_[1]); $_[0] }
sub gtkset_modal       { $_[0]->set_modal($_[1]); $_[0] }
sub gtkset_border_width{ $_[0]->set_border_width($_[1]); $_[0] }
sub gtkmove { $_[0]->window->move($_[1], $_[2]); $_[0] }

sub gtksignal_connect($@) {
    my $w = shift;
    $w->signal_connect(@_);
    $w
}

sub gtkradio {
    my $def = shift;
    my $radio;
    map { $radio = new Gtk::RadioButton($_, $radio ? $radio : ());
	  $radio->set_active($_ eq $def); $radio } @_;
}

sub gtkpack($@) {
    my $box = shift;
    gtkpack_($box, map {; 1, $_ } @_);
}
sub gtkpack__($@) {
    my $box = shift;
    gtkpack_($box, map {; 0, $_ } @_);
}
sub gtkpack_($@) {
    my $box = shift;
    for (my $i = 0; $i < @_; $i += 2) {
	my $l = $_[$i + 1];
	ref $l or $l = new Gtk::Label($l);
	$box->pack_start($l, $_[$i], 1, 0);
	$l->show;
    }
    $box
}
sub gtkpack2($@) {
    my $box = shift;
    gtkpack2_($box, map {; 1, $_ } @_);
}
sub gtkpack2__($@) {
    my $box = shift;
    gtkpack2_($box, map {; 0, $_ } @_);
}
sub gtkpack3 {
    my $a = shift;
    $a && goto \&gtkpack2__;
    goto \&gtkpack2;
}
sub gtkpack2_($@) {
    my $box = shift;
    for (my $i = 0; $i < @_; $i += 2) {
	my $l = $_[$i + 1];
	ref $l or $l = new Gtk::Label($l);
	$box->pack_start($l, $_[$i], 0, 0);
	$l->show;
    }
    $box
}

sub gtksetstyle {
    my ($w, $s) = @_;
    $w->set_style($s);
    $w;
}

sub gtkset_tip {
    my ($tips, $w, $tip) = @_;
    $tips->set_tip($w, $tip) if $tip;
}

sub gtkappenditems {
    my $w = shift;
    map {gtkshow($_) } @_;
    $w->append_items(@_);
    $w
}

sub gtkappend($@) {
    my $w = shift;
    foreach (@_) {
	my $l = $_;
	ref $l or $l = new Gtk::Label($l);
	$w->append($l);
	$l->show;
    }
    $w
}

sub gtkset_shadow_type {
    $_[0]->set_shadow_type($_[1]);
    $_[0];
}

sub gtkset_layout {
    $_[0]->set_layout($_[1]);
    $_[0];
}

sub gtkadd($@) {
    my $w = shift;
    foreach (@_) {
	my $l = $_;
	ref $l or $l = new Gtk::Label($l);
	$w->add($l);
	$l->show;
    }
    $w
}
sub gtkput {
    my ($w, $w2, $x, $y) = @_;
    $w->put($w2, $x, $y);
    $w2->show;
    $w
}

sub gtktext_insert {
    my ($w, $t) = @_;
    $w->freeze;
    $w->backward_delete($w->get_length);
    $w->insert(undef, undef, undef, $t); 
    #- DEPRECATED? needs \n otherwise in case of one line text the beginning is not shown (even with the vadj->set_value)
    $w->set_word_wrap(1);
#-    $w->vadj->set_value(0);
    $w->thaw;
    $w;
}

sub gtkroot {
    Gtk->init;
    Gtk->set_locale;
    Gtk::Gdk::Window->new_foreign(Gtk::Gdk->ROOT_WINDOW);
}

sub gtkcolor($$$) {
    my ($r, $g, $b) = @_;

    my $color = bless { red => $r, green => $g, blue => $b }, 'Gtk::Gdk::Color';
    gtkroot()->get_colormap->color_alloc($color);
}

sub gtkset_mousecursor {
    my ($type, $w) = @_;
    ($w || gtkroot())->set_cursor(Gtk::Gdk::Cursor->new($type));
}
sub gtkset_mousecursor_normal { gtkset_mousecursor(68, @_) }
sub gtkset_mousecursor_wait   { gtkset_mousecursor(150, @_) }

sub gtkset_background {
    my ($r, $g, $b) = @_;

    my $root = gtkroot();
    my $gc = Gtk::Gdk::GC->new($root);

    my $color = gtkcolor($r, $g, $b);
    $gc->set_foreground($color);
    $root->set_background($color);

    my ($h, $w) = $root->get_size;
    $root->draw_rectangle($gc, 1, 0, 0, $w, $h);
}

sub gtkset_default_fontset {
    my ($fontset) = @_;

    my $style = Gtk::Widget->get_default_style;
    my $f = Gtk::Gdk::Font->fontset_load($fontset) or die '';
    $style->font($f);
    Gtk::Widget->set_default_style($style);
}

sub gtkctree_children {
    my ($node) = @_;
    my @l;
    $node or return;
    for (my $p = $node->row->children; $p; $p = $p->row->sibling) {
	push @l, $p;
    }
    @l;
}

sub gtkcreate_xpm {
    my ($w, $f) = @_;
    my @l = Gtk::Gdk::Pixmap->create_from_xpm($w->window, $w->style->bg('normal'), $f) or die "gtkcreate_xpm: missing pixmap file $f";
    @l;
}
sub gtkcreate_png {
    my ($f) = @_;
    $f =~ m|.png$| or $f="$f.png";
    if ( $f !~ /\//) { -e "$_/$f" and $f="$_/$f", last foreach $ENV{SHARE_PATH}, "$ENV{SHARE_PATH}/libDrakX/pixmaps", "pixmaps" }
    my $im = Gtk::Gdk::ImlibImage->load_image($f) or die "gtkcreate_png: missing png file $f";
    $im->render($im->rgb_width, $im->rgb_height);
    ($im->move_image(), $im->move_mask);
}
sub xpm_d { my $w = shift; Gtk::Gdk::Pixmap->create_from_xpm_d($w->window, undef, @_) }
sub gtkxpm { new Gtk::Pixmap(gtkcreate_xpm(@_)) }
sub gtkpng { new Gtk::Pixmap(gtkcreate_png(@_)) }
sub write_on_pixmap {
    my ($pixmap, $x_pos, $y_pos, @text)=@_;
    my ($gdkpixmap, $gdkmask) = $pixmap->get();
    my ($width, $height) = (540, 250); #($pixmap->allocation->[2], $pixmap->allocation->[3]);
    my $gc = Gtk::Gdk::GC->new(gtkroot());
    $gc->set_foreground(gtkcolor(8448, 17664, 40191)); #- in hex : 33, 69, 157

    my $darea= new Gtk::DrawingArea();
    $darea->size($width, $height);
    $darea->set_usize($width, $height);
    my $first_time=1;
    my $draw = sub {
	my $style = new Gtk::Style;
	#- i18n : you can change the font.
	$style->font(Gtk::Gdk::Font->fontset_load(_("-adobe-times-bold-r-normal--17-*-100-100-p-*-iso8859-*,*-r-*")));
	my $y_pos2= $y_pos;
  	foreach (@text) {
  	    $gdkpixmap->draw_string($style->font, $gc, $x_pos, $y_pos2, $_);
  	    $y_pos2 += 20;
  	}
	$first_time=0;
    };
    $darea->signal_connect(expose_event => sub { $first_time and &$draw();
						 $darea->window->draw_pixmap
						   ($darea->style->white_gc,
						    $gdkpixmap, 0, 0,
						    ($darea->allocation->[2]-$width)/2, ($darea->allocation->[3]-$height)/2,
						    $width, $height);
					     });
    $darea;
}

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

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

sub create_okcancel {
    my ($w, $ok, $cancel, $spread, @other) = @_;
    my $one = ($ok xor $cancel);
    $spread ||= $::isWizard ? "end" : "spread";
    $ok ||= $::isWizard ? ($::Wizard_finished ? _("Finish") : _("Next ->")) : _("Ok");
    $cancel ||= $::isWizard ? _("<- Previous") : _("Cancel");
    my $b1 = gtksignal_connect($w->{ok} = new Gtk::Button($ok), clicked => $w->{ok_clicked} || sub { $w->{retval} = 1; Gtk->main_quit });
    my $b2 = !$one && 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(_("Cancel")), clicked => sub { die 'wizcancel' });
    my @l = grep { $_ } $::isWizard ? ($w->{wizcancel}, $::Wizard_no_previous ? () : $b2, $b1): ($b1, $b2);
    push @l, map { gtksignal_connect(new Gtk::Button($_->[0]), clicked => $_->[1]) } @other;

    $_->can_default($::isWizard) foreach @l;
    gtkadd(create_hbox($spread), @l);
}

sub create_box_with_title($@) {
    my $o = shift;

    $o->{box_size} = sum(map { round(length($_) / 60 + 0.5) } map { split "\n" } @_);
    $o->{box} = new Gtk::VBox(0,0);
    $o->{icon} and eval { gtkpack__($o->{box}, gtkset_border_width(gtkpack_(new Gtk::HBox(0,0), 1, gtkpng($o->{icon})),5)); };
    if (@_ <= 2 && $o->{box_size} > 4) {
	my $font = $o->{box}->style->font;
	my $wanted = $o->{box_size} * ($font->ascent + $font->descent) + 7;
	my $height = min(250, $wanted);
	my $has_scroll = $height < $wanted;

	my $wtext = new Gtk::Text;
	$wtext->can_focus($has_scroll);
	chomp(my $text = join("\n", @_));
	my $scroll = createScrolledWindow(gtktext_insert($wtext, $text));
	$scroll->set_usize(400, $height);
	gtkpack__($o->{box}, $scroll);
    } else {
	my $a = !$::no_separator;
	undef $::no_separator;
	gtkpack__($o->{box},
		  (map {
		      my $w = ref $_ ? $_ : new Gtk::Label($_);
		      $w->set_name("Title");
		      $w;
		  } map { ref $_ ? $_ : warp_text($_) } @_),
		  if_($a, new Gtk::HSeparator)
		 );
    }
}

sub createScrolledWindow {
    my ($W) = @_;
    my $w = new Gtk::ScrolledWindow(undef, undef);
    $w->set_policy('automatic', 'automatic');
    member(ref $W, qw(Gtk::CList Gtk::CTree Gtk::Text)) ?
      $w->add($W) :
      $w->add_with_viewport($W);
    $W->can("set_focus_vadjustment") and $W->set_focus_vadjustment($w->get_vadjustment);
    $W->show;
    $w
}

sub create_menu($@) {
    my $title = shift;
    my $w = new Gtk::MenuItem($title);
    $w->set_submenu(gtkshow(gtkappend(new Gtk::Menu, @_)));
    $w
}

sub add2notebook {
    my ($n, $title, $book) = @_;

    my ($w1, $w2) = map { new Gtk::Label($_) } $title, $title;
    $book->{widget_title} = $w1;
    $n->append_page_menu($book, $w1, $w2);
    $book->show;
    $w1->show;
    $w2->show;
}

sub create_notebook(@) {
    my $n = new Gtk::Notebook;
    add2notebook($n, splice(@_, 0, 2)) while @_;
    $n
}

sub create_adjustment($$$) {
    my ($val, $min, $max) = @_;
    new Gtk::Adjustment($val, $min, $max + 1, 1, ($max - $min + 1) / 10, 1);
}

sub create_packtable($@) {
    my ($options, @l) = @_;
    my $w = new Gtk::Table(0, 0, $options->{homogeneous} || 0);
    map_index {
	my ($i, $l) = ($_[0], $_);
	map_index {
	    my ($j) = @_;
	    if ($_) {
		ref $_ or $_ = new Gtk::Label($_);
		$j != $#$l ?
		  $w->attach($_, $j, $j + 1, $i, $i + 1, 'fill', 'fill', 5, 0) :
		  $w->attach($_, $j, $j + 1, $i, $i + 1, 1|4, ref($_) eq 'Gtk::ScrolledWindow' ? 1|4 : 0, 0, 0);
		$_->show;
	    }
	} @$l;
    } @l;
    $w->set_col_spacings($options->{col_spacings} || 0);
    $w->set_row_spacings($options->{row_spacings} || 0);
    $w
}

sub create_hbox {
    my $w = new Gtk::HButtonBox;
    $w->set_layout($_[0] || "spread");
    $w;
}
sub create_vbox {
    my $w = new Gtk::VButtonBox;
    $w->set_layout(-spread);
    $w;
}


sub _create_window($$) {
    my ($o, $title) = @_;
    my $w = new Gtk::Window;
    my $f = new Gtk::Frame(undef);
    $w->set_name("Title");
    gtkadd($w, $f);

    $w->set_title($title);

    $w->signal_connect(expose_event => sub { eval { $interactive::objects[-1]{rwindow} == $w and $w->window->XSetInputFocus } }) if $my_gtk::force_focus || $o->{force_focus};
    $w->signal_connect(delete_event => sub { $w->destroy; die 'wizcancel' });
    $w->set_uposition(@{$my_gtk::force_position || $o->{force_position}}) if $my_gtk::force_position || $o->{force_position};

    $w->signal_connect(focus => sub { Gtk->idle_add(sub { $w->ensure_focus($_[0]); 0 }, $_[1]) }) if $w->can('ensure_focus');

    if ($::o->{mouse}{unsafe}) {
	$w->set_events("pointer_motion_mask");
	my $signal;
	$signal = $w->signal_connect(motion_notify_event => sub {
	    delete $::o->{mouse}{unsafe};
	    log::l("unsetting unsafe mouse");
	    $w->signal_disconnect($signal);
	});
    }
    $w->signal_connect(key_press_event => sub {
	my $d = ${{ 65470 => 'help',
	            65481 => 'next',
		    65480 => 'previous' }}{$_[1]{keyval}};

	if ($d eq "help") {
	    require install_gtk;
	    install_gtk::create_big_help($::o);
	} elsif (chr($_[1]{keyval}) eq 'e' && $_[1]{state} & 8) {
	    log::l("Switching to " . ($::expert ? "beginner" : "expert"));
	    $::expert = !$::expert;
	} elsif ($d) {
	    #- previous field is created here :(
	    my $s; foreach (reverse @{$::o->{orderedSteps}}) {
		$s->{previous} = $_ if $s;
		$s = $::o->{steps}{$_};
	    }
	    $s = $::o->{step};
	    do { $s = $::o->{steps}{$s}{$d} } until !$s || $::o->{steps}{$s}{reachable};
	    $::setstep && $s and die "setstep $s\n";
	}
    });# if $::isInstall;

    $w->signal_connect(size_allocate => sub {
	my ($wi, $he) = @{$_[1]}[2,3];
	my ($X, $Y, $Wi, $He) = @{$my_gtk::force_center || $o->{force_center}};
        $w->set_uposition(max(0, $X + ($Wi - $wi) / 2), max(0, $Y + ($He - $he) / 2));
    }) if ($my_gtk::force_center || $o->{force_center}) && !($my_gtk::force_position || $o->{force_position}) ;

    $o->{window} = $f;
    $o->{rwindow} = $w;
}

my ($next_child, $left, $right, $up, $down);
{
    my $next_child = sub {
	my ($c, $dir) = @_;

	my @childs = $c->parent->children;
   
	my $i; for ($i = 0; $i < @childs; $i++) {
	    last if $childs[$i] == $c || $childs[$i]->subtree == $c;
	}
	$i += $dir;
	0 <= $i && $i < @childs ? $childs[$i] : undef;
    };
    $left = sub { &$next_child($_[0]->parent, 0); };
    $right = sub {
	my ($c) = @_;
	if ($c->subtree) {
	    $c->expand;
	    ($c->subtree->children)[0];
	} else {
	    $c;
	}
    };
    $down = sub {
	my ($c) = @_;
	return &$right($c) if ref $c eq "Gtk::TreeItem" && $c->subtree && $c->expanded;

	if (my $n = &$next_child($c, 1)) {
	    $n;
	} else {
	    return if ref $c->parent ne 'Gtk::Tree';	
	    &$down($c->parent);
	}
    };
    $up = sub {
	my ($c) = @_;
	if (my $n = &$next_child($c, -1)) {
	    $n = ($n->subtree->children)[-1] while ref $n eq "Gtk::TreeItem" && $n->subtree && $n->expanded;
	    $n;
	} else {
	    return if ref $c->parent ne 'Gtk::Tree';	
	    &$left($c);
	}
    };
}

sub create_treeitem($) {
    my ($name) = @_;
    
    my $w = new Gtk::TreeItem($name);
    $w->signal_connect(key_press_event => sub {
        my (undef, $e) = @_;
        local $_ = chr ($e->{keyval});

	if ($e->{keyval} > 0x100) {
	    my $n;
	    $n = &$left($w)  if /[Q\x96]/;
	    $n = &$right($w) if /[S\x98]/;
	    $n = &$up($w)    if /[R\x97]/;
	    $n = &$down($w)  if /[T\x99]/;
	    if ($n) {
		$n->focus('up');
		$w->signal_emit_stop("key_press_event"); 
	    }
	    $w->expand if /[+]/;
	    $w->collapse if /[-\xad]/;
	    do { 
		$w->expanded ? $w->collapse : $w->expand; 
		$w->signal_emit_stop("key_press_event"); 
	    } if /[\r\x8d]/;
	}
        1;
    });
    $w;
}



#-###############################################################################
#- ask_XXX

#- just give a title and some args, and it will return the value given by the user
#-###############################################################################

sub ask_warn       { my $w = my_gtk->new(shift @_); $w->_ask_warn(@_); main($w); }
sub ask_yesorno    { my $w = my_gtk->new(shift @_); $w->_ask_okcancel(@_, _("Yes"), _("No")); main($w); }
sub ask_okcancel   { my $w = my_gtk->new(shift @_); $w->_ask_okcancel(@_, _("Is this correct?"), _("Ok"), _("Cancel")); main($w); }
sub ask_from_entry { my $w = my_gtk->new(shift @_); $w->_ask_from_entry(@_); main($w); }
sub ask_file       { my $w = my_gtk->new(''); $w->_ask_file(@_); main($w); }

sub _ask_from_entry($$@) {
    my ($o, @msgs) = @_;
    my $entry = new Gtk::Entry;
    my $f = sub { $o->{retval} = $entry->get_text; Gtk->main_quit };
    $o->{ok_clicked} = $f;
    $o->{cancel_clicked} = sub { undef $o->{retval}; Gtk->main_quit };

    gtkadd($o->{window},
	  gtkpack($o->create_box_with_title(@msgs),
		 gtksignal_connect($entry, 'activate' => $f),
		 ($o->{hide_buttons} ? () : create_okcancel($o))),
	  );
    $entry->grab_focus;
}

sub _ask_warn($@) {
    my ($o, @msgs) = @_;
    gtkadd($o->{window},
	  gtkpack($o->create_box_with_title(@msgs),
		 gtksignal_connect(my $w = new Gtk::Button(_("Ok")), "clicked" => sub { Gtk->main_quit }),
		 ),
	  );
    $w->grab_focus;
}

sub _ask_okcancel($@) {
    my ($o, @msgs) = @_;
    my ($ok, $cancel) = splice @msgs, -2;

    gtkadd($o->{window},
	   gtkpack(create_box_with_title($o, @msgs),
		   create_okcancel($o, $ok, $cancel),
		 )
	 );
    $o->{ok}->grab_focus;
}


sub _ask_file {
    my ($o, $title, $path) = @_;
    my $f = $o->{rwindow} = new Gtk::FileSelection $title;
    $f->set_filename($path);
    $f->ok_button->signal_connect(clicked => sub { $o->{retval} = $f->get_filename ; Gtk->main_quit });
    $f->cancel_button->signal_connect(clicked => sub { Gtk->main_quit });
    $f->hide_fileop_buttons;
}

#-###############################################################################
#- rubbish
#-###############################################################################

#-sub label_align($$) {
#-    my $w = shift;
#-    local $_ = shift;
#-    $w->set_alignment(!/W/i, !/N/i);
#-    $w
#-}

стаҳо пайдо мешавад, истифода\n" "бурда мешавад. Баъзе бастаҳо бо ҳам алоқаҳои дутарафа доранд,\n" "бинобар ин зарурати коргузории баъзе дигар барномаҳоро пеш меояд.\n" "Коргузор худаш муайян карда метавонад, ки кадом бастаҳо баҳри\n" "қонеъкунии талаботҳо барои бо муваффақият иҷрои коргузорӣ лозиманд.\n" "\n" "Тасвири хурдакаки диски нарм дар охири рӯйхат имконияти боркунии\n" "рӯйхати бастаҳо, ки ҳангоми коргузориҳои шешина офарида шуда будаанд, " "медиҳад. Агар шумо шумораи мошинаҳоеро дошта бошед, ки\n" "алоҳида танзим кардан мехоҳед, он хеле фоиданок мегардад. Баъди\n" "ангуштзанӣ ба ин тасвир, аз шумо воридкунии диски нарм, ки дар охири\n" "дигар коргузории пешина офарида шуда буд, пурсон мешавад. Ба маслиҳати дуюм " "дар қадами охирон оиди чӣ тавр офаридани чунин\n" "диски нарм нигаред." #: ../help.pm:183 #, c-format msgid "Automatic dependencies" msgstr "Вобастагиҳои автоматӣ" #: ../help.pm:185 #, c-format msgid "" "This dialog is used to select which services you wish to start at boot\n" "time.\n" "\n" "DrakX will list all services available on the current installation. Review\n" "each one of them carefully and uncheck those which are not needed at boot\n" "time.\n" "\n" "A short explanatory text will be displayed about a service when it is\n" "selected. However, if you're not sure whether a service is useful or not,\n" "it is safer to leave the default behavior.\n" "\n" "!! At this stage, be very careful if you intend to use your machine as a\n" "server: you probably do not want to start any services which you do not " "need.\n" "Please remember that some services can be dangerous if they're enabled on a\n" "server. In general, select only those services you really need. !!" msgstr "" "Ин муколама барои интихоби хидматрасоне, ки ҳангоми оғозёбӣ\n" "бор карда мешавад, истифода бурда мешавад.\n" "\n" "DrakX рӯйхати ҳамаи хидматрасонҳое, ки дар коргузории ҷорӣ\n" "дастрасанд, пешкаш менамояд. Ҳар якеро дақиқона аз назар гузаронед\n" "ва қайди онҳоеро, ки дар вақти боршавӣ лозим нестанд, бекор кунед.\n" "\n" "Ҳангоми интихоб кардан матни кӯтоҳи шарҳдиҳӣ намоиш дода мешавад.\n" "Лекин, агар ки шумо комилан боварӣ надошта бошед, ки ин хидматрасон\n" "фоиданок аст ё не, беҳтар аст, ки рафторро бо нобаёни гузоред.\n" "\n" "!! Дар ин марҳила хеле дақиқ бошед агар нақша дошта бошед, ки \n" "мошинаи худро ҳамчун хидматрасон истифода баред: эҳтимолан шумо\n" "оғозёбии хидматрасонҳои даркориро нахоҳед. Илтимос, аз хотир набароред, ки " "баъзе хизматҳо, агар дар хидматрасон даргиронида шуда\n" "бошанд, хавфнок мебошанд. Умуман, танҳо он хидматрасонҳоеро интихоб кунед, " "ки дар ҳақиқат ба шумо лозиманд.\n" "!!" #: ../help.pm:209 #, c-format msgid "" "GNU/Linux manages time in GMT (Greenwich Mean Time) and translates it to\n" "local time according to the time zone you selected. If the clock on your\n" "motherboard is set to local time, you may deactivate this by unselecting\n" "\"%s\", which will let GNU/Linux know that the system clock and the\n" "hardware clock are in the same time zone. This is useful when the machine\n" "also hosts another operating system.\n" "\n" "The \"%s\" option will automatically regulate the system clock by\n" "connecting to a remote time server on the Internet. For this feature to\n" "work, you must have a working Internet connection. We recommend that you\n" "choose a time server located near you. This option actually installs a time\n" "server which can be used by other machines on your local network as well." msgstr "" "GNU/Linux вақтро дар GMT (Greenwich Mean Time) идора мекунад\n" "ва онро дар вақти маҳаллӣ мувофиқи минтақаи вақти интихобкардаатон\n" "намоиш медиҳад. Агар соат дар саҳфаи модараи шумо бо вақти маҳаллӣ\n" "барпо шудааст, шумо онро ба воситаи рад кардани интихоби \"%s\" ғайрифаъол " "сохта метавонед ва ин ба GNU/Linux имконияти дар хотир\n" "доштани он, ки соати системавӣ ва соати сахтафзорӣ дар як минтақаи\n" "соат мебошанд, медиҳад. Он ҳангоме, ки дар мошина дигар системаи омил ба " "монанди Windows ҷойгир шуда бошад фоиданок аст.\n" "\n" "Хосияти \"%s\" соатро ба таври худкор таҳлил мекунад ба воситаи пайвастшавӣ " "ба хидматрасони дурдасти вақт дар Интернет. Барои он\n" "ки ин хосият кор кунад, шумо бояд пайвастшавии кориро ба Интернет\n" "дошта бошед. Беҳтараш хидматрасони вақтро, ки дар назди шумо ҷойгир\n" "аст, интихоб намоед. Ин интихоб хидматрасони вақтро ба мошинаи шумо " "коргузорӣ мекунад, ки аз тарафи дираг мошинаҳои шабакаи маҳаллӣ\n" "истифода шуда метавонад." #: ../help.pm:213 #, c-format msgid "Hardware clock set to GMT" msgstr "" #: ../help.pm:213 #, c-format msgid "Automatic time synchronization" msgstr "Ҳамзамонсозии худкори вақт" #: ../help.pm:223 #, c-format msgid "" "Graphic Card\n" "\n" " The installer will normally automatically detect and configure the\n" "graphic card installed on your machine. If this is not correct, you can\n" "choose from this list the card you actually have installed.\n" "\n" " In the situation where different servers are available for your card,\n" "with or without 3D acceleration, you're asked to choose the server which\n" "best suits your needs." msgstr "" "Корти графикӣ\n" "\n" " Коргузор одатан ба таври автоматӣ корти графикиро муқаррар ва танзим " "менамояд,\n" "ки он ба системи шумо муаяйн гардида бошад. Агар он ин тавр набошад, онгоҳ " "шумо\n" "метавонед кортро дар систем интихоб намоед, ки дар ҳақиқат коргузорӣ " "шудааст.\n" "\n" " Дар ҳолате ки барои корти шумо хидматрасонҳои гуногун бо шитоби 3D ё бе " "ин\n" "дастрас аст ба шумо пешниҳод карда мешавад, то ки шумо интихоб намоед кадом\n" "хидматрасон пеш аз ҳама ба эҳтиёҷи шумо мувофиқат мекунад." #: ../help.pm:234 #, fuzzy, c-format msgid "" "X (for X Window System) is the heart of the GNU/Linux graphical interface\n" "on which all the graphical environments (KDE, GNOME, AfterStep,\n" "WindowMaker, etc.) bundled with Mageia rely upon.\n" "\n" "You'll see a list of different parameters to change to get an optimal\n" "graphical display.\n" "\n" "Graphic Card\n" "\n" " The installer will normally automatically detect and configure the\n" "graphic card installed on your machine. If this is not correct, you can\n" "choose from this list the card you actually have installed.\n" "\n" " In the situation where different servers are available for your card,\n" "with or without 3D acceleration, you're asked to choose the server which\n" "best suits your needs.\n" "\n" "\n" "\n" "Monitor\n" "\n" " Normally the installer will automatically detect and configure the\n" "monitor connected to your machine. If it is not correct, you can choose\n" "from this list the monitor which is connected to your computer.\n" "\n" "\n" "\n" "Resolution\n" "\n" " Here you can choose the resolutions and color depths available for your\n" "graphics hardware. Choose the one which best suits your needs (you will be\n" "able to make changes after the installation). A sample of the chosen\n" "configuration is shown in the monitor picture.\n" "\n" "\n" "\n" "Test\n" "\n" " Depending on your hardware, this entry might not appear.\n" "\n" " The system will try to open a graphical screen at the desired\n" "resolution. If you see the test message during the test and answer \"%s\",\n" "then DrakX will proceed to the next step. If you do not see it, then it\n" "means that some part of the auto-detected configuration was incorrect and\n" "the test will automatically end after 12 seconds and return you to the\n" "menu. Change settings until you get a correct graphical display.\n" "\n" "\n" "\n" "Options\n" "\n" " This steps allows you to choose whether you want your machine to\n" "automatically switch to a graphical interface at boot. Obviously, you may\n" "want to check \"%s\" if your machine is to act as a server, or if you were\n" "not successful in getting the display configured." msgstr "" "X (барои системи X Window) ин асоси интерфейси графикии GNU/Linux мебошад,\n" "ки дар он ҳамаи муҳитҳои графикӣ асос ёфтааст (KDE, GNOME, AfterStep,\n" "WindowMaker ва ғайра) ва ба ҳайати Mageia дохил аст.\n" "\n" "Ба шумо рӯйхати параметрҳои гуногуне ки ба тағироти гирифтани тасвири\n" "беҳтарини графикӣ пешбинӣ шудааст, дода мешавад: Корти графикӣ\n" "\n" " Коргузор одатан ба таври автоматӣ корти графикие ки ба мошини шумо\n" "коргузорӣ шудааст, муаяйн ва ба танзим медарорад. Агар ин тавр набошад, " "онгоҳ шумо метавонед аз ин рӯйхат корте ки шумо дар ҳақиқат коргузорӣ " "намудед,\n" "интихоб намоед.\n" "\n" " Дар ҳолате ки хидматрасонҳои гуногун барои корти шумо мавҷуд аст ё бо\n" "шитоби 3D ё ин ки бе он, аз шумо пурсида мешавад, ки хидматрасонро интихоб\n" "намоед, ки бештар ба эҳтиёҷи шумо мувофиқат менамояд.\n" "\n" "\n" "\n" "Монитор\n" "\n" " Коргузор одатан ба таври автоматӣ монитори ба мошини шумо пайваст шударо\n" "муаяйн ва ба танзим медарорад. Агар ин нодуруст бошад, онгоҳ шумо метавонед\n" "аз рӯйхат монитореро, ки дар ҳақиқат ба компютери шумо пайваст шудааст, " "интихоб\n" "намоед.\n" "\n" "\n" "\n" "Иҷозат\n" "\n" " Дар ин ҷо шумо метавонед иҷозат ва баландии рангеро, ки барои сахтафзори " "шумо\n" "мавҷуд аст, интихоб намоед. Онеро интихоб намоед, ки бештар ба эҳтиёҷи шумо\n" "мувофиқат менамояд (шумо метавонед онро баъд аз коргузорӣ тағир диҳед)\n" "Намунаи танзимдарории интихобшуда дар монитор инъикос ёфтааст.\n" "\n" "\n" "\n" "Санҷидан\n" "\n" " систем кӯшиш менамояд, то ки экрани графикиро мувофиқи иҷозати қобили " "қабул\n" "кушояд. Агар шумо пайғомро дар вақти санҷиш дида тавонед, онгоҳ ба \"%s\" " "ҷавоб\n" "диҳед. Дарин ҳолат DrakX ба қадами оянда мегузарад. Агар шумо пайғомро " "дида\n" " натавонед, онгоҳ ин маънои онро дорад, ки қисме аз ба танзимдарории ба " "таври\n" "автоматӣ муаяйншаванда нодуруст буда санҷиш баъди 12 сония ба таври " "автоматӣ\n" "ба итмом расида шуморо ба меню меоварад. То лаҳзаи гирифтани тасвири " "дурусти\n" "графикӣ гузоришро тағир диҳед.\n" "\n" "\n" "\n" "Интихобҳо\n" "\n" " Дар ин ҷо шумо метавонед интихоб намоед оё шумо хоҳиши ба таври " "автоматӣ\n" "гузариш намудани мошини худ ба интерфейси графикӣ ҳангоми худборшавӣ доред\n" "Зоҳиран, шумо хоҳиши тафтиш намудани \"%s\"-ро доред, агар мошини шумо бояд\n" "ҳамчун хидматрасон кор кунад ё ин ки шумо ҳангоми гирифтани тасвири ба\n" "танзим даровардашуда ба муваффақият ноил нашудед." #: ../help.pm:291 #, c-format msgid "" "Monitor\n" "\n" " Normally the installer will automatically detect and configure the\n" "monitor connected to your machine. If it is not correct, you can choose\n" "from this list the monitor which is connected to your computer." msgstr "" "Монитор\n" "\n" " Коргузор одатан метавонад ба таври автоматӣ мониторро муаяйн ва ба танзим " "дарорад,ки\n" "ба мошини шумо пайваст аст. Агар ин нодуруст бошад, онгоҳ шумо метавонед " "мустақилона мониторро\n" "аз рӯйхат интихоб намоед." #: ../help.pm:298 #, c-format msgid "" "Resolution\n" "\n" " Here you can choose the resolutions and color depths available for your\n" "graphics hardware. Choose the one which best suits your needs (you will be\n" "able to make changes after the installation). A sample of the chosen\n" "configuration is shown in the monitor picture." msgstr "" "Ҳалнокӣ\n" "\n" " Дар ин ҷо шумо метавонед ҳал ва чуқурии ранге ки ба сахтафзори шумо " "дастрас\n" "аст, интихоб намоед. Онеро интихоб намоед, ки аз ҳама беҳтар ба эҳтиёҷи " "шумо\n" "мувофиқат намояд (баъд аз кор гузоштан шумо метавонед онро тағир диҳед).\n" "Намунаи ба танзимдарории интихобшуда дар монитор дода шудааст." #: ../help.pm:306 #, c-format msgid "" "In the situation where different servers are available for your card, with\n" "or without 3D acceleration, you're asked to choose the server which best\n" "suits your needs." msgstr "" "Дар ҳолате ки барои корти шумо хидматрасонҳои гуногун дастрас аст,\n" "бо шитоби 3-вазъа ва бе он, ба шумо таклиф карда мешавад, то ки интихоб " "намоед кадом хидматрасон бештар ба эҳтиёҷи\n" "шумо мувофиқат мекунад." #: ../help.pm:311 #, c-format msgid "" "Options\n" "\n" " This steps allows you to choose whether you want your machine to\n" "automatically switch to a graphical interface at boot. Obviously, you may\n" "want to check \"%s\" if your machine is to act as a server, or if you were\n" "not successful in getting the display configured." msgstr "" "Интихобҳо\n" "\n" " Дар ин ҷо шумо метавонед интихоб кунед: оё мехоҳед, ки мошинаи\n" "шумо ҳангоми боршавӣ ба таври худкор интерфейси графикиро даргиронад ё не. " "Фаҳмост, ки шумо бояд \"%s\"-ро қайд кунед,\n" "агар мошинаи шумо ҳамчун хидматрасон кор кунад ё агар шумо\n" "намоишгари худро танзим карда натавониста бошед." #: ../help.pm:319 #, fuzzy, c-format msgid "" "You now need to decide where you want to install the Mageia\n" "operating system on your hard disk drive. If your hard disk drive is empty or if an\n" "existing operating system is using all the available space you will have to\n" "partition the drive. Basically, partitioning a hard disk drive means to\n" "logically divide it to create the space needed to install your new\n" "Mageia system.\n" "\n" "Because the process of partitioning a hard disk drive is usually irreversible\n" "and can lead to data losses, partitioning can be intimidating and stressful\n" "for the inexperienced user. Fortunately, DrakX includes a wizard which\n" "simplifies this process. Before continuing with this step, read through the\n" "rest of this section and above all, take your time.\n" "\n" "Depending on the configuration of your hard disk drive, several options are\n" "available:\n" "\n" " * \"%s\". This option will perform an automatic partitioning of your blank\n" "drive(s). If you use this option there will be no further prompts.\n" "\n" " * \"%s\". The wizard has detected one or more existing Linux partitions on\n" "your hard disk drive. If you want to use them, choose this option. You will then\n" "be asked to choose the mount points associated with each of the partitions.\n" "The legacy mount points are selected by default, and for the most part it's\n" "a good idea to keep them.\n" "\n" " * \"%s\". If Microsoft Windows is installed on your hard disk drive and takes\n" "all the space available on it, you will have to create free space for\n" "GNU/Linux. To do so, you can delete your Microsoft Windows partition and\n" "data (see ``Erase entire disk'' solution) or resize your Microsoft Windows\n" "FAT or NTFS partition. Resizing can be performed without the loss of any\n" "data, provided you've previously defragmented the Windows partition.\n" "Backing up your data is strongly recommended. Using this option is\n" "recommended if you want to use both Mageia and Microsoft Windows on\n" "the same computer.\n" "\n" " Before choosing this option, please understand that after this\n" "procedure, the size of your Microsoft Windows partition will be smaller\n" "than when you started. You'll have less free space under Microsoft Windows\n" "to store your data or to install new software.\n" "\n" " * \"%s\". If you want to delete all data and all partitions present on\n" "your hard disk drive and replace them with your new Mageia system, choose\n" "this option. Be careful, because you will not be able to undo this " "operation\n" "after you confirm.\n" "\n" " !! If you choose this option, all data on your disk will be deleted. !!\n" "\n" " * \"%s\". This option appears when the hard disk drive is entirely taken by\n" "Microsoft Windows. Choosing this option will simply erase everything on the\n" "drive and begin fresh, partitioning everything from scratch.\n" "\n" " !! If you choose this option, all data on your disk will be lost. !!\n" "\n" " * \"%s\". Choose this option if you want to manually partition your hard\n" "drive. Be careful -- it is a powerful but dangerous choice and you can very\n" "easily lose all your data. That's why this option is really only\n" "recommended if you have done something like this before and have some\n" "experience. For more instructions on how to use the DiskDrake utility,\n" "refer to the ``Managing Your Partitions'' section in the ``Starter Guide''." msgstr "" "Дар ин қадам шумо бояд дар куҷои гардонандаи сахт ҷойгир кардани\n" "системаи омили Mageia-ро ҳал кунед. Агар гардонандаи сахти\n" "шумо холӣ бошад ё системаи омили ҳозирбуда ҳамаи фазои имконпазирро\n" "ишғол кунад, ба шумо лозим меояд, ки гардонандаи сахти худро\n" "бахшбандӣ кунед. Бахшбандикунии гардонандаи сахт асосан аз тақсимоти " "мантиқии фазои ишғолшуда барои коргузории системаи омилии \n" "Mageia иборат аст.\n" "\n" "Азбаски ҷараёни бахшбандии гардонандаи сахт одатан барнагарданда\n" "аст ва ба гумшавии додаҳо оварда расониданаш мумкин аст, агар дар " "гардонандаи сахт аллакай системаи омилии коргузоршуда мавҷуд бошад\n" "пас барои корвандони нав ин як лаҳзаи ҷиддӣ ва ҷиддӣ\n" "аст. Хурсандона ба DrakX устоди соддакунандаи ин ҷараён дохил мешавад.\n" "Пеш аз оғози ин қадам аз идоракунанда ин оиди қисмат маълумот гиред.\n" "\n" "Вобаста ба танзими гардонандаи сахти шумо як қатор интихобҳо имконпазиранд:\n" "\n" " * \"%s\": ин интихоб маънои бахшбандии худкори гардонанда(ҳо)и\n" "холиро дорад. Агар шумо ин хусусиятро интихоб кунед, пас дар оянда ба шумо " "савол дода намешавад.\n" "\n" " * \"%s\": устод мавҷудияти як ё зиёда бахшҳои Linux-ро дар гардонандаи\n" "сахти шумо муайян кард. Агар шумо онҳоро истифода бурдан хоҳед, ин\n" "хусусиятро интихоб кунед. Сипас аз шумо интихоб намудани нуқтаи\n" "насбшавӣ мувофиқан барои ҳар як бахшҳо талаб карда мешавад. Бо нобаёнӣ " "нуқтаҳои дурусти насбшавӣ интихоб мегарданд, ва шумо\n" "онҳоро нигоҳ дошта метавонед.\n" "\n" " * \"%s\": агар Microsoft Windows дар гардонандаи сахти шумо\n" "коргузорӣ шудааст ва ҳамаи фазои имконпазирро ишғол карда бошад,\n" "шумо бояд фазои холиро барои Linux офаред. Барои инро иҷро кардан\n" "шумо метавонед бахшҳои ва маълумоти Microsoft Windows-ро нобуд созед " "(нигаред ба ҳалнокии ``Поккунии ҳамаи диск'') ва ё андозаи қисмати FAT " "Microsoft Windows-ро тағир диҳед. Тағирдиҳии андоза\n" "бе гумкунии додаҳо ба амал омада метавонад, махсусан агар шумо\n" "пешаки дефрагментатсияи бахши Windows-ро гузаронида бошед ва дар\n" "он шаклбандии FAT истифода мешавад. Нусхабардории захирашавии додаҳои шумо " "ҷиддӣ маслиҳат дода мешавад.. Агар шумо Mandriva\n" "Linux ва Microsoft Windows-ро дар як компютер якҷоя истифода\n" "бурдан хоҳед, истифодаи ин хусусиятро маслиҳат медиҳад.\n" "\n" " Пеш аз интихоби ин хусусият шумо бояд фаҳмед, ки андозаи\n" "Microsoft Windows-и шумо назар ба ҳозира хурдтар мегардад.\n" "Барои захиракунии додаҳо ва коргузории таъминоти барномавии\n" "нав шумо дар Microsoft Windows фазои холии камтар хоҳед дошт.\n" "\n" " * \"%s\": агар шумо хоҳед, ки ҳамаи додаҳоро дар ҳама қисматҳои\n" "дар гардонандаи сахти худ мавҷудбударо нобуд созед ва ҷои онҳоро бо системаи " "нави Mageia иваз кунед, ин хосиятро интихоб\n" "кунед. Эҳтиёт бошед, зеро баъди тасдиқот шумо интихоби худро\n" "баргардонида наметавонед.\n" "\n" " !! Агар шумо ин хосиятро интихоб кунед, ҳамаи додаҳо дар гардонандаи " "сахти шумо нобуд карда мешаванд. !!\n" "\n" " * \"%s\": ин хосият имконияти поккунии ҳамаи маълумотро дар\n" "гардонандаи сахти шумо ва оғози офаридани бахшҳоро дар ҷои холӣ, медиҳад. " "Ҳама додаҳо дар гардонандаи сахти шумо гум мешаванд.\n" "\n" " !! Агар шумо ин хосиятро интихоб кунед, ҳама додаҳо дар гардонандаи сахти " "шумо гум мешаванд.. !!\n" "\n" " * \"%s\": агар шумо ба таври дасткорӣ бахшбандӣ намудани гардонандаи сахти " "худро хоҳед, ин хосиятро интихоб кунед. Эҳтиёт бошед -- зеро\n" "ин интихоби пурқудрат ва хатарнок аст ва шумо ба осонӣ ҳамаи\n" "додаҳоро аз даст дода метавонед. Бинобар ин интихоби ин хосият\n" "танҳо дар ҳолате, ки шумо аз ин пеш чизеро ба ин монанд иҷро карда\n" "бошед ё таҷрибаи муайян дошта бошед, маслиҳат дода мешавад.\n" "Барои маълумоти муфассал оиди истифодаи бахши барномаи пуштибонии DiskDrake " "ба қисмати ``Идоракунии Бахшҳои Шумо ''\n" "дар ``Раҳнамои Оғозии Корванд'' муроҷиат намоед." #: ../help.pm:377 #, c-format msgid "Use existing partition" msgstr "Бахшбандии ҳозир бударо истифода баред" #: ../help.pm:370 #, c-format msgid "Use the free space on the Microsoft Windows® partition" msgstr "" #: ../help.pm:370 #, c-format msgid "Erase entire disk" msgstr "Тамоми дискро тоза намоед" #: ../help.pm:380 #, c-format msgid "" "There you are. Installation is now complete and your GNU/Linux system is\n" "ready to be used. Just click on \"%s\" to reboot the system. Do not forget\n" "to remove the installation media (CD-ROM or floppy). The first thing you\n" "should see after your computer has finished doing its hardware tests is the\n" "boot-loader menu, giving you the choice of which operating system to start.\n" "\n" "The \"%s\" button shows two more buttons to:\n" "\n" " * \"%s\": enables you to create an installation floppy disk which will\n" "automatically perform a whole installation without the help of an operator,\n" "similar to the installation you've just configured.\n" "\n" " Note that two different options are available after clicking on that\n" "button:\n" "\n" " * \"%s\". This is a partially automated installation. The partitioning\n" "step is the only interactive procedure.\n" "\n" " * \"%s\". Fully automated installation: the hard disk is completely\n" "rewritten, all data is lost.\n" "\n" " This feature is very handy when installing on a number of similar\n" "machines. See the Auto install section on our web site for more\n" "information.\n" "\n" " * \"%s\"(*): saves a list of the packages selected in this installation.\n" "To use this selection with another installation, insert the floppy and\n" "start the installation. At the prompt, press the [F1] key, type >>linux\n" "defcfg=\"floppy\"<< and press the [Enter] key.\n" "\n" "(*) You need a FAT-formatted floppy. To create one under GNU/Linux, type\n" "\"mformat a:\", or \"fdformat /dev/fd0\" followed by \"mkfs.vfat\n" "/dev/fd0\"." msgstr "" "There you are. Installation is now complete and your GNU/Linux system is\n" "ready to be used. Just click on \"%s\" to reboot the system. Do not forget\n" "to remove the installation media (CD-ROM or floppy). The first thing you\n" "should see after your computer has finished doing its hardware tests is the\n" "boot-loader menu, giving you the choice of which operating system to start.\n" "\n" "The \"%s\" button shows two more buttons to:\n" "\n" " * \"%s\": enables you to create an installation floppy disk which will\n" "automatically perform a whole installation without the help of an operator,\n" "similar to the installation you've just configured.\n" "\n" " Note that two different options are available after clicking on that\n" "button:\n" "\n" " * \"%s\". This is a partially automated installation. The partitioning\n" "step is the only interactive procedure.\n" "\n" " * \"%s\". Fully automated installation: the hard disk is completely\n" "rewritten, all data is lost.\n" "\n" " This feature is very handy when installing on a number of similar\n" "machines. See the Auto install section on our web site for more\n" "information.\n" "\n" " * \"%s\"(*): saves a list of the packages selected in this installation.\n" "To use this selection with another installation, insert the floppy and\n" "start the installation. At the prompt, press the [F1] key, type >>linux\n" "defcfg=\"floppy\"<< and press the [Enter] key.\n" "\n" "(*) You need a FAT-formatted floppy. To create one under GNU/Linux, type\n" "\"mformat a:\", or \"fdformat /dev/fd0\" followed by \"mkfs.vfat\n" "/dev/fd0\"." #: ../help.pm:412 #, c-format msgid "Generate auto-install floppy" msgstr "Дискети худкоргузориро эҷод кардан" #: ../help.pm:405 #, c-format msgid "Replay" msgstr "" #: ../help.pm:405 #, c-format msgid "Automated" msgstr "" #: ../help.pm:405 #, c-format msgid "Save packages selection" msgstr "" #: ../help.pm:408 #, fuzzy, c-format msgid "" "If you chose to reuse some legacy GNU/Linux partitions, you may wish to\n" "reformat some of them and erase any data they contain. To do so, please\n" "select those partitions as well.\n" "\n" "Please note that it's not necessary to reformat all pre-existing\n" "partitions. You must reformat the partitions containing the operating\n" "system (such as \"/\", \"/usr\" or \"/var\") but you do not have to " "reformat\n" "partitions containing data that you wish to keep (typically \"/home\").\n" "\n" "Please be careful when selecting partitions. After the formatting is\n" "completed, all data on the selected partitions will be deleted and you\n" "will not be able to recover it.\n" "\n" "Click on \"%s\" when you're ready to format the partitions.\n" "\n" "Click on \"%s\" if you want to choose another partition for your new\n" "Mageia operating system installation.\n" "\n" "Click on \"%s\" if you wish to select partitions which will be checked for\n" "bad blocks on the disk." msgstr "" "Ин дафъа шумо метавонед баъзе бахшҳои GNU/Linux аллакай мавҷудбударо барои " "поккунии ҳамаи додаҳои дар онҳо буда, шаклбандиашро\n" "тағир намоед. Агар шумо чунин кардан хоҳед, марҳамат карда ин\n" "бахшҳоро интихоб намоед.\n" "\n" "Дар хотир доред, ки зарурати тағири шаклбандии ҳамаи бахшҳои\n" "пештар мавҷударо нест. Шумо бояд бахшҳоеро, ки системаи омилро\n" "дар бар мегаранд, тағири шакл кунед (ба монанди: \"/\", \"/usr\" ё \"/var" "\"),\n" "лекин шумо бояд қисматҳоеро, ки додаҳои нигоҳмедоштаатонро\n" "дар бар мегаранд, шаклбандиашро тағир диҳед (одатӣ\"/home\").\n" "\n" "Илтимос, ҳангоми интихоби бахшбандӣ эҳтиёт бошед. Баъди\n" "шаклбандикунӣ, ҳамаи додаҳо дар бахшҳои интихобшуда нобуд\n" "мегарданд ва шумо ягонтои онҳоро барқарор карда наметавонед.\n" "\n" "Агар шумо ба шаклбандии бахшҳо тайёр бошед ба \"%s\" ангушт занед.\n" "\n" "Агар шумо хоҳед, ки дигар бахшҳоро барои коргузории системаи\n" "омилии навъи Mageia интихоб кунед ба \"%s\" ангушт занед.\n" "\n" "Агар хоҳед бахшҳоеро, ки дар диск ба мавҷудияти қисмҳои бад\n" "тафтиш карда шаванд интихоб намоед, ба \"%s\" ангушт занед." #: ../help.pm:437 #, fuzzy, c-format msgid "" "By the time you install Mageia, it's likely that some packages will\n" "have been updated since the initial release. Bugs may have been fixed,\n" "security issues resolved. To allow you to benefit from these updates,\n" "you're now able to download them from the Internet. Check \"%s\" if you\n" "have a working Internet connection, or \"%s\" if you prefer to install\n" "updated packages later.\n" "\n" "Choosing \"%s\" will display a list of web locations from which updates can\n" "be retrieved. You should choose one near to you. A package-selection tree\n" "will appear: review the selection, and press \"%s\" to retrieve and install\n" "the selected package(s), or \"%s\" to abort." msgstr "" "Ҳангоми коргузории Mageia хуб мешуд, ки баъзе бастаи\n" "барномаҳо нав карда шаванд, аз рӯзи барориши ибтидоӣ. Эҳтимолан\n" "баъзе хатогиҳо ислоҳ шудаанд ва дархостҳо оиди бехтарӣ ҳал шудаанд.\n" "Барои гирифтани фоида аз ин навсозиҳо, ҳозир ба шумо боркунии онҳо аз " "Интернет пешкаш карда мешавад. \"%s\"-ро қайд кунед, агар шумо\n" "пайвастшавии кориро бо Интернет дошта бошед ё \"%s\"-ро агар хоҳед,\n" "ки ин навсозиҳоро дертар коргузорӣ кунед.\n" "\n" "Бо интихоби \"%s\" рӯйхати ҷойҳое, ки аз онҳо навсозиро бозёбӣ карда\n" "метавонед, намоиш дода мешавад. Хидматрасони наздиктаринро интихоб кунед. " "Баъд дарахти интихоби бастаи барномаҳо пайдо мешавад:\n" "қисматро аз назар гузаронед ва \"%s\"-ро барои бозёбии коргузории баста(ҳо)и " "интихобшуда, пахш кунед ва ё \"%s\"-ро барои қатъ\n" "кардани коргузории бозсозӣ пахш кунед." #: ../help.pm:450 #, fuzzy, c-format msgid "" "At this point, DrakX will allow you to choose the security level you desire\n" "for your machine. As a rule of thumb, the security level should be set\n" "higher if the machine is to contain crucial data, or if it's to be directly\n" "exposed to the Internet. The trade-off that a higher security level is\n" "generally obtained at the expense of ease of use.\n" "\n" "If you do not know what to choose, keep the default option. You'll be able\n" "to change it later with the draksec tool, which is part of Mageia\n" "Control Center.\n" "\n" "Fill the \"%s\" field with the e-mail address of the person responsible for\n" "security. Security messages will be sent to that address." msgstr "" "Дар ин марҳила DrakX ба шумо имконияти интихоби сатҳи бехатарии\n" "дилхоҳро барои мошина медиҳад. Чун қоида, бояд сатҳи бехатарии\n" "баландтар бошад, агар дар мошина додаҳои бӯҳронӣ мавҷуд бошанд\n" "ё мошина бевосита ба Интернет пайваст шуда бошад. Лекин сатҳи бехатарии " "баландтар дар ҳодисаи умумӣ бар ивази соддаи\n" "истифодабарӣ дастрас мегардад.\n" "\n" "If you do not know what to choose, stay with the default option. You will\n" "be able to change that security level later with tool draksec from the\n" "Mandriva Control Center.\n" "\n" "The \"%s\" field can inform the system of the user on this computer who\n" "will be responsible for security. Security messages will be sent to that\n" "address." #: ../help.pm:461 #, c-format msgid "Security Administrator" msgstr "Идоракунандаи Бехатарӣ" #: ../help.pm:464 #, fuzzy, c-format msgid "" "At this point, you need to choose which partition(s) will be used for the\n" "installation of your Mageia system. If partitions have already been\n" "defined, either from a previous installation of GNU/Linux or by another\n" "partitioning tool, you can use existing partitions. Otherwise, hard disk drive\n" "partitions must be defined.\n" "\n" "To create partitions, you must first select a hard disk drive. You can select\n" "the disk for partitioning by clicking on ``hda'' for the first IDE drive,\n" "``hdb'' for the second, ``sda'' for the first SCSI drive and so on.\n" "\n" "To partition the selected hard disk drive, you can use these options:\n" "\n" " * \"%s\": this option deletes all partitions on the selected hard disk drive\n" "\n" " * \"%s\": this option enables you to automatically create ext3 and swap\n" "partitions in the free space of your hard disk drive\n" "\n" "\"%s\": gives access to additional features:\n" "\n" " * \"%s\": saves the partition table to a floppy. Useful for later\n" "partition-table recovery if necessary. It is strongly recommended that you\n" "perform this step.\n" "\n" " * \"%s\": allows you to restore a previously saved partition table from a\n" "floppy disk.\n" "\n" " * \"%s\": if your partition table is damaged, you can try to recover it\n" "using this option. Please be careful and remember that it does not always\n" "work.\n" "\n" " * \"%s\": discards all changes and reloads the partition table that was\n" "originally on the hard disk drive.\n" "\n" " * \"%s\": un-checking this option will force users to manually mount and\n" "unmount removable media such as floppies and CD-ROMs.\n" "\n" " * \"%s\": use this option if you wish to use a wizard to partition your\n" "hard disk drive. This is recommended if you do not have a good understanding of\n" "partitioning.\n" "\n" " * \"%s\": use this option to cancel your changes.\n" "\n" " * \"%s\": allows additional actions on partitions (type, options, format)\n" "and gives more information about the hard disk drive.\n" "\n" " * \"%s\": when you are finished partitioning your hard disk drive, this will\n" "save your changes back to disk.\n" "\n" "When defining the size of a partition, you can finely set the partition\n" "size by using the Arrow keys of your keyboard.\n" "\n" "Note: you can reach any option using the keyboard. Navigate through the\n" "partitions using [Tab] and the [Up/Down] arrows.\n" "\n" "When a partition is selected, you can use:\n" "\n" " * Ctrl-c to create a new partition (when an empty partition is selected)\n" "\n" " * Ctrl-d to delete a partition\n" "\n" " * Ctrl-m to set the mount point\n" "\n" "To get information about the different filesystem types available, please\n" "read the ext2FS chapter from the ``Reference Manual''.\n" "\n" "If you are installing on a PPC machine, you will want to create a small HFS\n" "``bootstrap'' partition of at least 1MB which will be used by the yaboot\n" "bootloader. If you opt to make the partition a bit larger, say 50MB, you\n" "may find it a useful place to store a spare kernel and ramdisk images for\n" "emergency boot situations." msgstr "" "Дар ин пункт шумо бояд интихоб намоед, ки кадом бахш(ҳо) барои\n" "коргузории системавӣ Mageia-и шумо истифода бурда мешаванд.\n" "Агар бахшҳои алоқаи аз коргузории пешинаи GNU/Linux ё аз дигар\n" "асбоби бахшбандикунӣ муайян шуда бошад, шумо метавонед бахшҳои мавҷударо " "истифода баред. Дар дигар ҳолат бояд бахшҳои гардонандаи\n" "сахт муайян карда шаванд.\n" "\n" "Барои офаридани бахшҳо, шумо бояд аввал гардонандаи сахтро интихоб\n" "кунед. Шумо метавонед дискро барои бахшбандӣ ба воситаи ангуштзанӣ\n" "ба ``hda'' барои IDE гардонандаи аввал, ``hdb'' барои дуюм, ``sda'' барои " "SCSI гардонандаи аввал ва ҳоказо, интихоб кунед.\n" "\n" "Барои бахшбандии гардонандаи сахти интихобшуда шумо метавонед ин хосиятҳоро " "истифода баред:\n" "\n" " * \"%s\": ин хосият ҳамаи бахшҳоро дар гардонандаи сахти интихобшуда нобуд " "месозад\n" "\n" " * \"%s\": ин хосият имконияти ба таври худкор офаридани бахшҳои\n" "ext3 ва swap-ро дар фазои холии гардонандаи сахти шумо, медиҳад\n" "\n" "\"%s\": хусусиятҳои иловагиро дастрас мекунад:\n" "\n" " * \"%s\": ҷадвали бахшҳоро дар диски нарм захира мекунад. Барои\n" "барқарорсозии ҷадвали бахшҳо фоиданок аст, агар лозим бошад. Иҷрои\n" "ин қадам ҷиддан маслиҳат дода мешавад.\n" "\n" " * \"%s\": имконияти барқароркунии ҷадвали бахшҳои пештарзахирашударо\n" "аз диск медиҳад.\n" "\n" " * \"%s\": агар ҷадвали бахшҳои шумо хароб гашта бошад, шумо метавонед\n" "ба воситаи ин хосият барқарор кардани онро кӯшиш кунед. Илтимос, эҳтиёт\n" "бошед ва дар хотир доред, ки он на ҳама вақт кор мекунад.\n" "\n" " * \"%s\": ҳамаи тағиротҳоро бекор мекунадва ҷадвали бахшҳои ибтидоиро\n" "дар гардонандаи сахт бор мекунад.\n" "\n" " * \"%s\": ба бекор кардани қайди ин хосият шумо корвандонро маҷбур месозед, " "ки ба таври дасткорӣ муҳити ҷойивазкунандао ба монанди\n" "диски нарм ва CD-ROM насб кунанд ва мунфасил намоянд.\n" "\n" " * \"%s\": ин хсиятро истифода баред, агар хоҳед, ки устодро барои " "бахшбандии гардонандаи сахти худ итифода баред. Он ба шумо тавсия\n" "мешавад, агар ки дар бахшбандии гардонандаи сахт тасавуроти пурра\n" "надошта бошед\n" "\n" " * \"%s\": ин хосиятро барои бекоркунии тағиротҳои худ истифода баред.\n" "\n" " * \"%s\": амалиётҳои иловагиро дар бахшҳо (навъ, интихобҳо, шаклбандӣ) " "имконият медиҳад ва маълумоти бештарро оиди гардонандаи сахти шумо медиҳад.\n" "\n" " * \"%s\": вақте, ки шумо гардонандаи сахти худро ба охир мерасонед\n" "ин тағиротҳои шуморо дар диск захира мекунад.\n" "\n" "Ҳангоми муайянсозии андозаи бахши шумо метавонед андозаи бахшро\n" "ба воситаи калидҳои тирчадор дар забонаки худ барпо созед.\n" "\n" "Эзоҳ: шумо ба воситаи забонак ба интихоби ҳамаи хосиятҳ расида метавонед.\n" "Дар гирди бахшҳо ба воситаи [Tab] ва тирчаҳои [Боло/Поён] гардиш кунед.\n" "\n" "Вақте, ки бахш интихоб гардид, шумо метавонед:\n" "\n" " * Ctrl-c -ро барои офаридани бахши нав (вақте, ки бахши холӣ интихоб шуда " "бошад)\n" "\n" " * Ctrl-d-ро барои нобуд кардани бахш\n" "\n" " * Ctrl-m-ро барои барпосозии нуқнаи насбшавӣ истифода баред.\n" "\n" "Барои гирифтани маълумот оиди намудҳои системаи файлии дастрас\n" "марҳамат карда боби ext2FS-ро аз ``Раҳнамои Муроҷиат'' хонед.\n" "\n" "Агар шумо дар мошинаи PPC коргузориро иҷро карда бошед, ба шумо\n" "лозим меояд, ки бахши хурди HFS ``bootstrap''-ро офаред, ки ақалан 1Мб\n" "бошад ва он аз тарафи боркунандаи yaboot истифода бурда мешавад.\n" "Агар шумо хоҳед, ки бахшро каме калонтар кунед, масалан 50Мб шумо\n" "онро ҷои хеле қуллай барои захиракунии ҳастаи эҳтиётӣ ва симоҳои ramdisk " "ҳангоми ҳодисаи боркунии ғайричашмдошт,\n" "пайдо хоҳед кард." #: ../help.pm:526 #, c-format msgid "Save partition table" msgstr "" #: ../help.pm:526 #, c-format msgid "Restore partition table" msgstr "" #: ../help.pm:526 #, c-format msgid "Rescue partition table" msgstr "" #: ../help.pm:526 #, c-format msgid "Removable media auto-mounting" msgstr "Худваслкунии хориҷшавандаи муҳит" #: ../help.pm:526 #, c-format msgid "Wizard" msgstr "" #: ../help.pm:526 #, c-format msgid "Undo" msgstr "" #: ../help.pm:526 #, c-format msgid "Toggle between normal/expert mode" msgstr "Зомин байни усули мӯътадил/мутахассисӣ" #: ../help.pm:536 #, fuzzy, c-format msgid "" "More than one Microsoft partition has been detected on your hard disk drive.\n" "Please choose the one which you want to resize in order to install your new\n" "Mageia operating system.\n" "\n" "Each partition is listed as follows: \"Linux name\", \"Windows name\"\n" "\"Capacity\".\n" "\n" "\"Linux name\" is structured: \"hard disk drive type\", \"hard disk drive number\",\n" "\"partition number\" (for example, \"hda1\").\n" "\n" "\"Hard disk drive type\" is \"hd\" if your hard dive is an IDE hard disk drive and\n" "\"sd\" if it is a SCSI hard disk drive.\n" "\n" "\"Hard disk drive number\" is always a letter after \"hd\" or \"sd\". With IDE\n" "hard disk drives:\n" "\n" " * \"a\" means \"master hard disk drive on the primary IDE controller\";\n" "\n" " * \"b\" means \"slave hard disk drive on the primary IDE controller\";\n" "\n" " * \"c\" means \"master hard disk drive on the secondary IDE controller\";\n" "\n" " * \"d\" means \"slave hard disk drive on the secondary IDE controller\".\n" "\n" "With SCSI hard disk drives, an \"a\" means \"lowest SCSI ID\", a \"b\" means\n" "\"second lowest SCSI ID\", etc.\n" "\n" "\"Windows name\" is the letter of your hard disk drive under Windows (the first\n" "disk or partition is called \"C:\")." msgstr "" "Дар гардонандаи сахти шумо зиёда аз як бахши Microsoft муайян гардид.\n" "Марҳамат карда бахшеро, ки барои коргузории системаи нави омили\n" "Mageia андозаи онро тағир додан мехоҳед, интихоб намоед.\n" "\n" "Ҳар бахш ба таври зерин ба рӯйхат гирифта мешавад: \"ном дар Linux\",\n" "\"ном дар Windows\" \"Ғунҷоиш\".\n" "\n" "\"ном дар Linux\" таркибӣ мебошад: \"навъи гардонандаи сахт\",\n" "\"рақами гардонандаи сахт\", \"рақами бахш\" (масалан, \"hda1\").\n" "\n" "\"Навъи гардонандаи сахт\" ин \"hd\" агар гардонандаи сахти шумо IDE\n" "гардонандаи сахт бошад ва \"sd\", агар он гардонандаи сахти SCSI бошад.\n" "\n" "\"Рақами гардонандаи сахт\" ҳамеша ҳарф баъди \"hd\" ё \"sd\" оянда аст.\n" "Барои IDE гардонандаи сахт:\n" "\n" " * \"a\" маънои \"гардонандаи сахти устод дар IDE нозири ибтидоӣ\"-ро " "дорад;\n" "\n" " * \"b\" гардонандаи сахти фармонбар дар IDE нозири ибтидоӣ\"-ро дорад;\n" "\n" " * \"c\" маънои \"гардонандаи сахти устод дар IDE нозири дуямин\"-ро дорад;\n" "\n" " * \"d\" маънои \"гардонандаи сахти фармонбар дар IDE нозири дуямин\"-ро " "дорад.\n" "\n" "Барои SCSI гардонандаи сахт \"a\" маънои \"якум аз поёни SCSI ID\"-ро\n" "дорад, \"b\" маънои \"дуюм аз поёни SCSI ID\"-ро дорад ва ғайра.\n" "\n" "\"ном дар Windows\" ин ҳарфи гардонандаи сахти шумо дар Windows аст\n" "(диски ё бахши якум \"C:\" номида мешавад)." #: ../help.pm:567 #, c-format msgid "" "\"%s\": check the current country selection. If you're not in this country,\n" "click on the \"%s\" button and choose another. If your country is not in " "the\n" "list shown, click on the \"%s\" button to get the complete country list." msgstr "" "\"%s\": интихоби ҳозираи мамлакатро санҷед. Агар дар ин мамлакат набошед, " "онгоҳ\n" " ба дагмаи \"%s\" ангушт зада дигарашро интихоб намоед.\n" "Агар мамлакати шумо дар рӯйхати аввалаи нишондода нашуда бошад, онгоҳ ба\n" "дагмаи \"%s\"ангушт зада рӯйхати пураро бинед." #: ../help.pm:572 #, fuzzy, c-format msgid "" "This step is activated only if an existing GNU/Linux partition has been\n" "found on your machine.\n" "\n" "DrakX now needs to know if you want to perform a new installation or an\n" "upgrade of an existing Mageia system:\n" "\n" " * \"%s\". For the most part, this completely wipes out the old system.\n" "However, depending on your partitioning scheme, you can prevent some of\n" "your existing data (notably \"home\" directories) from being over-written.\n" "If you wish to change how your hard disk drives are partitioned, or to change\n" "the filesystem, you should use this option.\n" "\n" " * \"%s\". This installation class allows you to update the packages\n" "currently installed on your Mageia system. Your current partitioning\n" "scheme and user data will not be altered. Most of the other configuration\n" "steps remain available and are similar to a standard installation.\n" "\n" "Using the ``Upgrade'' option should work fine on Mageia systems\n" "running version \"8.1\" or later. Performing an upgrade on versions prior\n" "to Mageia version \"8.1\" is not recommended." msgstr "" "Ин қадам танҳо дар он ҳолате фаъол мегардад, ки дар мошинаи шумо\n" "бахши кӯҳнаи GNU/Linux пайдо гардад.\n" "\n" "DrakX бояд донад, ки оё шумо мехоҳед, ки коргузории навро гузаронед\n" "ё системаи Mageia-и мавҷударо афзоиш диҳед:\n" "\n" " * \"%s\": Дар бисёр ҳолатҳо ин вариант ба нобудшавии системаи кӯҳна\n" "оварда мерасонад. Агар хоҳед, ки бахшҳои гардонандаи сахти худро иваз\n" "кунед ё системаи файлиро тағир диҳед, шумо бояд ин хосиятро истифода\n" "баред. Лекин вобаста ба тарҳрезии гардонандаи сахт шумо эҳтимолан баъзеи\n" "додаҳои мавҷудаи худро аз бознависӣ захира карда метавонанд.\n" "\n" " * \"%s\": ин синфи коргузорӣ ба шумо имконияти авкунии бастаи\n" "барномаҳои дар системаи Mageia-и коргузоришударо медиҳад.\n" "Нақшаи бахшбандии ҷорӣ ва додаҳои корванд, ивазнашавандаанд.\n" "Бештари дигар қадамҳо низ дастрас мегарданд, ба монанди коргузории " "низоммеъёр.\n" "\n" "Интихоби хосияти ``Густариш'' дар системаҳои Mageia аз нусхаи\n" "\"8.1\" сар карда то охирон хеле хуб хоҳад кор кард. Гузаронидани Густариш\n" "дар системаҳои Mageia болотар аз \"8.1\" маслиҳат дода мешавад." #: ../help.pm:594 #, c-format msgid "" "Depending on the language you chose (), DrakX will automatically select a\n" "particular type of keyboard configuration. Check that the selection suits\n" "you or choose another keyboard layout.\n" "\n" "Also, you may not have a keyboard which corresponds exactly to your\n" "language: for example, if you are an English-speaking Swiss native, you may\n" "have a Swiss keyboard. Or if you speak English and are located in Quebec,\n" "you may find yourself in the same situation where your native language and\n" "country-set keyboard do not match. In either case, this installation step\n" "will allow you to select an appropriate keyboard from a list.\n" "\n" "Click on the \"%s\" button to be shown a list of supported keyboards.\n" "\n" "If you choose a keyboard layout based on a non-Latin alphabet, the next\n" "dialog will allow you to choose the key binding which will switch the\n" "keyboard between the Latin and non-Latin layouts." msgstr "" "Вобаста ба забони нобаёнӣ, ки дар қисмат интихоб кардед, DrakX ба таври\n" "худкор навъи танзими забонакро интихоб мекунад. Инро интихоб кунед ё \n" "дигар ҷобаҷогузории забонакро интихоб кунед.\n" "Лекин шумо забонеро, ки,\n" "пурра ба забони шумо мувофиқат мекунад, надошта метавонед: масалан, агар\n" "шумо шахси швейтсариягии бо забони англисӣ гап зананда бошед, шумо забони\n" "швейтсариягӣ дошта бошед. Ё агар шумо бо забони англисӣ гап мезанед лекин " "дар Квебек сукунат доред, шумо ба ҳолате меафтед, ки забони модарии шумо\n" "ва забонаки мувофиқро аз рӯйхат медиҳад.\n" "\n" "Барои гирифтани рӯйхати пурраи забонакҳои пуштибоншаванда ба тугмаи\n" "\"%s\" ангушт занед.\n" "\n" "Агар шумо ҷобаҷогузории забонакро, ки ба алифбои ғайри Лотинӣ асос\n" "ёфтааст интихоб намоед, муколамаи оянда ба шумо имконияти интихоб\n" "кардани бастаи калидҳо барои гузриши байни ҷобаҷогузориҳои лотинӣ ва\n" "ғайри лотинӣ медиҳад." #: ../help.pm:612 #, fuzzy, c-format msgid "" "The first step is to choose your preferred language.\n" "\n" "Your choice of preferred language will affect the installer, the\n" "documentation, and the system in general. First select the region you're\n" "located in, then the language you speak.\n" "\n" "Clicking on the \"%s\" button will allow you to select other languages to\n" "be installed on your workstation, thereby installing the language-specific\n" "files for system documentation and applications. For example, if Spanish\n" "users are to use your machine, select English as the default language in\n" "the tree view and \"%s\" in the Advanced section.\n" "\n" "About UTF-8 (unicode) support: Unicode is a new character encoding meant to\n" "cover all existing languages. However full support for it in GNU/Linux is\n" "still under development. For that reason, Mageia's use of UTF-8 will\n" "depend on the user's choices:\n" "\n" " * If you choose a language with a strong legacy encoding (latin1\n" "languages, Russian, Japanese, Chinese, Korean, Thai, Greek, Turkish, most\n" "iso-8859-2 languages), the legacy encoding will be used by default;\n" "\n" " * Other languages will use unicode by default;\n" "\n" " * If two or more languages are required, and those languages are not using\n" "the same encoding, then unicode will be used for the whole system;\n" "\n" " * Finally, unicode can also be forced for use throughout the system at a\n" "user's request by selecting the \"%s\" option independently of which\n" "languages were been chosen.\n" "\n" "Note that you're not limited to choosing a single additional language. You\n" "may choose several, or even install them all by selecting the \"%s\" box.\n" "Selecting support for a language means translations, fonts, spell checkers,\n" "etc. will also be installed for that language.\n" "\n" "To switch between the various languages installed on your system, you can\n" "launch the \"localedrake\" command as \"root\" to change the language used\n" "by the entire system. Running the command as a regular user will only\n" "change the language settings for that particular user." msgstr "" "Қадами аввал ин интихоби забони писандида аст.\n" "\n" "Интихоби забони писандида ба забони санадсозӣ, коргузор ва умуман\n" "коргузорӣ таъсир мерасонад. Аввал маҳаллӣ ҷойгиршавиатонро ва пас\n" "забонеро, ки бо он гуфтугӯ мекунед, интихоб кунед.\n" "\n" "Бо ангуштзании тугмаи \"%s\" шумо метавонед дигар забонҳоро, ки бо\n" "истгоҳи кории шумо коргузорӣ карда мешавад, интихоб кунед ва ҳамин\n" "тавр файлҳои санадсозии замимаҳои системавиро, ки ба забон алоқаманданд,\n" "коргузорӣ намоед. Масалан агар дар системаи шумо корвандони аз Испания\n" "кор кунанд, дар дарахти азназаргузарони англисиро ҳамчун забон бо нобаёнӣ " "интихоб кунед ва ҳатто ҳамаи онҳоро бо интихоби пункти \"%s\"дар бахши " "Муккамалгашт коргузрӣ карда метавонед.\n" "\n" "Интихоби пуштибонии забон маънои тарҷумаҳо, ҳуруфҳо, имлосанҷӣ ва ғайраро " "барои забонҳои коргузоришударо дорад. Ба ғайр аз ин шумо\n" "метавонед пункти \"%s\"-ро интихоб кунед, ки системаро барои истифода " "бурдани рамзи ягона (UTF-8) маҷбур месозад.\n" "Лекин дар хотир доред, ки ин хусусияти озмоишӣ аст.\n" "Агар шумо дигар забенероб ки дигар рамзро талаб мекунад интихоб кунед, ба " "ҳар ҳол пуштибонии рамзи ягона коргузорӣ\n" "мегардад.\"%s\"\n" "\n" "Барои гузариш аз байни забонҳои мухталифи коргузоришуда дар\n" "система шумо матавонед фармони \"/usr/sbin/localedrake\" ҳамчун \"реша\" " "баҳри ивази забон барои ҳамаи система истифода баред\n" "Корандозии ин фармон, ҳамчун корванди муқаррарӣ танҳо\n" "гузоришҳои забонро барои ин корванди муайян иваз мекунад." #: ../help.pm:650 #, c-format msgid "Espanol" msgstr "Испанӣ" #: ../help.pm:643 #, c-format msgid "Use Unicode by default" msgstr "" #: ../help.pm:646 #, c-format msgid "" "Usually, DrakX has no problems detecting the number of buttons on your\n" "mouse. If it does, it assumes you have a two-button mouse and will\n" "configure it for third-button emulation. The third-button mouse button of a\n" "two-button mouse can be obtained by simultaneously clicking the left and\n" "right mouse buttons. DrakX will automatically know whether your mouse uses\n" "a PS/2, serial or USB interface.\n" "\n" "If you have a 3-button mouse without a wheel, you can choose a \"%s\"\n" "mouse. DrakX will then configure your mouse so that you can simulate the\n" "wheel with it: to do so, press the middle button and move your mouse\n" "pointer up and down.\n" "\n" "If for some reason you wish to specify a different type of mouse, select it\n" "from the list provided.\n" "\n" "You can select the \"%s\" entry to chose a ``generic'' mouse type which\n" "will work with nearly all mice.\n" "\n" "If you choose a mouse other than the default one, a test screen will be\n" "displayed. Use the buttons and wheel to verify that the settings are\n" "correct and that the mouse is working correctly. If the mouse is not\n" "working well, press the space bar or [Return] key to cancel the test and\n" "you will be returned to the mouse list.\n" "\n" "Occasionally wheel mice are not detected automatically, so you will need to\n" "select your mouse from a list. Be sure to select the one corresponding to\n" "the port that your mouse is attached to. After selecting a mouse and\n" "pressing the \"%s\" button, a mouse image will be displayed on-screen.\n" "Scroll the mouse wheel to ensure that it is activating correctly. As you\n" "scroll your mouse wheel, you will see the on-screen scroll wheel moving.\n" "Test the buttons and check that the mouse pointer moves on-screen as you\n" "move your mouse about." msgstr "" "Одатан дар DrakX ягон муаммо оиди муайянкунии шумораи тугмаҳо\n" "дар муши шумо пайдо намешавад. Агар чунин нашавад, пас он муши шуморо\n" "ҳамчун ду тугмадор мепиндорад ва онро ба намунасозии тугмаи сеюмро\n" "танзим мекунад. Тугмаи сеюми муши дутугмадор ба воситаи пахшкунии\n" "якзамонаи тугмаи рост ва чапи муш, пахш хоҳад шуд. DrakX ба таври худкор\n" "мефаҳмад, ки оё муши шумо кадоме аз интерфейси PS/2, serial ё USB-ро " "истифода мебарад.\n" "\n" "Агар шумо муши 3-тугмадорро бе чарха дошта бошед шумо \"%s\"\n" "-ро интихоб карда метавонед.\n" "\n" "Агар шумо дигар мушро, ки аз интихоб кардан бо нобаёнӣ фарқ мекунад,\n" "экрани санҷишӣ намоиш дода мешавад. Тугма ва чархаҳоро барои санҷидан\n" "дурустии гузоришҳо ва дурустии кори муш истифода баред.\n" "Агар муш хуб кор накунад, сари фазо ё \"%s\" калиди [Баргаштан]-ро пахш " "кунед,\n" "то ки санҷишро бекор кунед ва ба рӯйхати интихобҳо баргардед.\n" "\n" "Мушҳои чархадор баъзе вақт худмуайян намегарданд. Дар ин ҳолат\n" "шумо бояд муши худро аз рӯйхат интихоб намоед. Бовари ҳосил\n" "кунед, ки шумо даргоҳи пайвастшавии мушро дуруст интихоб кардед.\n" "Вақте, ки муш интихоб шуд ва тугмаи \"%s\" пахш гардид, тасвир бо\n" "симои муш пайдо мешавад. Чархаҳои мушро гардонед, то бовари\n" "ҳосил кунед, ки он дуруст кор мекунад. Вақте шумо мебинед, ки\n" "чархаи муш дар экран ба ҳаракатҳои муши шумо ҳамзамон ҳаракат мекунад,\n" " кори тугмаҳо ва ҳаракати нишоннаморо, ки бояд мувофиқи\n" "ҷойивазкунии муши шумо ҳаракат кунад, санҷед." #: ../help.pm:684 #, c-format msgid "with Wheel emulation" msgstr "бо намунаи Ғилдиракча" #: ../help.pm:684 #, c-format msgid "Universal | Any PS/2 & USB mice" msgstr "Уневерсалӣ | Дилхоҳ PS/2 & USB муш" #: ../help.pm:687 #, c-format msgid "" "Please select the correct port. For example, the \"COM1\" port under\n" "Windows is named \"ttyS0\" under GNU/Linux." msgstr "" "Лутфан бандари дурустро интихоб кунед. Барои мисол, бандари \"COM1\" таҳти " "Windows дар таҳти GNU/Linux \"ttySO\" номида мешавад." #: ../help.pm:684 #, c-format msgid "" "A boot loader is a little program which is started by the computer at boot\n" "time. It's responsible for starting up the whole system. Normally, the boot\n" "loader installation is totally automated. DrakX will analyze the disk boot\n" "sector and act according to what it finds there:\n" "\n" " * if a Windows boot sector is found, it will replace it with a GRUB/LILO\n" "boot sector. This way you'll be able to load either GNU/Linux or any other\n" "OS installed on your machine.\n" "\n" " * if a GRUB or LILO boot sector is found, it'll replace it with a new one.\n" "\n" "If DrakX can not determine where to place the boot sector, it'll ask you\n" "where it should place it. Generally, the \"%s\" is the safest place.\n" "Choosing \"%s\" will not install any boot loader. Use this option only if " "you\n" "know what you're doing." msgstr "" "LILO ва grub корандозҳои худборшави GNU/Linux мебошад. Ин қадам пурра\n" "автоматикунонида шудааст. DrakX соҳаи худборшавии дискетро таҳлил менамояд\n" "ва мувофиқи чизи дар он ҷой ёфтааш амал мекунад:\n" "\n" " * агар соҳаи худборшавии Windows ёфт шавад, онгоҳ онро ба соҳаи " "худборшавии\n" "grub/LILO иваз хоҳад кард. Пас, шумо метавонед ҳам GNU/Linux ва ҳам ОС-и\n" "дигарро кор андозед.\n" "\n" " * агар соҳаи худборшавии grub ё LILO ёфт шавад, онгоҳ \"%s\" онро ба наваш " "иваз хоҳад\n" "кард.\n" "\n" "Агар номуайянӣ рӯй диҳад, онгоҳ DrakX аз шумо мепурсад, ки дар куҷо\n" "корандози \"%s\" худборшавро ҷойгир намуд." #: ../help.pm:745 #, fuzzy, c-format msgid "" "Now, it's time to select a printing system for your computer. Other\n" "operating systems may offer you one, but Mageia offers two. Each of\n" "the printing systems is best suited to particular types of configuration.\n" "\n" " * \"%s\" -- which is an acronym for ``print, do not queue'', is the choice\n" "if you have a direct connection to your printer, you want to be able to\n" "panic out of printer jams, and you do not have networked printers. (\"%s\"\n" "will handle only very simple network cases and is somewhat slow when used\n" "within networks.) It's recommended that you use \"pdq\" if this is your\n" "first experience with GNU/Linux.\n" "\n" " * \"%s\" stands for `` Common Unix Printing System'' and is an excellent\n" "choice for printing to your local printer or to one halfway around the\n" "planet. It's simple to configure and can act as a server or a client for\n" "the ancient \"lpd\" printing system, so it's compatible with older\n" "operating systems which may still need print services. While quite\n" "powerful, the basic setup is almost as easy as \"pdq\". If you need to\n" "emulate a \"lpd\" server, make sure you turn on the \"cups-lpd\" daemon.\n" "\"%s\" includes graphical front-ends for printing or choosing printer\n" "options and for managing the printer.\n" "\n" "If you make a choice now, and later find that you do not like your printing\n" "system you may change it by running PrinterDrake from the Mageia\n" "Control Center and clicking on the \"%s\" button." msgstr "" "Ҳоло вақте расидааст барои интихоби системаи чопкунӣ барои компютери\n" "шумо. Дигар СО ба шумо як намудро пешкаш карда метавонад, Mageia\n" "бошад, ду намудро. Ҳар яке аз системаҳо барои батанзимдарории\n" "муайяни беҳтарин мебошад.\n" "\n" " * \"%s\" -- ин маънои онро дорад, ки ``чопро саф наороед'' - ин интихоб,\n" "агар шумо бевосита ба чопгари худ пайваст бошед ва намехлҳед, ки\n" "қоғаз дар чопгар дар монад ва агар шумо чопгарони шабакавӣ надошта\n" "бошед (\"%s\" аз ӯҳдаи фақат шабакаҳои оддӣ баромада метавонад ва хеле\n" "барои онҳо суст мебошад.) Истифодаи \"pdq\" маслиҳат дода мешавад,\n" "ҳангоми гузоштани қадамҳои аввала ба GNU/Linux.\n" "\n" " * \"%s\" - `` Common Unix Printing System'', ин чопкуни олиҷаноб барои\n" "чопкунӣ дар шабакаи маҳаллии шумо, инчунин дар нисфи сайёра. Он дар\n" "батанзидарорӣ оддӣ ва ҳамчун хидматрасон ё мизоҷ дар системаҳои чопии\n" "пештараи \"lpd \", баромада метавонад. Барои ҳамин ҳам он бо системаҳои\n" "пештаристеҳсолшуда мутобиқ мебошад. Ба ҳамаи пурқудратии он нигоҳ\n" "накарда батанзимдарориҳои асосии он аз \"pdq\" ҳам оддитар аст. Агар\n" "ба шумо намунасозии \"lpd\" хидматрасон лозим бошад, азозили \"cups-lpd \"-" "ро\n" "даргиронед. \"%s\" интерфейси графикӣ барои чоп кардан ё интихоби кортҳои\n" "принтер ва идоракунӣ бо он.\n" "\n" "Агар шумо интихоби худро кунед, лекин баъд маълум гардад, ки системаи\n" "чопкунӣ ба шумо писанд намеояд, шумо метавонед онро тағир диҳед ба воситаи " "сардодани PrinterDrake аз Маркази Идораи Mandriva ва пахшкунии \"%s\" " "тугмаи\n" "кордон." #: ../help.pm:768 #, c-format msgid "pdq" msgstr "pdq" #: ../help.pm:724 #, c-format msgid "CUPS" msgstr "" #: ../help.pm:724 #, c-format msgid "Expert" msgstr "Кордон" #: ../help.pm:771 #, c-format msgid "" "DrakX will first detect any IDE devices present in your computer. It will\n" "also scan for one or more PCI SCSI cards on your system. If a SCSI card is\n" "found, DrakX will automatically install the appropriate driver.\n" "\n" "Because hardware detection is not foolproof, DrakX may fail in detecting\n" "your hard disk drives. If so, you'll have to specify your hardware by hand.\n" "\n" "If you had to manually specify your PCI SCSI adapter, DrakX will ask if you\n" "want to configure options for it. You should allow DrakX to probe the\n" "hardware for the card-specific options which are needed to initialize the\n" "adapter. Most of the time, DrakX will get through this step without any\n" "issues.\n" "\n" "If DrakX is not able to probe for the options to automatically determine\n" "which parameters need to be passed to the hardware, you'll need to manually\n" "configure the driver." msgstr "" "Сараввал DrakX дастгоҳҳои дилхоҳи IDE-и ба компютери шумо омадаро муаяйн\n" "менамояд. Инчунин он системи шумо барои як ё кортҳои PCI SCSI зиёд баррасӣ\n" "менамояд. Агар корти SCSI ёфт шавад, онгоҳ DrakX ба таври автоматӣ ронандаи\n" "лозимаро коргузорӣ менамояд.\n" "\n" "Азбаски муаяйнкунии сахтафзор на ҳама вақт боваринок аст, DrakX\n" "шояд бо муяйнкунии гардонҳои сахт ба муваффақият ноил нагардад. Агар ин " "тавр\n" "бошад ба шумо лозим аст, то ки дастӣ сахтафзори худро нишон диҳед.\n" "\n" "Агар шумо созгори худро дастӣ нишон дода бошед, онгоҳ DrakX аз шумо " "мепурсад\n" "оё барои он хоҳиши ба танзим даровардани интихобҳоро доред.\n" "Шумо бояд ба DrakX иҷозат диҳед, то ки интихобҳои барои корт махсус бударо\n" "санҷед, ки барои коргузории созгор зарур аст. Одатан DrakX ин марҳиларо бе\n" "душворӣ мегузарад.\n" "\n" "Агар DrakX параметрҳои ба сахтфзор лозим буда муаяйн карда натавонад,\n" "онгоҳ ба шумо лозим аст, то ки дастӣ ронандаро ба танзим дароред." #: ../help.pm:789 #, c-format msgid "" "\"%s\": if a sound card is detected on your system, it'll be displayed\n" "here. If you notice the sound card is not the one actually present on your\n" "system, you can click on the button and choose a different driver." msgstr ""