summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
blob: 1d658eda3c05fd41ef595b41cc9544f57e25fd16 (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
package interactive; # $Id$

use diagnostics;
use strict;

#-######################################################################################
#- misc imports
#-######################################################################################
use MDK::Common::Func;
use common;
use do_pkgs;

#- minimal example using interactive:
#
#- > use lib qw(/usr/lib/libDrakX);
#- > use interactive;
#- > my $in = interactive->vnew;
#- > $in->ask_okcancel('title', 'question');
#- > $in->exit;

#- ask_from_ takes global options ($common):
#-  title                => window title
#-  messages             => message displayed in the upper part of the window
#-  advanced_messages    => message displayed when "Advanced" is pressed
#-  ok                   => force the name of the "Ok"/"Next" button
#-  cancel               => force the name of the "Cancel"/"Previous" button
#-  advanced_label       => force the name of the "Advanced" button
#-  advanced_label_close => force the name of the "Basic" button
#-  advanced_state       => if set to 1, force the "Advanced" part of the dialog to be opened initially
#-  focus_cancel         => force focus on the "Cancel" button
#-  focus_first          => force focus on the first entry
#-  callbacks            => functions called when something happen: complete canceled advanced changed focus_out ok_disabled

#- ask_from_ takes a list of entries with fields:
#-  val      => reference to the value
#-  label    => description
#-  icon     => icon to put before the description
#-  help     => tooltip
#-  advanced => wether it is shown in by default or only in advanced mode
#-  disabled => function returning wether it should be disabled (grayed)
#-  gtk      => gtk preferences
#-  type     => 
#-     button => (with clicked or clicked_may_quit)
#-               (type defaults to button if clicked or clicked_may_quit is there)
#-               (val need not be a reference) (if clicked_may_quit return true, it's as if "Ok" was pressed)
#-     label => (val need not be a reference) (type defaults to label if val is not a reference) 
#-     bool (with "text" or "image" (which overrides text) giving an image filename)
#-     range (with min, max)
#-     combo (with list, not_edit, format)
#-     list (with list, icon2f (aka icon), separator (aka tree), format (aka pre_format function),
#-           help can be a hash or a function,
#-           tree_expanded boolean telling wether the tree should be wide open by default
#-           quit_if_double_click boolean
#-           allow_empty_list disables the special cases for 0 and 1 element lists
#-           image2f is a subroutine which takes a value of the list as parameter, and returns an array (text, image_file_name))
#-     entry (the default) (with hidden)
#
#- heritate from this class and you'll get all made interactivity for same steps.
#- for this you need to provide
#- - ask_from_listW(o, title, messages, arrayref, default) returns one string of arrayref
#-
#- where
#- - o is the object
#- - title is a string
#- - messages is an refarray of strings
#- - default is an optional string (default is in arrayref)
#- - arrayref is an arrayref of strings
#- - arrayref2 contains booleans telling the default state,
#-
#- ask_from_list and ask_from_list_ are wrappers around ask_from_biglist and ask_from_smalllist
#-
#- ask_from_list_ just translate arrayref before calling ask_from_list and untranslate the result
#-
#- ask_from_listW should handle differently small lists and big ones.
#-


#-######################################################################################
#- OO Stuff
#-######################################################################################
our @ISA = qw(do_pkgs);

sub new($) {
    my ($type) = @_;

    bless {}, ref($type) || $type;
}

sub vnew {
    my ($_type, $o_su, $o_icon) = @_;
    my $su = $o_su eq "su";
    if ($ENV{INTERACTIVE_HTTP}) {
	require interactive::http;
	return interactive::http->new;
    }
    require c;
    if ($su) {
	$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
	$su = '' if $::testing || $ENV{TESTING};
    }
    require_root_capability() if $su;
    if (check_for_xserver()) {
	eval { require interactive::gtk };
	if (!$@) {
	    my $o = interactive::gtk->new;
	    if ($o_icon && $o_icon ne 'default' && !$::isWizard) { $o->{icon} = $o_icon } else { undef $o->{icon} }
	    return $o;
	}
    }

    require 'log.pm'; #- "require log" causes some pb, perl thinking that "log" is the log() function
    undef *log::l;
    *log::l = sub {}; # otherwise, it will bother us :(
    require interactive::newt;
    interactive::newt->new;
}

sub enter_console {}
sub leave_console {}
sub suspend {}
sub resume {}
sub end {}
sub exit { exit($_[0]) }

#-######################################################################################
#- Interactive functions
#-######################################################################################
sub ask_warn {
    my ($o, $title, $message) = @_;
    ask_warn_($o, { title => $title, messages => $message });
}
sub ask_yesorno {
    my ($o, $title, $message, $b_def) = @_;
    ask_yesorno_($o, { title => $title, messages => $message }, $b_def);
}
sub ask_okcancel {
    my ($o, $title, $message, $b_def) = @_;
    ask_okcancel_($o, { title => $title, messages => $message }, $b_def);
}

sub ask_warn_ {
    my ($o, $common) = @_;
    ask_from_listf_raw_no_check($o, $common, undef, [ $o->ok ]);
}

sub ask_yesorno_ {
    my ($o, $common, $b_def) = @_;
    $common->{cancel} = '';
    ask_from_listf_raw($o, $common, sub { translate($_[0]) }, [ N_("Yes"), N_("No") ], $b_def ? "Yes" : "No") eq "Yes";
}

sub ask_okcancel_ {
    my ($o, $common, $b_def) = @_;

    if ($::isWizard) {
	$::no_separator = 1;
	$common->{focus_cancel} = !$b_def;
    	ask_from_no_check($o, $common, []);
    } else {
	ask_from_listf_raw($o, $common, sub { translate($_[0]) }, [ $o->ok, $o->cancel ], $b_def ? $o->ok : "Cancel") eq $o->ok;
    }
}

sub ask_file {
    my ($o, $title, $o_dir) = @_;
    $o->ask_fileW($title, $o_dir);
}
sub ask_fileW {
    my ($o, $title, $_dir) = @_;
    $o->ask_from_entry($title, N("Choose a file"));
}

sub ask_from_list {
    my ($o, $title, $message, $l, $o_def) = @_;
    ask_from_listf($o, $title, $message, undef, $l, $o_def);
}

sub ask_from_list_ {
    my ($o, $title, $message, $l, $o_def) = @_;
    ask_from_listf($o, $title, $message, sub { translate($_[0]) }, $l, $o_def);
}

sub ask_from_listf_ {
    my ($o, $title, $message, $f, $l, $o_def) = @_;
    ask_from_listf($o, $title, $message, sub { translate($f->(@_)) }, $l, $o_def);
}
sub ask_from_listf {
    my ($o, $title, $message, $f, $l, $o_def) = @_;
    ask_from_listf_raw($o, { title => $title, messages => $message }, $f, $l, $o_def);
}
sub ask_from_listf_raw {
    my ($_o, $_common, $_f, $l, $_def) = @_;
    @$l == 0 and die "ask_from_list: empty list\n" . backtrace();
    @$l == 1 and return $l->[0];
    goto &ask_from_listf_raw_no_check;
}

sub ask_from_listf_raw_no_check {
    my ($o, $common, $f, $l, $o_def) = @_;

    if (@$l <= ($::isWizard ? 1 : 2)) {
	my ($ok, $cancel) = map { $_ && may_apply($f, $_) } @$l;
	if (length "$ok$cancel" < 70) {
	    my $ret = eval {
		put_in_hash($common, { ok => $ok, 
				       if_($cancel, cancel => $cancel, focus_cancel => $o_def eq $l->[1]) });
		ask_from_no_check($o, $common, []) ? $l->[0] : $l->[1];
	    };
	    die if $@ && $@ !~ /^wizcancel/;
	    return $@ ? undef : $ret;
	}
    }
    ask_from_no_check($o, $common, [ { val => \$o_def, type => 'list', list => $l, format => $f } ]) && $o_def;
}

sub ask_from_treelist {
    my ($o, $title, $message, $separator, $l, $o_def) = @_;
    ask_from_treelistf($o, $title, $message, $separator, undef, $l, $o_def);
}
sub ask_from_treelist_ {
    my ($o, $title, $message, $separator, $l, $o_def) = @_;
    my $transl = sub { join '|', map { translate($_) } split(quotemeta($separator), $_[0]) }; 
    ask_from_treelistf($o, $title, $message, $separator, $transl, $l, $o_def);
}
sub ask_from_treelistf {
    my ($o, $title, $message, $separator, $f, $l, $o_def) = @_;
    ask_from($o, $title, $message, [ { val => \$o_def, separator => $separator, list => $l, format => $f, sort => 1 } ]) or return;
    $o_def;
}

sub ask_many_from_list {
    my ($o, $title, $message, @l) = @_;
    @l = grep { @{$_->{list}} } @l or return '';
    foreach my $h (@l) {
	$h->{e}{$_} = {
	    text => may_apply($h->{label}, $_),
	    val => $h->{val} ? $h->{val}->($_) : do {
		my $i =
		  $h->{value} ? $h->{value}->($_) : 
		    $h->{values} ? member($_, @{$h->{values}}) : 0;
		\$i;
	    },
	    type => 'bool',
	    help => may_apply($h->{help}, $_, ''),
	    icon => may_apply($h->{icon2f}, $_, ''),
	} foreach @{$h->{list}};
	if ($h->{sort}) {
	    $h->{list} = [ sort { $h->{e}{$a}{text} cmp $h->{e}{$b}{text} } @{$h->{list}} ];
	}
    }
    $o->ask_from($title, $message, [ map { my $h = $_; map { $h->{e}{$_} } @{$h->{list}} } @l ]) or return;

    @l = map {
	my $h = $_;
	[ grep { ${$h->{e}{$_}{val}} } @{$h->{list}} ];
    } @l;
    wantarray() ? @l : $l[0];
}

sub ask_from_entry {
    my ($o, $title, $message, %callback) = @_;
    first(ask_from_entries($o, $title, $message, [''], %callback));
}
sub ask_from_entries {
    my ($o, $title, $message, $l, %callback) = @_;

    my @l = map { my $i = ''; { label => $_, val => \$i } } @$l;

    $o->ask_from_({ title => $title, messages => $message, callbacks => \%callback, 
		    focus_first => 1 }, \@l) or return;
    map { ${$_->{val}} } @l;
}

sub ask_from__add_modify_remove {
    my ($o, $title, $message, $l, %callback) = @_;
    die "ask_from__add_modify_remove only handles one item" if @$l != 1;

    $callback{$_} or internal_error("missing callback $_") foreach qw(Add Modify Remove);

    if ($o->can('ask_from__add_modify_removeW')) {
	$o->ask_from__add_modify_removeW($title, $message, $l, %callback);
    } else {
	my $e = $l->[0];
	my $chosen_element;
	put_in_hash($e, { allow_empty_list => 1, val => \$chosen_element, type => 'list' });

	while (1) {
	    my $continue;
	    my @l = (@$l, 
		     map { my $s = $_; { val => translate($_), clicked_may_quit => sub { 
					     my $r = $callback{$s}->($chosen_element);
					     defined $r or return;
					     $continue = 1;
					 } } }
		     N_("Add"), if_(@{$e->{list}} > 0, N_("Modify"), N_("Remove")));
	    $o->ask_from_({ title => $title, messages => $message, callbacks => \%callback }, \@l) or return;
	    return 1 if !$continue;
	}
    }
}


#- can get a hash of callback: focus_out changed and complete
#- moreove if you pass a hash with a field list -> combo
#- if you pass a hash with a field hidden -> emulate stty -echo
sub ask_from {
    my ($o, $title, $message, $l, %callback) = @_;
    ask_from_($o, { title => $title, messages => $message, callbacks => \%callback }, $l);
}


sub ask_from_normalize {
    my ($o, $common, $l) = @_;

    ref($l) eq 'ARRAY' or internal_error('ask_from_normalize');
    foreach my $e (@$l) {
	if (my $li = $e->{list}) {
	    ref($e->{val}) =~ /SCALAR|REF/ or internal_error($e->{val} ? "field {val} must be a reference (it is $e->{val})" : "field {val} is mandatory"); #-#
	    if ($e->{sort} || @$li > 10 && !exists $e->{sort}) {
		my @l2 = map { may_apply($e->{format}, $_) } @$li;
		my @places = sort { $l2[$a] cmp $l2[$b] } 0 .. $#l2;
		$e->{list} = $li = [ map { $li->[$_] } @places ];
	    }
	    $e->{type} = 'iconlist' if $e->{icon2f};
	    $e->{type} = 'treelist' if $e->{separator};
	    add2hash_($e, { not_edit => 1 });
	    $e->{type} ||= 'combo';

	    if (!$e->{not_edit}) {
		die q(when using "not_edit" you must use strings, not a data structure) if ref(${$e->{val}}) || any { ref $_ } @$li;
	    }
	    if ($e->{type} ne 'combo' || $e->{not_edit}) {
		${$e->{val}} = $li->[0] if !member(may_apply($e->{format}, ${$e->{val}}), map { may_apply($e->{format}, $_) } @$li);
	    }
	} elsif ($e->{type} eq 'range') {
	    $e->{min} <= $e->{max} or die "bad range min $e->{min} > max $e->{max} (called from " . join(':', caller()) . ")";
	    ${$e->{val}} = max($e->{min}, min(${$e->{val}}, $e->{max}));
	} elsif ($e->{type} eq 'button' || $e->{clicked} || $e->{clicked_may_quit}) {
	    $e->{type} = 'button';
	    $e->{clicked_may_quit} ||= $e->{clicked} ? sub { $e->{clicked}(); 0 } : sub {};	    
	    $e->{val} = \ (my $_v = $e->{val}) if !ref($e->{val});
	} elsif ($e->{type} eq 'label' || !ref($e->{val})) {
	    $e->{type} = 'label';
	    $e->{val} = \ (my $_v = $e->{val}) if !ref($e->{val});
	} else {
	    $e->{type} ||= 'entry';
	}
	$e->{disabled} ||= sub { 0 };
    }

    #- don't display empty lists and one element lists
    @$l = grep { 
	if ($_->{list} && $_->{not_edit} && !$_->{allow_empty_list}) {
	    if (!@{$_->{list}}) {
		eval {
		    require 'log.pm'; #- "require log" causes some pb, perl thinking that "log" is the log() function
		    log::l("ask_from_normalize: empty list for $_->{label}\n" . backtrace());
		};
	    }
	    @{$_->{list}} > 1;
	} else {
	    1;
	}
    } @$l;

    if (!$common->{title} && $::isStandalone) {
	($common->{title} = $0) =~ s|.*/||;
    }
    $common->{interactive_help} ||= $o->{interactive_help};
    $common->{interactive_help} ||= $common->{interactive_help_id} && $o->interactive_help_sub_get_id($common->{interactive_help_id});
    $common->{advanced_label} ||= N("Advanced");
    $common->{advanced_label_close} ||= N("Basic");
    $common->{$_} = $common->{$_} ? [ deref($common->{$_}) ] : [] foreach qw(messages advanced_messages);
    add2hash_($common->{callbacks} ||= {}, { changed => sub {}, focus_out => sub {}, complete => sub { 0 }, canceled => sub { 0 }, advanced => sub {} });
}

sub ask_from_ {
    my ($o, $common, $l) = @_;
    ask_from_normalize($o, $common, $l);
    @$l or return 1;
    $common->{cancel} = '' if !defined wantarray();
    ask_from_real($o, $common, $l);
}
sub ask_from_no_check {
    my ($o, $common, $l) = @_;
    ask_from_normalize($o, $common, $l);
    $common->{cancel} = '' if !defined wantarray();
    my ($l1, $l2) = partition { !$_->{advanced} } @$l;
    $o->ask_fromW($common, $l1, $l2);
}
sub ask_from_real {
    my ($o, $common, $l) = @_;
    my ($l1, $l2) = partition { !$_->{advanced} } @$l;
    my $v = $o->ask_fromW($common, $l1, $l2);
    %$common = ();
    $v;
}


sub ask_browse_tree_info {
    my ($o, $title, $message, $common) = @_;
    $common->{interactive_help} ||= $common->{interactive_help_id} && $o->interactive_help_sub_get_id($common->{interactive_help_id});
    add2hash_($common, { ok => $::isWizard ? ($::Wizard_finished ? N("Finish") : N("Next")) : N("Ok"), 
			 cancel => $::isWizard ? N("Previous") : N("Cancel") });
    add2hash_($common, { title => $title, message => $message });
    add2hash_($common, { grep_allowed_to_toggle      => sub { @_ },
			 grep_unselected             => sub { grep { $common->{node_state}($_) eq 'unselected' } @_ },
			 check_interactive_to_toggle => sub { 1 },
			 toggle_nodes                => sub {
			     my ($set_state, @nodes) = @_;
			     my $new_state = !$common->{grep_unselected}($nodes[0]) ? 'selected' : 'unselected';
			     $set_state->($_, $new_state) foreach @nodes;
			 },
		       });
    $o->ask_browse_tree_info_refW($common);
}
sub ask_browse_tree_info_refW { #- default definition, do not use with too many items (memory consuming)
    my ($o, $common) = @_;
    my ($l, $v, $h) = ([], [], {});
    $common->{build_tree}(sub {
			      my ($node) = $common->{grep_allowed_to_toggle}(@_);
			      if (my $state = $node && $common->{node_state}($node)) {
				  push @$l, $node;
				  $state eq 'selected' and push @$v, $node;
				  $h->{$node} = $state eq 'selected';
			      }
			  }, 'flat');
    add2hash_($common, { list   => $l, #- TODO interactivity of toggle is missing
			 values => $v,
			 help   => sub { $common->{get_info}($_[0]) },
		       });
    my ($new_v) = $o->ask_many_from_list($common->{title}, $common->{message}, $common) or return;
    $common->{toggle_nodes}(sub {}, grep { ! delete $h->{$_} } @$new_v);
    $common->{toggle_nodes}(sub {}, grep { $h->{$_} } keys %$h);
    1;
}

sub wait_message {
    my ($o, $title, $message, $b_temp) = @_;

    my $w = $o->wait_messageW($title, [ N("Please wait"), deref($message) ]);
    push @tempory::objects, $w if $b_temp;
    my $b = before_leaving { $o->wait_message_endW($w) };

    #- enable access through set
    MDK::Common::Func::add_f4before_leaving(sub { $o->wait_message_nextW([ deref($_[1]) ], $w) }, $b, 'set');
    $b;
}

sub kill() {}



sub helper_separator_tree_to_tree {
    my ($separator, $list, $formatted_list) = @_;
    my $sep = quotemeta $separator;
    my $tree = {};
    
    each_index {
	my @l = split $sep;
	my $leaf = pop @l;
	my $node = $tree;
	foreach (@l) {
	    $node = $node->{$_} ||= do {
		my $r = {};
		push @{$node->{_order_}}, $_;
		$r;
	    };
	}
	push @{$node->{_leaves_}}, [ $leaf, $list->[$::i] ];
	();
    } @$formatted_list;

    $tree;
}


sub interactive_help_has_id {
    my ($_o, $id) = @_;
    exists $help::{$id};
}

sub interactive_help_get_id {
    my ($_o, @l) = @_;
    @l = map { 
	join("\n\n", map { s/\n/ /mg; $_ } split("\n\n", translate($help::{$_}->())))
    } grep { exists $help::{$_} } @l;
    join("\n\n\n", @l);
}

sub interactive_help_sub_get_id {
    my ($o, $id) = @_;
    $o->interactive_help_has_id($id) && sub { $o->interactive_help_get_id($id) };
}

sub interactive_help_sub_display_id {
    my ($o, $id) = @_;
    $o->interactive_help_has_id($id) && sub { $o->ask_warn(N("Help"), $o->interactive_help_get_id($id)) };
}

1;
\"%s\" trying to use an already used list, medium ignored" msgstr "" #: ../urpm.pm:214 ../urpm.pm:1240 ../urpm.pm:1250 #, c-format msgid "unable to access hdlist file of \"%s\", medium ignored" msgstr "" #: ../urpm.pm:217 ../urpm.pm:2398 #, c-format msgid "unable to access list file of \"%s\", medium ignored" msgstr "" #: ../urpm.pm:245 #, c-format msgid "trying to bypass existing medium \"%s\", avoiding" msgstr "" #: ../urpm.pm:253 #, c-format msgid "" "virtual medium \"%s\" should not have defined hdlist or list file, medium " "ignored" msgstr "" #: ../urpm.pm:258 #, c-format msgid "virtual medium \"%s\" should have a clear url, medium ignored" msgstr "" #: ../urpm.pm:267 #, c-format msgid "unable to find hdlist file for \"%s\", medium ignored" msgstr "" #: ../urpm.pm:274 #, c-format msgid "unable to find list file for \"%s\", medium ignored" msgstr "" #: ../urpm.pm:296 #, c-format msgid "inconsistent list file for \"%s\", medium ignored" msgstr "" #: ../urpm.pm:304 #, c-format msgid "unable to inspect list file for \"%s\", medium ignored" msgstr "" #: ../urpm.pm:344 #, c-format msgid "too many mount points for removable medium \"%s\"" msgstr "" #: ../urpm.pm:345 #, fuzzy, c-format msgid "taking removable device as \"%s\"" msgstr "Verwyderbare media" #: ../urpm.pm:349 #, c-format msgid "using different removable device [%s] for \"%s\"" msgstr "" #: ../urpm.pm:354 #, c-format msgid "Medium \"%s\" is an ISO image, will be mounted on-the-fly" msgstr "" #: ../urpm.pm:356 ../urpm.pm:359 #, c-format msgid "unable to retrieve pathname for removable medium \"%s\"" msgstr "" #: ../urpm.pm:384 #, fuzzy, c-format msgid "unable to write config file [%s]" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:388 #, fuzzy, c-format msgid "unable to write file [%s]" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:395 #, fuzzy, c-format msgid "write config file [%s]" msgstr "Partisionering het misluk: %s" #: ../urpm.pm:407 #, c-format msgid "Can't use parallel mode with use-distrib mode" msgstr "" #: ../urpm.pm:416 #, fuzzy, c-format msgid "unable to parse \"%s\" in file [%s]" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:426 #, c-format msgid "examining parallel handler in file [%s]" msgstr "" #: ../urpm.pm:436 #, c-format msgid "found parallel handler for nodes: %s" msgstr "" #: ../urpm.pm:440 #, c-format msgid "using associated media for parallel mode: %s" msgstr "" #: ../urpm.pm:444 #, fuzzy, c-format msgid "unable to use parallel option \"%s\"" msgstr " op pallelle poort #%s" #: ../urpm.pm:455 #, c-format msgid "" "--synthesis cannot be used with --media, --excludemedia, --sortmedia, --" "update or --parallel" msgstr "" #: ../urpm.pm:516 ../urpm.pm:542 ../urpm.pm:994 ../urpm.pm:1005 #: ../urpm.pm:1077 ../urpm.pm:1094 ../urpm.pm:1164 ../urpm.pm:1223 #: ../urpm.pm:1435 ../urpm.pm:1556 ../urpm.pm:1671 ../urpm.pm:1677 #: ../urpm.pm:1777 ../urpm.pm:1862 ../urpm.pm:1866 #, c-format msgid "examining synthesis file [%s]" msgstr "" #: ../urpm.pm:520 ../urpm.pm:535 ../urpm.pm:548 ../urpm.pm:997 ../urpm.pm:1008 #: ../urpm.pm:1083 ../urpm.pm:1089 ../urpm.pm:1169 ../urpm.pm:1227 #: ../urpm.pm:1439 ../urpm.pm:1560 ../urpm.pm:1665 ../urpm.pm:1683 #: ../urpm.pm:1872 #, c-format msgid "examining hdlist file [%s]" msgstr "" #: ../urpm.pm:530 ../urpm.pm:1001 #, c-format msgid "virtual medium \"%s\" is not local, medium ignored" msgstr "" #: ../urpm.pm:560 #, fuzzy, c-format msgid "Search start: %s end: %s" msgstr "Opsoek na geïnstalleerde lettertipes" #: ../urpm.pm:565 ../urpm.pm:1015 ../urpm.pm:1102 ../urpm.pm:1173 #: ../urpm.pm:1564 #, c-format msgid "problem reading hdlist or synthesis file of medium \"%s\"" msgstr "" #: ../urpm.pm:571 ../urpm.pm:1815 #, c-format msgid "performing second pass to compute dependencies\n" msgstr "" #: ../urpm.pm:586 #, fuzzy, c-format msgid "skipping package %s" msgstr "Installeer pakket %s" #: ../urpm.pm:599 #, fuzzy, c-format msgid "would install instead of upgrade package %s" msgstr "Probleme met Installasue van pakket %s" #: ../urpm.pm:610 ../urpm.pm:2211 ../urpm.pm:2275 ../urpm.pm:2844 #: ../urpm.pm:2958 #, fuzzy, c-format msgid "unable to open rpmdb" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:649 #, fuzzy, c-format msgid "medium \"%s\" already exists" msgstr "Rekening bestaan reeds\n" #: ../urpm.pm:656 #, c-format msgid "virtual medium needs to be local" msgstr "" #: ../urpm.pm:682 #, fuzzy, c-format msgid "added medium %s" msgstr "Voeg media by" #: ../urpm.pm:709 #, fuzzy, c-format msgid "unable to access first installation medium" msgstr "Probleme met skep van media." #: ../urpm.pm:713 #, c-format msgid "copying hdlists file..." msgstr "" #: ../urpm.pm:715 ../urpm.pm:1118 ../urpm.pm:1193 #, c-format msgid "...copying done" msgstr "" #: ../urpm.pm:716 ../urpm.pm:1119 ../urpm.pm:1268 ../urpm.pm:1327 #: ../urpm.pm:1503 ../urpm.pm:1510 #, fuzzy, c-format msgid "...copying failed" msgstr "Aanteken gevaal" #: ../urpm.pm:719 ../urpm.pm:743 ../urpm.pm:778 #, c-format msgid "unable to access first installation medium (no hdlists file found)" msgstr "" #: ../urpm.pm:726 #, fuzzy, c-format msgid "retrieving hdlists file..." msgstr "Maak /etc/hosts ...\n" #: ../urpm.pm:737 ../urpm.pm:1546 ../urpm.pm:2020 ../urpm.pm:2712 #: ../urpmi.addmedia:167 #, c-format msgid "...retrieving done" msgstr "" #: ../urpm.pm:739 ../urpm.pm:1530 ../urpm.pm:1539 ../urpm.pm:2023 #: ../urpm.pm:2714 ../urpmi.addmedia:169 #, fuzzy, c-format msgid "...retrieving failed: %s" msgstr "FAT-grootteverandering het gefaal: %s" #: ../urpm.pm:761 #, c-format msgid "invalid hdlist description \"%s\" in hdlists file" msgstr "" #: ../urpm.pm:815 #, c-format msgid "trying to select nonexistent medium \"%s\"" msgstr "" #: ../urpm.pm:817 #, c-format msgid "selecting multiple media: %s" msgstr "" #: ../urpm.pm:817 ../urpmi.update:94 #, c-format msgid "\"%s\"" msgstr "" #: ../urpm.pm:833 #, fuzzy, c-format msgid "removing medium \"%s\"" msgstr "Redigeer media \"%s\":" #: ../urpm.pm:884 #, fuzzy, c-format msgid "reconfiguring urpmi for media \"%s\"" msgstr "Konfigureer drukker \"%s\" ..." #: ../urpm.pm:913 #, fuzzy, c-format msgid "...reconfiguration failed" msgstr "Konfigurasie-lêer" #: ../urpm.pm:920 #, fuzzy, c-format msgid "reconfiguration done" msgstr "Bedienerkonfigurasie" #: ../urpm.pm:1055 #, c-format msgid "" "unable to access medium \"%s\",\n" "this could happen if you mounted manually the directory when creating the " "medium." msgstr "" #: ../urpm.pm:1106 #, c-format msgid "" "virtual medium \"%s\" should have valid source hdlist or synthesis, medium " "ignored" msgstr "" #: ../urpm.pm:1116 #, fuzzy, c-format msgid "copying description file of \"%s\"..." msgstr "in beskrywings" #: ../urpm.pm:1140 ../urpm.pm:1411 #, c-format msgid "computing md5sum of existing source hdlist (or synthesis)" msgstr "" #: ../urpm.pm:1189 #, c-format msgid "copying source hdlist (or synthesis) of \"%s\"..." msgstr "" #: ../urpm.pm:1203 #, c-format msgid "copy of [%s] failed (file is suspiciously small)" msgstr "" #: ../urpm.pm:1208 #, c-format msgid "computing md5sum of copied source hdlist (or synthesis)" msgstr "" #: ../urpm.pm:1210 #, fuzzy, c-format msgid "copy of [%s] failed (md5sum mismatch)" msgstr "Installasie het misluk" #: ../urpm.pm:1231 ../urpm.pm:1443 ../urpm.pm:1780 #, c-format msgid "problem reading synthesis file of medium \"%s\"" msgstr "" #: ../urpm.pm:1285 #, fuzzy, c-format msgid "reading rpm files from [%s]" msgstr "Fout met die lees van lêer %s" #: ../urpm.pm:1300 #, c-format msgid "no rpms read" msgstr "" #: ../urpm.pm:1310 #, c-format msgid "unable to read rpm files from [%s]: %s" msgstr "" #: ../urpm.pm:1315 #, c-format msgid "no rpm files found from [%s]" msgstr "" #: ../urpm.pm:1461 #, c-format msgid "retrieving source hdlist (or synthesis) of \"%s\"..." msgstr "" #: ../urpm.pm:1488 #, c-format msgid "found probed hdlist (or synthesis) as %s" msgstr "" #: ../urpm.pm:1537 #, c-format msgid "computing md5sum of retrieved source hdlist (or synthesis)" msgstr "" #: ../urpm.pm:1539 #, fuzzy, c-format msgid "md5sum mismatch" msgstr "Ongepaard" #: ../urpm.pm:1635 #, c-format msgid "retrieval of source hdlist (or synthesis) failed" msgstr "" #: ../urpm.pm:1642 #, fuzzy, c-format msgid "no hdlist file found for medium \"%s\"" msgstr "Kopieer die lêer vir media '%s'..." #: ../urpm.pm:1653 ../urpm.pm:1707 #, c-format msgid "file [%s] already used in the same medium \"%s\"" msgstr "" #: ../urpm.pm:1693 #, fuzzy, c-format msgid "unable to parse hdlist file of \"%s\"" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:1730 #, fuzzy, c-format msgid "unable to write list file of \"%s\"" msgstr "Laat \"%s\" toe om die lêer te skryf" #: ../urpm.pm:1737 #, fuzzy, c-format msgid "writing list file for medium \"%s\"" msgstr "Kopieer die lêer vir media '%s'..." #: ../urpm.pm:1739 #, c-format msgid "nothing written in list file for \"%s\"" msgstr "" #: ../urpm.pm:1754 #, fuzzy, c-format msgid "examining pubkey file of \"%s\"..." msgstr "Ondersoek medialêer '%s'....." #: ../urpm.pm:1761 #, fuzzy, c-format msgid "...imported key %s from pubkey file of \"%s\"" msgstr "Net die supergebruiker kan plaaslike pakkette installeer" #: ../urpm.pm:1764 #, fuzzy, c-format msgid "unable to import pubkey file of \"%s\"" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:1829 #, fuzzy, c-format msgid "reading headers from medium \"%s\"" msgstr "%s from media %s" #: ../urpm.pm:1834 #, c-format msgid "building hdlist [%s]" msgstr "" #: ../urpm.pm:1849 ../urpm.pm:1884 #, c-format msgid "" "Unable to build synthesis file for medium \"%s\". Your hdlist file may be " "corrupted." msgstr "" #: ../urpm.pm:1852 ../urpm.pm:1887 ../urpmi:303 #, c-format msgid "built hdlist synthesis file for medium \"%s\"" msgstr "" #: ../urpm.pm:1908 #, c-format msgid "found %d headers in cache" msgstr "" #: ../urpm.pm:1912 #, c-format msgid "removing %d obsolete headers in cache" msgstr "" #: ../urpm.pm:1966 #, fuzzy, c-format msgid "mounting %s" msgstr "Verwyder %s" #: ../urpm.pm:1988 #, fuzzy, c-format msgid "unmounting %s" msgstr "fout met onthegting van %s: %s" #: ../urpm.pm:2012 #, fuzzy, c-format msgid "invalid rpm file name [%s]" msgstr "in lêername" #: ../urpm.pm:2018 #, c-format msgid "retrieving rpm file [%s] ..." msgstr "" #: ../urpm.pm:2025 ../urpm.pm:2886 #, fuzzy, c-format msgid "unable to access rpm file [%s]" msgstr "Kan nie lêer %s oopmaak nie\n" #: ../urpm.pm:2030 #, fuzzy, c-format msgid "unable to register rpm file" msgstr "Laat \"%s\" toe om die lêer te skryf" #: ../urpm.pm:2033 #, fuzzy, c-format msgid "error registering local packages" msgstr "Daar was 'n fout met pakkette:" #: ../urpm.pm:2057 #, c-format msgid "Search" msgstr "Soek" #: ../urpm.pm:2148 #, fuzzy, c-format msgid "no package named %s" msgstr "Teruglus lêernaam: %s" #: ../urpm.pm:2151 ../urpme:92 #, fuzzy, c-format msgid "The following packages contain %s: %s" msgstr "Die volgende pakkette geïnstalleer word:\n" #: ../urpm.pm:2335 ../urpm.pm:2379 ../urpm.pm:2405 #, c-format msgid "there are multiple packages with the same rpm filename \"%s\"" msgstr "" #: ../urpm.pm:2390 #, fuzzy, c-format msgid "unable to correctly parse [%s] on value \"%s\"" msgstr "Net die supergebruiker kan plaaslike pakkette installeer" #: ../urpm.pm:2417 #, c-format msgid "" "medium \"%s\" uses an invalid list file:\n" " mirror is probably not up-to-date, trying to use alternate method" msgstr "" #: ../urpm.pm:2421 #, c-format msgid "medium \"%s\" does not define any location for rpm files" msgstr "" #: ../urpm.pm:2433 #, fuzzy, c-format msgid "package %s is not found." msgstr "%s is nie gevind nie...\n" #: ../urpm.pm:2473 ../urpm.pm:2488 ../urpm.pm:2512 ../urpm.pm:2527 #, fuzzy, c-format msgid "urpmi database locked" msgstr "RPM-databasisnavraag het misluk\n" #: ../urpm.pm:2579 ../urpm.pm:2582 ../urpm.pm:2612 #, c-format msgid "medium \"%s\" is not selected" msgstr "" #: ../urpm.pm:2608 #, c-format msgid "unable to read rpm file [%s] from medium \"%s\"" msgstr "" #: ../urpm.pm:2616 #, c-format msgid "inconsistent medium \"%s\" marked removable but not really" msgstr "" #: ../urpm.pm:2628 #, fuzzy, c-format msgid "unable to access medium \"%s\"" msgstr "Probleme met skep van media." #: ../urpm.pm:2690 #, c-format msgid "malformed input: [%s]" msgstr "" #: ../urpm.pm:2697 #, fuzzy, c-format msgid "retrieving rpm files from medium \"%s\"..." msgstr "Ondersoek die afgeleë medialêer '%s'..." #: ../urpm.pm:2817 #, c-format msgid "using process %d for executing transaction" msgstr "" #: ../urpm.pm:2848 #, c-format msgid "" "created transaction for installing on %s (remove=%d, install=%d, upgrade=%d)" msgstr "" #: ../urpm.pm:2851 #, fuzzy, c-format msgid "unable to create transaction" msgstr "Probleme met die skep van 'n ssh identiteit" #: ../urpm.pm:2858 #, fuzzy, c-format msgid "removing package %s" msgstr "Verwyder pakkette..." #: ../urpm.pm:2860 #, fuzzy, c-format msgid "unable to remove package %s" msgstr "Kan nie die bronpakette bekom nie." #: ../urpm.pm:2870 #, c-format msgid "adding package %s (id=%d, eid=%d, update=%d, file=%s)" msgstr "" #: ../urpm.pm:2873 #, fuzzy, c-format msgid "unable to install package %s" msgstr "Probleme met Installasue van pakket %s" #: ../urpm.pm:2933 #, fuzzy, c-format msgid "More information on package %s" msgstr "Meer inligting rakende pakket..." #: ../urpm.pm:3090 ../urpm.pm:3123 #, c-format msgid "due to missing %s" msgstr "deur %s wat soek is" #: ../urpm.pm:3091 ../urpm.pm:3121 #, c-format msgid "due to unsatisfied %s" msgstr "deur problematiese %s" #: ../urpm.pm:3092 #, c-format msgid "trying to promote %s" msgstr "probeer promosie van %s" #: ../urpm.pm:3093 #, c-format msgid "in order to keep %s" msgstr "om %s te kan behou" #: ../urpm.pm:3116 #, fuzzy, c-format msgid "in order to install %s" msgstr "om %s te kan behou" #: ../urpm.pm:3128 #, fuzzy, c-format msgid "due to conflicts with %s" msgstr "deur %s wat soek is" #: ../urpm.pm:3130 #, fuzzy, c-format msgid "unrequested" msgstr "Begin sodra gevra word" #: ../urpm.pm:3146 #, c-format msgid "Invalid signature (%s)" msgstr "" #: ../urpm.pm:3178 #, c-format msgid "Invalid Key ID (%s)" msgstr "" #: ../urpm.pm:3180 #, fuzzy, c-format msgid "Missing signature (%s)" msgstr "Ontbrekende velde" #: ../urpm.pm:3229 #, c-format msgid "examining MD5SUM file" msgstr "" #: ../urpm.pm:3238 #, c-format msgid "warning: md5sum for %s unavailable in MD5SUM file" msgstr "" #: ../urpm/args.pm:91 ../urpm/args.pm:98 #, c-format msgid "bad proxy declaration on command line\n" msgstr "" #: ../urpm/args.pm:230 #, fuzzy, c-format msgid "urpmq: cannot read rpm file \"%s\"\n" msgstr "kan nie kieslyslêer:%s lees nie" #: ../urpm/msg.pm:63 #, c-format msgid "Sorry, bad choice, try again\n" msgstr "Jammer, swak keuse, probeer weer\n" #: ../urpme:36 #, fuzzy, c-format msgid "" "urpme version %s\n" "Copyright (C) 1999-2005 Mandrakesoft.\n" "This is free software and may be redistributed under the terms of the GNU " "GPL.\n" "\n" "usage:\n" msgstr "" "mdkupdate uitgawe %s\n" "Kopiereg (C) %s Mandrakesoft.\n" "Hierdie is vry sagteware en mag versprei word onder die terme van die GNU " "GPL.\n" "\n" "gebruik:\n" #: ../urpme:41 ../urpmf:32 ../urpmi:76 ../urpmi.addmedia:47 #: ../urpmi.removemedia:45 ../urpmi.update:30 ../urpmq:43 #, c-format msgid " --help - print this help message.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpme:42 ../urpmi:83 #, fuzzy, c-format msgid " --auto - automatically select a package in choices.\n" msgstr "Wys outogeselekteerde pakkette." #: ../urpme:43 #, c-format msgid " --test - verify if the removal can be achieved correctly.\n" msgstr "" #: ../urpme:44 ../urpmi:97 ../urpmq:64 #, c-format msgid "" " --force - force invocation even if some packages do not exist.\n" msgstr "" #: ../urpme:45 ../urpmi:102 ../urpmq:65 #, c-format msgid " --parallel - distributed urpmi across machines of alias.\n" msgstr "" #: ../urpme:46 #, c-format msgid " --root - use another root for rpm removal.\n" msgstr "" #: ../urpme:47 #, c-format msgid "" " --use-distrib - configure urpmi on the fly from a distrib tree, useful\n" " to (un)install a chroot with --root option.\n" msgstr "" #: ../urpme:49 ../urpmi:135 ../urpmi.addmedia:79 ../urpmi.removemedia:50 #: ../urpmi.update:48 ../urpmq:90 #, c-format msgid " -v - verbose mode.\n" msgstr " -v - woordryke modus.\n" #: ../urpme:50 #, c-format msgid " -a - select all packages matching expression.\n" msgstr "" #: ../urpme:66 #, fuzzy, c-format msgid "Only superuser is allowed to remove packages" msgstr "Net die supergebruiker kan plaaslike pakkette installeer" #: ../urpme:87 #, fuzzy, c-format msgid "unknown packages" msgstr "Inligting rakende pakkette" #: ../urpme:87 #, fuzzy, c-format msgid "unknown package" msgstr "Onbekend" #: ../urpme:97 #, fuzzy, c-format msgid "removing package %s will break your system" msgstr "" "Jammer maat, nou wil jy jou Linux rekenaar vernietig:\n" "\n" #: ../urpme:99 #, fuzzy, c-format msgid "Nothing to remove" msgstr "Geen etiket om te verwyder nie!" #: ../urpme:103 #, fuzzy, c-format msgid "Checking to remove the following packages" msgstr "Slegs een van die volgende pakkette word benodig:" #: ../urpme:110 #, fuzzy, c-format msgid "" "To satisfy dependencies, the following %d packages will be removed (%d MB)" msgstr "" "Om die afhanklikhede na te kom, moet die volgende pakket(te) ook\n" "geïnstalleer word:\n" "\n" #: ../urpme:112 ../urpmi:423 ../urpmi:552 #, fuzzy, c-format msgid " (y/N) " msgstr " (J/n) " #: ../urpme:119 #, fuzzy, c-format msgid "Removing failed" msgstr "Aanteken gevaal" #: ../urpmf:27 #, fuzzy, c-format msgid "" "urpmf version %s\n" "Copyright (C) 2002-2004 Mandrakesoft.\n" "This is free software and may be redistributed under the terms of the GNU " "GPL.\n" "\n" "usage:\n" msgstr "" "mdkupdate uitgawe %s\n" "Kopiereg (C) %s Mandrakesoft.\n" "Hierdie is vry sagteware en mag versprei word onder die terme van die GNU " "GPL.\n" "\n" "gebruik:\n" #: ../urpmf:33 ../urpmi:77 ../urpmq:44 #, fuzzy, c-format msgid " --update - use only update media.\n" msgstr " --applet - loods Mandrakeupdate.\n" #: ../urpmf:34 ../urpmi:78 ../urpmq:45 #, c-format msgid " --media - use only the given media, separated by comma.\n" msgstr "" #: ../urpmf:35 ../urpmi:80 ../urpmq:47 #, c-format msgid " --excludemedia - do not use the given media, separated by comma.\n" msgstr "" #: ../urpmf:36 ../urpmi:81 ../urpmq:48 #, c-format msgid "" " --sortmedia - sort media according to substrings separated by comma.\n" msgstr "" #: ../urpmf:37 ../urpmq:49 #, c-format msgid " --synthesis - use the synthesis given instead of urpmi db.\n" msgstr "" #: ../urpmf:38 #, fuzzy, c-format msgid " --verbose - verbose mode.\n" msgstr " -v - woordryke modus.\n" #: ../urpmf:39 #, c-format msgid "" " --quiet - do not print tag name (default if no tag given on " "command\n" " line, incompatible with interactive mode).\n" msgstr "" #: ../urpmf:41 #, fuzzy, c-format msgid " --uniq - do not print identical lines.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:42 #, fuzzy, c-format msgid " --all - print all tags.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:43 #, fuzzy, c-format msgid " --name - print only package names.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:44 #, fuzzy, c-format msgid " --group - print tag group: group.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:45 #, fuzzy, c-format msgid " --size - print tag size: size.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:46 #, fuzzy, c-format msgid " --epoch - print tag epoch: epoch.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:47 #, c-format msgid " --summary - print tag summary: summary.\n" msgstr "" #: ../urpmf:48 #, c-format msgid " --description - print tag description: description.\n" msgstr "" #: ../urpmf:49 #, c-format msgid " --sourcerpm - print tag sourcerpm: source rpm.\n" msgstr "" #: ../urpmf:50 #, c-format msgid " --packager - print tag packager: packager.\n" msgstr "" #: ../urpmf:51 #, c-format msgid " --buildhost - print tag buildhost: build host.\n" msgstr "" #: ../urpmf:52 #, fuzzy, c-format msgid " --url - print tag url: url.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:53 #, c-format msgid " --provides - print tag provides: all provides.\n" msgstr "" #: ../urpmf:54 #, c-format msgid " --requires - print tag requires: all requires.\n" msgstr "" #: ../urpmf:55 #, fuzzy, c-format msgid " --files - print tag files: all files.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmf:56 #, c-format msgid " --conflicts - print tag conflicts: all conflicts.\n" msgstr "" #: ../urpmf:57 #, c-format msgid " --obsoletes - print tag obsoletes: all obsoletes.\n" msgstr "" #: ../urpmf:58 ../urpmi:117 ../urpmq:74 #, c-format msgid "" " --env - use specific environment (typically a bug\n" " report).\n" msgstr "" #: ../urpmf:60 #, c-format msgid " -i - ignore case distinctions in every pattern.\n" msgstr "" #: ../urpmf:61 ../urpmq:80 #, fuzzy, c-format msgid " -f - print version, release and arch with name.\n" msgstr " -v - woordryke modus.\n" #: ../urpmf:62 #, c-format msgid " -e - include perl code directly as perl -e.\n" msgstr "" #: ../urpmf:63 #, c-format msgid "" " -a - binary AND operator, true if both expression are true.\n" msgstr "" #: ../urpmf:64 #, c-format msgid "" " -o - binary OR operator, true if one expression is true.\n" msgstr "" #: ../urpmf:65 #, c-format msgid " ! - unary NOT, true if expression is false.\n" msgstr "" #: ../urpmf:66 #, c-format msgid " ( - left parenthesis to open group expression.\n" msgstr "" #: ../urpmf:67 #, c-format msgid " ) - right parenthesis to close group expression.\n" msgstr "" #: ../urpmf:119 #, c-format msgid "" "callback is :\n" "%s\n" msgstr "" #: ../urpmf:124 ../urpmi:198 ../urpmq:114 #, c-format msgid "using specific environment on %s\n" msgstr "" #: ../urpmf:156 #, c-format msgid "" "Note: since no media searched uses hdlists, urpmf was unable to return any " "result\n" msgstr "" #: ../urpmf:157 #, c-format msgid "You may want to use --name to search for package names.\n" msgstr "" #: ../urpmi:71 #, fuzzy, c-format msgid "" "urpmi version %s\n" "Copyright (C) 1999-2005 Mandrakesoft.\n" "This is free software and may be redistributed under the terms of the GNU " "GPL.\n" "\n" "usage:\n" msgstr "" "mdkupdate uitgawe %s\n" "Kopiereg (C) %s Mandrakesoft.\n" "Hierdie is vry sagteware en mag versprei word onder die terme van die GNU " "GPL.\n" "\n" "gebruik:\n" #: ../urpmi:79 ../urpmq:46 #, c-format msgid "" " --searchmedia - use only the given media to search requested (or updated) " "packages.\n" msgstr "" #: ../urpmi:82 #, c-format msgid " --synthesis - use the given synthesis instead of urpmi db.\n" msgstr "" #: ../urpmi:84 ../urpmq:50 #, c-format msgid "" " --auto-select - automatically select packages to upgrade the system.\n" msgstr "" #: ../urpmi:85 #, c-format msgid "" " --no-uninstall - never ask to uninstall a package, abort the " "installation.\n" msgstr "" #: ../urpmi:86 ../urpmq:52 #, c-format msgid "" " --keep - keep existing packages if possible, reject requested\n" " packages that leads to remove.\n" msgstr "" #: ../urpmi:88 #, c-format msgid "" " --split-level - split in small transaction if more than given packages\n" " are going to be installed or upgraded,\n" " default is %d.\n" msgstr "" #: ../urpmi:91 #, c-format msgid " --split-length - small transaction length, default is %d.\n" msgstr "" #: ../urpmi:92 ../urpmq:51 #, c-format msgid " --fuzzy - impose fuzzy search (same as -y).\n" msgstr "" #: ../urpmi:93 ../urpmq:60 #, c-format msgid " --src - next package is a source package (same as -s).\n" msgstr "" #: ../urpmi:94 #, c-format msgid " --install-src - install only source package (no binaries).\n" msgstr "" #: ../urpmi:95 #, c-format msgid " --clean - remove rpm from cache before anything else.\n" msgstr "" #: ../urpmi:96 #, c-format msgid " --noclean - keep rpm not used in cache.\n" msgstr "" #: ../urpmi:98 #, c-format msgid "" " --allow-nodeps - allow asking user to install packages without\n" " dependencies checking.\n" msgstr "" #: ../urpmi:100 #, c-format msgid "" " --allow-force - allow asking user to install packages without\n" " dependencies checking and integrity.\n" msgstr "" #: ../urpmi:103 #, c-format msgid " --root - use another root for rpm installation.\n" msgstr "" #: ../urpmi:104 #, c-format msgid "" " --use-distrib - configure urpmi on the fly from a distrib tree, useful\n" " to install a chroot with --root option.\n" msgstr "" #: ../urpmi:106 ../urpmi.addmedia:48 ../urpmi.update:31 ../urpmq:68 #, c-format msgid " --wget - use wget to retrieve distant files.\n" msgstr "" #: ../urpmi:107 ../urpmi.addmedia:49 ../urpmi.update:32 ../urpmq:69 #, c-format msgid " --curl - use curl to retrieve distant files.\n" msgstr "" #: ../urpmi:108 ../urpmi.addmedia:50 ../urpmi.update:33 #, c-format msgid " --limit-rate - limit the download speed.\n" msgstr "" #: ../urpmi:109 #, c-format msgid "" " --resume - resume transfer of partially-downloaded files\n" " (--no-resume disables it, default is disabled).\n" msgstr "" #: ../urpmi:111 ../urpmi.addmedia:51 ../urpmi.update:34 ../urpmq:70 #, c-format msgid "" " --proxy - use specified HTTP proxy, the port number is assumed\n" " to be 1080 by default (format is <proxyhost[:port]>).\n" msgstr "" #: ../urpmi:113 ../urpmi.addmedia:53 ../urpmi.update:36 ../urpmq:72 #, c-format msgid "" " --proxy-user - specify user and password to use for proxy\n" " authentication (format is <user:password>).\n" msgstr "" #: ../urpmi:115 #, c-format msgid "" " --bug - output a bug report in directory indicated by\n" " next arg.\n" msgstr "" #: ../urpmi:119 #, c-format msgid "" " --verify-rpm - verify rpm signature before installation\n" " (--no-verify-rpm disable it, default is enabled).\n" msgstr "" #: ../urpmi:121 #, c-format msgid "" " --test - verify if the installation can be achieved correctly.\n" msgstr "" #: ../urpmi:122 #, c-format msgid " --excludepath - exclude path separated by comma.\n" msgstr "" #: ../urpmi:123 #, c-format msgid " --excludedocs - exclude doc files.\n" msgstr "" #: ../urpmi:124 #, c-format msgid " --skip - packages which installation should be skipped\n" msgstr "" #: ../urpmi:125 #, c-format msgid "" " --more-choices - when several packages are found, propose more choices\n" " than the default.\n" msgstr "" #: ../urpmi:127 ../urpmi.addmedia:75 ../urpmi.update:41 #, c-format msgid " --norebuild - don't try to rebuild hdlist if not readable.\n" msgstr "" #: ../urpmi:128 #, c-format msgid " --strict-arch - upgrade only packages with the same architecture.\n" msgstr "" #: ../urpmi:129 ../urpmq:77 #, fuzzy, c-format msgid " -a - select all matches on command line.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi:130 #, c-format msgid " -p - allow search in provides to find package.\n" msgstr "" #: ../urpmi:131 #, c-format msgid " -P - do not search in provides to find package.\n" msgstr "" #: ../urpmi:132 ../urpmq:91 #, c-format msgid " -y - impose fuzzy search (same as --fuzzy).\n" msgstr "" #: ../urpmi:133 ../urpmq:88 #, c-format msgid " -s - next package is a source package (same as --src).\n" msgstr "" #: ../urpmi:134 ../urpmi.addmedia:78 ../urpmi.removemedia:49 #: ../urpmi.update:47 #, fuzzy, c-format msgid " -q - quiet mode.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi:136 #, c-format msgid " names or rpm files given on command line will be installed.\n" msgstr "" #: ../urpmi:179 #, c-format msgid "What can be done with binary rpm files when using --install-src" msgstr "" #: ../urpmi:188 #, fuzzy, c-format msgid "" "Directory [%s] already exists, please use another directory for bug report " "or delete it" msgstr "Groep bestaan alreeds, Gebruik asb. 'n ander Groepnaam" #: ../urpmi:189 #, c-format msgid "Unable to create directory [%s] for bug report" msgstr "" #: ../urpmi:192 ../urpmi:313 #, fuzzy, c-format msgid "Copying failed" msgstr "Aanteken gevaal" #: ../urpmi:209 #, fuzzy, c-format msgid "Only superuser is allowed to install packages" msgstr "Daar was 'n fout met die installasie van die pakkette:" #: ../urpmi:218 #, c-format msgid "" "Error: %s appears to be mounted read-only.\n" "Use --allow-force to force operation." msgstr "" #: ../urpmi:348 #, c-format msgid "What is your choice? (1-%d) " msgstr "Wat is u keuse (1-%d)" #: ../urpmi:373 #, c-format msgid "" "The following packages can't be installed because they depend on packages\n" "that are older than the installed ones:\n" "%s" msgstr "" #: ../urpmi:381 ../urpmi:399 #, fuzzy, c-format msgid "" "\n" "Continue?" msgstr "Gaan voort" #: ../urpmi:392 #, fuzzy, c-format msgid "" "Some package requested cannot be installed:\n" "%s" msgstr "Sommige pakkette kan nie geïnstalleer word nie" #: ../urpmi:412 #, fuzzy, c-format msgid "" "The installation cannot continue because the following packages\n" "have to be removed for others to be upgraded:\n" "%s\n" msgstr "" "Die volgende pakkette moet verwyder word om die ander te kan opgradeer:\n" "\n" "%s\n" "\n" "Kan ons voort gaan?" #: ../urpmi:417 #, fuzzy, c-format msgid "" "The following packages have to be removed for others to be upgraded:\n" "%s" msgstr "" "Die volgende pakkette moet verwyder word om die ander te kan opgradeer:\n" "\n" "%s\n" "\n" "Kan ons voort gaan?" #: ../urpmi:452 ../urpmi:463 #, fuzzy, c-format msgid "" "To satisfy dependencies, the following %d packages are going to be installed " "(%d MB)" msgstr "" "Om die afhanklikhede na te kom, moet die volgende pakket(te) ook\n" "geïnstalleer word:\n" "\n" #: ../urpmi:453 ../urpmi:464 #, fuzzy, c-format msgid "" "To satisfy dependencies, the following package is going to be installed (%d " "MB)" msgstr "" "Om die afhanklikhede na te kom, moet die volgende pakket(te) ook\n" "geïnstalleer word:\n" "\n" #: ../urpmi:459 #, fuzzy, c-format msgid "" "You need to be root to install the following dependencies:\n" "%s\n" msgstr "Jy moet stam wees om hierdie opdrag te gebruik !\n" #: ../urpmi:489 #, fuzzy, c-format msgid "Press Enter when ready..." msgstr "Druk ENTER wanneer u reg is..." #: ../urpmi:543 #, fuzzy, c-format msgid "The following packages have bad signatures" msgstr "Die volgende pakkette geïnstalleer word:\n" #: ../urpmi:544 #, fuzzy, c-format msgid "Do you want to continue installation ?" msgstr "Wil u op hierdie knoppie klik?" #: ../urpmi:584 #, fuzzy, c-format msgid "distributing %s" msgstr "Begin %s:" #: ../urpmi:595 #, fuzzy, c-format msgid "installing %s from %s" msgstr "%s word installeer\n" #: ../urpmi:597 #, fuzzy, c-format msgid "installing %s" msgstr "%s word installeer\n" #: ../urpmi:620 #, c-format msgid "Try installation without checking dependencies? (y/N) " msgstr "Moet ons 'n installasie sonder afhanklikheidstoetsing probeer? (j/N) " #: ../urpmi:639 #, c-format msgid "Try installation even more strongly (--force)? (y/N) " msgstr "Moet ons die installasie afdwing (--force) ? (j/N) " #: ../urpmi:680 #, fuzzy, c-format msgid "%d installation transactions failed" msgstr "installasie instruksies" #: ../urpmi:688 #, fuzzy, c-format msgid "Installation is possible" msgstr "Installasie probleem" #: ../urpmi:707 #, fuzzy, c-format msgid "restarting urpmi" msgstr "Begin slurpd: " #: ../urpmi.addmedia:38 #, c-format msgid "" "usage: urpmi.addmedia [options] <name> <url> [with <relative_path>]\n" "where <url> is one of\n" " [file:/]/<path> with <relative filename of hdlist>\n" " ftp://<login>:<password>@<host>/<path> with <relative filename of " "hdlist>\n" " ftp://<host>/<path> with <relative filename of hdlist>\n" " http://<host>/<path> with <relative filename of hdlist>\n" " removable://<path>\n" "\n" "and [options] are from\n" msgstr "" #: ../urpmi.addmedia:55 #, fuzzy, c-format msgid " --update - create an update medium.\n" msgstr " --applet - loods Mandrakeupdate.\n" #: ../urpmi.addmedia:56 #, c-format msgid " --probe-synthesis - try to find and use synthesis file.\n" msgstr "" #: ../urpmi.addmedia:57 #, c-format msgid " --probe-hdlist - try to find and use hdlist file.\n" msgstr "" #: ../urpmi.addmedia:58 #, c-format msgid "" " --no-probe - do not try to find any synthesis or\n" " hdlist file.\n" msgstr "" #: ../urpmi.addmedia:60 #, c-format msgid "" " --distrib - automatically create all media from an installation\n" " medium.\n" msgstr "" #: ../urpmi.addmedia:62 #, c-format msgid "" " --distrib-XXX - automatically create a medium for XXX part of a\n" " distribution, XXX may be main, contrib, updates or\n" " anything else that has been configured ;-)\n" msgstr "" #: ../urpmi.addmedia:65 #, c-format msgid "" " --from - use specified url for list of mirrors, the default is\n" " %s\n" msgstr "" #: ../urpmi.addmedia:67 #, c-format msgid "" " --version - use specified distribution version, the default is taken\n" " from the version of the distribution told by the\n" " installed mandrakelinux-release package.\n" msgstr "" #: ../urpmi.addmedia:70 #, c-format msgid "" " --arch - use specified architecture, the default is arch of\n" " mandrakelinux-release package installed.\n" msgstr "" #: ../urpmi.addmedia:72 #, c-format msgid "" " --virtual - create virtual media wich are always up-to-date,\n" " only file:// protocol is allowed.\n" msgstr "" #: ../urpmi.addmedia:74 ../urpmi.update:39 #, c-format msgid " --no-md5sum - disable MD5SUM file checking.\n" msgstr "" #: ../urpmi.addmedia:76 ../urpmi.removemedia:47 ../urpmi.update:45 #, fuzzy, c-format msgid " -c - clean headers cache directory.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi.addmedia:77 ../urpmi.update:46 #, fuzzy, c-format msgid " -f - force generation of hdlist files.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi.addmedia:116 #, fuzzy, c-format msgid "Only superuser is allowed to add media" msgstr "Net die supergebruiker kan plaaslike pakkette installeer" #: ../urpmi.addmedia:119 #, fuzzy, c-format msgid "Will create config file [%s]" msgstr "Kan nie lêer: %s skep nie" #: ../urpmi.addmedia:120 #, fuzzy, c-format msgid "Can't create config file [%s]" msgstr "Kan nie lêer: %s skep nie" #: ../urpmi.addmedia:149 #, c-format msgid "found version %s and arch %s ..." msgstr "" #: ../urpmi.addmedia:153 #, c-format msgid "cannot add updates of a cooker distribution\n" msgstr "" #: ../urpmi.addmedia:158 #, c-format msgid "retrieving mirrors at %s ..." msgstr "" #: ../urpmi.addmedia:211 #, c-format msgid "no need to give <relative path of hdlist> with --distrib" msgstr "" #: ../urpmi.addmedia:218 ../urpmi.addmedia:242 #, fuzzy, c-format msgid "unable to update medium \"%s\"\n" msgstr "Probleme met skep van media." #: ../urpmi.addmedia:229 #, fuzzy, c-format msgid "<relative path of hdlist> missing\n" msgstr "Relatiewe pad na die synthesis/hdlist:" #: ../urpmi.addmedia:231 #, c-format msgid "`with' missing for network media\n" msgstr "" #: ../urpmi.addmedia:240 #, fuzzy, c-format msgid "unable to create medium \"%s\"\n" msgstr "Probleme met skep van media." #: ../urpmi.removemedia:43 #, c-format msgid "" "usage: urpmi.removemedia [-a] <name> ...\n" "where <name> is a medium name to remove.\n" msgstr "" #: ../urpmi.removemedia:46 #, fuzzy, c-format msgid " -a - select all media.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi.removemedia:48 #, fuzzy, c-format msgid " -y - fuzzy match on media names.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi.removemedia:51 #, fuzzy, c-format msgid "" "\n" "unknown options '%s'\n" msgstr "%s: unrecognized option `--%s'\n" #: ../urpmi.removemedia:60 #, fuzzy, c-format msgid "Only superuser is allowed to remove media" msgstr "Net die supergebruiker kan plaaslike pakkette installeer" #: ../urpmi.removemedia:70 #, c-format msgid "nothing to remove (use urpmi.addmedia to add a media)\n" msgstr "" #: ../urpmi.removemedia:72 #, c-format msgid "" "the entry to remove is missing\n" "(one of %s)\n" msgstr "" #: ../urpmi.update:28 #, c-format msgid "" "usage: urpmi.update [options] <name> ...\n" "where <name> is a medium name to update.\n" msgstr "" #: ../urpmi.update:38 #, fuzzy, c-format msgid " --update - update only update media.\n" msgstr " --applet - loods Mandrakeupdate.\n" #: ../urpmi.update:40 #, c-format msgid " --force-key - force update of gpg key.\n" msgstr "" #: ../urpmi.update:42 #, c-format msgid " --ignore - don't update, mark the media as ignored.\n" msgstr "" #: ../urpmi.update:43 #, c-format msgid " --no-ignore - don't update, mark the media as enabled.\n" msgstr "" #: ../urpmi.update:44 #, fuzzy, c-format msgid " -a - select all non-removable media.\n" msgstr " -v - woordryke modus.\n" #: ../urpmi.update:64 #, fuzzy, c-format msgid "Only superuser is allowed to update media" msgstr "Net die supergebruiker kan plaaslike pakkette installeer" #: ../urpmi.update:72 #, c-format msgid "nothing to update (use urpmi.addmedia to add a media)\n" msgstr "" #: ../urpmi.update:90 #, c-format msgid "" "the entry to update is missing\n" "(one of %s)\n" msgstr "" #: ../urpmi.update:95 #, fuzzy, c-format msgid "ignoring media %s" msgstr "Redigeer media \"%s\":" #: ../urpmi.update:95 #, fuzzy, c-format msgid "enabling media %s" msgstr "%s word installeer\n" #: ../urpmq:38 #, fuzzy, c-format msgid "" "urpmq version %s\n" "Copyright (C) 2000-2005 Mandrakesoft.\n" "This is free software and may be redistributed under the terms of the GNU " "GPL.\n" "\n" "usage:\n" msgstr "" "mdkupdate uitgawe %s\n" "Kopiereg (C) %s Mandrakesoft.\n" "Hierdie is vry sagteware en mag versprei word onder die terme van die GNU " "GPL.\n" "\n" "gebruik:\n" #: ../urpmq:54 #, fuzzy, c-format msgid " --list - list available packages.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmq:55 #, c-format msgid " --list-media - list available media.\n" msgstr "" #: ../urpmq:56 #, c-format msgid " --list-url - list available media and their url.\n" msgstr "" #: ../urpmq:57 #, c-format msgid " --list-nodes - list available nodes when using --parallel.\n" msgstr "" #: ../urpmq:58 #, c-format msgid " --list-aliases - list available parallel aliases.\n" msgstr "" #: ../urpmq:59 #, c-format msgid "" " --dump-config - dump the config in form of urpmi.addmedia argument.\n" msgstr "" #: ../urpmq:61 #, c-format msgid "" " --headers - extract headers for package listed from urpmi db to\n" " stdout (root only).\n" msgstr "" #: ../urpmq:63 #, c-format msgid "" " --sources - give all source packages before downloading (root only).\n" msgstr "" #: ../urpmq:66 #, c-format msgid "" " --use-distrib - configure urpmi on the fly from a distrib tree.\n" " This permit to querying a distro.\n" msgstr "" #: ../urpmq:76 #, fuzzy, c-format msgid " --changelog - print changelog.\n" msgstr " --help - druk hierdie help boodskap.\n" #: ../urpmq:78 #, c-format msgid " -c - complete output with package to be removed.\n" msgstr "" #: ../urpmq:79 #, fuzzy, c-format msgid " -d - extend query to package dependencies.\n" msgstr " -v - woordryke modus.\n" #: ../urpmq:81 #, fuzzy, c-format msgid " -g - print groups with name also.\n" msgstr " -v - woordryke modus.\n" #: ../urpmq:82 #, c-format msgid " -i - print useful information in human readable form.\n" msgstr "" #: ../urpmq:83 #, fuzzy, c-format msgid " -l - list files in package.\n" msgstr " -v - woordryke modus.\n" #: ../urpmq:84 #, c-format msgid "" " -P - do not search in provides to find package (default).\n" msgstr "" #: ../urpmq:85 #, fuzzy, c-format msgid " -p - search in provides to find package.\n" msgstr " -v - woordryke modus.\n" #: ../urpmq:86 #, fuzzy, c-format msgid " -r - print version and release with name also.\n" msgstr " -v - woordryke modus.\n" #: ../urpmq:87 #, fuzzy, c-format msgid " -R - reverse search to what requires package.\n" msgstr " -v - woordryke modus.\n" #: ../urpmq:89 #, c-format msgid "" " -u - remove package if a more recent version is already " "installed.\n" msgstr "" #: ../urpmq:92 #, c-format msgid " -Y - like -y, but forces to match case-insensitively.\n" msgstr "" #: ../urpmq:93 #, c-format msgid " names or rpm files given on command line are queried.\n" msgstr "" #: ../urpmq:154 #, c-format msgid "--list-nodes can only be used with --parallel" msgstr "" #: ../urpmq:340 #, c-format msgid "skipping media %s: no hdlist\n" msgstr "" #: ../urpmq:402 #, fuzzy, c-format msgid "No filelist found\n" msgstr "Geen prente beskikbaar" #: ../urpmq:412 #, fuzzy, c-format msgid "No changelog found\n" msgstr "Geen beeld gevind nie" #, fuzzy #~ msgid "Unknown option %s" #~ msgstr "Onbekende konneksie tipe" #, fuzzy #~ msgid "No packages specified" #~ msgstr "Geen opdrag gespesifiseer nie"