summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/newt/form.c
blob: ad7520e95af6886d82bbd12cfec3eaec6ef2d285 (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
#include <unistd.h>
#include <slang.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>

#include "newt.h"
#include "newt_pr.h"


/****************************************************************************
    These forms handle vertical scrolling of components with a height of 1

    Horizontal scrolling won't work, and scrolling large widgets will fail
    miserably. It shouldn't be too hard to fix either of those if anyone
    cares to. I only use scrolling for listboxes and text boxes though so
    I didn't bother.
*****************************************************************************/

struct element {
    int top, left;		/* Actual, not virtual. These are translated */
    newtComponent co;		/* into actual through vertOffset */
};

struct fdInfo {
    int fd;
    int flags;
};

struct form {
    int numCompsAlloced;
    struct element * elements;
    int numComps;
    int currComp;
    int fixedHeight;
    int flags;
    int vertOffset;
    newtComponent vertBar, exitComp;
    const char * help;
    int numRows;
    int * hotKeys;
    int numHotKeys;
    int background;
    int beenSet;
    int numFds;
    struct fdInfo * fds;
    int maxFd;
    int timer;    /* in milliseconds */
    struct timeval lastTimeout;
    void * helpTag;
    newtCallback helpCb;
};

static void gotoComponent(struct form * form, int newComp);
static struct eventResult formEvent(newtComponent co, struct event ev);
static struct eventResult sendEvent(newtComponent comp, struct event ev);
static void formPlace(newtComponent co, int left, int top);

/* Global, ick */
static newtCallback helpCallback;

/* this isn't static as grid.c tests against it to find forms */
struct componentOps formOps = {
    newtDrawForm,
    formEvent,
    newtFormDestroy,
    formPlace,
    newtDefaultMappedHandler,
} ;

static inline int componentFits(newtComponent co, int compNum) {
    struct form * form = co->data;
    struct element * el = form->elements + compNum;

    if ((co->top + form->vertOffset) > el->top) return 0;
    if ((co->top + form->vertOffset + co->height) <
	    (el->top + el->co->height)) return 0;

    return 1;
}

newtComponent newtForm(newtComponent vertBar, void * help, int flags) {
    newtComponent co;
    struct form * form;

    co = malloc(sizeof(*co));
    form = malloc(sizeof(*form));
    co->data = form;
    co->width = 0;
    co->height = 0;
    co->top = -1;
    co->left = -1;
    co->isMapped = 0;

    co->takesFocus = 0;			/* we may have 0 components */
    co->ops = &formOps;

    form->help = help;
    form->flags = flags;
    form->numCompsAlloced = 5;
    form->numComps = 0;
    form->currComp = -1;
    form->vertOffset = 0;
    form->fixedHeight = 0;
    form->numRows = 0;
    form->numFds = 0;
    form->maxFd = 0;
    form->fds = NULL;
    form->beenSet = 0;
    form->elements = malloc(sizeof(*(form->elements)) * form->numCompsAlloced);

    form->background = COLORSET_WINDOW;
    form->hotKeys = malloc(sizeof(int));
    form->numHotKeys = 0;
    form->timer = 0;
    form->lastTimeout.tv_sec = form->lastTimeout.tv_usec = 0;
    if (!(form->flags & NEWT_FLAG_NOF12)) {
	newtFormAddHotKey(co, NEWT_KEY_F12);
    }

    if (vertBar)
	form->vertBar = vertBar;
    else
	form->vertBar = NULL;

    form->helpTag = help;
    form->helpCb = helpCallback;

    return co;
}

newtComponent newtFormGetCurrent(newtComponent co) {
    struct form * form = co->data;

    return form->elements[form->currComp].co;
}

void newtFormSetCurrent(newtComponent co, newtComponent subco) {
    struct form * form = co->data;
    int i, new;

    for (i = 0; i < form->numComps; i++) {
	 if (form->elements[i].co == subco) break;
    }

    if (form->elements[i].co != subco) return;
    new = i;

    if (co->isMapped && !componentFits(co, new)) {
	gotoComponent(form, -1);
	form->vertOffset = form->elements[new].top - co->top - 1;
	if (form->vertOffset > (form->numRows - co->height))
	    form->vertOffset = form->numRows - co->height;
    }

    gotoComponent(form, new);
}

void newtFormSetTimer(newtComponent co, int millisecs) {
    struct form * form = co->data;

    form->timer = millisecs;
    form->lastTimeout.tv_usec = 0;
    form->lastTimeout.tv_sec = 0;
}

void newtFormSetHeight(newtComponent co, int height) {
    struct form * form = co->data;

    form->fixedHeight = 1;
    co->height = height;
}

void newtFormSetWidth(newtComponent co, int width) {
    co->width = width;
}

void newtFormAddComponent(newtComponent co, newtComponent newco) {
    struct form * form = co->data;

    co->takesFocus = 1;

    if (form->numCompsAlloced == form->numComps) {
	form->numCompsAlloced += 5;
	form->elements = realloc(form->elements,
			    sizeof(*(form->elements)) * form->numCompsAlloced);
    }

    /* we grab real values for these a bit later */
    form->elements[form->numComps].left = -2;
    form->elements[form->numComps].top = -2;
    form->elements[form->numComps].co = newco;

    if (newco->takesFocus && form->currComp == -1)
	form->currComp = form->numComps;

    form->numComps++;
}

void newtFormAddComponents(newtComponent co, ...) {
    va_list ap;
    newtComponent subco;

    va_start(ap, co);

    while ((subco = va_arg(ap, newtComponent)))
	newtFormAddComponent(co, subco);

    va_end(ap);
}

static void formPlace(newtComponent co, int left, int top) {
    struct form * form = co->data;
    int vertDelta, horizDelta;
    struct element * el;
    int i;

    newtFormSetSize(co);

    vertDelta = top - co->top;
    horizDelta = left - co->left;
    co->top = top;
    co->left = left;

    for (i = 0, el = form->elements; i < form->numComps; i++, el++) {
	el->co->top += vertDelta;
	el->top += vertDelta;
	el->co->left += horizDelta;
	el->left += horizDelta;
    }
}

void newtDrawForm(newtComponent co) {
    struct form * form = co->data;
    struct element * el;
    int i;

    newtFormSetSize(co);

    SLsmg_set_color(form->background);
    newtClearBox(co->left, co->top, co->width, co->height);
    for (i = 0, el = form->elements; i < form->numComps; i++, el++) {
	/* the scrollbar *always* fits somewhere */
	if (el->co == form->vertBar) {
	    el->co->ops->mapped(el->co, 1);
	    el->co->ops->draw(el->co);
	} else {
	    /* only draw it if it'll fit on the screen vertically */
	    if (componentFits(co, i)) {
		el->co->top = el->top - form->vertOffset;
		el->co->ops->mapped(el->co, 1);
		el->co->ops->draw(el->co);
	    } else {
		el->co->ops->mapped(el->co, 0);
	    }
	}
    }

    if (form->vertBar)
	newtScrollbarSet(form->vertBar, form->vertOffset,
			 form->numRows - co->height);
}

static struct eventResult formEvent(newtComponent co, struct event ev) {
    struct form * form = co->data;
    newtComponent subco = form->elements[form->currComp].co;
    int new, wrap = 0;
    struct eventResult er;
    int dir = 0, page = 0;
    int i, num, found;
    struct element * el;

    er.result = ER_IGNORED;
    if (!form->numComps) return er;

    subco = form->elements[form->currComp].co;

    switch (ev.when) {
      case EV_EARLY:
	  if (ev.event == EV_KEYPRESS) {
	    if (ev.u.key == NEWT_KEY_TAB) {
		er.result = ER_SWALLOWED;
		dir = 1;
		wrap = 1;
	    } else if (ev.u.key == NEWT_KEY_UNTAB) {
		er.result = ER_SWALLOWED;
		dir = -1;
		wrap = 1;
	    }
	}

	if (form->numComps) {
	    i = form->currComp;
	    num = 0;
	    while (er.result == ER_IGNORED && num != form->numComps ) {
		er = form->elements[i].co->ops->event(form->elements[i].co, ev);

		num++;
		i++;
		if (i == form->numComps) i = 0;
	    }
	}

	break;

      case EV_NORMAL:
	  if (ev.event == EV_MOUSE) {
	      found = 0;
	      for (i = 0, el = form->elements; i < form->numComps; i++, el++) {
		  if ((el->co->top <= ev.u.mouse.y) &&
		      (el->co->top + el->co->height > ev.u.mouse.y) &&
		      (el->co->left <= ev.u.mouse.x) &&
		      (el->co->left + el->co->width > ev.u.mouse.x)) {
		      found = 1;
		      if (el->co->takesFocus) {
			  gotoComponent(form, i);
			  subco = form->elements[form->currComp].co;
		      }
		  }
		  /* If we did not find a co to send this event to, we
		     should just swallow the event here. */
	      }
	      if (!found) {
		  er.result = ER_SWALLOWED;

		  return er;
	      }
	  }
	er = subco->ops->event(subco, ev);
	switch (er.result) {
	  case ER_NEXTCOMP:
	    er.result = ER_SWALLOWED;
	    dir = 1;
	    break;

	  case ER_EXITFORM:
	    form->exitComp = subco;
	    break;

	  default:
	    break;
	}
	break;

      case EV_LATE:
	er = subco->ops->event(subco, ev);

	if (er.result == ER_IGNORED) {
	    switch (ev.u.key) {
	      case NEWT_KEY_UP:
	      case NEWT_KEY_LEFT:
	      case NEWT_KEY_BKSPC:
		er.result = ER_SWALLOWED;
		dir = -1;
		break;

	      case NEWT_KEY_DOWN:
	      case NEWT_KEY_RIGHT:
		er.result = ER_SWALLOWED;
		dir = 1;
		break;

	     case NEWT_KEY_PGUP:
		er.result = ER_SWALLOWED;
		dir = -1;
		page = 1;
		break;

	     case NEWT_KEY_PGDN:
		er.result = ER_SWALLOWED;
		dir = 1;
		page = 1;
		break;
	    }
	}
    }

    if (dir) {
	new = form->currComp;

	if (page) {
	    new += dir * co->height;
	    if (new < 0)
		new = 0;
	    else if (new >= form->numComps)
		new = (form->numComps - 1);

	    while (!form->elements[new].co->takesFocus)
		new = new - dir;
	} else {
	    do {
		new += dir;

		if (wrap) {
		    if (new < 0)
			new = form->numComps - 1;
		    else if (new >= form->numComps)
			new = 0;
		} else if (new < 0 || new >= form->numComps)
		    return er;
	    } while (!form->elements[new].co->takesFocus);
	}

	/* make sure this component is visible */
	if (!componentFits(co, new)) {
	    gotoComponent(form, -1);

	    if (dir < 0) {
		/* make the new component the first one */
		form->vertOffset = form->elements[new].top - co->top;
	    } else {
		/* make the new component the last one */
		form->vertOffset = (form->elements[new].top +
					form->elements[new].co->height) -
				    (co->top + co->height);
	    }

	    if (form->vertOffset < 0) form->vertOffset = 0;
	    if (form->vertOffset > (form->numRows - co->height))
		form->vertOffset = form->numRows - co->height;

	    newtDrawForm(co);
	}

	gotoComponent(form, new);
	er.result = ER_SWALLOWED;
    }

    return er;
}

/* this also destroys all of the components on the form */
void newtFormDestroy(newtComponent co) {
    newtComponent subco;
    struct form * form = co->data;
    int i;

    /* first, destroy all of the components */
    for (i = 0; i < form->numComps; i++) {
	subco = form->elements[i].co;
	if (subco->ops->destroy) {
	    subco->ops->destroy(subco);
	} else {
	    if (subco->data) free(subco->data);
	    free(subco);
	}
    }

    if (form->hotKeys) free(form->hotKeys);

    free(form->elements);
    free(form);
    free(co);
}

newtComponent newtRunForm(newtComponent co) {
    struct newtExitStruct es;

    newtFormRun(co, &es);
    if (es.reason == NEWT_EXIT_HOTKEY) {
	if (es.u.key == NEWT_KEY_F12) {
	    es.reason = NEWT_EXIT_COMPONENT;
	    es.u.co = co;
	} else {
	    return NULL;
	}
    }

    return es.u.co;
}

void newtFormAddHotKey(newtComponent co, int key) {
    struct form * form = co->data;

    form->numHotKeys++;
    form->hotKeys = realloc(form->hotKeys, sizeof(int) * form->numHotKeys);
    form->hotKeys[form->numHotKeys - 1] = key;
}

void newtFormSetSize(newtComponent co) {
    struct form * form = co->data;
    int delta, i;
    struct element * el;

    if (form->beenSet) return;

    form->beenSet = 1;

    if (!form->numComps) return;

    co->width = 0;
    if (!form->fixedHeight) co->height = 0;

    co->top = form->elements[0].co->top;
    co->left = form->elements[0].co->left;
    for (i = 0, el = form->elements; i < form->numComps; i++, el++) {
	if (el->co->ops == &formOps)
	    newtFormSetSize(el->co);

 	el->left = el->co->left;
 	el->top = el->co->top;

	if (co->left > el->co->left) {
	    delta = co->left - el->co->left;
	    co->left -= delta;
	    co->width += delta;
	}

	if (co->top > el->co->top) {
	    delta = co->top - el->co->top;
	    co->top -= delta;
	    if (!form->fixedHeight)
		co->height += delta;
	}

	if ((co->left + co->width) < (el->co->left + el->co->width))
	    co->width = (el->co->left + el->co->width) - co->left;

	if (!form->fixedHeight) {
	    if ((co->top + co->height) < (el->co->top + el->co->height))
		co->height = (el->co->top + el->co->height) - co->top;
	}

	if ((el->co->top + el->co->height - co->top) > form->numRows) {
	    form->numRows = el->co->top + el->co->height - co->top;
	}
    }
}

void newtFormRun(newtComponent co, struct newtExitStruct * es) {
    struct form * form = co->data;
    struct event ev;
    struct eventResult er;
    int key, i, max;
    int done = 0;
    fd_set readSet, writeSet;
    struct timeval nextTimeout, now, timeout;

    newtFormSetSize(co);
    /* draw all of the components */
    newtDrawForm(co);

    if (form->currComp == -1) {
	gotoComponent(form, 0);
    } else
	gotoComponent(form, form->currComp);

    while (!done) {
	newtRefresh();

	FD_ZERO(&readSet);
	FD_ZERO(&writeSet);
	FD_SET(0, &readSet);
	max = form->maxFd;

	for (i = 0; i < form->numFds; i++) {
	    if (form->fds[i].flags & NEWT_FD_READ)
		FD_SET(form->fds[i].fd, &readSet);
	    if (form->fds[i].flags & NEWT_FD_WRITE)
		FD_SET(form->fds[i].fd, &writeSet);
	}

	if (form->timer) {
	    /* Calculate when we next need to return with a timeout. Do
	       this inside the loop in case a callback resets the timer. */
	    if (!form->lastTimeout.tv_sec && !form->lastTimeout.tv_usec)
		gettimeofday(&form->lastTimeout, NULL);

	    nextTimeout.tv_sec = form->lastTimeout.tv_sec + 
		    (form->timer / 1000);
	    nextTimeout.tv_usec = form->lastTimeout.tv_usec + 
				    (form->timer % 1000) * 1000;

	    gettimeofday(&now, 0);

	    if (now.tv_sec > nextTimeout.tv_sec) {
		timeout.tv_sec = timeout.tv_usec = 0;
	    } else if (now.tv_sec == nextTimeout.tv_sec) {
		timeout.tv_sec = 0;
		if (now.tv_usec > nextTimeout.tv_usec)
		    timeout.tv_usec = 0;
		else
		    timeout.tv_usec = nextTimeout.tv_usec - now.tv_usec;
	    } else if (now.tv_sec < nextTimeout.tv_sec) {
		timeout.tv_sec = nextTimeout.tv_sec - now.tv_sec;
		if (now.tv_usec > nextTimeout.tv_usec)
		    timeout.tv_sec--,
		    timeout.tv_usec = nextTimeout.tv_usec + 1000000 -
					now.tv_usec;
		else 
		    timeout.tv_usec = nextTimeout.tv_usec - now.tv_usec;
	    }
	} else {
	    timeout.tv_sec = timeout.tv_usec = 0;
	}

	i = select(max + 1, &readSet, &writeSet, NULL, 
			form->timer ? &timeout : NULL);
	if (i < 0) continue;	/* ?? What should we do here? */

	if (i == 0) {
	    done = 1;
	    es->reason = NEWT_EXIT_TIMER;
	    gettimeofday(&form->lastTimeout, NULL);
	} else
	{
	    if (FD_ISSET(0, &readSet)) {

		key = newtGetKey();

		if (key == NEWT_KEY_RESIZE) {
		    /* newtResizeScreen(1); */
		    continue;
		}

		for (i = 0; i < form->numHotKeys; i++) {
		    if (form->hotKeys[i] == key) {
			es->reason = NEWT_EXIT_HOTKEY;
			es->u.key = key;
			done = 1;
			break;
		    }
		}

		if (key == NEWT_KEY_F1 && form->helpTag && form->helpCb)
		    form->helpCb(co, form->helpTag);

		if (!done) {
		    ev.event = EV_KEYPRESS;
		    ev.u.key = key;

		    er = sendEvent(co, ev);

		    if (er.result == ER_EXITFORM) {
			done = 1;
			es->reason = NEWT_EXIT_COMPONENT;
			es->u.co = form->exitComp;
		    }
		}
	    } else {
		es->reason = NEWT_EXIT_FDREADY;
		done = 1;
	    }
	}
    }
    newtRefresh();
}

static struct eventResult sendEvent(newtComponent co, struct event ev) {
    struct eventResult er;

    ev.when = EV_EARLY;
    er = co->ops->event(co, ev);

    if (er.result == ER_IGNORED) {
	ev.when = EV_NORMAL;
	er = co->ops->event(co, ev);
    }

    if (er.result == ER_IGNORED) {
	ev.when = EV_LATE;
	er = co->ops->event(co, ev);
    }

    return er;
}

static void gotoComponent(struct form * form, int newComp) {
    struct event ev;

    if (form->currComp != -1) {
	ev.event = EV_UNFOCUS;
	sendEvent(form->elements[form->currComp].co, ev);
    }

    form->currComp = newComp;

    if (form->currComp != -1) {
	ev.event = EV_FOCUS;
	ev.when = EV_NORMAL;
	sendEvent(form->elements[form->currComp].co, ev);
    }
}

void newtComponentAddCallback(newtComponent co, newtCallback f, void * data) {
    co->callback = f;
    co->callbackData = data;
}

void newtComponentTakesFocus(newtComponent co, int val) {
    co->takesFocus = val;
}

void newtFormSetBackground(newtComponent co, int color) {
    struct form * form = co->data;

    form->background = color;
}

void newtFormWatchFd(newtComponent co, int fd, int fdFlags) {
    struct form * form = co->data;

    form->fds = realloc(form->fds, (form->numFds + 1) * sizeof(*form->fds));
    form->fds[form->numFds].fd = fd;
    form->fds[form->numFds++].flags = fdFlags;
    if (form->maxFd < fd) form->maxFd = fd;
}

void newtSetHelpCallback(newtCallback cb) {
    helpCallback = cb;
}
c">\n" #: ../rurpmi:8 ../urpmi:223 #, c-format msgid "Only superuser is allowed to install packages" msgstr "Само администратор може да инсталира пакете" #: ../rurpmi:15 #, c-format msgid "Running urpmi in restricted mode..." msgstr "" #: ../urpm.pm:71 #, c-format msgid "unknown protocol defined for %s" msgstr "непознати протокол дефинисан за %s" #: ../urpm.pm:104 #, c-format msgid "no webfetch found, supported webfetch are: %s\n" msgstr "webfetch није пронађен, подржани webfetch-ови су: %s\n" #: ../urpm.pm:120 #, c-format msgid "unable to handle protocol: %s" msgstr "не могу да подржим протокол: %s" #: ../urpm.pm:211 #, c-format msgid "medium \"%s\" trying to use an already used hdlist, medium ignored" msgstr "" "медиј \"%s\" покушава да користи hdlist која је већ коришћена, медиј ће бити " "игнорисан" #: ../urpm.pm:212 #, c-format msgid "medium \"%s\" trying to use an already used list, medium ignored" msgstr "" "медиј \"%s\" покушава да користи листу која је већ употребљена, медиј је " "игнорисан" #: ../urpm.pm:225 ../urpm.pm:1294 ../urpm.pm:1304 #, c-format msgid "unable to access hdlist file of \"%s\", medium ignored" msgstr "не могу да приступим hdlist фајлу за \"%s\", медиј је игнорисан" #: ../urpm.pm:228 ../urpm.pm:2485 #, c-format msgid "unable to access list file of \"%s\", medium ignored" msgstr "не могу да приступим фајлу листе за \"%s\", медиј игнорисан" #: ../urpm.pm:258 #, c-format msgid "trying to bypass existing medium \"%s\", avoiding" msgstr "покушавам да премостим постојећи медиј \"%s\", избегавам" #: ../urpm.pm:266 #, c-format msgid "" "virtual medium \"%s\" should not have defined hdlist or list file, medium " "ignored" msgstr "" "виртуални медиј \"%s\" не би требао да има дефинисиану hdlist или листу " "фајлова, игноришем медиј" #: ../urpm.pm:271 #, c-format msgid "virtual medium \"%s\" should have a clear url, medium ignored" msgstr "виртулени медиј \"%s\" би требао да има чист url, игноришем медиј" #: ../urpm.pm:280 #, c-format msgid "unable to find hdlist file for \"%s\", medium ignored" msgstr "не могу да пронађем hdlist датотеку за \"%s\", медијум је игнорисан" #: ../urpm.pm:287 #, c-format msgid "unable to find list file for \"%s\", medium ignored" msgstr "немогу да пронађем датотеку листе за \"%s\", медијум је игнорисан" #: ../urpm.pm:311 #, c-format msgid "inconsistent list file for \"%s\", medium ignored" msgstr "некохерентна датотека листе за \"%s\", медиј је игнорисан" #: ../urpm.pm:321 #, c-format msgid "unable to inspect list file for \"%s\", medium ignored" msgstr "не могу да истражим датотеку листе за \"%s\", медиј је игнорисан" #: ../urpm.pm:361 #, c-format msgid "too many mount points for removable medium \"%s\"" msgstr "превише тачака монтирања за преносни медиј \"%s\"" #: ../urpm.pm:362 #, c-format msgid "taking removable device as \"%s\"" msgstr "узимам преносни уређај као \"%s\"" #: ../urpm.pm:365 #, c-format msgid "Medium \"%s\" is an ISO image, will be mounted on-the-fly" msgstr "" #: ../urpm.pm:368 #, c-format msgid "using different removable device [%s] for \"%s\"" msgstr "користећи различит преносни уређај или [%s] за \"%s\"" #: ../urpm.pm:373 ../urpm.pm:376 #, c-format msgid "unable to retrieve pathname for removable medium \"%s\"" msgstr "не могу да добавим путању за преносни медиј \"%s\"" #: ../urpm.pm:402 #, c-format msgid "unable to write config file [%s]" msgstr "не могу да извршим упис у конфигурациону датотеку [%s]" #: ../urpm.pm:412 #, c-format msgid "wrote config file [%s]" msgstr "уписујем у конфигурациону датотеку [%s]" #: ../urpm.pm:424 #, c-format msgid "Can't use parallel mode with use-distrib mode" msgstr "Не могу да користим паралелни мод са use-distrib модом" #: ../urpm.pm:434 #, c-format msgid "unable to parse \"%s\" in file [%s]" msgstr "Не могу да парсирам \"%s\" у фајл [%s]" #: ../urpm.pm:446 #, c-format msgid "examining parallel handler in file [%s]" msgstr "испитујем паралелни држач у фајлу [%s]" #: ../urpm.pm:457 #, c-format msgid "found parallel handler for nodes: %s" msgstr "пронађен паралелни држач ѕа нодове: %s" #: ../urpm.pm:461 #, c-format msgid "using associated media for parallel mode: %s" msgstr "користим додељени медиј за паралелни мод: %s" #: ../urpm.pm:465 #, c-format msgid "unable to use parallel option \"%s\"" msgstr "не могу да користим паралелну опцију \"%s\"" #: ../urpm.pm:473 #, c-format msgid "there doesn't seem to be devices in the chroot in \"%s\"" msgstr "" #: ../urpm.pm:479 #, c-format msgid "" "--synthesis cannot be used with --media, --excludemedia, --sortmedia, --" "update or --parallel" msgstr "" "--synthesis се не може користити са --media, --excludemedia, --sortmedia, --" "update или --parallel" #: ../urpm.pm:540 ../urpm.pm:566 ../urpm.pm:1048 ../urpm.pm:1059 #: ../urpm.pm:1131 ../urpm.pm:1148 ../urpm.pm:1218 ../urpm.pm:1277 #: ../urpm.pm:1492 ../urpm.pm:1616 ../urpm.pm:1733 ../urpm.pm:1739 #: ../urpm.pm:1842 ../urpm.pm:1927 ../urpm.pm:1931 #, c-format msgid "examining synthesis file [%s]" msgstr "испитујем synthesis фајл [%s]" #: ../urpm.pm:544 ../urpm.pm:559 ../urpm.pm:572 ../urpm.pm:1051 #: ../urpm.pm:1062 ../urpm.pm:1137 ../urpm.pm:1143 ../urpm.pm:1223 #: ../urpm.pm:1281 ../urpm.pm:1496 ../urpm.pm:1620 ../urpm.pm:1727 #: ../urpm.pm:1745 ../urpm.pm:1937 #, c-format msgid "examining hdlist file [%s]" msgstr "испитујем hdlist фајл [%s]" #: ../urpm.pm:554 ../urpm.pm:1055 #, c-format msgid "virtual medium \"%s\" is not local, medium ignored" msgstr "виртуални медиј \"%s\" није локални, игноришем медиј" #: ../urpm.pm:584 #, fuzzy, c-format msgid "Search start: %s end: %s" msgstr "Тражи инсталиране фонтове" #: ../urpm.pm:589 ../urpm.pm:1069 ../urpm.pm:1156 ../urpm.pm:1227 #: ../urpm.pm:1624 #, c-format msgid "problem reading hdlist or synthesis file of medium \"%s\"" msgstr "проблем са читањем hdlist или synthesis фајла за медиј \"%s\"" #: ../urpm.pm:596 ../urpm.pm:1880 #, c-format msgid "performing second pass to compute dependencies\n" msgstr "сада се проверавају међузависности пакета\n" #: ../urpm.pm:612 #, c-format msgid "skipping package %s" msgstr "прескачем пакет %s" #: ../urpm.pm:625 #, c-format msgid "would install instead of upgrade package %s" msgstr "ће инсталирати уместо ажурирати пакет %s" #: ../urpm.pm:636 ../urpm.pm:2292 ../urpm.pm:2353 ../urpm.pm:2542 #: ../urpm.pm:2944 ../urpm.pm:3066 #, c-format msgid "unable to open rpmdb" msgstr "не могу да отворим rpmdb" #: ../urpm.pm:676 #, c-format msgid "medium \"%s\" already exists" msgstr "медиј \"%s\" већ постоји" #: ../urpm.pm:683 #, c-format msgid "virtual medium needs to be local" msgstr "виртуални медиј мора да буде локални" #: ../urpm.pm:710 #, c-format msgid "added medium %s" msgstr "додани медиј %s" #: ../urpm.pm:752 #, c-format msgid "unable to access first installation medium" msgstr "не могу да приступим првом инсталационом медију" #: ../urpm.pm:756 #, c-format msgid "copying hdlists file..." msgstr "копирам hdlist фајл..." #: ../urpm.pm:758 ../urpm.pm:1172 ../urpm.pm:1247 #, c-format msgid "...copying done" msgstr "...копирање завршено" #: ../urpm.pm:759 ../urpm.pm:1173 ../urpm.pm:1322 ../urpm.pm:1381 #: ../urpm.pm:1561 ../urpm.pm:1568 #, c-format msgid "...copying failed" msgstr "...копирање није успело" #: ../urpm.pm:762 ../urpm.pm:787 ../urpm.pm:826 #, c-format msgid "unable to access first installation medium (no hdlists file found)" msgstr "" "не могу да приступим првом инсталационом медију (није пронађен hdlists фајл)" #: ../urpm.pm:769 #, c-format msgid "retrieving hdlists file..." msgstr "добављам hdlists фајл..." #: ../urpm.pm:781 ../urpm.pm:1606 ../urpm.pm:2096 ../urpm.pm:2812 #, c-format msgid "...retrieving done" msgstr "... добављање завршено" #: ../urpm.pm:783 ../urpm.pm:1589 ../urpm.pm:1599 ../urpm.pm:2099 #: ../urpm.pm:2814 #, c-format msgid "...retrieving failed: %s" msgstr "...повраћај неуспео: %s" #: ../urpm.pm:807 #, c-format msgid "invalid hdlist description \"%s\" in hdlists file" msgstr "неправилан hdlist опис \"%s\" и hdlists фајлу" #: ../urpm.pm:863 #, c-format msgid "trying to select nonexistent medium \"%s\"" msgstr "покушавам да селектујем непостојећи медиј \"%s\"" #: ../urpm.pm:865 #, c-format msgid "selecting multiple media: %s" msgstr "покушавам да селектујем вишеструки медиј: %s" #: ../urpm.pm:881 #, c-format msgid "removing medium \"%s\"" msgstr "уклањам медиј \"%s\"" #: ../urpm.pm:932 #, fuzzy, c-format msgid "reconfiguring urpmi for media \"%s\"" msgstr "добављам rpm фајлове ѕа медиј \"%s\"..." #: ../urpm.pm:961 #, fuzzy, c-format msgid "...reconfiguration failed" msgstr "Конфигурација менија сачувана" #: ../urpm.pm:968 #, fuzzy, c-format msgid "reconfiguration done" msgstr "Подешавање сервера" #: ../urpm.pm:1109 #, c-format msgid "" "unable to access medium \"%s\",\n" "this could happen if you mounted manually the directory when creating the " "medium." msgstr "" "не могу да приступим медију \"%s\",\n" "ово се може десити уколико сте ручно монтирали директоријум приликом " "креирања медија." #: ../urpm.pm:1160 #, c-format msgid "" "virtual medium \"%s\" should have valid source hdlist or synthesis, medium " "ignored" msgstr "" "виртуални медиј \"%s\" би требао да има исправан source hdlist или " "synthesis, игноришем медиј" #: ../urpm.pm:1170 #, c-format msgid "copying description file of \"%s\"..." msgstr "копирам описни фајл за \"%s\"..." #: ../urpm.pm:1194 ../urpm.pm:1468 #, c-format msgid "computing md5sum of existing source hdlist (or synthesis)" msgstr "прорачунавам md5sum постојеће source hdlist (или synthesis)" #: ../urpm.pm:1243 #, c-format msgid "copying source hdlist (or synthesis) of \"%s\"..." msgstr "копирање изворне hdlist (или synthesis) за \"%s\"..." #: ../urpm.pm:1257 #, c-format msgid "copy of [%s] failed (file is suspiciously small)" msgstr "" #: ../urpm.pm:1262 #, c-format msgid "computing md5sum of copied source hdlist (or synthesis)" msgstr "прорачунавам md5sum копиране source hdlist (или synthesis)" #: ../urpm.pm:1264 #, fuzzy, c-format msgid "copy of [%s] failed (md5sum mismatch)" msgstr "копирање [%s] неуспело" #: ../urpm.pm:1285 ../urpm.pm:1500 ../urpm.pm:1845 #, c-format msgid "problem reading synthesis file of medium \"%s\"" msgstr "проблем са читањем synthesis фајла за медиј \"%s\"" #: ../urpm.pm:1339 #, c-format msgid "reading rpm files from [%s]" msgstr "читам rpm фајлове са [%s]" #: ../urpm.pm:1354 #, c-format msgid "no rpms read" msgstr "" #: ../urpm.pm:1364 #, c-format msgid "unable to read rpm files from [%s]: %s" msgstr "не могу да прочитам rpm фајлове са [%s]: %s" #: ../urpm.pm:1369 #, c-format msgid "no rpm files found from [%s]" msgstr "нема rpm датотека на [%s]" #: ../urpm.pm:1518 #, c-format msgid "retrieving source hdlist (or synthesis) of \"%s\"..." msgstr "добављам изорни hdlist (или synthesis) за \"%s\"..." #: ../urpm.pm:1546 #, c-format msgid "found probed hdlist (or synthesis) as %s" msgstr "пронађена тестирана hdlist (или synthesis) као %s" #: ../urpm.pm:1596 #, fuzzy, c-format msgid "computing md5sum of retrieved source hdlist (or synthesis)" msgstr "прорачунавам md5sum копиране source hdlist (или synthesis)" #: ../urpm.pm:1599 #, c-format msgid "md5sum mismatch" msgstr "md5sum не одговара" #: ../urpm.pm:1697 #, fuzzy, c-format msgid "retrieval of source hdlist (or synthesis) failed" msgstr "добављам изорни hdlist (или synthesis) за \"%s\"..." #: ../urpm.pm:1704 #, c-format msgid "no hdlist file found for medium \"%s\"" msgstr "није пронађена hdlist датотека за медиј \"%s\"" #: ../urpm.pm:1715 ../urpm.pm:1769 #, c-format msgid "file [%s] already used in the same medium \"%s\"" msgstr "фајл [%s] је већ корисштен за исти медиј \"%s\"" #: ../urpm.pm:1755 #, c-format msgid "unable to parse hdlist file of \"%s\"" msgstr "не могу да парсирам hdlist датотеку за \"%s\"" #: ../urpm.pm:1794 #, c-format msgid "unable to write list file of \"%s\"" msgstr "не могу да упишем датотеку листе за \"%s\"" #: ../urpm.pm:1802 #, c-format msgid "writing list file for medium \"%s\"" msgstr "уписујем листу фајлова за медиј \"%s\"" #: ../urpm.pm:1804 #, c-format msgid "nothing written in list file for \"%s\"" msgstr "нема шта да се упише у датотеку листе за \"%s\"" #: ../urpm.pm:1819 #, c-format msgid "examining pubkey file of \"%s\"..." msgstr "испитукем фајл са јавним кључем за \"%s\"..." #: ../urpm.pm:1826 #, c-format msgid "...imported key %s from pubkey file of \"%s\"" msgstr "..импортовани кључ %s од јавног кључа за \"%s\"" #: ../urpm.pm:1829 #, c-format msgid "unable to import pubkey file of \"%s\"" msgstr "не могу да импортујем јавни кључ за \"%s\"" #: ../urpm.pm:1894 #, c-format msgid "reading headers from medium \"%s\"" msgstr "читам хедере са медија \"%s\"" #: ../urpm.pm:1899 #, c-format msgid "building hdlist [%s]" msgstr "креирам hdlist [%s]" #: ../urpm.pm:1914 ../urpm.pm:1949 #, c-format msgid "" "Unable to build synthesis file for medium \"%s\". Your hdlist file may be " "corrupted." msgstr "" #: ../urpm.pm:1917 ../urpm.pm:1952 ../urpmi:317 #, c-format msgid "built hdlist synthesis file for medium \"%s\"" msgstr "креирам hdlist симтезну датотеку за медиј \"%s\"" #: ../urpm.pm:1975 #, c-format msgid "found %d headers in cache" msgstr "пронађено %d хедера у кеш меморији" #: ../urpm.pm:1979 #, c-format msgid "removing %d obsolete headers in cache" msgstr "уклањам %d obsolete хедере у кеш меморији" #: ../urpm.pm:2035 #, c-format msgid "mounting %s" msgstr "монтирам %s" #: ../urpm.pm:2057 #, c-format msgid "unmounting %s" msgstr "демонтирам %s" #: ../urpm.pm:2081 #, c-format msgid "invalid rpm file name [%s]" msgstr "погрешно име rpm датотеке [%s]" #: ../urpm.pm:2087 #, c-format msgid "retrieving rpm file [%s] ..." msgstr "добављам rpm фајл [%s] ..." #: ../urpm.pm:2101 #, c-format msgid "unable to access rpm file [%s]" msgstr "не могу да приступим rpm датотеци [%s]" #: ../urpm.pm:2106 #, c-format msgid "unable to register rpm file" msgstr "не могу да региструјем rpm фајл" #: ../urpm.pm:2109 #, c-format msgid "error registering local packages" msgstr "грешка при регистровању локалних пакета" #: ../urpm.pm:2133 #, c-format msgid "Search" msgstr "Тражи" #: ../urpm.pm:2220 #, c-format msgid "no package named %s" msgstr "Нема пакета са именом %s" #: ../urpm.pm:2222 ../urpme:94 #, c-format msgid "The following packages contain %s: %s" msgstr "Следећи пакети садрже %s: %s" #: ../urpm.pm:2416 ../urpm.pm:2462 ../urpm.pm:2493 #, c-format msgid "there are multiple packages with the same rpm filename \"%s\"" msgstr "постоји више пакета са истим именом rpm датотеке \"%s\"" #: ../urpm.pm:2476 #, c-format msgid "unable to correctly parse [%s] on value \"%s\"" msgstr "не могу да исправно парсирам [%s] за вредност \"%s\"" #: ../urpm.pm:2509 #, c-format msgid "" "medium \"%s\" uses an invalid list file:\n" " mirror is probably not up-to-date, trying to use alternate method" msgstr "" "медиј \"%s\" користи фајл са погрешном листом:\n" " мирор вероватно није ажуриран, покушавам да користим алтернативни метод" #: ../urpm.pm:2513 #, c-format msgid "medium \"%s\" does not define any location for rpm files" msgstr "медиј \"%s\" не дефинише ни једну локацију за rpm фајлове" #: ../urpm.pm:2525 #, c-format msgid "package %s is not found." msgstr "пакет %s није пронађен." #: ../urpm.pm:2583 ../urpm.pm:2597 ../urpm.pm:2617 ../urpm.pm:2631 #, c-format msgid "urpmi database locked" msgstr "urpmi база података закључана" #: ../urpm.pm:2683 ../urpm.pm:2688 ../urpm.pm:2714 #, c-format msgid "medium \"%s\" is not selected" msgstr "медиј \"%s\" није изабран" #: ../urpm.pm:2710 #, c-format msgid "unable to read rpm file [%s] from medium \"%s\"" msgstr "не могу да прочитам rpm датотеку [%s] са медија \"%s\"" #: ../urpm.pm:2718 #, c-format msgid "inconsistent medium \"%s\" marked removable but not really" msgstr "" "некохерентан медиј \"%s\" је означен као преносни али то није у стварности" #: ../urpm.pm:2730 #, c-format msgid "unable to access medium \"%s\"" msgstr "не могу да приступим медију \"%s\"" #: ../urpm.pm:2789 #, c-format msgid "malformed input: [%s]" msgstr "погрешан унос: [%s]" #: ../urpm.pm:2796 #, c-format msgid "retrieving rpm files from medium \"%s\"..." msgstr "добављам rpm фајлове ѕа медиј \"%s\"..." #: ../urpm.pm:2917 #, c-format msgid "using process %d for executing transaction" msgstr "користим процес %d за извршење трансакције" #: ../urpm.pm:2948 #, c-format msgid "" "created transaction for installing on %s (remove=%d, install=%d, upgrade=%d)" msgstr "" "креирана трансакција за инсталирање на %s (уклони=%d, инсталирај=%d, " "ажурирај=%d)" #: ../urpm.pm:2951 #, c-format msgid "unable to create transaction" msgstr "не могу да креирам трансакцију" #: ../urpm.pm:2959 #, c-format msgid "removing package %s" msgstr "уклањам пакет %s" #: ../urpm.pm:2961 #, c-format msgid "unable to remove package %s" msgstr "не могу да уклоним пакет %s" #: ../urpm.pm:2973 #, fuzzy, c-format msgid "unable to extract rpm from delta-rpm package %s" msgstr "не могу да уклоним пакет %s" #: ../urpm.pm:2979 #, c-format msgid "adding package %s (id=%d, eid=%d, update=%d, file=%s)" msgstr "додајем пакет %s (id=%d, eid=%d, update=%d, file=%s)" #: ../urpm.pm:2982 #, c-format msgid "unable to install package %s" msgstr "не могу да инсталирам пакет %s" #: ../urpm.pm:3041 #, fuzzy, c-format msgid "More information on package %s" msgstr "Додатне информације о пакету..." #: ../urpm.pm:3206 ../urpm.pm:3239 #, c-format msgid "due to missing %s" msgstr "због не постојања %s" #: ../urpm.pm:3207 ../urpm.pm:3237 #, c-format msgid "due to unsatisfied %s" msgstr "због не задовољеног %s" #: ../urpm.pm:3208 #, c-format msgid "trying to promote %s" msgstr "покушавам да прикажем %s" #: ../urpm.pm:3209 #, c-format msgid "in order to keep %s" msgstr "да бих задржао %s" #: ../urpm.pm:3232 #, c-format msgid "in order to install %s" msgstr "да би инсталирао %s" #: ../urpm.pm:3243 #, c-format msgid "due to conflicts with %s" msgstr "због конфликта са %s" #: ../urpm.pm:3244 #, c-format msgid "unrequested" msgstr "незахтевано" #: ../urpm.pm:3260 #, c-format msgid "Invalid signature (%s)" msgstr "Неисправан потпис (%s)" #: ../urpm.pm:3292 #, c-format msgid "Invalid Key ID (%s)" msgstr "Погрешан ID кључа(%s)" #: ../urpm.pm:3294 #, c-format msgid "Missing signature (%s)" msgstr "Недостаје потпис (%s)" #: ../urpm.pm:3343 #, c-format msgid "examining MD5SUM file" msgstr "испитујем MD5SUM фајл" #: ../urpm.pm:3354 #, c-format msgid "warning: md5sum for %s unavailable in MD5SUM file" msgstr "" #: ../urpm.pm:3376 #, c-format msgid "This operation is forbidden while running in restricted mode" msgstr "" #: ../urpm/args.pm:93 ../urpm/args.pm:102 #, c-format msgid "bad proxy declaration on command line\n" msgstr "лоша proxy-декларација у командној линији\n" #: ../urpm/args.pm:242 #, c-format msgid "urpmq: cannot read rpm file \"%s\"\n" msgstr "urpmq: не могу да прочитам rpm датотеку \"%s\"\n" #: ../urpm/msg.pm:82 #, c-format msgid "Sorry, bad choice, try again\n" msgstr "Погрешан избор, пробајте поново\n" #: ../urpme:38 #, fuzzy, c-format msgid "" "urpme version %s\n" "Copyright (C) 1999-2005 Mandriva.\n" "This is free software and may be redistributed under the terms of the GNU " "GPL.\n" "\n" "usage:\n" msgstr "" "urpmq верзија %s\n" "Copyright (C) 2002-2004 Mandriva.\n" "Ово је бесплатан софтвер и може бити редистрибуиран под условима GNU GPL.\n" "\n" "употреба:\n" #: ../urpme:43 ../urpmf:32 ../urpmi:79 ../urpmi.addmedia:43 #: ../urpmi.removemedia:48 ../urpmi.update:30 ../urpmq:43 #, c-format msgid " --help - print this help message.\n" msgstr " --help - приказује овај екран о помоћи.\n" #: ../urpme:44 ../urpmi:86 #, c-format msgid " --auto - automatically select a package in choices.\n" msgstr " --auto - аутоматски селектује пакете од понуђеног.\n" #: ../urpme:45 #, fuzzy, c-format msgid " --test - verify if the removal can be achieved correctly.\n" msgstr "" " --test - проверава да ли се може извести исправна инсталација.\n" #: ../urpme:46 ../urpmi:101 ../urpmq:64 #, c-format msgid "" " --force - force invocation even if some packages do not exist.\n" msgstr "" " --force - приморава на инвокацију чак и ако неки пакети не " "постоје.\n" #: ../urpme:47 ../urpmi:106 ../urpmq:65 #, c-format msgid " --parallel - distributed urpmi across machines of alias.\n" msgstr " --parallel - дистрибуирани urpmi преко машина са надимком.\n" #: ../urpme:48 #, fuzzy, c-format msgid " --root - use another root for rpm removal.\n" msgstr " --curl - користи још један root за rpm инсталацију.\n" #: ../urpme:49 #, fuzzy, 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 "" " --use-distrib - подешава urpmi у лету са distrib стабла.\n" " Ова опција дозвољава испитивање дистрибуције.\n" #: ../urpme:51 ../urpmi:139 ../urpmi.addmedia:74 ../urpmi.removemedia:53 #: ../urpmi.update:48 ../urpmq:92 #, c-format msgid " -v - verbose mode.\n" msgstr " -v - verbose режим.\n" #: ../urpme:52 #, c-format msgid " -a - select all packages matching expression.\n" msgstr " -a - изабери све пакете који одговарају изразу.\n" #: ../urpme:68 #, fuzzy, c-format msgid "Only superuser is allowed to remove packages" msgstr "Само администратор може да инсталира пакете" #: ../urpme:89 #, c-format msgid "unknown packages" msgstr "непознати пакети" #: ../urpme:89 #, c-format msgid "unknown package" msgstr "непознати пакет" #: ../urpme:99 ../urpmi:433 #, c-format msgid "removing package %s will break your system" msgstr "уклањање пакета %s ће нарушити Ваш систем" #: ../urpme:102 #, c-format msgid "Nothing to remove" msgstr "Нема ничега што би се могло уклонити" #: ../urpme:106 #, c-format msgid "Checking to remove the following packages" msgstr "Проверавам како бих уклонио следеће пакете" #: ../urpme:113 #, fuzzy, c-format msgid "" "To satisfy dependencies, the following %d packages will be removed (%d MB)" msgstr "Ради задовољења зависности, следећи пакети ће бити уклоњени (%d MB)" #: ../urpme:115 ../urpmi:452 ../urpmi:581 #, c-format msgid " (y/N) " msgstr " (д/Н) " #: ../urpme:122 #, c-format msgid "Removing failed" msgstr "Уклањање није успело" #: ../urpmf:27 #, c-format msgid "" "urpmf version %s\n" "Copyright (C) 2002-2004 Mandriva.\n" "This is free software and may be redistributed under the terms of the GNU " "GPL.\n" "\n" "usage:\n" msgstr "" "urpmf верзија %s\n" "Copyright (C) 2002-2004 Mandriva.\n" "Ово је бесплатан софтвер и може бити редистрибуиран под условима GNU GPL.\n" "\n" "употреба:\n" #: ../urpmf:33 ../urpmi:80 ../urpmq:44 #, c-format msgid " --update - use only update media.\n" msgstr " --update - користи само update медиј.\n" #: ../urpmf:34 ../urpmi:81 ../urpmq:45 #, c-format msgid " --media - use only the given media, separated by comma.\n" msgstr " --media - користи само дати медиј, одвојен зарезом.\n" #: ../urpmf:35 ../urpmi:83 ../urpmq:47 #, c-format msgid " --excludemedia - do not use the given media, separated by comma.\n" msgstr " --excludemedia - не користи дати медиј, одвојен зарезом.\n" #: ../urpmf:36 ../urpmi:84 ../urpmq:48 #, c-format msgid "" " --sortmedia - sort media according to substrings separated by comma.\n" msgstr "" " --sortmedia - сортира медије на основу подстрингова одвојених зарезом.\n" #: ../urpmf:37 ../urpmq:49 #, c-format msgid " --synthesis - use the synthesis given instead of urpmi db.\n" msgstr " --synthesis - користи дати synthesis уместо urpmi-јеве базе.\n" #: ../urpmf:38 #, c-format msgid " --verbose - verbose mode.\n" msgstr " -verbose - verbose режим.\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 "" " --quiet - не приказује има тага (стандардна опција уколико није\n" " дат таг у команди линија, некомпатибилна са " "интерактивним\n" " модом).\n" #: ../urpmf:41 #, c-format msgid " --uniq - do not print identical lines.\n" msgstr " --uniq - не приказује идентичне линије.\n" #: ../urpmf:42 #, c-format msgid " --all - print all tags.\n" msgstr " --all - приказује све тагове.\n" #: ../urpmf:43 #, fuzzy, c-format msgid " --name - print only package names.\n" msgstr " --all - приказује све тагове.\n" #: ../urpmf:44 #, c-format msgid " --group - print tag group: group.\n" msgstr " --group - приказује таг групе: група.\n" #: ../urpmf:45 #, c-format msgid " --size - print tag size: size.\n" msgstr " --size - приказује таг величине: величина.\n" #: ../urpmf:46 #, c-format msgid " --epoch - print tag epoch: epoch.\n" msgstr " --size - приказује таг величине: величина.\n" #: ../urpmf:47 #, c-format msgid " --summary - print tag summary: summary.\n" msgstr " --summary - приказује таг сажетка: сажетак.\n" #: ../urpmf:48 #, c-format msgid " --description - print tag description: description.\n" msgstr " --description - приказује таг описа: опис.\n" #: ../urpmf:49 #, c-format msgid " --sourcerpm - print tag sourcerpm: source rpm.\n" msgstr " --sourcerpm - приказује таг sourcerpm: source rpm.\n" #: ../urpmf:50 #, c-format msgid " --packager - print tag packager: packager.\n" msgstr " --packager - приказује таг packager: packager.\n" #: ../urpmf:51 #, c-format msgid " --buildhost - print tag buildhost: build host.\n" msgstr " --buildhost - приказује таг buildhost: build host.\n" #: ../urpmf:52 #, c-format msgid " --url - print tag url: url.\n" msgstr " --url - приказује таг url: url.\n" #: ../urpmf:53 #, c-format msgid " --provides - print tag provides: all provides.\n" msgstr " --provides - приказује таг обезбеђује: све обезбеђује.\n" #: ../urpmf:54 #, c-format msgid " --requires - print tag requires: all requires.\n" msgstr " --requires - приказује таг захтева: сви захтеви\n" #: ../urpmf:55 #, c-format msgid " --files - print tag files: all files.\n" msgstr " --files - приказује таг фајлове: све фајлове.\n" #: ../urpmf:56 #, c-format msgid " --conflicts - print tag conflicts: all conflicts.\n" msgstr " --conflicts - приказује таг конфликата: сви конфликти.\n" #: ../urpmf:57 #, c-format msgid " --obsoletes - print tag obsoletes: all obsoletes.\n" msgstr " --obsoletes - приказује таг вишак: сви вишкови (у више реда).\n" #: ../urpmf:58 ../urpmi:121 ../urpmq:74 #, c-format msgid "" " --env - use specific environment (typically a bug\n" " report).\n" msgstr "" " --env - користи специфично окружење (типично извештај о грешци).\n" #: ../urpmf:60 #, c-format msgid " -i - ignore case distinctions in every pattern.\n" msgstr " -i - игнорише разлику у карактеру у било којој шеми.\n" #: ../urpmf:61 ../urpmq:81 #, c-format msgid " -f - print version, release and arch with name.\n" msgstr "" " -f - приказује верзију, издање и архитектуру, укључујући и " "име.\n" #: ../urpmf:62 #, c-format msgid " -e - include perl code directly as perl -e.\n" msgstr " -e - укључује перл код директно као perl -e.\n" #: ../urpmf:63 #, c-format msgid "" " -a - binary AND operator, true if both expression are true.\n" msgstr "" " -a - инарни AND оператор, истинит уколико су оба израза " "истинита.\n" #: ../urpmf:64 #, c-format msgid "" " -o - binary OR operator, true if one expression is true.\n" msgstr "" " -o - бинарни OR оператор, истинит уколико је један израз " "тачан.\n" #: ../urpmf:65 #, c-format msgid " ! - unary NOT, true if expression is false.\n" msgstr " ! - бинарни NOT, истинит уколико је израз погрешан.\n" #: ../urpmf:66 #, c-format msgid " ( - left parenthesis to open group expression.\n" msgstr " ( - лева заграда за отоврање групе израза.\n" #: ../urpmf:67 #, c-format msgid " ) - right parenthesis to close group expression.\n" msgstr " ) - десна заграда за затварање групе израза.\n" #: ../urpmf:119 #, c-format msgid "" "callback is:\n" "%s\n" msgstr "" "повратни је :\n" "%s\n" #: ../urpmf:124 ../urpmi:212 ../urpmq:116 #, c-format msgid "using specific environment on %s\n"