summaryrefslogtreecommitdiffstats
path: root/perl-install/printer/main.pm
blob: 6ff1163eb3651360e87b76ba699fb863c2eb38d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
package printer::main;

# $Id$

use strict;

use common;
use run_program;
use printer::data;
use printer::services;
use printer::default;
use printer::gimp;
use printer::cups;
use printer::office;
use printer::detect;
use services;

use vars qw(@ISA @EXPORT);

@ISA = qw(Exporter);
@EXPORT = qw(%printer_type %printer_type_inv);

#-location of the printer database in an installed system
my $PRINTER_DB_FILE = "/usr/share/foomatic/db/compiled/overview.xml";

#-Did we already read the subroutines of /usr/sbin/ptal-init?
my $ptalinitread = 0;

our %printer_type = (
    N("Local printer")                              => "LOCAL",
    N("Remote printer")                             => "REMOTE",
    N("Printer on remote CUPS server")              => "CUPS",
    N("Printer on remote lpd server")               => "LPD",
    N("Network printer (TCP/Socket)")               => "SOCKET",
    N("Printer on SMB/Windows 95/98/NT server")     => "SMB",
    N("Printer on NetWare server")                  => "NCP",
    N("Enter a printer device URI")                 => "URI",
    N("Pipe job into a command")                    => "POSTPIPE"
);

our %printer_type_inv = reverse %printer_type;

our %thedb;

#------------------------------------------------------------------------------

sub spooler {
    # LPD is taken from the menu for the moment because the classic LPD is
    # highly unsecure. Depending on how the GNU lpr development is going on
    # LPD support can be reactivated by uncommenting the following line.

    #return @spooler_inv{qw(cups lpd lprng pdq)};

    # LPRng is not officially supported any more since Mandrake 9.0, so
    # show it only in the spooler menu when it was manually installed.
    return map { $spoolers{$_}{long_name} } qw(cups pdq), if_(files_exist(qw(/usr/lib/filters/lpf /usr/sbin/lpd)), 'lprng');
}

sub printer_type($) {
    my ($printer) = @_;
    for ($printer->{SPOOLER}) {
	/cups/  && return @printer_type_inv{qw(LOCAL LPD SOCKET SMB), if_($::expert, qw(URI))};
	/lpd/   && return @printer_type_inv{qw(LOCAL LPD SOCKET SMB NCP), if_($::expert, qw(POSTPIPE URI))};
	/lprng/ && return @printer_type_inv{qw(LOCAL LPD SOCKET SMB NCP), if_($::expert, qw(POSTPIPE URI))};
	/pdq/   && return @printer_type_inv{qw(LOCAL LPD SOCKET), if_($::expert, qw(URI))};
    }
}

sub SIGHUP_daemon {
    my ($service) = @_;
    if ($service eq "cupsd") { $service = "cups" };
    # PDQ has no daemon, exit.
    if ($service eq "pdq") { return 1 };
    # CUPS needs auto-correction for its configuration
    run_program::rooted($::prefix, "/usr/sbin/correctcupsconfig") if $service eq "cups";
    # Name of the daemon
    my %daemons = (
			    "lpr" => "lpd",
			    "lpd" => "lpd",
			    "lprng" => "lpd",
			    "cups" => "cupsd",
			    "devfs" => "devfsd",
			    );
    my $daemon = $daemons{$service};
    $daemon = $service unless defined $daemon;
#    if ($service eq "cups") {
#	# The current CUPS (1.1.13) dies on SIGHUP, do the normal restart.
#	printer::services::restart($service);
#	# CUPS needs some time to come up.
#	printer::services::wait_for_cups();
#    } else {

    # Send the SIGHUP
    run_program::rooted($::prefix, "/usr/bin/killall", "-HUP", $daemon);
    if ($service eq "cups") {
	# CUPS needs some time to come up.
	printer::services::wait_for_cups();
    }

    return 1;
}


sub assure_device_is_available_for_cups {
    # Checks whether CUPS already "knows" a certain port, it does not
    # know it usually when the appropriate kernel module is loaded
    # after CUPS was started or when the printer is turned on after
    # CUPS was started. CUPS 1.1.12 and newer refuses to set up queues
    # on devices which it does not know, it points these queues to
    # file:/dev/null instead. Restart CUPS if necessary to assure that
    # CUPS knows the device.
    my ($device) = @_;
    my ($result, $i);
    for ($i = 0; $i < 3; $i++) {
	local *F; 
	open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . 
	    "/bin/sh -c \"export LC_ALL=C; /usr/sbin/lpinfo -v\" |" or
	    die "Could not run \"lpinfo\"!";
	while (my $line = <F>) {
	    if ($line =~ /$device/) { # Found a line containing the device
		                      # name, so CUPS knows it.
		close F;
		return 1;
	    }
	}
	close F;
	$result = SIGHUP_daemon("cups");
    }
    return $result;
}


sub spooler_in_security_level {
    # Was the current spooler already added to the current security level?
    my ($spooler, $level) = @_;
    my $sp;
    $sp = $spooler eq "lpr" || $spooler eq "lprng" ? "lpd" : $spooler;
    my $file = "$::prefix/etc/security/msec/server.$level";
    if (-f $file) {
	local *F; 
	open F, "< $file" or return 0;
	while (my $line = <F>) {
	    if ($line =~ /^\s*$sp\s*$/) {
		close F;
		return 1;
	    }
	}
	close F;
    }
    return 0;
}

sub add_spooler_to_security_level {
    my ($spooler, $level) = @_;
    my $sp;
    $sp = $spooler eq "lpr" || $spooler eq "lprng" ? "lpd" : $spooler;
    my $file = "$::prefix/etc/security/msec/server.$level";
    if (-f $file) {
	   eval { append_to_file($file, "$sp\n") } or return 0;
    }
    return 1;
}

sub pdq_panic_button {
    my $setting = $_[0];
    if (-f "$::prefix/usr/sbin/pdqpanicbutton") {
        run_program::rooted($::prefix, "/usr/sbin/pdqpanicbutton", "--$setting")
	    or die "Could not $setting PDQ panic buttons!";
    }
}

sub copy_printer_params($$) {
    my ($from, $to) = @_;
    map { $to->{$_} = $from->{$_} } grep { $_ ne 'configured' } keys %$from; 
    #- avoid cycles-----------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
}

sub getinfo($) {
    my ($prefix) = @_;
    my $printer = {};

    $::prefix = $prefix;

    # Initialize $printer data structure
    resetinfo($printer);

    return $printer;
}

#------------------------------------------------------------------------------
sub resetinfo($) {
    my ($printer) = @_;
    $printer->{QUEUE} = "";
    $printer->{OLD_QUEUE} = "";
    $printer->{OLD_CHOICE} = "";
    $printer->{ARGS} = "";
    $printer->{DBENTRY} = "";
    $printer->{DEFAULT} = "";
    $printer->{currentqueue} = {};
    # -check which printing system was used previously and load the information
    # -about its queues
    read_configured_queues($printer);
}

sub read_configured_queues($) {
    my ($printer) = @_;
    my @QUEUES;
    # Get the default spooler choice from the config file
    $printer->{SPOOLER} ||= printer::default::get_spooler();
    if (!$printer->{SPOOLER}) {
	#- Find the first spooler where there are queues
	foreach my $spooler (qw(cups pdq lprng lpd)) {
	    #- Is the spooler's daemon running?
	    my $service = $spooler;
	    if ($service eq "lprng") {
		$service = "lpd";
	    }
	    if ($service ne "pdq") {
		next unless services::is_service_running($service);
		# daemon is running, spooler found
		$printer->{SPOOLER} = $spooler;
	    }
	    #- poll queue info 
	    local *F; 
	    open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . 
		"foomatic-configure -P -q -s $spooler |" or
		    die "Could not run foomatic-configure";
	    eval join('', <F>); 
	    close F;
	    if ($service eq "pdq") {
		#- Have we found queues? PDQ has no damon, so we consider
		#- it in use when there are defined printer queues
		if ($#QUEUES != -1) {
		    $printer->{SPOOLER} = $spooler;
		    last;
		}
	    } else {
		#- For other spoolers we have already found a running
		#- daemon when we have arrived here
		last;
	    }
	}
    } else {
	#- Poll the queues of the current default spooler
	local *F; 
	open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . 
	    "foomatic-configure -P -q -s $printer->{SPOOLER} |" or
		die "Could not run foomatic-configure";
	eval join('', <F>); 
	close F;
    }
    $printer->{configured} = {};
    my $i;
    my $N = $#QUEUES + 1;
    for ($i = 0;  $i < $N; $i++) {
	$printer->{configured}{$QUEUES[$i]{queuedata}{queue}} = 
	    $QUEUES[$i];
	if (!$QUEUES[$i]{make} || !$QUEUES[$i]{model}) {
	    if ($printer->{SPOOLER} eq "cups") {
		$printer->{OLD_QUEUE} = $QUEUES[$i]{queuedata}{queue};
		my $descr = get_descr_from_ppd($printer);
		$descr =~ m/^([^\|]*)\|([^\|]*)(\|.*|)$/;
		$printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{make} ||= $1;
		$printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{model} ||= $2;
		# Read out which PPD file was originally used to set up this
		# queue
		local *F;
		if (open F, "< $::prefix/etc/cups/ppd/$QUEUES[$i]{queuedata}{queue}.ppd") {
		    while (my $line = <F>) {
			if ($line =~ /^\*%MDKMODELCHOICE:(.+)$/) {
			    $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{ppd} = $1;
			}
		    }
		    close F;
		}
		# Mark that we have a CUPS queue but do not know the name
		# the PPD file in /usr/share/cups/model
		if (!$printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{ppd}) {
		    $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{ppd} = '1';
		}
		$printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{driver} = 'PPD';
		$printer->{OLD_QUEUE} = "";
	    }
	    $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{make} ||= "";
	    $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{model} ||= N("Unknown model");
	} else {
	    $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{make} = $QUEUES[$i]{make};
	    $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{model} = $QUEUES[$i]{model};
	}
	# Fill in "options" field
	if (my $args = $printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{args}) {
	    my @options;
	    foreach my $arg (@{$args}) {
		push(@options, "-o");
		my $optstr = $arg->{name} . "=" . $arg->{default};
		push(@options, $optstr);
	    }
	    @{$printer->{configured}{$QUEUES[$i]{queuedata}{queue}}{queuedata}{options}} = @options;
	}
	# Construct an entry line for tree view in main window of
	# printerdrake
	make_menuentry($printer, $QUEUES[$i]{queuedata}{queue});
    }
}

sub make_menuentry {
    my ($printer, $queue) = @_;
    my $spooler = $spoolers{$printer->{SPOOLER}}{short_name};
    my $connect = $printer->{configured}{$queue}{queuedata}{connect};
    my $localremote;
    if ($connect =~ m!^(file|parallel|usb|serial):! || 
	$connect =~ m!^ptal:/mlc:! ||
	$connect =~ m!^mtink:!) {
	$localremote = N("Local Printers");
    } else {
	$localremote = N("Remote Printers");
    }
    my $make = $printer->{configured}{$queue}{queuedata}{make};
    my $model = $printer->{configured}{$queue}{queuedata}{model};
    my $connection;
    if ($connect =~ m!^(file|parallel):/dev/lp(\d+)$!) {
	my $number = $2;
	$connection = N(" on parallel port \#%s", $number);
    } elsif ($connect =~ m!^(file|usb):/dev/usb/lp(\d+)$!) {
	my $number = $2;
	$connection = N(", USB printer \#%s", $number);
    } elsif ($connect =~ m!^usb://!) {
	$connection = N(", USB printer");
    } elsif ($connect =~ m!^ptal:/(.+)$!) {
	my $ptaldevice = $1;
	if ($ptaldevice =~ /^mlc:par:(\d+)$/) {
	    my $number = $1;
	    $connection = N(", multi-function device on parallel port \#%s",
			    $number);
	} elsif ($ptaldevice =~ /^mlc:usb:/) {
	    $connection = N(", multi-function device on USB");
	} elsif ($ptaldevice =~ /^hpjd:/) {
	    $connection = N(", multi-function device on HP JetDirect");
	} else {
	    $connection = N(", multi-function device");
	}
    } elsif ($connect =~ m!^file:(.+)$!) {
	$connection = N(", printing to %s", $1);
    } elsif ($connect =~ m!^lpd://([^/]+)/([^/]+)/?$!) {
	$connection = N(" on LPD server \"%s\", printer \"%s\"", $2, $1);
    } elsif ($connect =~ m!^socket://([^/:]+):([^/:]+)/?$!) {
	$connection = N(", TCP/IP host \"%s\", port %s", $1, $2);
    } elsif ($connect =~ m!^smb://([^/\@]+)/([^/\@]+)/?$! ||
	     $connect =~ m!^smb://.*/([^/\@]+)/([^/\@]+)/?$! ||
	     $connect =~ m!^smb://.*\@([^/\@]+)/([^/\@]+)/?$!) {
	$connection = N(" on SMB/Windows server \"%s\", share \"%s\"", $1, $2);
    } elsif ($connect =~ m!^ncp://([^/\@]+)/([^/\@]+)/?$! ||
	     $connect =~ m!^ncp://.*/([^/\@]+)/([^/\@]+)/?$! ||
	     $connect =~ m!^ncp://.*\@([^/\@]+)/([^/\@]+)/?$!) {
	$connection = N(" on Novell server \"%s\", printer \"%s\"", $1, $2);
    } elsif ($connect =~ m!^postpipe:(.+)$!) {
	$connection = N(", using command %s", $1);
    } else {
	$connection = ($::expert ? ", URI: $connect" : "");
    }
    my $sep = "!";
    $printer->{configured}{$queue}{queuedata}{menuentry} = 
	($::expert ? "$spooler$sep" : "") .
	"$localremote$sep$queue: $make $model$connection";
}

sub read_printer_db(;$) {

    my $spooler = $_[0];

    my $dbpath = $::prefix . $PRINTER_DB_FILE;

    local *DBPATH; #- don't have to do close ... and don't modify globals at least
    # Generate the Foomatic printer/driver overview, read it from the
    # appropriate file when it is already generated
    if (!(-f $dbpath)) {
	open DBPATH, ($::testing ? $::prefix : "chroot $::prefix/ ") . #-#
	    "foomatic-configure -O -q |" or
		die "Could not run foomatic-configure";
    } else {
	open DBPATH, $dbpath or die "An error occurred on $dbpath : $!"; #-#
    }

    my $entry = {};
    my $inentry = 0;
    my $indrivers = 0;
    my $inautodetect = 0;
    my $autodetecttype = "";
    local $_;
    while (<DBPATH>) {
	chomp;
	if ($inentry) {
	    # We are inside a printer entry
	    if ($indrivers) {
		# We are inside the drivers block of a printers entry
		if (m!^\s*</drivers>\s*$!) {
		    # End of drivers block
		    $indrivers = 0;
		} elsif (m!^\s*<driver>(.+)</driver>\s*$!) {
		    push @{$entry->{drivers}}, $1;
		}
	    } elsif ($inautodetect) {
		# We are inside the autodetect block of a printers entry
		# All entries inside this block will be ignored
		if ($autodetecttype) {
		    if (m!^.*</$autodetecttype>\s*$!) {
			# End of parallel, USB, or SNMP section
			$autodetecttype = "";
		    } elsif (m!^\s*<manufacturer>\s*([^<>]+)\s*</manufacturer>\s*$!) {
			# Manufacturer
			$entry->{devidmake} = $1;
		    } elsif (m!^\s*<model>\s*([^<>]+)\s*</model>\s*$!) {
			# Model
			$entry->{devidmodel} = $1;
		    } elsif (m!^\s*<description>\s*([^<>]+)\s*</description>\s*$!) {
			# Description
			$entry->{deviddesc} = $1;
		    } elsif (m!^\s*<commandset>\s*([^<>]+)\s*</commandset>\s*$!) {
			# Command set
			$entry->{devidcmdset} = $1;
		    }
		} else {
		    if (m!^.*</autodetect>\s*$!) {
			# End of autodetect block
			$inautodetect = 0;
		    } elsif (m!^\s*<(parallel|usb|snmp)>\s*$!) {
			# Beginning of parallel, USB, or SNMP section
			$autodetecttype = $1;
		    }
		}
	    } else {
		if (m!^\s*</printer>\s*$!) {
		    # entry completed
		    $inentry = 0;
		    # Expert mode:
		    # Make one database entry per driver with the entry name
		    # manufacturer|model|driver
		    if ($::expert) {
			foreach my $driver (@{$entry->{drivers}}) {
			    my $driverstr;
			    if ($driver eq "Postscript") {
				$driverstr = "PostScript";
			    } else {
				$driverstr = "GhostScript + $driver";
			    }
			    if ($driver eq $entry->{defaultdriver}) {
				$driverstr .= " (recommended)";
			    }
			    $entry->{ENTRY} = "$entry->{make}|$entry->{model}|$driverstr";
			    $entry->{ENTRY} =~ s/^CITOH/C.ITOH/i;
			    $entry->{ENTRY} =~ 
				s/^KYOCERA[\s\-]*MITA/KYOCERA/i;
			    $entry->{driver} = $driver;
			    # Duplicate contents of $entry because it is multiply entered to the database
			    map { $thedb{$entry->{ENTRY}}{$_} = $entry->{$_} } keys %$entry;
			}
		    } else {
			# Recommended mode
			# Make one entry per printer, with the recommended
			# driver (manufacturerer|model)
			$entry->{ENTRY} = "$entry->{make}|$entry->{model}";
			$entry->{ENTRY} =~ s/^CITOH/C.ITOH/i;
			$entry->{ENTRY} =~ 
			    s/^KYOCERA[\s\-]*MITA/KYOCERA/i;
			if ($entry->{defaultdriver}) {
			    $entry->{driver} = $entry->{defaultdriver};
			    map { $thedb{$entry->{ENTRY}}{$_} = $entry->{$_} } keys %$entry;
			}
		    }
		    $entry = {};
		} elsif (m!^\s*<id>\s*([^\s<>]+)\s*</id>\s*$!) {
		    # Foomatic printer ID
		    $entry->{printer} = $1;
		} elsif (m!^\s*<make>(.+)</make>\s*$!) {
		    # Printer manufacturer
		    $entry->{make} = uc($1);
		} elsif (m!^\s*<model>(.+)</model>\s*$!) {
		    # Printer model
		    $entry->{model} = $1;
		} elsif (m!<driver>(.+)</driver>!) {
		    # Printer default driver
		    $entry->{defaultdriver} = $1;
		} elsif (m!^\s*<drivers>\s*$!) {
		    # Drivers block
		    $indrivers = 1;
		    @{$entry->{drivers}} = (); 
		} elsif (m!^\s*<autodetect>\s*$!) {
		    # Autodetect block
		    $inautodetect = 1;
		}
	    }
	} else {
	    if (m!^\s*<printer>\s*$!) {
		# new entry
		$inentry = 1;
	    }
	}
    }
    close DBPATH;

    # Add raw queue
    if ($spooler ne "pdq") {
	$entry->{ENTRY} = N("Raw printer (No driver)");
	$entry->{driver} = "raw";
	$entry->{make} = "";
	$entry->{model} = N("Unknown model");
	map { $thedb{$entry->{ENTRY}}{$_} = $entry->{$_} } keys %$entry;
    }

    #- Load CUPS driver database if CUPS is used as spooler
    if ($spooler && $spooler eq "cups") {
        poll_ppd_base();
    }

    #my @entries_db_short     = sort keys %printer::thedb;
    #%descr_to_db          = map { $printer::thedb{$_}{DESCR}, $_ } @entries_db_short;
    #%descr_to_help        = map { $printer::thedb{$_}{DESCR}, $printer::thedb{$_}{ABOUT} } @entries_db_short;
    #@entry_db_description = keys %descr_to_db;
    #db_to_descr          = reverse %descr_to_db;

}

sub read_foomatic_options ($) {
    my ($printer) = @_;
    # Generate the option data for the chosen printer/driver combo
    my $COMBODATA;
    local *F;
    open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . 
	"foomatic-configure -P -q -p $printer->{currentqueue}{printer}" .
	" -d $printer->{currentqueue}{driver}" . 
	($printer->{OLD_QUEUE} ?
	 " -s $printer->{SPOOLER} -n $printer->{OLD_QUEUE}" : "") .
	 ($printer->{SPECIAL_OPTIONS} ?
	  " $printer->{SPECIAL_OPTIONS}" : "") 
	 . " |" or
	 die "Could not run foomatic-configure";
    eval join('', (<F>)); 
    close F;
    # Return the arguments field
    return $COMBODATA->{args};
}

sub read_ppd_options ($) {
    my ($printer) = @_;
    # Generate the option data for a given PPD file
    my $COMBODATA;
    local *F;
    open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . 
	"foomatic-configure -P -q" .
	" --ppd /usr/share/cups/model/$printer->{currentqueue}{ppd}" .
	($printer->{OLD_QUEUE} ?
	 " -s $printer->{SPOOLER} -n $printer->{OLD_QUEUE}" : "") .
	 ($printer->{SPECIAL_OPTIONS} ?
	  " $printer->{SPECIAL_OPTIONS}" : "") 
		    . " |" or
	    die "Could not run foomatic-configure";
    eval join('', (<F>)); 
    close F;
    # Return the arguments field
    return $COMBODATA->{args};
}

sub set_cups_special_options {
    my ($queue) = $_[0];
    # Set some special CUPS options
    my @lpoptions = chomp_(cat_("$::prefix/etc/cups/lpoptions"));
    # If nothing is already configured, set text file borders of half an inch
    # and decrease the font size a little bit, so nothing of the text gets
    # cut off by unprintable borders.
    if (!any { /$queue.*\s(page-(top|bottom|left|right)|lpi|cpi)=/ } @lpoptions) {
	run_program::rooted($::prefix, "lpoptions",
			    "-p", $queue,
			    "-o", "page-top=36", "-o", "page-bottom=36",
			    "-o", "page-left=36", "-o page-right=36",
			    "-o", "cpi=12", "-o", "lpi=7", "-o", "wrap");
    }
    # Let images fill the whole page by default
    if (!any { /$queue.*\s(scaling|natural-scaling|ppi)=/ } @lpoptions) {
	run_program::rooted($::prefix, "lpoptions",
			    "-p", $queue,
			    "-o", "scaling=100");
    }
    return 1;
}

sub set_cups_autoconf {
    my $autoconf = $_[0];

    # Read config file
    my $file = "$::prefix/etc/sysconfig/printing";
    my @file_content = cat_($file);

    # Remove all valid "CUPS_CONFIG" lines
    /^\s*CUPS_CONFIG/ and $_ = "" foreach @file_content;
 
    # Insert the new "CUPS_CONFIG" line
    if ($autoconf) {
	push @file_content, "CUPS_CONFIG=automatic\n";
    } else {
	push @file_content, "CUPS_CONFIG=manual\n";
    }

    output($file, @file_content);

    # Restart CUPS
    if ($autoconf) {
	printer::services::restart("cups");
    }

    return 1;
}

sub get_cups_autoconf {
    local *F;
    open F, "< $::prefix/etc/sysconfig/printing" or return 1;
    while (my $line = <F>) {
	return 0 if $line =~ m!^[^\#]*CUPS_CONFIG=manual!;
    }
    return 1;
}

sub set_usermode {
    my $usermode = $_[0];
    $::expert = $usermode;

    # Read config file
    local *F;
    my $file = "$::prefix/etc/sysconfig/printing";
    my @file_content;
    if (!(-f $file)) {
	@file_content = ();
    } else {
	open F, "< $file" or die "Cannot open $file for reading!";
	@file_content = <F>;
	close F;
    }

    # Remove all valid "USER_MODE" lines
    (/^\s*USER_MODE/ and $_ = "") foreach @file_content;
 
    # Insert the new "USER_MODE" line
    if ($usermode) {
	push @file_content, "USER_MODE=expert\n";
    } else {
	push @file_content, "USER_MODE=recommended\n";
    }

    # Write back modified file
    open F, "> $file" or die "Cannot open $file for writing!";
    print F @file_content;
    close F;

    return 1;
}

sub get_usermode {
    my %cfg = getVarsFromSh("$::prefix/etc/sysconfig/printing");
    $::expert = $cfg{USER_MODE} eq 'expert' ? 1 : 0;
    return $::expert;
}

#----------------------------------------------------------------------
# Handling of /etc/cups/cupsd.conf

sub read_cupsd_conf {
    cat_("$::prefix/etc/cups/cupsd.conf");
}
sub write_cupsd_conf {
    my (@cupsd_conf) = @_;

    output("$::prefix/etc/cups/cupsd.conf", @cupsd_conf);

    #- restart cups after updating configuration.
    printer::services::restart("cups");
}

sub read_directives {

    # Read one or more occurences of a directive from the cupsd.conf file 
    # or from a ripped-out location block

    my ($lines_ptr, $directive) = @_;

    my @result = ();
    ($_ =~ /^\s*$directive\s+(\S.*)$/ and push(@result, $1)) 
	foreach @{$lines_ptr};
    (chomp) foreach @result;
    return @result;
}

sub read_unique_directive {

    # Read a directive from the from the cupsd.conf file or from a
    # ripped-out location block, if the directive appears more than once,
    # use the last occurence and remove all the others, if it does not
    # occur, return the default value

    my ($lines_ptr, $directive, $default) = @_;

    if ((my @d = read_directives($lines_ptr, $directive)) > 0) {
	my $value = @d[$#d];
	set_directive($lines_ptr, "$directive $value");
	return $value;
    } else {
        return $default;
    }
}

sub insert_directive {

    # Insert a directive into the cupsd.conf file or into a ripped-out
    # location block (but only if it is not already there)

    my ($lines_ptr, $directive) = @_;

    ($_ =~ /^\s*$directive$/ and return 0) foreach @{$lines_ptr};
    splice(@{$lines_ptr}, -1, 0, "$directive\n");
    return 1;
}

sub remove_directive {

    # Remove a directive from the cupsd.conf file or from a ripped-out
    # location block

    my ($lines_ptr, $directive) = @_;

    my $success = 0;
    ($_ =~ /^\s*$directive/ and $_ = "" and $success = 1)
	foreach @{$lines_ptr};
    return $success;
}

sub replace_directive {

    # Replace a directive in the cupsd.conf file or from a ripped-out
    # location block, if the directive appears more than once, remove
    # the additional occurences

    my ($lines_ptr, $olddirective, $newdirective) = @_;

    $newdirective = "$newdirective\n";
    my $success = 0;
    ($_ =~ /^\s*$olddirective/ and $_ = $newdirective and 
     $success = 1 and $newdirective = "") foreach @{$lines_ptr};
    return $success;
}

sub set_directive {

    # Set a directive in the cupsd.conf, replace the old definition or
    # a commented definition

    my ($cupsd_conf_ptr, $directive) = @_;

    my $olddirective = $directive;
    $olddirective =~ s/^\s*(\S+)\s+.*$/$1/s;

    return (replace_directive($cupsd_conf_ptr, $olddirective,
			      $directive) or
	    replace_directive($cupsd_conf_ptr, "\#$olddirective", 
			      $directive) or 
	    insert_directive($cupsd_conf_ptr, $directive));
}

sub read_location {

    # Return the lines inside the [path] location block
    #
    #   <Location [path]>
    #   ...
    #   </Location>

    my ($cupsd_conf_ptr, $path) = @_;

    my @result = ();
    if (grep(m!^\s*<Location\s+$path\s*>!, @{$cupsd_conf_ptr})) {
	my $location_start = -1;
	my $location_end = -1;
	# Go through all the lines, bail out when start and end line found
	for (my $i = 0; 
	     ($i <= $#{$cupsd_conf_ptr}) and ($location_end == -1);
	     $i++) {
	    if ($cupsd_conf_ptr->[$i] =~ m!^\s*<\s*Location\s+$path\s*>!) {
		# Start line of block
		$location_start = $i;
	    } elsif (($cupsd_conf_ptr->[$i] =~ 
		      m!^\s*<\s*/Location\s*>!) and
		     ($location_start != -1)) {
		# End line of block
		$location_end = $i;
		last;
	    } elsif (($location_start >= 0) and ($location_end < 0)) {
		# Inside the location block
		push(@result, $cupsd_conf_ptr->[$i]);
	    }
	}
    } else {
	# If there is no root location block, set the result array to
	# "undef"
	@result = undef;
    }
    return (@result);
}

sub rip_location {

    # Cut out the [path]  location block
    #
    #   <Location [path]>
    #   ...
    #   </Location>
    #
    # so that it can be treated seperately without affecting the
    # rest of the file

    my ($cupsd_conf_ptr, $path) = @_;

    my @location = ();
    my $location_start = -1;
    my $location_end = -1;
    if (grep(m!^\s*<Location\s+$path\s*>!, @{$cupsd_conf_ptr})) {
	# Go through all the lines, bail out when start and end line found
	for (my $i = 0; 
	     ($i <= $#{$cupsd_conf_ptr}) and ($location_end == -1);
	     $i++) {
	    if ($cupsd_conf_ptr->[$i] =~ m!^\s*<\s*Location\s+$path\s*>!) {
		# Start line of block
		$location_start = $i;
	    } elsif (($cupsd_conf_ptr->[$i] =~ 
		      m!^\s*<\s*/Location\s*>!) and
		     ($location_start != -1)) {
		# End line of block
		$location_end = $i;
		last;
	    }
	}
	# Rip out the block and store it seperately
	@location = 
	    splice(@{$cupsd_conf_ptr},$location_start,
		   $location_end - $location_start + 1);
    } else {
	# If there is no location block, create one
	$location_start = $#{$cupsd_conf_ptr} + 1;
	@location = ();
	push @location, "<Location $path>\n";
	push @location, "</Location>\n";
    }

    return ($location_start, @location);
}

sub insert_location {

    # Re-insert a location block ripped with "rip_location"

    my ($cupsd_conf_ptr, $location_start, @location) = @_;

    splice(@{$cupsd_conf_ptr}, $location_start,0,@location);
}

sub add_to_location {

    # Add a directive to a given location (only if it is not already there)

    my ($cupsd_conf_ptr, $path, $directive) = @_;

    my ($location_start, @location) = rip_location($cupsd_conf_ptr, $path);
    my $success = insert_directive(\@location, $directive);
    insert_location($cupsd_conf_ptr, $location_start, @location);
    return $success;
}

sub remove_from_location {

    # Remove a directive from a given location

    my ($cupsd_conf_ptr, $path, $directive) = @_;

    my ($location_start, @location) = rip_location($cupsd_conf_ptr, $path);
    my $success = remove_directive(\@location, $directive);
    insert_location($cupsd_conf_ptr, $location_start, @location);
    return $success;
}

sub replace_in_location {

    # Replace a directive in a given location

    my ($cupsd_conf_ptr, $path, $olddirective, $newdirective) = @_;

    my ($location_start, @location) = rip_location($cupsd_conf_ptr, $path);
    my $success = replace_directive(\@location, $olddirective, 
				    $newdirective);
    insert_location($cupsd_conf_ptr, $location_start, @location);
    return $success;
}

sub add_allowed_host {

    # Add a host or network which should get access to the local printer(s)
    my ($cupsd_conf_ptr, $host) = @_;
    
    return (insert_directive($cupsd_conf_ptr, "BrowseAddress $host") and
	    add_to_location($cupsd_conf_ptr, "/", "Allow From $host"));
}

sub remove_allowed_host {

    # Remove a host or network which should get access to the local 
    # printer(s)
    my ($cupsd_conf_ptr, $host) = @_;
    
    return (remove_directive($cupsd_conf_ptr, "BrowseAddress $host") and
	    remove_from_location($cupsd_conf_ptr, "/", "Allow From $host"));
}

sub replace_allowed_host {

    # Remove a host or network which should get access to the local 
    # printer(s)
    my ($cupsd_conf_ptr, $oldhost, $newhost) = @_;
    
    return (replace_directive($cupsd_conf_ptr, "BrowseAddress $oldhost",
			      "BrowseAddress $newhost") and
	    replace_in_location($cupsd_conf_ptr, "/", "Allow From $newhost",
				"Allow From $newhost"));
}

sub broadcastaddress {
    
    # Determines the broadcast address (for "BrowseAddress" line) for
    # a given network IP

    my ($address) = @_;

    if ($address =~ /^\d+\.\*$/) {
	$address =~ s/\*$/255.255.255/;
    } elsif ($address =~ /^\d+\.\d+\.\*$/) {
	$address =~ s/\*$/255.255/;
    } elsif ($address =~ /^\d+\.\d+\.\d+\.\*$/) {
	$address =~ s/\*$/255/;
    } elsif ($address =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)\/(\d+)$/) {
	my $numadr = ($1 << 24) + ($2 << 16) + ($3 << 8) + $4;
	my $mask = ((1 << $5) - 1) << (32 - $5);
	my $broadcast = $numadr | (~$mask);
	$address =
	    (($broadcast & (255 << 24)) >> 24) . '.' .
	    (($broadcast & (255 << 16)) >> 16) . '.' .
	    (($broadcast & (255 << 8)) >> 8) . '.' .
	    ($broadcast & 255);
    } elsif ($address =~
	     /^(\d+)\.(\d+)\.(\d+)\.(\d+)\/(\d+)\.(\d+)\.(\d+)\.(\d+)$/) {
	my $numadr = ($1 << 24) + ($2 << 16) + ($3 << 8) + $4;
	my $mask = ($5 << 24) + ($6 << 16) + ($7 << 8) + $8;
	my $broadcast = $numadr | (~$mask);
	$address =
	    (($broadcast & (255 << 24)) >> 24) . '.' .
	    (($broadcast & (255 << 16)) >> 16) . '.' .
	    (($broadcast & (255 << 8)) >> 8) . '.' .
	    ($broadcast & 255);
    }
    
    return $address;
}

sub networkaddress {
    
    # Guesses a network address for a given broadcast address
    
    my ($address) = @_;

    if ($address =~ /\.255$/) {
	while ($address =~ s/\.255$//) {};
	$address .= ".*";
    }
 
    return $address;
}

sub localprintersshared {

    # Do we broadcast our local printers

    my ($printer) = @_;

    return (($printer->{cupsconfig}{keys}{Browsing} !~ /off/i) &&
	    ($printer->{cupsconfig}{keys}{BrowseInterval} != 0) &&
	    ($#{$printer->{cupsconfig}{keys}{BrowseAddress}} >= 0));
}

sub remotebroadcastsaccepted {
    
    # Do we accept broadcasts from remote CUPS servers?

    my ($printer) = @_;

    # Is browsing not turned on at all?
    if ($printer->{cupsconfig}{keys}{Browsing} =~ /off/i) {
	return 0;
    }

    # No "BrowseDeny" lines at all
    if ($#{$printer->{cupsconfig}{keys}{BrowseDeny}} < 0) {
	return 1;
    }

    my $havedenyall = 
	(join('', @{$printer->{cupsconfig}{keys}{BrowseDeny}}) =~
	 /All/im);
    my $havedenylocal = 
	(join('', @{$printer->{cupsconfig}{keys}{BrowseDeny}}) =~
	 /\@LOCAL/im);
    my $orderallowdeny =
	($printer->{cupsconfig}{keys}{BrowseOrder} =~
	 /allow\s*,\s*deny/i);
    my $haveallowremote = 0;
    for my $allowline (@{$printer->{cupsconfig}{keys}{BrowseAllow}}) {
	next if 
	    ($allowline =~ /^\s*(localhost|0*127\.0+\.0+\.0*1|none)\s*$/i);
	$haveallowremote = 1;
    }

    # A line denying all (or at least the all LANs) together with the order
    # "allow,deny" or without "BrowseAllow" lines (which allow the
    # broadcasts of at least one remote resource).
    if (($havedenyall || $havedenylocal) &&
	($orderallowdeny || !$haveallowremote)) {
	return 0;
    }

    return 1;
}

sub clientnetworks {

    # Determine the client networks to which the printers will be
    # shared If the configuration is supported by our simplified
    # interface ("Deny From All", "Order Deny,Allow", "Allow From ..."
    # lines in "<location /> ... </location>", a "BrowseAddress ..."
    # line for each "Allow From ..." line), return the list of allowed
    # client networks ("Allow"/"BrowseAddress" lines), if not, return
    # the list of all items which are at least one of the
    # "BrowseAddresse"s or one of the "Allow From" addresses together
    # with a flag that the setup is not supported.

    my ($printer) = @_;

    # Check for a "Deny From All" line
    my $havedenyfromall =
	(join('', @{$printer->{cupsconfig}{root}{DenyFrom}}) =~
	 /All/im);

    # Check for "Order Deny,Allow"
    my $orderdenyallow =
	($printer->{cupsconfig}{root}{Order} =~
	 /deny\s*,\s*allow/i);
    
    my @sharehosts;
    my $haveallowfromlocalhost = 0;
    my $haveallowedhostwithoutbrowseaddress = 0;

    # Go through all "Allow From" lines
    for my $line (@{$printer->{cupsconfig}{root}{AllowFrom}}) {
	if ($line =~ /^\s*(localhost|0*127\.0+\.0+\.0*1)\s*$/i) {
	    # Line pointing to localhost
	    $haveallowfromlocalhost = 1;
	} elsif ($line =~ /^\s*(none)\s*$/i) {
	    # Skip "Allow From None" lines
	} elsif (!member($line, @sharehosts)) {
	    # Line pointing to remote server
	    push(@sharehosts, $line);
	    if (!member(broadcastaddress($line),
			@{$printer->{cupsconfig}{keys}{BrowseAddress}})) {
		$haveallowedhostwithoutbrowseaddress = 1;
	    }
	}
    }
    my $havebrowseaddresswithoutallowedhost = 0;
    # Go through all "BrowseAdress" lines
    for my $line (@{$printer->{cupsconfig}{keys}{BrowseAddress}}) {
	if ($line =~ /^\s*(localhost|0*127\.0+\.0+\.0*1)\s*$/i) {
	    # Skip lines pointing to localhost
	} elsif ($line =~ /^\s*(none)\s*$/i) {
	    # Skip "Allow From None" lines
	} elsif (!member($line, map {broadcastaddress($_)} @sharehosts)) {
	    # Line pointing to remote server
	    push(@sharehosts, networkaddress($line));
	    $havebrowseaddresswithoutallowedhost = 1;
	}
    }

    my $configunsupported = (!$havedenyfromall || !$orderdenyallow ||
			     !$haveallowfromlocalhost ||
			     $haveallowedhostwithoutbrowseaddress ||
			     $havebrowseaddresswithoutallowedhost);

    return ($configunsupported, @sharehosts);
}

sub makesharehostlist {

    # Human-readable strings for hosts onto which the local printers
    # are shared

    my ($printer) = @_;

    my @sharehostlist; 
    my %sharehosthash;
    for my $host (@{$printer->{cupsconfig}{clientnetworks}}) {
	if ($host =~ /\@LOCAL/i) {
	    $sharehosthash{$host} = N("Local network(s)");
	} elsif ($host =~ /\@IF\((.*)\)/i) {
	    $sharehosthash{$host} = N("Interface \"%s\"", $1);
	} elsif ($host =~ /(\/|^\*|\*$|^\.)/i) {
	    $sharehosthash{$host} = N("Network %s", $host);
	} else {
	    $sharehosthash{$host} = N("Host %s", $host);
	}
	push(@sharehostlist, $sharehosthash{$host});
    }
    my %sharehosthash_inv = reverse %sharehosthash;

    return { list => \@sharehostlist, 
	     hash => \%sharehosthash, 
	     invhash => \%sharehosthash_inv };
}

sub is_network_ip {

    # Determine whwther the given string is a valid network IP

    my ($address) = @_;

    ($address =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/) ||
	($address =~ /^(\d+\.){1,3}\*$/) ||
	($address =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)\/(\d+)$/) ||
	($address =~
	 /^(\d+)\.(\d+)\.(\d+)\.(\d+)\/(\d+)\.(\d+)\.(\d+)\.(\d+)$/);

}

sub read_cups_config {
    
    # Read the information relevant to the printer sharing dialog from
    # the CUPS configuration

    my ($printer) = @_;

    # From /etc/cups/cupsd.conf

    # Keyword "Browsing" 
    $printer->{cupsconfig}{keys}{Browsing} =
	read_unique_directive($printer->{cupsconfig}{cupsd_conf},
			      'Browsing', 'On');

    # Keyword "BrowseInterval" 
    $printer->{cupsconfig}{keys}{BrowseInterval} =
	read_unique_directive($printer->{cupsconfig}{cupsd_conf},
			      'BrowseInterval', '30');

    # Keyword "BrowseAddress" 
    @{$printer->{cupsconfig}{keys}{BrowseAddress}} =
	read_directives($printer->{cupsconfig}{cupsd_conf},
			'BrowseAddress');

    # Keyword "BrowseAllow" 
    @{$printer->{cupsconfig}{keys}{BrowseAllow}} =
	read_directives($printer->{cupsconfig}{cupsd_conf},
			'BrowseAllow');

    # Keyword "BrowseDeny" 
    @{$printer->{cupsconfig}{keys}{BrowseDeny}} =
	read_directives($printer->{cupsconfig}{cupsd_conf},
			'BrowseDeny');

    # Keyword "BrowseOrder" 
    $printer->{cupsconfig}{keys}{BrowseOrder} =
	read_unique_directive($printer->{cupsconfig}{cupsd_conf},
			      'BrowseOrder', 'deny,allow');

    # Root location
    @{$printer->{cupsconfig}{rootlocation}} =
	read_location($printer->{cupsconfig}{cupsd_conf}, '/');

    # Keyword "Allow from" 
    @{$printer->{cupsconfig}{root}{AllowFrom}} =
	read_directives($printer->{cupsconfig}{rootlocation},
			'Allow From');

    # Keyword "Deny from" 
    @{$printer->{cupsconfig}{root}{DenyFrom}} =
	read_directives($printer->{cupsconfig}{rootlocation},
			'Deny From');

    # Keyword "Order" 
    $printer->{cupsconfig}{root}{Order} =
	read_unique_directive($printer->{cupsconfig}{rootlocation},
			      'Order', 'Deny,Allow');

    # Widget settings

    # Local printers available to other machines?
    $printer->{cupsconfig}{localprintersshared} = 
	localprintersshared($printer);

    # This machine is accepting printers shared by remote machines?
    $printer->{cupsconfig}{remotebroadcastsaccepted} =
	remotebroadcastsaccepted($printer);

    # To which machines are the local printers available?
    ($printer->{cupsconfig}{customsharingsetup},
     @{$printer->{cupsconfig}{clientnetworks}}) =
	 clientnetworks($printer);

}

sub write_cups_config {
    
    # Write the information edited via the printer sharing dialog into
    # the CUPS configuration

    my ($printer) = @_;

    # Local printers available to other machines?
    if ($printer->{cupsconfig}{localprintersshared}) {
	set_directive($printer->{cupsconfig}{cupsd_conf},
		      'Browsing On');
	if ($printer->{cupsconfig}{keys}{BrowseInterval} == 0) {
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseInterval 30');
	}  
    } else {
	set_directive($printer->{cupsconfig}{cupsd_conf},
		      'BrowseInterval 0');
    }

    # This machine is accepting printers shared by remote machines?
    if ($printer->{cupsconfig}{remotebroadcastsaccepted}) {
	set_directive($printer->{cupsconfig}{cupsd_conf},
		      'Browsing On');
	if (($printer->{cupsconfig}{localprintersshared}) &&
	    ($#{$printer->{cupsconfig}{clientnetworks}} > 0) &&
	    (!$printer->{cupsconfig}{customsharingsetup})) {
	    # If we broadcast our printers, let's accept the broadcasts
	    # from the machines to which we broadcast
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseDeny All');
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseOrder Deny,Allow');
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseAllow ' .
			  join ("\nBrowseAllow ", 
				@{$printer->{cupsconfig}{clientnetworks}}));
	} elsif (!remotebroadcastsaccepted($printer)) {
	    # Use default settings if the "BrowseDeny"/"BrowseAllow"
	    # configuration does not accept broadcasts
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseDeny All');
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseOrder Deny,Allow');
	    set_directive($printer->{cupsconfig}{cupsd_conf},
			  'BrowseOrder @LOCAL');
	}
    } else {
	# Deny all broadcasts, but leave all "BrowseAllow" lines
	# untouched
	set_directive($printer->{cupsconfig}{cupsd_conf},
		      'BrowseDeny All');
	set_directive($printer->{cupsconfig}{cupsd_conf},
		      'BrowseOrder Allow,Deny');
    }

    # To which machines are the local printers available?
    if (!$printer->{cupsconfig}{customsharingsetup}) {
	# root location block
	@{$printer->{cupsconfig}{rootlocation}} =
	    "<Location />\n" .
	    "Order Deny,Allow\n" .
	    "Deny From All\n" .
	    "Allow From 127.0.0.1\n" .
	    "Allow From " .
	    join ("\nAllow From ", 
		  @{$printer->{cupsconfig}{clientnetworks}}) .
	    "\n" .
	    "</Location>\n";
	my ($location_start, @location) = 
	    rip_location($printer->{cupsconfig}{cupsd_conf}, "/");
	insert_location($printer->{cupsconfig}{cupsd_conf}, $location_start,
			@{$printer->{cupsconfig}{rootlocation}});
	# "BrowseAddress" lines
	set_directive($printer->{cupsconfig}{cupsd_conf},
		      'BrowseAddress ' .
		      join ("\nBrowseAddress ",
			    map {broadcastaddress($_)}
			    @{$printer->{cupsconfig}{clientnetworks}}));
    }

}

sub clean_cups_config {
    
    # Clean $printer data structure from all settings not related to
    # the CUPS printer sharing dialog

    my ($printer) = @_;

    delete $printer->{cupsconfig}{keys};
    delete $printer->{cupsconfig}{root};
    delete $printer->{cupsconfig}{cupsd_conf};
    delete $printer->{cupsconfig}{rootlocation};
}

#----------------------------------------------------------------------
sub read_printers_conf {
    my ($printer) = @_;
    my $current;

    #- read /etc/cups/printers.conf file.
    #- according to this code, we are now using the following keys for each queues.
    #-    DeviceURI > lpd://printer6/lp
    #-    Info      > Info Text
    #-    Location  > Location Text
    #-    State     > Idle|Stopped
    #-    Accepting > Yes|No
    local *PRINTERS; open PRINTERS, "$::prefix/etc/cups/printers.conf" or return;
    local $_;
    while (<PRINTERS>) {
	chomp;
	/^\s*#/ and next;
	if (/^\s*<(?:DefaultPrinter|Printer)\s+([^>]*)>/) { $current = { mode => 'cups', QUEUE => $1, } }
	elsif (/\s*<\/Printer>/) { $current->{QUEUE} && $current->{DeviceURI} or next; #- minimal check of synthax.
				   add2hash($printer->{configured}{$current->{QUEUE}} ||= {}, $current); $current = undef }
	elsif (/\s*(\S*)\s+(.*)/) { $current->{$1} = $2 }
    }
    close PRINTERS;

    #- assume this printing system.
    $printer->{SPOOLER} ||= 'cups';
}

sub get_direct_uri {
    #- get the local printer to access via a Device URI.
    my @direct_uri;
    local *F; open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . "/usr/sbin/lpinfo -v |";
    local $_;
    while (<F>) {
	/^(direct|usb|serial)\s+(\S*)/ and push @direct_uri, $2;
    }
    close F;
    @direct_uri;
}

sub ppd_entry_str {
    my ($mf, $descr, $lang) = @_;
    my ($model, $driver);
    if ($descr) {
	# Apply the beautifying rules of poll_ppd_base
	if ($descr =~ /Foomatic \+ Postscript/) {
	    $descr =~ s/Foomatic \+ Postscript/PostScript/;
	} elsif ($descr =~ /Foomatic/) {
	    $descr =~ s/Foomatic/GhostScript/;
	} elsif ($descr =~ /CUPS\+GIMP-print/) {
	    $descr =~ s/CUPS\+GIMP-print/CUPS \+ GIMP-Print/;
	} elsif ($descr =~ /Series CUPS/) {
	    $descr =~ s/Series CUPS/Series, CUPS/;
	} elsif ($descr !~ /(PostScript|GhostScript|CUPS|Foomatic)/i) {
	    $descr .= ", PostScript";
	}
	# Split model and driver
	$descr =~ s/\s*Series//i;
	$descr =~ s/\((.*?(PostScript|PS.*).*?)\)/$1/i;
	if (($descr =~ /^([^,]+[^,\s])\s*(\(v?\d\d\d\d\.\d\d\d\).*)$/i) ||
	    ($descr =~ /^([^,]+[^,\s])\s+(PS.*)$/i) ||
	    ($descr =~ /^([^,]+[^,\s])\s*(PostScript.*)$/i) ||
	    ($descr =~ /^([^,]+[^,\s])\s*(v\d+\.\d+.*)$/i) ||
	    ($descr =~ /^([^,]+),\s*(.+)$/)) {
	    $model = $1;
	    $driver = $2;
	    $model =~ s/[\-\s,]+$//;
	    $driver =~ s/\b(PS|PostScript\b)/PostScript/gi;
	    $driver =~ s/(PostScript)(.*)(PostScript)/$1$2/i;
	    $driver =~ 
	      s/^\s*(\(v?\d\d\d\d\.\d\d\d\)|v\d+\.\d+)([,\s]*)(.*)/$3$2$1/i;
	    $driver =~ s/,\s*\(/ \(/g;
	    $driver =~ s/[\-\s,]+$//;
	    $driver =~ s/^[\-\s,]+//;
	    $driver =~ s/\s+/ /g;
	    if ($driver !~ /[a-z]/i) {
		$driver = "PostScript " . $driver;
		$driver =~ s/ $//;
	    }
	} else {
	    # Some PPDs do not have the ", <driver>" part.
	    $model = $descr;
	    $driver = "PostScript";
	}
    }
    # Rename Canon "BJC XXXX" models into "BJC-XXXX" so that the 
    # models do not appear twice
    if ($mf eq "CANON") {
	$model =~ s/BJC\s+/BJC-/;
    }
    # Remove manufacturer's name from the beginning of the model
    # name
    $model =~ s/^$mf[\s\-]+// if $mf;
    # Clean some manufacturer's names
    $mf =~ s/^HEWLETT[\s\-]*PACKARD/HP/i;
    $mf =~ s/^SEIKO[\s\-]*EPSON/EPSON/i;
    $mf =~ s/^KYOCERA[\s\-]*MITA/KYOCERA/i;
    $mf =~ s/^CITOH/C.ITOH/i;
    $mf =~ s/^OKI([\s\-]*DATA|)/OKIDATA/i;
    # Put out the resulting description string
    uc($mf) . '|' . $model . '|' . $driver .
      ($lang && " (" . lc(substr($lang, 0, 2)) . ")");
}

sub get_descr_from_ppd {
    my ($printer) = @_;
    my %ppd;

    #- if there is no ppd, this means this is a raw queue.
    if (! -r "$::prefix/etc/cups/ppd/$printer->{OLD_QUEUE}.ppd") {
	return "|" . N("Unknown model");
    }
    eval {
	local $_;
	foreach (cat_("$::prefix/etc/cups/ppd/$printer->{OLD_QUEUE}.ppd")) {
	    # "OTHERS|Generic PostScript printer|PostScript (en)";
	    /^\*([^\s:]*)\s*:\s*\"([^\"]*)\"/ and
		do { $ppd{$1} = $2; next };
	    /^\*([^\s:]*)\s*:\s*([^\s\"]*)/   and
		do { $ppd{$1} = $2; next };
	}
    };
    my $descr = ($ppd{NickName} || $ppd{ShortNickName} || $ppd{ModelName});
    my $make = $ppd{Manufacturer};
    my $lang = $ppd{LanguageVersion};
    my $entry = ppd_entry_str($make, $descr, $lang);
    if (!$::expert) {
	# Remove driver from printer list entry when in recommended mode
	$entry =~ s/^([^\|]+\|[^\|]+)\|.*$/$1/;
    }
    return $entry;
}

sub ppd_devid_data {
    my ($ppd) = @_;
    $ppd = "$::prefix/usr/share/cups/model/$ppd";
    my @content;
    if ($ppd =~ /\.gz$/i) {
	@content = cat_("$::prefix/bin/zcat $ppd |") or return ("", "");
    } else {
	@content = cat_($ppd) or return ("", "");
    }
    my ($devidmake, $devidmodel);
    ($_ =~ /^\*Manufacturer:\s*\"(.*)\"\s*$/ and $devidmake = $1) 
	foreach @content;
    ($_ =~ /^\*Product:\s*\"\(?(.*?)\)?\"\s*$/ and $devidmodel = $1) 
	foreach @content;
    return ($devidmake, $devidmodel);
}

sub poll_ppd_base {
    #- Before trying to poll the ppd database available to cups, we have 
    #- to make sure the file /etc/cups/ppds.dat is no more modified.
    #- If cups continue to modify it (because it reads the ppd files 
    #- available), the poll_ppd_base program simply cores :-)
    # else cups will not be happy! and ifup lo don't run ?
    run_program::rooted($::prefix, "ifconfig lo 127.0.0.1");
    printer::services::start_not_running_service("cups");
    my $driversthere = scalar(keys %thedb);
    foreach (1..60) {
	local *PPDS; open PPDS, ($::testing ? $::prefix :
				 "chroot $::prefix/ ") . 
				 "/usr/bin/poll_ppd_base -a |";
	local $_;
	while (<PPDS>) {
	    chomp;
	    my ($ppd, $mf, $descr, $lang) = split /\|/;
	    if ($ppd eq "raw") { next }
	    $ppd && $mf && $descr and do {
		my $key = ppd_entry_str($mf, $descr, $lang);
		$key =~ /^[^\|]+\|([^\|]+)\|(.*)$/;
		my ($model, $driver) = ($1, $2);
		# Remove language tag
		$driver =~ s/\s*\([a-z]{2}(|_[A-Z]{2})\s*$//;
		# Remove trailing white space
		$driver =~ s/\s+$//;
		# Foomatic PPD? Extract driver name
		my $isfoomatic = 
		    ($driver =~ s/^\s*(GhostScript|Foomatic)\s*\+\s*//i);
		# Recommended Foomatic PPD? Extract "(recommended)"
		my $isrecommended = ($driver =~ s/^\s+\(rcommended\)$//i);
		# Foomatic PostScript driver?
		$isfoomatic ||= ($driver =~ /^PostScript$/i);
		# Native CUPS?
		my $isnativecups = ($driver =~ /CUPS/i);
		# Native PostScript
		my $isnativeps = (!$isfoomatic and !$isnativecups);
		print "#####$key###|$driver|$isnativeps|$isrecommended|\n";
		if (!$isfoomatic) {
		    $driver = "PPD";
		}
		# Key without language tag (key as it was produced for the
		# entries from the Foomatic XML database)
		my $keynolang = $key;
		$keynolang =~ s/\s*\([a-z]{2}(|_[A-Z]{2})\s*$//;
		if (!$::expert) {
		    # Remove driver from printer list entry when in
		    # recommended mode
		    $key =~ s/^([^\|]+\|[^\|]+)\|.*$/$1/;
		    # Only replace an existing printer entry if
		    #  - its driver is not the same as the driver of the
		    #    new one
		    # AND if one of the following items is true
		    #  - The existing entry uses a "Foomatic + Postscript" 
		    #    driver and the new one is native PostScript
		    #  - The existing entry is a Foomatic entry and the new 
		    #    one is "recommended"
		    #  - The existing entry is a native PostScript entry
		    #    and the new entry is a "recommended" driver other
		    #    then "Foomatic + Postscript"
		    if (defined($thedb{$key})) {
			next unless (lc($thedb{$key}{driver}) ne
				     lc($driver));
			next unless (($isnativeps &&
				      ($thedb{$key}{driver} =~ 
				       /^PostScript$/i)) ||
				     (($thedb{$key}{driver} ne "PPD") &&
				      $isrecommended) ||
				     (($thedb{$key}{driver} eq "PPD") &&
				      ($driver ne "PostScript") &&
				      $isrecommended));
			# Remove the old entry
			delete $thedb{$key};
		    }
		} elsif (defined
			 $thedb{"$mf|$model|PostScript (recommended)"} &&
			 ($isnativeps)) {
		    # Expert mode: "Foomatic + Postscript" driver is
		    # recommended and this is a PostScript PPD? Make
		    # this PPD the recommended one
		    for (keys 
		         %{$thedb{"$mf|$model|PostScript (recommended)"}}) {
			$thedb{"$mf|$model|PostScript"}{$_} =
			  $thedb{"$mf|$model|PostScript (recommended)"}{$_};
		    }
		    delete
			$thedb{"$mf|$model|PostScript (recommended)"};
		    $key .= " (recommended)";
		} elsif (($key =~ /PostScript\s*\(recommended\)/i) &&
			 (my @nativepskeys = grep {
			     /^$mf\|$model\|/ && !/CUPS/i &&
			     $thedb{$_}{driver} eq "PPD" 
			 } keys %thedb)) {
		    # Expert mode: "Foomatic + Postscript" driver is
		    # recommended and there was a PostScript PPD? Make
		    # this PPD the recommended one
		    my $firstnativeps = $nativepskeys[0];
		    for (keys %{$thedb{$firstnativeps}}) {
			$thedb{"$firstnativeps (recommended)"}{$_} =
			  $thedb{$firstnativeps}{$_};
		    }
		    delete $thedb{$firstnativeps};
		    $key =~ s/\s*\(recommended\)//;
		} elsif (defined $thedb{"$keynolang"} && ($isfoomatic)) {
		    # Expert mode: There is already an entry for the
		    # same printer/driver combo produced by the
		    # Foomatic XML database, so do not make a second
		    # entry
		    next;
		}
	        $thedb{$key}{ppd} = $ppd;
		$thedb{$key}{make} = $mf;
		$thedb{$key}{model} = $model;
		$thedb{$key}{driver} = $driver;
		# Get auto-detection data
		#my ($devidmake, $devidmodel) = ppd_devid_data($ppd);
		#$thedb{$key}{devidmake} = $devidmake;
		#$thedb{$key}{devidmodel} = $devidmodel;
	    }
	}
	close PPDS;
	scalar(keys %thedb) - $driversthere > 5 and last;
	#- we have to try again running the program, wait here a little 
	#- before.
	sleep 1;
    }
#   Only for debugging, will be removed before MDK 9.1
#    print map {
#	"##### |$_|$thedb{$_}{make}|$thedb{$_}{model}|$thedb{$_}{driver}|\n";
#    } keys %thedb
    #scalar(keys %descr_to_ppd) > 5 or 
    #  die "unable to connect to cups server";

}



#-******************************************************************************
#- write functions
#-******************************************************************************

sub configure_queue($) {
    my ($printer) = @_;

    #- Create the queue with "foomatic-configure", in case of queue
    #- renaming copy the old queue
    run_program::rooted($::prefix, "foomatic-configure", "-q",
			"-s", $printer->{currentqueue}{spooler},
			"-n", $printer->{currentqueue}{queue},
			($printer->{currentqueue}{queue} ne 
			 $printer->{OLD_QUEUE} &&
			 $printer->{configured}{$printer->{OLD_QUEUE}} ?
			 ("-C", $printer->{OLD_QUEUE}) : ()),
			"-c", $printer->{currentqueue}{connect},
			($printer->{currentqueue}{foomatic} ?
			 ("-p", $printer->{currentqueue}{printer},
			  "-d", $printer->{currentqueue}{driver}) :
			 ($printer->{currentqueue}{ppd} ?
			  ("--ppd",
			   ($printer->{currentqueue}{ppd} !~ m!^/! ?
			    "/usr/share/cups/model/" : "") .
			   $printer->{currentqueue}{ppd}) :
			  ("-d", "raw"))),
			"-N", $printer->{currentqueue}{desc},
			"-L", $printer->{currentqueue}{loc},
			@{$printer->{currentqueue}{options}}
			) or return 0;;
    if ($printer->{currentqueue}{ppd}) {
	# Add a comment line containing the path of the used PPD file to the
	# end of the PPD file
	if ($printer->{currentqueue}{ppd} ne '1') {
	    append_to_file("$::prefix/etc/cups/ppd/$printer->{currentqueue}{queue}.ppd", "*%MDKMODELCHOICE:$printer->{currentqueue}{ppd}\n");
	}
    }	  

    # Make sure that queue is active
    if ($printer->{SPOOLER} ne "pdq") {
        run_program::rooted($::prefix, "foomatic-printjob",
			    "-s", $printer->{currentqueue}{spooler},
			    "-C", "up", $printer->{currentqueue}{queue});
    }

    # In case of CUPS set some more useful defaults for text and image 
    # printing
    if ($printer->{SPOOLER} eq "cups") {
	set_cups_special_options($printer->{currentqueue}{queue});
    }

    # Check whether a USB printer is configured and activate USB printing if so
    my $useUSB = 0;
    foreach (values %{$printer->{configured}}) {
	$useUSB ||= (($_->{queuedata}{connect} =~ /usb/i) || 
	    ($_->{DeviceURI} =~ /usb/i));
    }
    $useUSB ||= ($printer->{currentqueue}{connect} =~ /usb/i);
    if ($useUSB) {
	my $f = "$::prefix/etc/sysconfig/usb";
	my %usb = getVarsFromSh($f);
	$usb{PRINTER} = "yes";
	setVarsInSh($f, \%usb);
    }

    # Open permissions for device file when PDQ is chosen as spooler
    # so normal users can print.
    if ($printer->{SPOOLER} eq 'pdq') {
	if ($printer->{currentqueue}{connect} =~ 
	    m!^\s*(file|parallel|usb|serial):(\S*)\s*$!) {
	    set_permissions($1, "666");
	}
    }

    # Make a new printer entry in the $printer structure
    $printer->{configured}{$printer->{currentqueue}{queue}}{queuedata} =
        {};
    copy_printer_params($printer->{currentqueue},
      $printer->{configured}{$printer->{currentqueue}{queue}}{queuedata});
    # Construct an entry line for tree view in main window of
    # printerdrake
    make_menuentry($printer, $printer->{currentqueue}{queue});

    # Store the default option settings
    $printer->{configured}{$printer->{currentqueue}{queue}}{args} = {};
    $printer->{configured}{$printer->{currentqueue}{queue}}{args} =
	$printer->{ARGS};
    # Clean up
    delete($printer->{ARGS});
    $printer->{OLD_CHOICE} = "";
    $printer->{ARGS} = {};
    $printer->{DBENTRY} = "";
    $printer->{currentqueue} = {};

    return 1;
}

sub remove_queue($$) {
    my ($printer) = $_[0];
    my ($queue) = $_[1];
    run_program::rooted($::prefix, "foomatic-configure", "-R", "-q",
			"-s", $printer->{SPOOLER},
			"-n", $queue);
    # Delete old stuff from data structure
    delete $printer->{configured}{$queue};
    delete($printer->{currentqueue});
    delete($printer->{ARGS});
    $printer->{OLD_CHOICE} = "";
    $printer->{ARGS} = {};
    $printer->{DBENTRY} = "";
    $printer->{currentqueue} = {};
    removeprinterfromapplications($printer, $queue);
}

sub restart_queue($) {
    my ($printer) = @_;
    my $queue = $printer->{QUEUE};

    # Restart the daemon(s)
    for ($printer->{SPOOLER}) {
	/cups/ && do {
	    #- restart cups.
	    printer::services::restart("cups");
	    last };
	/lpr|lprng/ && do {
	    #- restart lpd.
	    foreach ("/var/spool/lpd/$queue/lock", "/var/spool/lpd/lpd.lock") {
		my $pidlpd = (cat_("$::prefix$_"))[0];
		kill 'TERM', $pidlpd if $pidlpd;
		unlink "$::prefix$_";
	    }
	    printer::services::restart("lpd"); sleep 1;
	    last };
    }
    # Kill the jobs
    run_program::rooted($::prefix, "foomatic-printjob", "-R",
			"-s", $printer->{SPOOLER},
			"-P", $queue, "-");

}

sub print_pages($@) {
    my ($printer, @pages) = @_;
    my $queue = $printer->{QUEUE};
    my $lpr = "/usr/bin/foomatic-printjob";
    my $lpq = "$lpr -Q";

    # Print the pages
    foreach (@pages) {
	my $page = $_;
	# Only text and PostScript can be printed directly with all spoolers,
	# images must be treated seperately
	if ($page =~ /\.jpg$/) {
	    if ($printer->{SPOOLER} ne "cups") {
		# Use "convert" from ImageMagick for non-CUPS spoolers
		system(($::testing ? $::prefix : "chroot $::prefix/ ") .
		       "/usr/bin/convert $page -page 427x654+100+65 PS:- | " .
		       ($::testing ? $::prefix : "chroot $::prefix/ ") .
		       "$lpr -s $printer->{SPOOLER} -P $queue");
	    } else {
		# Use CUPS's internal image converter with CUPS, tell it
		# to let the image occupy 90% of the page size (so nothing
		# gets cut off by unprintable borders)
		run_program::rooted($::prefix, $lpr, "-s", $printer->{SPOOLER},
				    "-P", $queue, "-o", "scaling=90", $page);
	    }		
	} else {
	    run_program::rooted($::prefix, $lpr, "-s", $printer->{SPOOLER},
				"-P", $queue, $page);
	}
    }
    sleep 5; #- allow lpr to send pages.
    # Check whether the job is queued
    local *F; 
    open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . "$lpq -s $printer->{SPOOLER} -P $queue |";
    my @lpq_output =
	grep { !/^no entries/ && !(/^Rank\s+Owner/ .. /^\s*$/) } <F>;
    close F;
    @lpq_output;
}

sub help_output {
    my ($printer, $spooler) = @_;
    my $queue = $printer->{QUEUE};

    local *F; 
    open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . sprintf($spoolers{$spooler}{help}, $queue);
    my $helptext = join("", <F>);
    close F;
    $helptext = "Option list not available!\n" if $spooler eq 'lpq' && (!$helptext || $helptext eq "");
    return $helptext;
}

sub print_optionlist {
    my ($printer) = @_;
    my $queue = $printer->{QUEUE};
    my $lpr = "/usr/bin/foomatic-printjob";

    # Print the option list pages
    if ($printer->{configured}{$queue}{queuedata}{foomatic}) {
        run_program::rooted($::prefix, $lpr, "-s", $printer->{SPOOLER},
			    "-P", $queue, "-o", "docs",
			    "/etc/bashrc");
    } elsif ($printer->{configured}{$queue}{queuedata}{ppd}) {
	system(($::testing ? $::prefix : "chroot $::prefix/ ") .
	       "/usr/bin/lphelp $queue | " .
	       ($::testing ? $::prefix : "chroot $::prefix/ ") .
	       "$lpr -s $printer->{SPOOLER} -P $queue");
    }
}

# ---------------------------------------------------------------
#
# Spooler config stuff
#
# ---------------------------------------------------------------

sub get_copiable_queues {
    my ($oldspooler, $newspooler) = @_;

    my @queuelist;      #- here we will list all Foomatic-generated queues
    # Get queue list with foomatic-configure
    local *QUEUEOUTPUT;
    open QUEUEOUTPUT, ($::testing ? $::prefix : "chroot $::prefix/ ") . 
	    "foomatic-configure -Q -q -s $oldspooler |" or
		die "Could not run foomatic-configure";

    my $entry = {};
    my $inentry = 0;
    local $_;
    while (<QUEUEOUTPUT>) {
	chomp;
	if ($inentry) {
	    # We are inside a queue entry
	    if (m!^\s*</queue>\s*$!) {
		# entry completed
		$inentry = 0;
		if ($entry->{foomatic} && $entry->{spooler} eq $oldspooler) {
		    # Is the connection type supported by the new
		    # spooler?
		    if ($newspooler eq "cups" && $entry->{connect} =~ /^(file|ptal|lpd|socket|smb|ipp):/ ||
                  $newspooler =~ /^(lpd|lprng)$/ && $entry->{connect} =~ /^(file|ptal|lpd|socket|smb|ncp|postpipe):/ ||
                  $newspooler eq "pdq" && $entry->{connect} =~ /^(file|ptal|lpd|socket):/) {
                  push(@queuelist, $entry->{name});
		    }
		}
		$entry = {};
	    } elsif (m!^\s*<name>(.+)</name>\s*$!) {
		    # queue name
		    $entry->{name} = $1;
	    } elsif (m!^\s*<connect>(.+)</connect>\s*$!) {
		    # connection type (URI)
		    $entry->{connect} = $1;
	    }
	} else {
	    if (m!^\s*<queue\s+foomatic\s*=\s*\"?(\d+)\"?\s*spooler\s*=\s*\"?(\w+)\"?\s*>\s*$!) {
		# new entry
		$inentry = 1;
		$entry->{foomatic} = $1;
		$entry->{spooler} = $2;
	    }
	}
    }
    close QUEUEOUTPUT;
    
    return @queuelist;
}

sub copy_foomatic_queue {
    my ($printer, $oldqueue, $oldspooler, $newqueue) = @_;
    run_program::rooted($::prefix, "foomatic-configure", "-q",
			"-s", $printer->{SPOOLER},
			"-n", $newqueue,
			"-C", $oldspooler, $oldqueue);
    # In case of CUPS set some more useful defaults for text and image printing
    if ($printer->{SPOOLER} eq "cups") {
	set_cups_special_options($newqueue);
    }
}

# ------------------------------------------------------------------
#
# Stuff for non-interactive printer configuration
#
# ------------------------------------------------------------------

# Check whether a given URI (for example of an existing queue matches
# one of the auto-detected printers

sub autodetectionentry_for_uri {
    my ($uri, @autodetected) = @_;

    if ($uri =~ m!^usb://([^/]+)/([^/\?]+)(|\?serial=(\S+))$!) {
	# USB device with URI referring to printer model
	my $make = $1;
	my $model = $2;
	my $serial = $4;
	if ($make and $model) {
	    $make =~ s/\%20/ /g;
	    $model =~ s/\%20/ /g;
	    $serial =~ s/\%20/ /g;
	    $make =~ s/Hewlett[-\s_]Packard/HP/;
	    $make =~ s/HEWLETT[-\s_]PACKARD/HP/;
	    foreach my $p (@autodetected) {
		next if (!$p->{val}{MANUFACTURER} or
			 ($p->{val}{MANUFACTURER} ne $make));
		next if (!$p->{val}{MODEL} or
			 ($p->{val}{MODEL} ne $model));
		next if ((!$p->{val}{SERIALNUMBER} and $serial) or
			 ($p->{val}{SERIALNUMBER} and !$serial) or
			 ($p->{val}{SERIALNUMBER} ne $serial));
		return $p;
	    }
	}
    } elsif ($uri =~ m!^ptal:/mlc:!) {
	# HP multi-function device (controlled by HPOJ)
	my $ptaldevice = $uri;
	$ptaldevice =~ s!^ptal:/mlc:!!;
	if ($ptaldevice =~ /^par:(\d+)$/) {
	    my $device = "/dev/lp$1";
	    foreach my $p (@autodetected) {
		next if (!$p->{port} or
			 ($p->{port} ne $device));
		return $p;
	    }
	} else {
	    $ptaldevice =~ /^usb:(.*)$/;
	    my $model = $1;
	    $model =~ s/_/ /g;
	    my $device = "";
	    foreach my $p (@autodetected) {
		next if (!$p->{val}{MODEL} or
			 ($p->{val}{MODEL} ne $model));
		return $p;
	    }
	}
    } elsif ($uri =~ m!^(socket|smb|file|parallel|usb|serial):/!) {
	# Local print-only device, Ethernet-(TCP/Socket)-connected printer, 
	# or printer on Windows server
	my $device = $uri;
	$device =~ s/^(file|parallel|usb|serial)://;
	foreach my $p (@autodetected) {
	    next if (!$p->{port} or
		     ($p->{port} ne $device));
	    return $p;
	}
    }
    return undef;
}

# ------------------------------------------------------------------
#
# Configuration of HP multi-function devices
#
# ------------------------------------------------------------------

sub configure_hpoj {
    my ($device, @autodetected) = @_;

    # Make the subroutines of /usr/sbin/ptal-init available
    # It's only necessary to read it at the first call of this subroutine,
    # the subroutine definitions stay valid after leaving this subroutine.
    if (!$ptalinitread) {
	local *PTALINIT;
	open PTALINIT, "$::prefix/usr/sbin/ptal-init" or do {
	    die "unable to open $::prefix/usr/sbin/ptal-init";
	};
	my @ptalinitfunctions; # subroutine definitions in /usr/sbin/ptal-init
	local $_;
	while (<PTALINIT>) {
	    if (m!sub main!) {
		last;
	    } elsif (m!^[^\#]!) {
		# Make the subroutines also working during installation
		if ($::isInstall) {
		    s!\$::prefix!\$hpoj_prefix!g;
		    s!prefix=\"/usr\"!prefix=\"$::prefix/usr\"!g;
		    s!etcPtal=\"/etc/ptal\"!etcPtal=\"$::prefix/etc/ptal\"!g;
		    s!varLock=\"/var/lock\"!varLock=\"$::prefix/var/lock\"!g;
		    s!varRunPrefix=\"/var/run\"!varRunPrefix=\"$::prefix/var/run\"!g;
		}
		push @ptalinitfunctions, $_;
	    }
	}
	close PTALINIT;

	eval "package printer::hpoj;
        @ptalinitfunctions
        sub getDevnames {
	    return (%devnames)
	}
        sub getConfigInfo {
            return (%configInfo)
        }";

	if ($::isInstall) {
	    # Needed for photo card reader detection during installation
	    system("ln -s $::prefix/var/run/ptal-mlcd /var/run/ptal-mlcd");
	    system("ln -s $::prefix/etc/ptal /etc/ptal");
	}
	$ptalinitread = 1;
    }

    # Read the HPOJ config file and check whether this device is already
    # configured
    printer::hpoj::setupVariables();
    printer::hpoj::readDeviceInfo();

    $device =~ m!^/dev/\S*lp(\d+)$! or
	$device =~ m!^/dev/printers/(\d+)$! or
	$device =~ m!^socket://([^:]+)$! or
	$device =~ m!^socket://([^:]+):(\d+)$!;
    my $model = $1;
    my ($model_long, $serialnumber, $serialnumber_long) = ("", "", "");
    my $cardreader = 0;
    my $device_ok = 1;
    my $bus;
    my $address_arg = "";
    my $base_address = "";
    my $hostname = "";
    my $port = $2;
    if ($device =~ /usb/) {
	$bus = "usb";
    } elsif ($device =~ /par/ ||
	     $device =~ /\/dev\/lp/ ||
	     $device =~ /printers/) {
	$bus = "par";
	$address_arg = printer::detect::parport_addr($device);
	$address_arg =~ /^\s*-base\s+(\S+)/;
	eval "$base_address = $1";
    } elsif ($device =~ /socket/) {
	$bus = "hpjd";
	$hostname = $model;
	return "" if $port && ($port < 9100 || $port > 9103);
	if ($port && $port != 9100) {
	    $port -= 9100;
	    $hostname .= ":$port";
	}
    } else {
	return "";
    }
    my $devdata;
    foreach (@autodetected) {
	$device eq $_->{port} or next;
	$devdata = $_;
	# $model is for the PTAL device name, so make sure that it is unique
	# so in the case of the model name auto-detection having failed leave
	# the port number or the host name as model name.
	my $searchunknown = N("Unknown model");
	if ($_->{val}{MODEL} &&
	    $_->{val}{MODEL} !~ /$searchunknown/i &&
	    $_->{val}{MODEL} !~ /^\s*$/) {
	    $model = $_->{val}{MODEL};
	}
	$serialnumber = $_->{val}{SERIALNUMBER};
	# Check if the device is really an HP multi-function device
	if ($bus ne "hpjd") {
	    # Start ptal-mlcd daemon for locally connected devices
	    services::stop("hpoj");
	    run_program::rooted($::prefix, 
				"ptal-mlcd", "$bus:probe", "-device", 
				$device, split(' ',$address_arg));
	}
	$device_ok = 0;
	my $ptalprobedevice = $bus eq "hpjd" ? "hpjd:$hostname" : "mlc:$bus:probe";
	local *F;
	if (open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . "/usr/bin/ptal-devid $ptalprobedevice |") {
	    my $devid = join("", <F>);
	    close F;
	    if ($devid) {
		$device_ok = 1;
          local *F;
		if (open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . "/usr/bin/ptal-devid $ptalprobedevice -long -mdl 2>/dev/null |") {
		    $model_long = join("", <F>);
		    close F;
		    chomp $model_long;
		    # If SNMP or local port auto-detection failed but HPOJ
		    # auto-detection succeeded, fill in model name here.
		    if (!$_->{val}{MODEL} ||
			$_->{val}{MODEL} =~ /$searchunknown/i ||
			$_->{val}{MODEL} =~ /^\s*$/) {
			if ($model_long =~ /:([^:;]+);/) {
			    $_->{val}{MODEL} = $1;
			}
		    }
		}
		if (open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . "/usr/bin/ptal-devid $ptalprobedevice -long -sern 2>/dev/null |") { #-#
		    $serialnumber_long = join("", <F>);
		    close F;
		    chomp $serialnumber_long;
		}
		$cardreader = 1 if printer::hpoj::cardReaderDetected($ptalprobedevice);
	    }
	}
	if ($bus ne "hpjd") {
	    # Stop ptal-mlcd daemon for locally connected devices
            local *F;
	    if (open F, ($::testing ? $::prefix : "chroot $::prefix/ ") . "ps auxwww | grep \"ptal-mlcd $bus:probe\" | grep -v grep | ") {
		my $line = <F>;
		if ($line =~ /^\s*\S+\s+(\d+)\s+/) {
		    my $pid = $1;
		    kill 15, $pid;
		}
		close F;
	    }
	    printer::services::start("hpoj");
	}
	last;
    }
    # No, it is not an HP multi-function device.
    return "" if !$device_ok;

    # Determine the ptal device name from already existing config files
    my $ptalprefix =
	($bus eq "hpjd" ? "hpjd:" : "mlc:$bus:");
    my $ptaldevice = printer::hpoj::lookupDevname($ptalprefix, $model_long, 
				    $serialnumber_long, $base_address);

    # It's all done for us, the device is already configured
    return $ptaldevice if defined($ptaldevice);

    # Determine the ptal name for a new device
    if ($bus eq "hpjd") {
	$ptaldevice = "hpjd:$hostname";
    } else {
	$ptaldevice = $model;
	$ptaldevice =~ s![\s/]+!_!g;
	$ptaldevice = "mlc:$bus:$ptaldevice";
    }

    # Delete any old/conflicting devices
    printer::hpoj::deleteDevice($ptaldevice);
    if ($bus eq "par") {
	while (1) {
	    my $oldDevname = printer::hpoj::lookupDevname("mlc:par:",undef,undef,$base_address);
	    last unless defined($oldDevname);
	    printer::hpoj::deleteDevice($oldDevname);
	}
    }

    # Configure the device

    # Open configuration file
    local *CONFIG;
    open(CONFIG, "> $::prefix/etc/ptal/$ptaldevice") or
	die "Could not open /etc/ptal/$ptaldevice for writing!\n";

    # Write file header.
    my $date = chomp_(`date`);
    print CONFIG
	"# Added $date by \"printerdrake\".\n" .
	"\n" .
	"# The basic format for this file is \"key[+]=value\".\n" .
	"# If you say \"+=\" instead of \"=\", then the value is appended to any\n" .
	"# value already defined for this key, rather than replacing it.\n" .
	"\n" .
	"# Comments must start at the beginning of the line.  Otherwise, they may\n" .
	"# be interpreted as being part of the value.\n" .
	"\n" .
	"# If you have multiple devices and want to define options that apply to\n" .
	"# all of them, then put them in the file /etc/ptal/defaults, which is read\n" .
	"# in before this file.\n" .
	"\n" .
	"# The format version of this file:\n" .
	"#   ptal-init ignores devices with incorrect/missing versions.\n" .
	"init.version=1\n";

    # Write model string.
    if ($model_long !~ /\S/) {
	print CONFIG
	    "\n" .
	    "# \"printerdrake\" couldn't read the model but added this device anyway:\n" .
	    "# ";
    } else {
	print CONFIG
	    "\n" .
	    "# The device model that was originally detected on this port:\n" .
	    "#   If this ever changes, then you should re-run \"printerdrake\"\n" .
	    "#   to delete and re-configure this device.\n";
	if ($bus eq "par") {
	    print CONFIG
		"#   Comment out if you don't care what model is really connected to this\n" .
		"#   parallel port.\n";
	}
    }
    print CONFIG
	"init.mlcd.append+=-devidmatch \"$model_long\"\n";

    # Write serial-number string.
    if ($serialnumber_long !~ /\S/) {
	print CONFIG
	    "\n" .
	    "# The device's serial number is unknown.\n" .
	    "# ";
    } else {
	print CONFIG
	    "\n" .
	    "# The serial number of the device that was originally detected on this port:\n";
	if ($bus =~ /^[pu]/) {
	    print CONFIG
		"#   Comment out if you want to disable serial-number matching.\n";
	}
    }
    print CONFIG
	"init.mlcd.append+=-devidmatch \"$serialnumber_long\"\n";

    if ($bus =~ /^[pu]/) {
	print CONFIG
	    "\n" .
	    "# Standard options passed to ptal-mlcd:\n" .
	    "init.mlcd.append+=";
	if ($bus eq "usb") {
	    # Important: don't put more quotes around /dev/usb/lp[0-9]*,
	    # because ptal-mlcd currently does no globbing:
	    print CONFIG "-device /dev/usb/lp[0-9]*";
	} elsif ($bus eq "par") {
	    print CONFIG "$address_arg -device $device";
	}
	print CONFIG "\n" .
	    "\n" .
	    "# ptal-mlcd's remote console can be useful for debugging, but may be a\n" .
	    "# security/DoS risk otherwise.  In any case, it's accessible with the\n" .
	    "# command \"ptal-connect mlc:<XXX>:<YYY> -service PTAL-MLCD-CONSOLE\".\n" .
	    "# Uncomment the following line if you want to enable this feature for\n" .
	    "# this device:\n" .
	    "# init.mlcd.append+=-remconsole\n" .
	    "\n" .
	    "# If you need to pass any other command-line options to ptal-mlcd, then\n" .
	    "# add them to the following line and uncomment the line:\n" .
	    "# init.mlcd.append+=\n" .
	    "\n" .
	    "# By default ptal-printd is started for mlc: devices.  If you use CUPS,\n" .
	    "# then you may not be able to use ptal-printd, and you can uncomment the\n" .
	    "# following line to disable ptal-printd for this device:\n" .
	    "# init.printd.start=0\n";
    } else {
	print CONFIG
	    "\n" .
	    "# By default ptal-printd isn't started for hpjd: devices.\n" .
	    "# If for some reason you want to start it for this device, then\n" .
	    "# uncomment the following line:\n" .
	    "init.printd.start=1\n";
    }

    print CONFIG
	"\n" .
	"# If you need to pass any additional command-line options to ptal-printd,\n" .
	"# then add them to the following line and uncomment the line:\n" .
	"# init.printd.append+=\n";
    if ($cardreader) {
	print CONFIG
	    "\n" .
	    "# Uncomment the following line to enable ptal-photod for this device:\n" .
	    "init.photod.start=1\n" .
	    "\n" .
	    "# If you have more than one photo-card-capable peripheral and you want to\n" .
	    "# assign particular TCP port numbers and mtools drive letters to each one,\n" .
	    "# then change the line below to use the \"-portoffset <n>\" option.\n" .
	    "init.photod.append+=-maxaltports 26\n";
    }
    close(CONFIG);
    printer::hpoj::readOneDevice($ptaldevice);

    # Restart HPOJ
    printer::services::restart("hpoj");

    # Return HPOJ device name to form the URI
    return $ptaldevice;
}

sub config_sane {
    # Add HPOJ backend to /etc/sane.d/dll.conf if needed (no individual
    # config file /etc/sane.d/hpoj.conf necessary, the HPOJ driver finds the
    # scanner automatically)
    return if member("hpoj", chomp_(cat_("$::prefix/etc/sane.d/dll.conf")));
    eval { append_to_file("$::prefix/etc/sane.d/dll.conf", "hpoj\n") } or
	   die "can't write SANE config in /etc/sane.d/dll.conf: $!";
}

sub config_photocard {

    # Add definitions for the drives p:. q:, r:, and s: to /etc/mtools.conf
    cat_("$::prefix/etc/mtools.conf") !~ m/^\s*drive\s+p:/m or return;

    append_to_file("$::prefix/etc/mtools.conf", <<'EOF');
# Drive definitions added for the photo card readers in HP multi-function
# devices driven by HPOJ
drive p: file=":0" remote
drive q: file=":1" remote
drive r: file=":2" remote
drive s: file=":3" remote
# This turns off some file system integrity checks of mtools, it is needed
# for some photo cards.
mtools_skip_check=1
EOF

    # Generate a config file for the graphical mtools frontend MToolsFM or
    # modify the existing one
    my $mtoolsfmconf;
    if (-f "$::prefix/etc/mtoolsfm.conf") {
	$mtoolsfmconf = cat_("$::prefix/etc/mtoolsfm.conf") or die "can't read MToolsFM config in $::prefix/etc/mtoolsfm.conf: $!";
	$mtoolsfmconf =~ m/^\s*DRIVES\s*=\s*\"([A-Za-z ]*)\"/m;
	my $alloweddrives = lc($1);
	foreach my $letter ("p", "q", "r", "s") {
         $alloweddrives .= $letter if $alloweddrives !~ /$letter/;
	}
	$mtoolsfmconf =~ s/^\s*DRIVES\s*=\s*\"[A-Za-z ]*\"/DRIVES=\"$alloweddrives\"/m;
	$mtoolsfmconf =~ s/^\s*LEFTDRIVE\s*=\s*\"[^\"]*\"/LEFTDRIVE=\"p\"/m;
    } else {
	$mtoolsfmconf = <<'EOF';
# MToolsFM config file. comments start with a hash sign.
#
# This variable sets the allowed driveletters (all lowercase). Example:
# DRIVES="ab"
DRIVES="apqrs"
#
# This variable sets the driveletter upon startup in the left window.
# An empty string or space is for the hardisk. Example:
# LEFTDRIVE="a"
LEFTDRIVE="p"
#
# This variable sets the driveletter upon startup in the right window.
# An empty string or space is for the hardisk. Example:
# RIGHTDRIVE="a"
RIGHTDRIVE=" "
EOF
    }
    output("$::prefix/etc/mtoolsfm.conf", $mtoolsfmconf);
}

# ------------------------------------------------------------------
#
# Configuration of printers in applications
#
# ------------------------------------------------------------------

sub configureapplications {
    my ($printer) = @_;
    setcupslink($printer);
    printer::office::configureoffice('Star Office', $printer);
    printer::office::configureoffice('OpenOffice.Org', $printer);
    printer::gimp::configure($printer);
}

sub addcupsremotetoapplications {
    my ($printer, $queue) = @_;
    setcupslink($printer);
    return printer::office::add_cups_remote_to_office('Star Office', $printer, $queue) &&
	   printer::office::add_cups_remote_to_office('OpenOffice.Org', $printer, $queue) &&
	   printer::gimp::addcupsremoteto($printer, $queue);
}

sub removeprinterfromapplications {
    my ($printer, $queue) = @_;
    setcupslink($printer);
    return printer::office::remove_printer_from_office('Star Office', $printer, $queue) &&
	   printer::office::remove_printer_from_office('OpenOffice.Org', $printer, $queue) &&
	   printer::gimp::removeprinterfrom($printer, $queue);
}

sub removelocalprintersfromapplications {
    my ($printer) = @_;
    setcupslink($printer);
    printer::office::remove_local_printers_from_office('Star Office', $printer);
    printer::office::remove_local_printers_from_office('OpenOffice.Org', $printer);
    printer::gimp::removelocalprintersfrom($printer);
}

sub setcupslink {
    my ($printer) = @_;
    return 1 if !$::isInstall || $printer->{SPOOLER} ne "cups" || -d "/etc/cups/ppd";
    system("ln -sf $::prefix/etc/cups /etc/cups");
    return 1;
}


1;
се додаде" #: diskdrake/interactive.pm:996 diskdrake/interactive.pm:1005 #, fuzzy, c-format msgid "LVM name" msgstr "LVM име?" #: diskdrake/interactive.pm:997 #, c-format msgid "Enter a name for the new LVM volume group" msgstr "" #: diskdrake/interactive.pm:1002 #, fuzzy, c-format msgid "\"%s\" already exists" msgstr "Датотека веќе постои. Да се користи?" #: diskdrake/interactive.pm:1034 #, c-format msgid "" "Physical volume %s is still in use.\n" "Do you want to move used physical extents on this volume to other volumes?" msgstr "" #: diskdrake/interactive.pm:1036 #, c-format msgid "Moving physical extents" msgstr "" #: diskdrake/interactive.pm:1054 #, c-format msgid "This partition cannot be used for loopback" msgstr "Оваа партиција не може да се користи за loopback" #: diskdrake/interactive.pm:1067 #, c-format msgid "Loopback" msgstr "Loopback" #: diskdrake/interactive.pm:1068 #, c-format msgid "Loopback file name: " msgstr "Loopback датотека: " #: diskdrake/interactive.pm:1073 #, c-format msgid "Give a file name" msgstr "Наведете датотека" #: diskdrake/interactive.pm:1076 #, c-format msgid "File is already used by another loopback, choose another one" msgstr "Датотеката веќе се користи од друг loopback, изберете друга" #: diskdrake/interactive.pm:1077 #, c-format msgid "File already exists. Use it?" msgstr "Датотека веќе постои. Да се користи?" #: diskdrake/interactive.pm:1109 diskdrake/interactive.pm:1112 #, c-format msgid "Mount options" msgstr "Опции за монтирање" #: diskdrake/interactive.pm:1119 #, c-format msgid "Various" msgstr "Разни" #: diskdrake/interactive.pm:1165 #, c-format msgid "device" msgstr "уред" #: diskdrake/interactive.pm:1166 #, c-format msgid "level" msgstr "ниво" #: diskdrake/interactive.pm:1167 #, c-format msgid "chunk size in KiB" msgstr "големина на ѓубрето во KiB" #: diskdrake/interactive.pm:1185 #, c-format msgid "Be careful: this operation is dangerous." msgstr "Внимателно: оваа операција е опасна." #: diskdrake/interactive.pm:1200 #, fuzzy, c-format msgid "Partitioning Type" msgstr "Партиционирање" #: diskdrake/interactive.pm:1200 #, c-format msgid "What type of partitioning?" msgstr "Кој тип на партиционирање?" #: diskdrake/interactive.pm:1238 #, c-format msgid "You'll need to reboot before the modification can take effect" msgstr "" "Ќе морате да го рестартувате компјутерот пред модификациите да бидат " "ефективни" #: diskdrake/interactive.pm:1247 #, c-format msgid "Partition table of drive %s is going to be written to disk" msgstr "Партициската табела на дискот %s ќе биде запишана на дискот" #: diskdrake/interactive.pm:1266 fs/format.pm:107 fs/format.pm:114 #, c-format msgid "Formatting partition %s" msgstr "Форматирање на партицијата %s" #: diskdrake/interactive.pm:1279 #, c-format msgid "After formatting partition %s, all data on this partition will be lost" msgstr "" "По форматирањето на партицијата %s, сите податоци на оваа партиција ќе бидат " "изгубени" #: diskdrake/interactive.pm:1293 fs/partitioning.pm:48 #, c-format msgid "Check for bad blocks?" msgstr "Проверка на лоши блокови?" #: diskdrake/interactive.pm:1308 #, c-format msgid "Move files to the new partition" msgstr "Премести ги датотеките на новата партиција" #: diskdrake/interactive.pm:1308 #, c-format msgid "Hide files" msgstr "Скриј датотеки" #: diskdrake/interactive.pm:1309 #, c-format msgid "" "Directory %s already contains data\n" "(%s)\n" "\n" "You can either choose to move the files into the partition that will be " "mounted there or leave them where they are (which results in hiding them by " "the contents of the mounted partition)" msgstr "" #: diskdrake/interactive.pm:1324 #, c-format msgid "Moving files to the new partition" msgstr "Преместување на датотеките на новата партиција" #: diskdrake/interactive.pm:1328 #, c-format msgid "Copying %s" msgstr "Копирање на %s" #: diskdrake/interactive.pm:1332 #, c-format msgid "Removing %s" msgstr "Отстранување на %s" #: diskdrake/interactive.pm:1346 #, c-format msgid "partition %s is now known as %s" msgstr "партицијата %s сега е позната како %s" #: diskdrake/interactive.pm:1347 #, c-format msgid "Partitions have been renumbered: " msgstr "" #: diskdrake/interactive.pm:1372 diskdrake/interactive.pm:1443 #, c-format msgid "Device: " msgstr "Уред: " #: diskdrake/interactive.pm:1373 #, c-format msgid "Volume label: " msgstr "Име на модиумот: " #: diskdrake/interactive.pm:1374 #, c-format msgid "UUID: " msgstr "" #: diskdrake/interactive.pm:1375 #, c-format msgid "DOS drive letter: %s (just a guess)\n" msgstr "DOS диск-буква: %s (само претпоставка)\n" #: diskdrake/interactive.pm:1379 diskdrake/interactive.pm:1388 #: diskdrake/interactive.pm:1462 #, c-format msgid "Type: " msgstr "Тип: " #: diskdrake/interactive.pm:1383 diskdrake/interactive.pm:1447 #, c-format msgid "Name: " msgstr "Име: " #: diskdrake/interactive.pm:1390 #, c-format msgid "Start: sector %s\n" msgstr "Почеток: сектор %s\n" #: diskdrake/interactive.pm:1391 #, c-format msgid "Size: %s" msgstr "Големина: %s" #: diskdrake/interactive.pm:1393 #, c-format msgid ", %s sectors" msgstr ", %s сектори" #: diskdrake/interactive.pm:1395 #, c-format msgid "Cylinder %d to %d\n" msgstr "Цилиндер %d до %d\n" #: diskdrake/interactive.pm:1396 #, c-format msgid "Number of logical extents: %d\n" msgstr "" #: diskdrake/interactive.pm:1397 #, c-format msgid "Formatted\n" msgstr "Форматирана\n" #: diskdrake/interactive.pm:1398 #, c-format msgid "Not formatted\n" msgstr "Неформатирана\n" #: diskdrake/interactive.pm:1399 #, c-format msgid "Mounted\n" msgstr "Монтирано\n" #: diskdrake/interactive.pm:1400 #, c-format msgid "RAID %s\n" msgstr "RAID %s\n" #: diskdrake/interactive.pm:1402 #, fuzzy, c-format msgid "Encrypted" msgstr "Криптирачки клуч" #: diskdrake/interactive.pm:1404 #, c-format msgid " (mapped on %s)" msgstr "" #: diskdrake/interactive.pm:1405 #, c-format msgid " (to map on %s)" msgstr "" #: diskdrake/interactive.pm:1406 #, c-format msgid " (inactive)" msgstr "" #: diskdrake/interactive.pm:1413 #, c-format msgid "" "Loopback file(s):\n" " %s\n" msgstr "" "Loopback датотека(и):\n" " %s\n" #: diskdrake/interactive.pm:1414 #, c-format msgid "" "Partition booted by default\n" " (for MS-DOS boot, not for lilo)\n" msgstr "" "Партицијата што прва се подига\n" " (за MS-DOS, не за lilo)\n" #: diskdrake/interactive.pm:1416 #, c-format msgid "Level %s\n" msgstr "Ниво %s\n" #: diskdrake/interactive.pm:1417 #, c-format msgid "Chunk size %d KiB\n" msgstr "Големина на ѓубрето %d KiB\n" #: diskdrake/interactive.pm:1418 #, c-format msgid "RAID-disks %s\n" msgstr "RAID-дискови %s\n" #: diskdrake/interactive.pm:1420 #, c-format msgid "Loopback file name: %s" msgstr "Loopback датотека: %s" #: diskdrake/interactive.pm:1423 #, c-format msgid "" "\n" "Chances are, this partition is\n" "a Driver partition. You should\n" "probably leave it alone.\n" msgstr "" "\n" "Има шанси оваа партиција да е\n" "Драјверска партиција. Веројатно треба\n" "да ја оставите на мира.\n" #: diskdrake/interactive.pm:1426 #, c-format msgid "" "\n" "This special Bootstrap\n" "partition is for\n" "dual-booting your system.\n" msgstr "" "\n" "Оваа специјална Bootstrap\n" "партиција е за\n" "двојно подигање на Вашиот систем.\n" #: diskdrake/interactive.pm:1435 #, c-format msgid "Free space on %s (%s)" msgstr "" #: diskdrake/interactive.pm:1444 #, c-format msgid "Read-only" msgstr "Само за читање" #: diskdrake/interactive.pm:1445 #, c-format msgid "Size: %s\n" msgstr "Големина: %s\n" #: diskdrake/interactive.pm:1446 #, c-format msgid "Geometry: %s cylinders, %s heads, %s sectors\n" msgstr "Геометрија: %s цилиндри, %s глави, %s сектори\n" #: diskdrake/interactive.pm:1448 #, fuzzy, c-format msgid "Medium type: " msgstr "Тип на фајлсистем: " #: diskdrake/interactive.pm:1449 #, c-format msgid "LVM-disks %s\n" msgstr "LVM-дискови %s\n" #: diskdrake/interactive.pm:1450 #, c-format msgid "Partition table type: %s\n" msgstr "Тип на партициска табела: %s\n" #: diskdrake/interactive.pm:1451 #, c-format msgid "on channel %d id %d\n" msgstr "на канал %d id %d\n" #: diskdrake/interactive.pm:1495 #, c-format msgid "Choose your filesystem encryption key" msgstr "Изберете го клучот за криптирање на фајлсистемот" #: diskdrake/interactive.pm:1498 #, c-format msgid "This encryption key is too simple (must be at least %d characters long)" msgstr "" "Овој криптирачки клуч е преедноставен (мора да има должина од барем %d знаци)" #: diskdrake/interactive.pm:1505 #, c-format msgid "Encryption algorithm" msgstr "Алгоритам за енкрипција" #: diskdrake/removable.pm:46 #, c-format msgid "Change type" msgstr "Промена на тип" #: diskdrake/smbnfs_gtk.pm:81 interactive.pm:129 interactive.pm:550 #: interactive/curses.pm:267 interactive/http.pm:104 interactive/http.pm:160 #: interactive/stdio.pm:39 interactive/stdio.pm:148 mygtk2.pm:846 ugtk2.pm:415 #: ugtk2.pm:517 ugtk2.pm:526 ugtk2.pm:812 #, c-format msgid "Cancel" msgstr "Откажи" #: diskdrake/smbnfs_gtk.pm:164 #, c-format msgid "Cannot login using username %s (bad password?)" msgstr "Не може да се најави со корисникот %s (погрешна лозинка?)" #: diskdrake/smbnfs_gtk.pm:168 diskdrake/smbnfs_gtk.pm:177 #, c-format msgid "Domain Authentication Required" msgstr "Потребна е автентикација на домен" #: diskdrake/smbnfs_gtk.pm:169 #, c-format msgid "Which username" msgstr "Кое корисничко име" #: diskdrake/smbnfs_gtk.pm:169 #, c-format msgid "Another one" msgstr "Друг" #: diskdrake/smbnfs_gtk.pm:178 #, c-format msgid "" "Please enter your username, password and domain name to access this host." msgstr "Внесете го Вашето корисничко име, лозинка и име на домен за пристап." #: diskdrake/smbnfs_gtk.pm:180 #, c-format msgid "Username" msgstr "Корисничко име" #: diskdrake/smbnfs_gtk.pm:182 #, c-format msgid "Domain" msgstr "Домен" #: diskdrake/smbnfs_gtk.pm:206 #, c-format msgid "Search servers" msgstr "Барај сервери" #: diskdrake/smbnfs_gtk.pm:211 #, c-format msgid "Search for new servers" msgstr "Барај нови сервери" #: do_pkgs.pm:19 do_pkgs.pm:57 #, c-format msgid "The package %s needs to be installed. Do you want to install it?" msgstr "Треба да се инсталира пакетот %s. Дали сакате да го инсталирате?" #: do_pkgs.pm:23 do_pkgs.pm:44 do_pkgs.pm:60 do_pkgs.pm:82 #, fuzzy, c-format msgid "Could not install the %s package!" msgstr "Инсталирање на пакетот %s" #: do_pkgs.pm:28 do_pkgs.pm:65 #, c-format msgid "Mandatory package %s is missing" msgstr "Неопходниот пакет %s недостига" #: do_pkgs.pm:39 do_pkgs.pm:77 #, c-format msgid "The following packages need to be installed:\n" msgstr "Следниве пакети мора да се инсталирани:\n" #: do_pkgs.pm:241 #, c-format msgid "Installing packages..." msgstr "Инсталирање на пакетите..." #: do_pkgs.pm:286 pkgs.pm:285 #, c-format msgid "Removing packages..." msgstr "Отстранување на пакетите..." #: fs/any.pm:18 #, c-format msgid "" "An error occurred - no valid devices were found on which to create new " "filesystems. Please check your hardware for the cause of this problem" msgstr "" "Се случи грешка - не се најдени валидни уреди за на нив да се создаде нов " "фајлсистем. Проверете го Вашиот хардвер, за да го отстраните проблемот" #: fs/any.pm:76 fs/partitioning_wizard.pm:64 #, c-format msgid "You must have a FAT partition mounted in /boot/efi" msgstr "Мора да имате FAT партиција монтирана на /boot/efi" #: fs/format.pm:111 #, c-format msgid "Creating and formatting file %s" msgstr "Создавање и форматирање на датотеката %s" #: fs/format.pm:130 #, fuzzy, c-format msgid "I do not know how to set label on %s with type %s" msgstr "Не знам како да го форматирам %s во тип %s" #: fs/format.pm:142 #, fuzzy, c-format msgid "setting label on %s failed, is it formatted?" msgstr "%s форматирање на %s не успеа" #: fs/format.pm:183 #, c-format msgid "I do not know how to format %s in type %s" msgstr "Не знам како да го форматирам %s во тип %s" #: fs/format.pm:188 fs/format.pm:190 #, c-format msgid "%s formatting of %s failed" msgstr "%s форматирање на %s не успеа" #: fs/loopback.pm:24 #, c-format msgid "Circular mounts %s\n" msgstr "Циркуларни монтирања %s\n" #: fs/mount.pm:85 #, c-format msgid "Mounting partition %s" msgstr "Монтирање на партицијата %s" #: fs/mount.pm:86 #, c-format msgid "mounting partition %s in directory %s failed" msgstr "монтирањето на партицијата %s во директориум %s не успеа" #: fs/mount.pm:91 fs/mount.pm:108 #, c-format msgid "Checking %s" msgstr "Проверка %s" #: fs/mount.pm:125 partition_table.pm:422 #, c-format msgid "error unmounting %s: %s" msgstr "грешка при одмонтирање на %s: %s" #: fs/mount.pm:140 #, c-format msgid "Enabling swap partition %s" msgstr "Вклучување на swap партицијата %s" #: fs/mount_options.pm:113 #, c-format msgid "Enable POSIX Access Control Lists" msgstr "" #: fs/mount_options.pm:115 #, c-format msgid "Flush write cache on file close" msgstr "" #: fs/mount_options.pm:117 #, c-format msgid "Enable group disk quota accounting and optionally enforce limits" msgstr "" #: fs/mount_options.pm:119 #, c-format msgid "" "Do not update inode access times on this filesystem\n" "(e.g, for faster access on the news spool to speed up news servers)." msgstr "" "Не ги ажурирај инодно временските пристапи на овој фајл ситем\n" "(на пр. за побрз пристап на новостите паралелно за да се забрзат серверите " "за дискусионите групи)." #: fs/mount_options.pm:122 #, fuzzy, c-format msgid "" "Update inode access times on this filesystem in a more efficient way\n" "(e.g, for faster access on the news spool to speed up news servers)." msgstr "" "Не ги ажурирај инодно временските пристапи на овој фајл ситем\n" "(на пр. за побрз пристап на новостите паралелно за да се забрзат серверите " "за дискусионите групи)." #: fs/mount_options.pm:125 #, c-format msgid "" "Can only be mounted explicitly (i.e.,\n" "the -a option will not cause the filesystem to be mounted)." msgstr "" "Може да се монтира само експлицитно (на пр.,\n" "опцијата -а нема да предизвика фајл системот да биде монтиран)." #: fs/mount_options.pm:128 #, c-format msgid "Do not interpret character or block special devices on the filesystem." msgstr "" "Не ги интерпретирај карактерите или специјалните блок уреди на датотечниот " "систем." #: fs/mount_options.pm:130 #, c-format msgid "" "Do not allow execution of any binaries on the mounted\n" "filesystem. This option might be useful for a server that has filesystems\n" "containing binaries for architectures other than its own." msgstr "" "Не дозволувајте извршивање на ниедни бинарни датотеки на монтираниот\n" "фајл ситем. Оваа опција можеби е корисна за сервер чии што фајл системи\n" "содржат бинарни датотеки за архитектури поинакви од неговата." #: fs/mount_options.pm:134 #, c-format msgid "" "Do not allow set-user-identifier or set-group-identifier\n" "bits to take effect. (This seems safe, but is in fact rather unsafe if you\n" "have suidperl(1) installed.)" msgstr "" "Не дозволувајте битовите на подеси-кориснички-идентификатор или\n" "подеси-групен-идентификатор да се применат. (Ова изгледа сигурно, но\n" "всушност не е сигурно ако имате инсталирано suidperl(1))" #: fs/mount_options.pm:138 #, c-format msgid "Mount the filesystem read-only." msgstr "Монтирањето на системската датотека е само за читање." #: fs/mount_options.pm:140 #, c-format msgid "All I/O to the filesystem should be done synchronously." msgstr "Сите I/O од системските датотеки треба да бидат синхрнизирани." #: fs/mount_options.pm:142 #, c-format msgid "Allow every user to mount and umount the filesystem." msgstr "" #: fs/mount_options.pm:144 #, c-format msgid "Allow an ordinary user to mount the filesystem." msgstr "" #: fs/mount_options.pm:146 #, c-format msgid "Enable user disk quota accounting, and optionally enforce limits" msgstr "" #: fs/mount_options.pm:148 #, c-format msgid "Support \"user.\" extended attributes" msgstr "" #: fs/mount_options.pm:150 #, c-format msgid "Give write access to ordinary users" msgstr "" #: fs/mount_options.pm:152 #, c-format msgid "Give read-only access to ordinary users" msgstr "" #: fs/mount_point.pm:82 #, c-format msgid "Duplicate mount point %s" msgstr "Дупликат точка на монтирање: %s" #: fs/mount_point.pm:97 #, c-format msgid "No partition available" msgstr "Нема достапна партиција" #: fs/mount_point.pm:100 #, c-format msgid "Scanning partitions to find mount points" msgstr "Скенирање на партиции за да се најдат точки на монтирање" #: fs/mount_point.pm:107 #, c-format msgid "Choose the mount points" msgstr "Изберете ги точките на монтирање" #: fs/partitioning.pm:46 #, c-format msgid "Choose the partitions you want to format" msgstr "Изберете ги партициите за форматирање" #: fs/partitioning.pm:75 #, c-format msgid "" "Failed to check filesystem %s. Do you want to repair the errors? (beware, " "you can lose data)" msgstr "" "Неуспешна проверка на фајлсистемот %s. Сакате ли да ги поправите грешките? " "(внимавајте, може да изгубите податоци)" #: fs/partitioning.pm:78 #, c-format msgid "Not enough swap space to fulfill installation, please add some" msgstr "" "Нема доволно swap простор за завршување на инсталацијата; додадете малку" #: fs/partitioning_wizard.pm:55 #, c-format msgid "" "You must have a root partition.\n" "To accomplish this, create a partition (or click on an existing one).\n" "Then choose action ``Mount point'' and set it to `/'" msgstr "" "Мора да имате root-партиција.\n" "Затоа, создадете партиција (или изберете веќе постоечка),\n" "потоа изберете \"Точка на монтирање\" и поставете ја на \"/\"" #: fs/partitioning_wizard.pm:61 #, c-format msgid "" "You do not have a swap partition.\n" "\n" "Continue anyway?" msgstr "" "Немате swap партиција.\n" "\n" "Да продолжиме?" #: fs/partitioning_wizard.pm:95 #, c-format msgid "Use free space" msgstr "Користи празен простор" #: fs/partitioning_wizard.pm:97 #, c-format msgid "Not enough free space to allocate new partitions" msgstr "Нема доволно слободен простор за алоцирање на нови партиции" #: fs/partitioning_wizard.pm:105 #, c-format msgid "Use existing partitions" msgstr "Користи ги постоечките партиции" #: fs/partitioning_wizard.pm:107 #, c-format msgid "There is no existing partition to use" msgstr "Не постои партиција за да може да се користи" #: fs/partitioning_wizard.pm:131 #, c-format msgid "Computing the size of the Microsoft Windows® partition" msgstr "Пресметување на големината на Microsoft Windows® партицијата" #: fs/partitioning_wizard.pm:167 #, fuzzy, c-format msgid "Use the free space on a Microsoft Windows® partition" msgstr "Користи го празниот простор на Windows партицијата" #: fs/partitioning_wizard.pm:171 #, c-format msgid "Which partition do you want to resize?" msgstr "Која партиција сакате да ја зголемувате/намалувате?" #: fs/partitioning_wizard.pm:174 #, c-format msgid "" "Your Microsoft Windows® partition is too fragmented. Please reboot your " "computer under Microsoft Windows®, run the ``defrag'' utility, then restart " "the %s installation." msgstr "" "Вашата Microsoft Windows® партиција е премногу фрагментирана. Рестартирајте " "го компјутерот, подигнете го под Microsoft Windows®, вклучете ја алатката " "\"defrag\", и потоа повторно подигнете ја инсталациската постапка на %s" "Линукс." #: fs/partitioning_wizard.pm:182 #, c-format msgid "" "WARNING!\n" "\n" "\n" "Your Microsoft Windows® partition will be now resized.\n" "\n" "\n" "Be careful: this operation is dangerous. If you have not already done so, " "you first need to exit the installation, run \"chkdsk c:\" from a Command " "Prompt under Microsoft Windows® (beware, running graphical program \"scandisk" "\" is not enough, be sure to use \"chkdsk\" in a Command Prompt!), " "optionally run defrag, then restart the installation. You should also backup " "your data.\n" "\n" "\n" "When sure, press %s." msgstr "" "ПРЕДУПРЕДУВАЊЕ!\n" "\n" "\n" "Големината на вашата „Microsoft Windows®“ партиција ќе биде променета.\n" "\n" "\n" "Внимавајте: оваа операција е опасна. Најпрво е потребно да извршите„chkdsk " "c:“преку командната конзола во „Windows“. Доколку не сте го сториле тоа," "треба да излезете од инсталацијава, и да ја извршите оваа команда" "(внимавајте, не е доволно да го извршите графичкиот програм „scandisk“," "бидете сигурни дека користите „chkdsk“ во командната конзола!). Како " "опцијаможе да го извршите и „defrag“ и потоа повторно да ја вклучите " "инсталацијата.Исто така, пожелно е да направите и резервна копија на вашите " "податоци.\n" "\n" "\n" "Кога ќе сте сигурни, притиснете „%s“" #. -PO: keep the double empty lines between sections, this is formatted a la LaTeX #: fs/partitioning_wizard.pm:191 fs/partitioning_wizard.pm:559 #: interactive.pm:549 interactive/curses.pm:270 ugtk2.pm:519 #, c-format msgid "Next" msgstr "Следно" #: fs/partitioning_wizard.pm:197 #, fuzzy, c-format msgid "Partitionning" msgstr "Партиционирање" #: fs/partitioning_wizard.pm:197 #, c-format msgid "Which size do you want to keep for Microsoft Windows® on partition %s?" msgstr "Колкава големина да остане за Microsoft Windows® на партиција %s?" #: fs/partitioning_wizard.pm:198 #, c-format msgid "Size" msgstr "Големина" #: fs/partitioning_wizard.pm:207 #, c-format msgid "Resizing Microsoft Windows® partition" msgstr "Зголемување/намалување на Microsoft Windows® партиција" #: fs/partitioning_wizard.pm:212 #, c-format msgid "FAT resizing failed: %s" msgstr "FAT зголемувањето/намалувањето не успеа: %s" #: fs/partitioning_wizard.pm:228 #, c-format msgid "There is no FAT partition to resize (or not enough space left)" msgstr "" "Не постои FAT партиција за зголемување/намалување (или нема доволно " "преостанат простор)" #: fs/partitioning_wizard.pm:233 #, c-format msgid "Remove Microsoft Windows®" msgstr "Отстрани го Microsoft Windows®" #: fs/partitioning_wizard.pm:233 #, c-format msgid "Erase and use entire disk" msgstr "Избриши и користи го целиот диск" #: fs/partitioning_wizard.pm:237 #, fuzzy, c-format msgid "" "You have more than one hard disk drive, which one do you want the installer " "to use?" msgstr "Имате повеќе од еден хард диск; на кој инсталирате Линукс?" #: fs/partitioning_wizard.pm:245 fsedit.pm:634 #, c-format msgid "ALL existing partitions and their data will be lost on drive %s" msgstr "СИТЕ постоечки партиции и податоци на %s ќе бидат изгубени" #: fs/partitioning_wizard.pm:255 #, c-format msgid "Custom disk partitioning" msgstr "Сопствено партицирање" #: fs/partitioning_wizard.pm:261 #, c-format msgid "Use fdisk" msgstr "Користи fdisk" #: fs/partitioning_wizard.pm:264 #, c-format msgid "" "You can now partition %s.\n" "When you are done, do not forget to save using `w'" msgstr "" "Сега можете да го партицирате %s.\n" "Кога ќе завршите, не заборавајте да зачувате користејќи \"w\"" #: fs/partitioning_wizard.pm:403 #, fuzzy, c-format msgid "Ext2/3/4" msgstr "Излез" #: fs/partitioning_wizard.pm:433 fs/partitioning_wizard.pm:579 #, c-format msgid "I cannot find any room for installing" msgstr "Не можам да најдам простор за инсталирање" #: fs/partitioning_wizard.pm:442 fs/partitioning_wizard.pm:586 #, c-format msgid "The DrakX Partitioning wizard found the following solutions:" msgstr "DrakX партицирачката самовила ги пронајде следниве решенија:" #: fs/partitioning_wizard.pm:512 #, c-format msgid "Here is the content of your disk drive " msgstr "" #: fs/partitioning_wizard.pm:596 #, c-format msgid "Partitioning failed: %s" msgstr "Партицирањето не успеа: %s" #: fs/type.pm:389 #, c-format msgid "You cannot use JFS for partitions smaller than 16MB" msgstr "Не можете да користите JFS за партиции помали од 16MB" #: fs/type.pm:390 #, c-format msgid "You cannot use ReiserFS for partitions smaller than 32MB" msgstr "Не можете да користите ReiserFS за партиции помали од 32MB" #: fsedit.pm:24 #, c-format msgid "simple" msgstr "едноставно" #: fsedit.pm:28 #, c-format msgid "with /usr" msgstr "со /usr" #: fsedit.pm:33 #, c-format msgid "server" msgstr "сервер" #: fsedit.pm:137 #, c-format msgid "BIOS software RAID detected on disks %s. Activate it?" msgstr "" #: fsedit.pm:247 #, c-format msgid "" "I cannot read the partition table of device %s, it's too corrupted for me :" "(\n" "I can try to go on, erasing over bad partitions (ALL DATA will be lost!).\n" "The other solution is to not allow DrakX to modify the partition table.\n" "(the error is %s)\n" "\n" "Do you agree to lose all the partitions?\n" msgstr "" "Не можам да ја прочитам партициската табела на уредот %s, за мене е премногу " "расипана:(\n" "Можам да се обидам да продолжам, пребришувајќи преку лошите партиции\n" "(СИТЕ ПОДАТОЦИ ќе бидат изгубени).\n" "Друго решение е да не дозволите DrakX да ја модифицира партициската табела.\n" "(грешката е %s)\n" "\n" "Дали се сложувате да ги изгубите сите партиции?\n" #: fsedit.pm:427 #, c-format msgid "Mount points must begin with a leading /" msgstr "Точките на монтирање мора да почнуваат со префикс /" #: fsedit.pm:428 #, c-format msgid "Mount points should contain only alphanumerical characters" msgstr "Точките на монтирање треба да содржат само алфанумерички карактери" #: fsedit.pm:429 #, c-format msgid "There is already a partition with mount point %s\n" msgstr "Веќе постои партиција со точка на монтирање %s\n" #: fsedit.pm:434 #, fuzzy, c-format msgid "" "You've selected a software RAID partition as root (/).\n" "No bootloader is able to handle this without a /boot partition.\n" "Please be sure to add a separate /boot partition" msgstr "" "Избравте софтверска RAID партиција како root-партиција (/).\n" "Ниту еден подигач не може да се справи со ова без /boot партиција.\n" "Ве молиме бидете сигурни да додадете /boot партиција" #: fsedit.pm:440 #, fuzzy, c-format msgid "" "Metadata version unsupported for a boot partition. Please be sure to add a " "separate /boot partition." msgstr "" "Избравте софтверска RAID партиција како root-партиција (/).\n" "Ниту еден подигач не може да се справи со ова без /boot партиција.\n" "Ве молиме бидете сигурни да додадете /boot партиција" #: fsedit.pm:448 #, fuzzy, c-format msgid "" "You've selected a software RAID partition as /boot.\n" "No bootloader is able to handle this." msgstr "" "Избравте софтверска RAID партиција како root-партиција (/).\n" "Ниту еден подигач не може да се справи со ова без /boot партиција.\n" "Ве молиме бидете сигурни да додадете /boot партиција" #: fsedit.pm:452 #, c-format msgid "Metadata version unsupported for a boot partition." msgstr "" #: fsedit.pm:459 #, fuzzy, c-format msgid "" "You've selected an encrypted partition as root (/).\n" "No bootloader is able to handle this without a /boot partition.\n" "Please be sure to add a separate /boot partition" msgstr "" "Избравте софтверска RAID партиција како root-партиција (/).\n" "Ниту еден подигач не може да се справи со ова без /boot партиција.\n" "Ве молиме бидете сигурни да додадете /boot партиција" #: fsedit.pm:465 fsedit.pm:485 #, c-format msgid "You cannot use an encrypted filesystem for mount point %s" msgstr "Не може да користите криптиран фајлсистем за точката на монтирање %s" #: fsedit.pm:469 #, fuzzy, c-format msgid "" "You cannot use the LVM Logical Volume for mount point %s since it spans " "physical volumes" msgstr "" "Не можете да користите LVM логички волумен за точкатата на монтирање %s" #: fsedit.pm:471 #, fuzzy, c-format msgid "" "You've selected the LVM Logical Volume as root (/).\n" "The bootloader is not able to handle this when the volume spans physical " "volumes.\n" "You should create a separate /boot partition first" msgstr "" "Избравте LVM логичка партиција root-партиција (/).\n" "Подигачот не може да се справи со ова без /boot партиција.\n" "Ве молиме бидете сигурни да додадете /boot партиција" #: fsedit.pm:475 fsedit.pm:477 #, c-format msgid "This directory should remain within the root filesystem" msgstr "Овој директориум би требало да остане во root-фајлсистемот" #: fsedit.pm:479 fsedit.pm:481 fsedit.pm:483 #, c-format msgid "" "You need a true filesystem (ext2/3/4, reiserfs, xfs, or jfs) for this mount " "point\n" msgstr "" "Потребен ви е вистински фајлсистем (ext2/3/4, reiserfs, xfs, или jfs) за " "оваа точка на монтирање\n" #: fsedit.pm:550 #, c-format msgid "Not enough free space for auto-allocating" msgstr "Нема доволно слободен простор за авто-алоцирање" #: fsedit.pm:552 #, c-format msgid "Nothing to do" msgstr "Не прави ништо" #: harddrake/data.pm:62 #, c-format msgid "SATA controllers" msgstr "SATA контролери" #: harddrake/data.pm:71 #, c-format msgid "RAID controllers" msgstr "RAID контролери" #: harddrake/data.pm:81 #, c-format msgid "(E)IDE/ATA controllers" msgstr "(E)IDE/ATA контролери" #: harddrake/data.pm:92 #, fuzzy, c-format msgid "Card readers" msgstr "Модел на картичка:" #: harddrake/data.pm:101 #, c-format msgid "Firewire controllers" msgstr "Firewire контролери" #: harddrake/data.pm:110 #, c-format msgid "PCMCIA controllers" msgstr "PCMCIA контролери" #: harddrake/data.pm:119 #, c-format msgid "SCSI controllers" msgstr "SCSI контролери" #: harddrake/data.pm:128 #, c-format msgid "USB controllers" msgstr "7USB контролери" #: harddrake/data.pm:137 #, c-format msgid "USB ports" msgstr "USB порти" #: harddrake/data.pm:146 #, c-format msgid "SMBus controllers" msgstr "SMBus контролери" #: harddrake/data.pm:155 #, c-format msgid "Bridges and system controllers" msgstr "Мостови и систем контролери" #: harddrake/data.pm:167 #, c-format msgid "Floppy" msgstr "Floppy" #: harddrake/data.pm:177 #, c-format msgid "Zip" msgstr "Пакуван" #: harddrake/data.pm:193 #, c-format msgid "Hard Disk" msgstr "Диск" #: harddrake/data.pm:203 #, c-format msgid "USB Mass Storage Devices" msgstr "" #: harddrake/data.pm:212 #, c-format msgid "CDROM" msgstr "CDROM" #: harddrake/data.pm:222 #, c-format msgid "CD/DVD burners" msgstr "CD/DVD режачи" #: harddrake/data.pm:232 #, c-format msgid "DVD-ROM" msgstr "DVD-ROM" #: harddrake/data.pm:242 #, c-format msgid "Tape" msgstr "Лента" #: harddrake/data.pm:253 #, c-format msgid "AGP controllers" msgstr "AGP контролери" #: harddrake/data.pm:262 #, c-format msgid "Videocard" msgstr "Видео картичка" #: harddrake/data.pm:271 #, c-format msgid "DVB card" msgstr "" #: harddrake/data.pm:279 #, c-format msgid "Tvcard" msgstr "ТВ картичка" #: harddrake/data.pm:289 #, c-format msgid "Other MultiMedia devices" msgstr "Други Мултимедијални уреди" #: harddrake/data.pm:298 #, c-format msgid "Soundcard" msgstr "Звучна картичка" #: harddrake/data.pm:312 #, c-format msgid "Webcam" msgstr "Веб-камера" #: harddrake/data.pm:327 #, c-format msgid "Processors" msgstr "Процесори" #: harddrake/data.pm:337 #, c-format msgid "ISDN adapters" msgstr "ISDN картички" #: harddrake/data.pm:348 #, c-format msgid "USB sound devices" msgstr "" #: harddrake/data.pm:357 #, c-format msgid "Radio cards" msgstr "" #: harddrake/data.pm:366 #, c-format msgid "ATM network cards" msgstr "" #: harddrake/data.pm:375 #, c-format msgid "WAN network cards" msgstr "" #: harddrake/data.pm:384 #, c-format msgid "Bluetooth devices" msgstr "" #: harddrake/data.pm:393 #, c-format msgid "Ethernetcard" msgstr "Мрежна картичка" #: harddrake/data.pm:410 #, c-format msgid "Modem" msgstr "Модем" #: harddrake/data.pm:420 #, c-format msgid "ADSL adapters" msgstr "" #: harddrake/data.pm:432 #, c-format msgid "Memory" msgstr "Меморија" #: harddrake/data.pm:441 #, c-format msgid "Printer" msgstr "Принтер" #. -PO: these are joysticks controllers: #: harddrake/data.pm:455 #, c-format msgid "Game port controllers" msgstr "" #: harddrake/data.pm:464 #, c-format msgid "Joystick" msgstr "Џојстик" #: harddrake/data.pm:474 #, c-format msgid "Keyboard" msgstr "Тастатура" #: harddrake/data.pm:488 #, c-format msgid "Tablet and touchscreen" msgstr "" #: harddrake/data.pm:497 #, c-format msgid "Mouse" msgstr "Глушец" #: harddrake/data.pm:512 #, c-format msgid "Biometry" msgstr "" #: harddrake/data.pm:520 #, c-format msgid "UPS" msgstr "UPS" #: harddrake/data.pm:529 #, c-format msgid "Scanner" msgstr "Скенер" #: harddrake/data.pm:540 #, c-format msgid "Unknown/Others" msgstr "Непознато/Други" #: harddrake/data.pm:570 #, c-format msgid "cpu # " msgstr "cpu #" #: harddrake/sound.pm:270 #, c-format msgid "Please Wait... Applying the configuration" msgstr "Почекајте... Примена на конфигурацијата" #: harddrake/sound.pm:331 #, c-format msgid "Enable PulseAudio" msgstr "" #: harddrake/sound.pm:336 #, c-format msgid "Use Glitch-Free mode" msgstr "" #: harddrake/sound.pm:342 #, c-format msgid "Reset sound mixer to default values" msgstr "" #: harddrake/sound.pm:347 #, c-format msgid "Troubleshooting" msgstr "Решавање Проблеми" #: harddrake/sound.pm:354 #, c-format msgid "No alternative driver" msgstr "Нема алтернативен драјвер" #: harddrake/sound.pm:355 #, c-format msgid "" "There's no known OSS/ALSA alternative driver for your sound card (%s) which " "currently uses \"%s\"" msgstr "" "Не постои познат OSS/ALSA алтернативен драјвер за Вашата звучна картичка " "(%s) која моментално го користи \"%s\"" #: harddrake/sound.pm:362 #, c-format msgid "Sound configuration" msgstr "Конфигурација на звук" #: harddrake/sound.pm:364 #, c-format msgid "" "Here you can select an alternative driver (either OSS or ALSA) for your " "sound card (%s)." msgstr "" "Овде може да изберете алтернативен драјвер (или OSS или ALSA) за Вашата " "звучна картичка (%s)." #. -PO: here the first %s is either "OSS" or "ALSA", #. -PO: the second %s is the name of the current driver #. -PO: and the third %s is the name of the default driver #: harddrake/sound.pm:369 #, fuzzy, c-format msgid "" "\n" "\n" "Your card currently uses the %s\"%s\" driver (the default driver for your " "card is \"%s\")" msgstr "" "\n" "\n" "Вашата картичка моментално го користи драјверот %s\"%s\" (подразбираниот " "драјвер за Вашата картичка е \"%s\")" #: harddrake/sound.pm:371 #, fuzzy, c-format msgid "" "OSS (Open Sound System) was the first sound API. It's an OS independent " "sound API (it's available on most UNIX(tm) systems) but it's a very basic " "and limited API.\n" "What's more, OSS drivers all reinvent the wheel.\n" "\n" "ALSA (Advanced Linux Sound Architecture) is a modularized architecture " "which\n" "supports quite a large range of ISA, USB and PCI cards.\n" "\n" "It also provides a much higher API than OSS.\n" "\n" "To use alsa, one can either use:\n" "- the old compatibility OSS API\n" "- the new ALSA API that provides many enhanced features but requires using " "the ALSA library.\n" msgstr "" "OSS (Open Sound System) беше првото звучно API. Тоа е независно од " "оперативниот систем (достапно е на повеќето јуникси), но е многу едноставно " "и ограничено.\n" "Дополнително, OSS драјверите прават се од почеток.\n" "\n" "ALSA (Advanced Linux Sound Architecture) е модуларизирана архитектура која " "поддржува голем број ISA, USB и PCI картички.\n" "\n" "Исто така, нуди и \"повисоко\" API од OSS.\n" "\n" "За да користите ALSA, можете да изберете помеѓу:\n" "- старото API компатибилно со OSS - новото ALSA API кое нуди многу напредни " "можности, но бара користење на ALSA библиотеката.\n" #: harddrake/sound.pm:385 harddrake/sound.pm:468 #, c-format msgid "Driver:" msgstr "Драјвер:" #: harddrake/sound.pm:399 #, fuzzy, c-format msgid "" "The old \"%s\" driver is blacklisted.\n" "\n" "It has been reported to oops the kernel on unloading.\n" "\n" "The new \"%s\" driver will only be used on next bootstrap." msgstr "" "Стариот драјвер \"%s\" е во црната листа.\n" "\n" "Има извештаи дека го oops-ува крнелот при исклучување.\n" "\n" "Новио драјвер \"%s\" ќе се употреби на наредното подигање." #: harddrake/sound.pm:407 #, c-format msgid "No open source driver" msgstr "Нема познат драјвер со отворен код" #: harddrake/sound.pm:408 #, c-format msgid "" "There's no free driver for your sound card (%s), but there's a proprietary " "driver at \"%s\"." msgstr "" "Нема бесплатен драјвер за вашата звучка картичка (%s), но има платен драјвер " "на \"%s\"." #: harddrake/sound.pm:411 #, c-format msgid "No known driver" msgstr "Нема познат драјвер" #: harddrake/sound.pm:412 #, c-format msgid "There's no known driver for your sound card (%s)" msgstr "Нема познат драјвер за Вашата звучна (%s)" #: harddrake/sound.pm:427 #, c-format msgid "Sound troubleshooting" msgstr "Отстранување на проблемот за звукот" #. -PO: keep the double empty lines between sections, this is formatted a la LaTeX #: harddrake/sound.pm:430 #, c-format msgid "" "The classic bug sound tester is to run the following commands:\n" "\n" "\n" "- \"lspcidrake -v | fgrep -i AUDIO\" will tell you which driver your card " "uses\n" "by default\n" "\n" "- \"grep sound-slot /etc/modprobe.conf\" will tell you what driver it\n" "currently uses\n" "\n" "- \"/sbin/lsmod\" will enable you to check if its module (driver) is\n" "loaded or not\n" "\n" "- \"/sbin/chkconfig --list sound\" and \"/sbin/chkconfig --list alsa\" will\n" "tell you if sound and alsa services are configured to be run on\n" "initlevel 3\n" "\n" "- \"aumix -q\" will tell you if the sound volume is muted or not\n" "\n" "- \"/sbin/fuser -v /dev/dsp\" will tell which program uses the sound card.\n" msgstr "" "Класичниот тестер за грешки во звукот е за извршивање на следниве команди:\n" "\n" "\n" "- \"lspcidrake -v | fgrep -i AUDIO\" ќе ви каже кој драјвер стандардно го " "користи\n" "вашата картичка\n" "\n" "- \"grep sound-slot /etc/modprobe.conf\" ќе ви каже кој драјвер моментално " "го\n" "користи вашата картичка\n" "\n" "- \"/sbin/lsmod\" ќе ви овозможи да видите дали модулот (драјверот) е\n" "вчитан или не\n" "\n" "- \"/sbin/chkconfig --list sound\" и \"/sbin/chkconfig --list alsa\" ќе ви " "каже\n" "дали звучните и alsa сервисите се конфигурирани да се извршуваат на\n" "initlevel 3\n" "\n" "- \"aumix -q\" ќе ви каже дали јачината на звукот е на нула или не\n" "\n" "- \"/sbin/fuser -v /dev/dsp\" ќе ви каже кој програм ја користи звучната " "картичка.\n" #: harddrake/sound.pm:457 #, c-format msgid "Let me pick any driver" msgstr "Дозволи ми да изберам било кој уред" #: harddrake/sound.pm:460 #, c-format msgid "Choosing an arbitrary driver" msgstr "Избирање на произволен драјвер" #. -PO: keep the double empty lines between sections, this is formatted a la LaTeX #: harddrake/sound.pm:463 #, c-format msgid "" "If you really think that you know which driver is the right one for your " "card\n" "you can pick one from the above list.\n" "\n" "The current driver for your \"%s\" sound card is \"%s\" " msgstr "" "Ако навистина знаете кој е вистинскиот драјвер за вашата картичка\n" "можете да изберете еден од горната листа.\n" "\n" "Тековниот драјвер за вашата \"%s\" звучна картичка е \"%s\" " #: harddrake/v4l.pm:12 #, c-format msgid "Auto-detect" msgstr "Авто-детекција" #: harddrake/v4l.pm:97 harddrake/v4l.pm:285 harddrake/v4l.pm:337 #, c-format msgid "Unknown|Generic" msgstr "Непознато|Општо" #: harddrake/v4l.pm:130 #, c-format msgid "Unknown|CPH05X (bt878) [many vendors]" msgstr "Непознато|CPH05X (bt878) [многу производители]" #: harddrake/v4l.pm:131 #, c-format msgid "Unknown|CPH06X (bt878) [many vendors]" msgstr "Непознато|CPH06X (bt878) [многу производители]" #: harddrake/v4l.pm:475 #, c-format msgid "" "For most modern TV cards, the bttv module of the GNU/Linux kernel just auto-" "detect the rights parameters.\n" "If your card is misdetected, you can force the right tuner and card types " "here. Just select your TV card parameters if needed." msgstr "" "За повеќето современи ТВ-картички, модулот bttv од GNU/Linux кернелот " "автоматски ги детектира вистинските параметри.\n" "Ако Вашата картичка не е добро детектирана, овде можете рачно да ги " "наместите тјунерот и типот на картичката. Едноставно изберете ги параметрите " "за Вашата картичка ако тоа е потребно." #: harddrake/v4l.pm:478 #, c-format msgid "Card model:" msgstr "Модел на картичка:" #: harddrake/v4l.pm:479 #, c-format msgid "Tuner type:" msgstr "Тип на тјунер:" #: interactive.pm:128 interactive.pm:549 interactive/curses.pm:270 #: interactive/http.pm:103 interactive/http.pm:156 interactive/stdio.pm:39 #: interactive/stdio.pm:148 interactive/stdio.pm:149 mygtk2.pm:846 #: ugtk2.pm:421 ugtk2.pm:519 ugtk2.pm:812 ugtk2.pm:835 #, c-format msgid "Ok" msgstr "Во ред" #: interactive.pm:228 modules/interactive.pm:72 ugtk2.pm:811 wizards.pm:157 #, c-format msgid "Yes" msgstr "Да" #: interactive.pm:228 modules/interactive.pm:72 ugtk2.pm:811 wizards.pm:157 #, c-format msgid "No" msgstr "Не" #: interactive.pm:262 #, c-format msgid "Choose a file" msgstr "Изберете датотека" #: interactive.pm:387 interactive/gtk.pm:453 #, c-format msgid "Add" msgstr "Додај" #: interactive.pm:387 interactive/gtk.pm:453 #, c-format msgid "Modify" msgstr "Промени" #: interactive.pm:549 interactive/curses.pm:270 ugtk2.pm:519 #, c-format msgid "Finish" msgstr "Заврши" #: interactive.pm:550 interactive/curses.pm:267 ugtk2.pm:517 #, c-format msgid "Previous" msgstr "Претходно" #: interactive/curses.pm:576 ugtk2.pm:872 #, fuzzy, c-format msgid "No file chosen" msgstr "одбирач на датотеки" #: interactive/curses.pm:580 ugtk2.pm:876 #, fuzzy, c-format msgid "You have chosen a directory, not a file" msgstr "'/' името може да биде само директориум, не клуч" #: interactive/curses.pm:582 ugtk2.pm:878 #, fuzzy, c-format msgid "No such directory" msgstr "Не е папка" #: interactive/curses.pm:582 ugtk2.pm:878 #, fuzzy, c-format msgid "No such file" msgstr "Не пости таков директориум" #: interactive/gtk.pm:592 #, c-format msgid "Beware, Caps Lock is enabled" msgstr "" #: interactive/stdio.pm:29 interactive/stdio.pm:154 #, c-format msgid "Bad choice, try again\n" msgstr "Лош избор, обидете се повторно\n" #: interactive/stdio.pm:30 interactive/stdio.pm:155 #, c-format msgid "Your choice? (default %s) " msgstr "Вашиот избор? (%s е стандардно)" #: interactive/stdio.pm:54 #, c-format msgid "" "Entries you'll have to fill:\n" "%s" msgstr "" "Ставки што мора да ги пополните:\n" "%s" #: interactive/stdio.pm:70 #, c-format msgid "Your choice? (0/1, default `%s') " msgstr "Вашиот избор? (0/1, \"%s\" е стандарден)" #: interactive/stdio.pm:97 #, c-format msgid "Button `%s': %s" msgstr "Копче `%s': %s" #: interactive/stdio.pm:98 #, c-format msgid "Do you want to click on this button?" msgstr "Дали сакате да го притиснете ова копче?" #: interactive/stdio.pm:110 #, c-format msgid "Your choice? (default `%s'%s) " msgstr "Вашиот избор? ('%s'%s е стандарден)" #: interactive/stdio.pm:110 #, c-format msgid " enter `void' for void entry" msgstr " внесете `void' за void (празна) ставка" #: interactive/stdio.pm:128 #, c-format msgid "=> There are many things to choose from (%s).\n" msgstr "=> Постојат многу работи за избирање од (%s).\n" #: interactive/stdio.pm:131 #, c-format msgid "" "Please choose the first number of the 10-range you wish to edit,\n" "or just hit Enter to proceed.\n" "Your choice? " msgstr "" "Изберете го првиот број од рангот од 10, кој сакате да го уредите,\n" "или едноставно притиснете Ентер за понатаму.\n" "Вашиот избор?" #: interactive/stdio.pm:144 #, c-format msgid "" "=> Notice, a label changed:\n" "%s" msgstr "" "=> Забележете дека се промени:\n" "%s" #: interactive/stdio.pm:151 #, c-format msgid "Re-submit" msgstr "Пре-прати" #. -PO: the string "default:LTR" can be translated *ONLY* as "default:LTR" #. -PO: or as "default:RTL", depending if your language is written from #. -PO: left to right, or from right to left; any other string is wrong. #: lang.pm:203 #, c-format msgid "default:LTR" msgstr "default:LTR" #: lang.pm:220 #, c-format msgid "Andorra" msgstr "Андора" #: lang.pm:221 timezone.pm:228 #, c-format msgid "United Arab Emirates" msgstr "Обединете Арапски Емирати" #: lang.pm:222 #, c-format msgid "Afghanistan" msgstr "Авганистански" #: lang.pm:223 #, c-format msgid "Antigua and Barbuda" msgstr "Антигва и Барбуда" #: lang.pm:224 #, c-format msgid "Anguilla" msgstr "Ангуила" #: lang.pm:225 #, c-format msgid "Albania" msgstr "Албанија" #: lang.pm:226 #, c-format msgid "Armenia" msgstr "Ерменија" #: lang.pm:227 #, c-format msgid "Netherlands Antilles" msgstr "Холандски Антили" #: lang.pm:228 #, c-format msgid "Angola" msgstr "Ангола" #: lang.pm:229 #, c-format msgid "Antarctica" msgstr "Антартик" #: lang.pm:230 timezone.pm:273 #, c-format msgid "Argentina" msgstr "Аргентина" #: lang.pm:231 #, c-format msgid "American Samoa" msgstr "Американска Самоа" #: lang.pm:232 mirror.pm:12 timezone.pm:231 #, c-format msgid "Austria" msgstr "Австрија" #: lang.pm:233 mirror.pm:11 timezone.pm:269 #, c-format msgid "Australia" msgstr "Австралија" #: lang.pm:234 #, c-format msgid "Aruba" msgstr "Аруба" #: lang.pm:235 #, c-format msgid "Azerbaijan" msgstr "Азербејџан" #: lang.pm:236 #, c-format msgid "Bosnia and Herzegovina" msgstr "Босна и Херцеговина" #: lang.pm:237 #, c-format msgid "Barbados" msgstr "Барбодас" #: lang.pm:238 timezone.pm:213 #, c-format msgid "Bangladesh" msgstr "Бангладеш" #: lang.pm:239 mirror.pm:13 timezone.pm:233 #, c-format msgid "Belgium" msgstr "Белгија" #: lang.pm:240 #, c-format msgid "Burkina Faso" msgstr "Буркима фасо" #: lang.pm:241 timezone.pm:234 #, c-format msgid "Bulgaria" msgstr "Бугарија" #: lang.pm:242 #, c-format msgid "Bahrain" msgstr "Бахраин" #: lang.pm:243 #, c-format msgid "Burundi" msgstr "Бурунди" #: lang.pm:244 #, c-format msgid "Benin" msgstr "Бенин" #: lang.pm:245 #, c-format msgid "Bermuda" msgstr "Бермуди" #: lang.pm:246 #, c-format msgid "Brunei Darussalam" msgstr "Брунеи Дарусалам" #: lang.pm:247 #, c-format msgid "Bolivia" msgstr "Боливија" #: lang.pm:248 mirror.pm:14 timezone.pm:274 #, c-format msgid "Brazil" msgstr "Бразил" #: lang.pm:249 #, c-format msgid "Bahamas" msgstr "Бахами" #: lang.pm:250 #, c-format msgid "Bhutan" msgstr "Бутан" #: lang.pm:251 #, c-format msgid "Bouvet Island" msgstr "Боувет остров" #: lang.pm:252 #, c-format msgid "Botswana" msgstr "Боцвана" #: lang.pm:253 timezone.pm:232 #, c-format msgid "Belarus" msgstr "Белорусија" #: lang.pm:254 #, c-format msgid "Belize" msgstr "Белице" #: lang.pm:255 mirror.pm:15 timezone.pm:263 #, c-format msgid "Canada" msgstr "Канада" #: lang.pm:256 #, c-format msgid "Cocos (Keeling) Islands" msgstr "Кокосови (Килингови) Острови" #: lang.pm:257 #, c-format msgid "Congo (Kinshasa)" msgstr "Конго (Киншаса)" #: lang.pm:258 #, c-format msgid "Central African Republic" msgstr "Централно Афричка Република" #: lang.pm:259 #, c-format msgid "Congo (Brazzaville)" msgstr "Конго (Бразавил)" #: lang.pm:260 mirror.pm:39 timezone.pm:257 #, c-format msgid "Switzerland" msgstr "Швајцарија" #: lang.pm:261 #, c-format msgid "Cote d'Ivoire" msgstr "Cote d'Ivoire" #: lang.pm:262 #, c-format msgid "Cook Islands" msgstr "Островите Кук" #: lang.pm:263 timezone.pm:275 #, c-format msgid "Chile" msgstr "Чиле" #: lang.pm:264 #, c-format msgid "Cameroon" msgstr "Камерун" #: lang.pm:265 timezone.pm:214 #, c-format msgid "China" msgstr "Кина" #: lang.pm:266 #, c-format msgid "Colombia" msgstr "Колумбија" #: lang.pm:267 mirror.pm:16 #, c-format msgid "Costa Rica" msgstr "Костарика" #: lang.pm:268 #, c-format msgid "Serbia & Montenegro" msgstr "Србија и Црнагора" #: lang.pm:269 #, c-format msgid "Cuba" msgstr "Куба" #: lang.pm:270 #, c-format msgid "Cape Verde" msgstr "Cape Verde" #: lang.pm:271 #, c-format msgid "Christmas Island" msgstr "Божиќни Острови" #: lang.pm:272 #, c-format msgid "Cyprus" msgstr "Кипар" #: lang.pm:273 mirror.pm:17 timezone.pm:235 #, c-format msgid "Czech Republic" msgstr "Чешка Република" #: lang.pm:274 mirror.pm:22 timezone.pm:240 #, c-format msgid "Germany" msgstr "Германија" #: lang.pm:275 #, c-format msgid "Djibouti" msgstr "Џуботи" #: lang.pm:276 mirror.pm:18 timezone.pm:236 #, c-format msgid "Denmark" msgstr "Данска" #: lang.pm:277 #, c-format msgid "Dominica" msgstr "Доминика" #: lang.pm:278 #, c-format msgid "Dominican Republic" msgstr "Доминиканска Република" #: lang.pm:279 #, c-format msgid "Algeria" msgstr "Алжир" #: lang.pm:280 #, c-format msgid "Ecuador" msgstr "Еквадор" #: lang.pm:281 mirror.pm:19 timezone.pm:237 #, c-format msgid "Estonia" msgstr "Естонија" #: lang.pm:282 #, c-format msgid "Egypt" msgstr "Египет" #: lang.pm:283 #, c-format msgid "Western Sahara" msgstr "Западна Сахара" #: lang.pm:284 #, c-format msgid "Eritrea" msgstr "Еритреа" #: lang.pm:285 mirror.pm:37 timezone.pm:255 #, c-format msgid "Spain" msgstr "Шпанија" #: lang.pm:286 #, c-format msgid "Ethiopia" msgstr "Етиопија" #: lang.pm:287 mirror.pm:20 timezone.pm:238 #, c-format msgid "Finland" msgstr "Финска" #: lang.pm:288 #, c-format msgid "Fiji" msgstr "Фуџи" #: lang.pm:289 #, c-format msgid "Falkland Islands (Malvinas)" msgstr "Фолкленд Острови" #: lang.pm:290 #, c-format msgid "Micronesia" msgstr "Микронезија" #: lang.pm:291 #, c-format msgid "Faroe Islands" msgstr "Фарски Острови" #: lang.pm:292 mirror.pm:21 timezone.pm:239 #, c-format msgid "France" msgstr "Франција" #: lang.pm:293 #, c-format msgid "Gabon" msgstr "Габон" #: lang.pm:294 timezone.pm:259 #, c-format msgid "United Kingdom" msgstr "Велика Британија" #: lang.pm:295 #, c-format msgid "Grenada" msgstr "Гренада" #: lang.pm:296 #, c-format msgid "Georgia" msgstr "Џорџија" #: lang.pm:297 #, c-format msgid "French Guiana" msgstr "Француска Гвајана" #: lang.pm:298 #, c-format msgid "Ghana" msgstr "Гана" #: lang.pm:299 #, c-format msgid "Gibraltar" msgstr "Гибралтар" #: lang.pm:300 #, c-format msgid "Greenland" msgstr "Гренланд" #: lang.pm:301 #, c-format msgid "Gambia" msgstr "Гамбија" #: lang.pm:302 #, c-format msgid "Guinea" msgstr "Гвинеја" #: lang.pm:303 #, c-format msgid "Guadeloupe" msgstr "Гвадалупе" #: lang.pm:304 #, c-format msgid "Equatorial Guinea" msgstr "Екваторска Гвинеја" #: lang.pm:305 mirror.pm:23 timezone.pm:241 #, c-format msgid "Greece" msgstr "Грција" #: lang.pm:306 #, c-format msgid "South Georgia and the South Sandwich Islands" msgstr "Северна Џорџија" #: lang.pm:307 timezone.pm:264 #, c-format msgid "Guatemala" msgstr "Гватемала" #: lang.pm:308 #, c-format msgid "Guam" msgstr "Гуам" #: lang.pm:309 #, c-format msgid "Guinea-Bissau" msgstr "Гвинеја-Бисао" #: lang.pm:310 #, c-format msgid "Guyana" msgstr "Гвајана" #: lang.pm:311 #, c-format msgid "Hong Kong SAR (China)" msgstr "Хонг Конг SAR (Кина)" #: lang.pm:312 #, c-format msgid "Heard and McDonald Islands" msgstr "МекДоналд Острови" #: lang.pm:313 #, c-format msgid "Honduras" msgstr "Хондурас" #: lang.pm:314 #, c-format msgid "Croatia" msgstr "Хрватска" #: lang.pm:315 #, c-format msgid "Haiti" msgstr "Хаити" #: lang.pm:316 mirror.pm:24 timezone.pm:242 #, c-format msgid "Hungary" msgstr "Унгарија" #: lang.pm:317 timezone.pm:217 #, c-format msgid "Indonesia" msgstr "Идонезија" #: lang.pm:318 mirror.pm:25 timezone.pm:243 #, c-format msgid "Ireland" msgstr "Ирска" #: lang.pm:319 mirror.pm:26 timezone.pm:219 #, c-format msgid "Israel" msgstr "Израел" #: lang.pm:320 timezone.pm:216 #, c-format msgid "India" msgstr "Индија" #: lang.pm:321 #, c-format msgid "British Indian Ocean Territory" msgstr "Британска територија во Индискиот Океан" #: lang.pm:322 #, c-format msgid "Iraq" msgstr "Ирак" #: lang.pm:323 timezone.pm:218 #, c-format msgid "Iran" msgstr "Иран" #: lang.pm:324 #, c-format msgid "Iceland" msgstr "Исланд" #: lang.pm:325 mirror.pm:27 timezone.pm:244 #, c-format msgid "Italy" msgstr "Италија" #: lang.pm:326 #, c-format msgid "Jamaica" msgstr "Јамајка" #: lang.pm:327 #, c-format msgid "Jordan" msgstr "Јордан" #: lang.pm:328 mirror.pm:28 timezone.pm:220 #, c-format msgid "Japan" msgstr "Јапонија" #: lang.pm:329 #, c-format msgid "Kenya" msgstr "Кенија" #: lang.pm:330 #, c-format msgid "Kyrgyzstan" msgstr "Киргистан" #: lang.pm:331 #, c-format msgid "Cambodia" msgstr "Камбоџа" #: lang.pm:332 #, c-format msgid "Kiribati" msgstr "Кирибати" #: lang.pm:333 #, c-format msgid "Comoros" msgstr "Коморос" #: lang.pm:334 #, c-format msgid "Saint Kitts and Nevis" msgstr "Свети Китс и Невис" #: lang.pm:335 #, c-format msgid "Korea (North)" msgstr "Северна Кореа" #: lang.pm:336 timezone.pm:221 #, c-format msgid "Korea" msgstr "Кореа" #: lang.pm:337 #, c-format msgid "Kuwait" msgstr "Кувајт" #: lang.pm:338 #, c-format msgid "Cayman Islands" msgstr "Кајмански Острови" #: lang.pm:339 #, c-format msgid "Kazakhstan" msgstr "Казахстан" #: lang.pm:340 #, c-format msgid "Laos" msgstr "Лаос" #: lang.pm:341 #, c-format msgid "Lebanon" msgstr "Либан" #: lang.pm:342 #, c-format msgid "Saint Lucia" msgstr "Света Луција" #: lang.pm:343 #, c-format msgid "Liechtenstein" msgstr "Лихтенштајн" #: lang.pm:344 #, c-format msgid "Sri Lanka" msgstr "Шри Ланка" #: lang.pm:345 #, c-format msgid "Liberia" msgstr "Либерија" #: lang.pm:346 #, c-format msgid "Lesotho" msgstr "Лесото" #: lang.pm:347 timezone.pm:245 #, c-format msgid "Lithuania" msgstr "Литванија" #: lang.pm:348 timezone.pm:246 #, c-format msgid "Luxembourg" msgstr "Луксембург" #: lang.pm:349 #, c-format msgid "Latvia" msgstr "Латвија" #: lang.pm:350 #, c-format msgid "Libya" msgstr "Либија" #: lang.pm:351 #, c-format msgid "Morocco" msgstr "Мароко" #: lang.pm:352 #, c-format msgid "Monaco" msgstr "Монако" #: lang.pm:353 #, c-format msgid "Moldova" msgstr "Молдавија" #: lang.pm:354 #, c-format msgid "Madagascar" msgstr "Магадаскар" #: lang.pm:355 #, c-format msgid "Marshall Islands" msgstr "Маршалски Острови" #: lang.pm:356 #, c-format msgid "Macedonia" msgstr "Македонија" #: lang.pm:357 #, c-format msgid "Mali" msgstr "Мали" #: lang.pm:358 #, c-format msgid "Myanmar" msgstr "Мјанмар" #: lang.pm:359 #, c-format msgid "Mongolia" msgstr "Монголија" #: lang.pm:360 #, c-format msgid "Northern Mariana Islands" msgstr "Западно Маријански Острови" #: lang.pm:361 #, c-format msgid "Martinique" msgstr "Мартиник" #: lang.pm:362 #, c-format msgid "Mauritania" msgstr "Мауританија" #: lang.pm:363 #, c-format msgid "Montserrat" msgstr "Монсерат" #: lang.pm:364 #, c-format msgid "Malta" msgstr "Малта" #: lang.pm:365 #, c-format msgid "Mauritius" msgstr "Маурициус" #: lang.pm:366 #, c-format msgid "Maldives" msgstr "Малдиви" #: lang.pm:367 #, c-format msgid "Malawi" msgstr "Малави" #: lang.pm:368 timezone.pm:265 #, c-format msgid "Mexico" msgstr "Мексико" #: lang.pm:369 timezone.pm:222 #, c-format msgid "Malaysia" msgstr "Малезија" #: lang.pm:370 #, c-format msgid "Mozambique" msgstr "Мозамбик" #: lang.pm:371 #, c-format msgid "Namibia" msgstr "Намбиа" #: lang.pm:372 #, c-format msgid "New Caledonia" msgstr "Нова Каледонија" #: lang.pm:373 #, c-format msgid "Niger" msgstr "Нигер" #: lang.pm:374 #, c-format msgid "Norfolk Island" msgstr "Норфолк Остров" #: lang.pm:375 #, c-format msgid "Nigeria" msgstr "Нигериа" #: lang.pm:376 #, c-format msgid "Nicaragua" msgstr "Никарагва" #: lang.pm:377 mirror.pm:29 timezone.pm:247 #, c-format msgid "Netherlands" msgstr "Холандија" #: lang.pm:378 mirror.pm:31 timezone.pm:248 #, c-format msgid "Norway" msgstr "Норвешка" #: lang.pm:379 #, c-format msgid "Nepal" msgstr "Непал" #: lang.pm:380 #, c-format msgid "Nauru" msgstr "Науру" #: lang.pm:381 #, c-format msgid "Niue" msgstr "Ниуе" #: lang.pm:382 mirror.pm:30 timezone.pm:270 #, c-format msgid "New Zealand" msgstr "Нов Зеланд" #: lang.pm:383 #, c-format msgid "Oman" msgstr "Оман" #: lang.pm:384 #, c-format msgid "Panama" msgstr "Панама" #: lang.pm:385 #, c-format msgid "Peru" msgstr "Перу" #: lang.pm:386 #, c-format msgid "French Polynesia" msgstr "Француска Полинезија" #: lang.pm:387 #, c-format msgid "Papua New Guinea" msgstr "Папуа Нова Гвинеја" #: lang.pm:388 timezone.pm:223 #, c-format msgid "Philippines" msgstr "Филипини" #: lang.pm:389 #, c-format msgid "Pakistan" msgstr "Пакистан" #: lang.pm:390 mirror.pm:32 timezone.pm:249 #, c-format msgid "Poland" msgstr "Полска" #: lang.pm:391 #, c-format msgid "Saint Pierre and Miquelon" msgstr "Свети Петар и Микелон" #: lang.pm:392 #, c-format msgid "Pitcairn" msgstr "Питкаирн" #: lang.pm:393 #, c-format msgid "Puerto Rico" msgstr "Порто Рико" #: lang.pm:394 #, c-format msgid "Palestine" msgstr "Палестина" #: lang.pm:395 mirror.pm:33 timezone.pm:250 #, c-format msgid "Portugal" msgstr "Португалија" #: lang.pm:396 #, c-format msgid "Paraguay" msgstr "Парагвај" #: lang.pm:397 #, c-format msgid "Palau" msgstr "Палау" #: lang.pm:398 #, c-format msgid "Qatar" msgstr "Катар" #: lang.pm:399 #, c-format msgid "Reunion" msgstr "Ресоединување" #: lang.pm:400 timezone.pm:251 #, c-format msgid "Romania" msgstr "Романија" #: lang.pm:401 mirror.pm:34 #, c-format msgid "Russia" msgstr "Русија" #: lang.pm:402 #, c-format msgid "Rwanda" msgstr "Руанда" #: lang.pm:403 #, c-format msgid "Saudi Arabia" msgstr "Саудиска Арабија" #: lang.pm:404 #, c-format msgid "Solomon Islands" msgstr "Соломонски Острови" #: lang.pm:405 #, c-format msgid "Seychelles" msgstr "Сејшели" #: lang.pm:406 #, c-format msgid "Sudan" msgstr "Судан" #: lang.pm:407 mirror.pm:38 timezone.pm:256 #, c-format msgid "Sweden" msgstr "Шведска" #: lang.pm:408 timezone.pm:224 #, c-format msgid "Singapore" msgstr "Сингапур" #: lang.pm:409 #, c-format msgid "Saint Helena" msgstr "Света Елена" #: lang.pm:410 timezone.pm:254 #, c-format msgid "Slovenia" msgstr "Словенија" #: lang.pm:411 #, c-format msgid "Svalbard and Jan Mayen Islands" msgstr "Свалбандски и Јан Мајенски Острови" #: lang.pm:412 mirror.pm:35 timezone.pm:253 #, c-format msgid "Slovakia" msgstr "Словачка" #: lang.pm:413 #, c-format msgid "Sierra Leone" msgstr "Сиера Леоне" #: lang.pm:414 #, c-format msgid "San Marino" msgstr "Сан Марино" #: lang.pm:415 #, c-format msgid "Senegal" msgstr "Сенегал" #: lang.pm:416 #, c-format msgid "Somalia" msgstr "Сомалија" #: lang.pm:417 #, c-format msgid "Suriname" msgstr "Суринам" #: lang.pm:418 #, c-format msgid "Sao Tome and Principe" msgstr "Сао Томе и Принципе" #: lang.pm:419 #, c-format msgid "El Salvador" msgstr "Ел Салвадор" #: lang.pm:420 #, c-format msgid "Syria" msgstr "Сирија" #: lang.pm:421 #, c-format msgid "Swaziland" msgstr "Свазиленд" #: lang.pm:422 #, c-format msgid "Turks and Caicos Islands" msgstr "Туркски и Каикос острови" #: lang.pm:423 #, c-format msgid "Chad" msgstr "Чад" #: lang.pm:424 #, c-format msgid "French Southern Territories" msgstr "Југоисточни Француски Територии" #: lang.pm:425 #, c-format msgid "Togo" msgstr "Того" #: lang.pm:426 mirror.pm:41 timezone.pm:226 #, c-format msgid "Thailand" msgstr "Тајланд" #: lang.pm:427 #, c-format msgid "Tajikistan" msgstr "Таџикистан" #: lang.pm:428 #, c-format msgid "Tokelau" msgstr "Толекау" #: lang.pm:429 #, c-format msgid "East Timor" msgstr "Источен Тимор" #: lang.pm:430 #, c-format msgid "Turkmenistan" msgstr "Туркменистан" #: lang.pm:431 #, c-format msgid "Tunisia" msgstr "Тунис" #: lang.pm:432 #, c-format msgid "Tonga" msgstr "Тонга" #: lang.pm:433 timezone.pm:227 #, c-format msgid "Turkey" msgstr "Турција" #: lang.pm:434 #, c-format msgid "Trinidad and Tobago" msgstr "Тринидад и Тобаго" #: lang.pm:435 #, c-format msgid "Tuvalu" msgstr "Тувалу" #: lang.pm:436 mirror.pm:40 timezone.pm:225 #, c-format msgid "Taiwan" msgstr "Тајван" #: lang.pm:437 timezone.pm:210 #, c-format msgid "Tanzania" msgstr "Танзанија" #: lang.pm:438 timezone.pm:258 #, c-format msgid "Ukraine" msgstr "Украина" #: lang.pm:439 #, c-format msgid "Uganda" msgstr "Уганда" #: lang.pm:440 #, c-format msgid "United States Minor Outlying Islands" msgstr "Помалите острови на Соединетите Држави" #: lang.pm:441 mirror.pm:42 timezone.pm:266 #, c-format msgid "United States" msgstr "САД" #: lang.pm:442 #, c-format msgid "Uruguay" msgstr "Уругвај" #: lang.pm:443 #, c-format msgid "Uzbekistan" msgstr "Узбекистан" #: lang.pm:444 #, c-format msgid "Vatican" msgstr "Ватикан" #: lang.pm:445 #, c-format msgid "Saint Vincent and the Grenadines" msgstr "Свети Винсент" #: lang.pm:446 #, c-format msgid "Venezuela" msgstr "Венецуела" #: lang.pm:447 #, c-format msgid "Virgin Islands (British)" msgstr "Девствени Острови" #: lang.pm:448 #, c-format msgid "Virgin Islands (U.S.)" msgstr "" #: lang.pm:449 #, c-format msgid "Vietnam" msgstr "Виетнам" #: lang.pm:450 #, c-format msgid "Vanuatu" msgstr "Вануту" #: lang.pm:451 #, c-format msgid "Wallis and Futuna" msgstr "Валис и Фатуна" #: lang.pm:452 #, c-format msgid "Samoa" msgstr "Самоа" #: lang.pm:453 #, c-format msgid "Yemen" msgstr "Јемен" #: lang.pm:454 #, c-format msgid "Mayotte" msgstr "Мајот" #: lang.pm:455 mirror.pm:36 timezone.pm:209 #, c-format msgid "South Africa" msgstr "Јужна Африка" #: lang.pm:456 #, c-format msgid "Zambia" msgstr "Замбија" #: lang.pm:457 #, c-format msgid "Zimbabwe" msgstr "Зимбабве" #: lang.pm:1227 #, c-format msgid "Welcome to %s" msgstr "Добредојдовте во %s" #: lvm.pm:92 #, c-format msgid "Moving used physical extents to other physical volumes failed" msgstr "" #: lvm.pm:149 #, c-format msgid "Physical volume %s is still in use" msgstr "" #: lvm.pm:159 #, c-format msgid "Remove the logical volumes first\n" msgstr "Најпрво отстранете ги логичките партиции\n" #: lvm.pm:202 #, c-format msgid "The bootloader can't handle /boot on multiple physical volumes" msgstr "" #. -PO: keep the double empty lines between sections, this is formatted a la LaTeX #: messages.pm:11 #, c-format msgid "" "Introduction\n" "\n" "The operating system and the different components available in the Mageia " "distribution \n" "shall be called the \"Software Products\" hereafter. The Software Products " "include, but are not \n" "restricted to, the set of programs, methods, rules and documentation related " "to the operating \n" "system and the different components of the Mageia distribution, and any " "applications \n" "distributed with these products provided by Mageia's licensors or " "suppliers.\n" msgstr "" "Вовед\n" "\n" "Оперативниот систем и различните компоненти достапни во Мандрива Линукс\n" "дистрибуцијата, отсега натаму, ќе се викаат \"софтверски производи\". \n" "Софтверските прозиводи ги вклучуваат, но не се ограничени само на, \n" "множеството програми, методи, правила и документација во врска со \n" "оперативниот систем и различните компоненти на Мандрива Линукс\n" "дистрибуцијата.\n" msgid "" "1. License Agreement\n" "\n" "Please read this document carefully. This document is a license agreement " "between you and \n" "Mageia which applies to the Software Products.\n" "By installing, duplicating or using any of the Software Products in any " "manner, you explicitly \n" "accept and fully agree to conform to the terms and conditions of this " "License. \n" "If you disagree with any portion of the License, you are not allowed to " "install, duplicate or use \n" "the Software Products. \n" "Any attempt to install, duplicate or use the Software Products in a manner " "which does not comply \n" "with the terms and conditions of this License is void and will terminate " "your rights under this \n" "License. Upon termination of the License, you must immediately destroy all " "copies of the \n" "Software Products.\n" msgstr "" "1. Лиценцен договор\n" "\n" "Внимателно прочитајте го овој документ. Овој документ е лиценцен договор\n" "меѓу Вас и Mageia кој се однесува на софтверските производи.\n" "Со инсталирање, дуплицирање или користење на софтверските производи\n" "на било кој начин, Вие експлицитно прифаќате и целосно се согласувате со\n" "термините и условите на оваа лиценца. Ако не се согласувате со било кој \n" "дел од лиценцата, не Ви е дозволено да ги инсталирате, дуплицирате или \n" "користите софтверските продукти. Секој обид да ги инсталирате, \n" "дуплицирате или користите софтверските производи на начин кој не е\n" "во согласност со термините и условите на оваа лиценца е неважечки (void)\n" "и ги терминира Вашите права под оваа лиценца. По терминирање на \n" "лиценцата, морате веднаш да ги уништите сите копии на софтверските \n" "производи.\n" msgid "" "2. Limited Warranty\n" "\n" "The Software Products and attached documentation are provided \"as is\", " "with no warranty, to the \n" "extent permitted by law.\n" "Neither Mageia nor its licensors or suppliers will, in any circumstances and " "to the extent \n" "permitted by law, be liable for any special, incidental, direct or indirect " "damages whatsoever \n" "(including without limitation damages for loss of business, interruption of " "business, financial \n" "loss, legal fees and penalties resulting from a court judgment, or any other " "consequential loss) \n" "arising out of the use or inability to use the Software Products, even if " "Mageia or its \n" "licensors or suppliers have been advised of the possibility or occurrence of " "such damages.\n" "\n" "LIMITED LIABILITY LINKED TO POSSESSING OR USING PROHIBITED SOFTWARE IN SOME " "COUNTRIES\n" "\n" "To the extent permitted by law, neither Mageia nor its licensors, suppliers " "or\n" "distributors will, in any circumstances, be liable for any special, " "incidental, direct or indirect \n" "damages whatsoever (including without limitation damages for loss of " "business, interruption of \n" "business, financial loss, legal fees and penalties resulting from a court " "judgment, or any \n" "other consequential loss) arising out of the possession and use of software " "components or \n" "arising out of downloading software components from one of Mageia sites " "which are \n" "prohibited or restricted in some countries by local laws.\n" "This limited liability applies to, but is not restricted to, the strong " "cryptography components \n" "included in the Software Products.\n" "However, because some jurisdictions do not allow the exclusion or limitation " "or liability for \n" "consequential or incidental damages, the above limitation may not apply to " "you. \n" msgstr "" "2. Ограничена гаранција\n" "\n" "Софтверските производи и придружната документација се дадени \n" "\"како што се\" (\"as is\"), без никаква гаранција, до степен можен со \n" "закон. Mageia нема во никој случај, до степен можен со закон, \n" "да одговара за било какви специјални, инцидентни, директни и индиректни\n" "штети (вклучувајќи, и неограничувајќи се, на губиток на бизнис, прекин на\n" "бизнис, финансиски губиток, легални такси и казни последеици на судска\n" "одлука, или било каква друга консеквентна штета) кои потекнуваат од \n" "користење или неспособност за користење на софтверските производи, \n" "дури и ако Mageia бил советуван за можноста од или случувањето\n" "на такви штети.\n" "\n" "ОГРАНИЧЕНА ОДГОВОРНОСТ ПОВРЗАНА СО ПОСЕДУВАЊЕТО ИЛИ \n" "КОРИСТЕЊЕТО СОФТВЕР ЗАБРАНЕТ ВО НЕКОИ ЗЕМЈИ\n" "\n" "До степен дозволн со закон, Mageia или неговите дистрибутери\n" "нема во никој случај да бидат одговорни за било какви специјални, \n" "инцидентни, директни и индиректни штети (вклучувајќи, и неограничувајќи се, " "на губиток на бизнис, прекин на\n" "бизнис, финансиски губиток, легални такси и казни последеици на судска\n" "одлука, или било каква друга консеквентна штета) кои потекнуваат од \n" "поседување и користење или од преземање (downloading) софтверски\n" "компоненти од некој од Мандрива Линукс сајтовите, кои се забранети или\n" "ограничени во некои земји со локалните закони. Оваа ограничена одговорност\n" "се однесува, но не е ограничена на, компонентите за силна криптографија\n" "вклучени во софтверските производи.\n" msgid "" "3. The GPL License and Related Licenses\n" "\n" "The Software Products consist of components created by different persons or " "entities.\n" "Most of these licenses allow you to use, duplicate, adapt or redistribute " "the components which \n" "they cover. Please read carefully the terms and conditions of the license " "agreement for each component \n" "before using any component. Any question on a component license should be " "addressed to the component \n" "licensor or supplier and not to Mageia.\n" "The programs developed by Mageia are governed by the GPL License. " "Documentation written \n" "by Mageia is governed by a specific license. Please refer to the " "documentation for \n" "further details.\n" msgstr "" "3. Лиценцата GPL или сродни лиценци\n" "\n" "Софтверските производи се состојат од компоненти создадени од различни\n" "луѓе или ентитети. Повеќете од овие компоненти потпаѓаат под термините \n" "и условите на лиценцата \"GNU General Public Licence\", отсега натаму " "позната\n" "како \"GPL\", или на слични лиценци. Повеќете од овие лиценци Ви " "дозволуваат\n" "да ги користите, дуплицирате, адаптирате или редистрибуирате компонентите\n" "кои ги покриваат. Прочитајате ги внимателно термините и условите на \n" "лиценцниот договор за секоја окмпонента, пред да користите било ко од нив.\n" "Било какви прашања за лиценца на некоја компонента треба да се адресира\n" "на авторот на компонентата, а не на Mageia. Програмите развиени од\n" "Mageia потпаѓаат под GPL лиценцата. Документацијата напишана\n" "од Mageia потпаѓа под посебна лиценца. Видете ја документацијата,\n" "за повеќе детали.\n" msgid "" "4. Intellectual Property Rights\n" "\n" "All rights to the components of the Software Products belong to their " "respective authors and are \n" "protected by intellectual property and copyright laws applicable to software " "programs.\n" "Mageia and its suppliers and licensors reserves their rights to modify or " "adapt the Software \n" "Products, as a whole or in parts, by all means and for all purposes.\n" "\"Mageia\" and associated logos are trademarks of Mageia \n" msgstr "" "4. Права на интелектиална сопственост\n" "\n" "Сите права на компонентите на софтверските производи им припаѓаат на нивните " "соодветни автори и се заштитени со законите за интелектуална\n" "сопственост или авторски права (copyright laws) применливи на софтверски\n" "програми. Mageia го задржува правото да ги модифицира или \n" "адаптира софтверските производи, како целина или во делови, на било кој\n" "начин и за било која цел.\n" "\"Mageia\" и придружените логотипи се заштитени знаци\n" "на Mageia \n" msgid "" "5. Governing Laws \n" "\n" "If any portion of this agreement is held void, illegal or inapplicable by a " "court judgment, this \n" "portion is excluded from this contract. You remain bound by the other " "applicable sections of the \n" "agreement.\n" "The terms and conditions of this License are governed by the Laws of " "France.\n" "All disputes on the terms of this license will preferably be settled out of " "court. As a last \n" "resort, the dispute will be referred to the appropriate Courts of Law of " "Paris - France.\n" "For any question on this document, please contact Mageia." msgstr "" "5. Правосилни закони\n" "\n" "Ако било кој дел од овој договор се најде за неважечки, нелегален или \n" "неприменлив од страна на судска пресуда, тој дел се исклучува од овој\n" "договор. Останувате обврзани од другите применливи делови на \n" "договорот. \n" "Термините и условите на оваа лиценца потпаѓаат под законите на Франција.\n" "Секој спор за термините на оваа лиценца по можност ќе се реши на суд.\n" "Како последен чекор, спорот ќе биде предаден на соодветинот суд во\n" "Париз - Франиција. За било какви прашања во врска со овој документ,\n" "контактирајте го Mageia" #: messages.pm:93 #, c-format msgid "" "Warning: Free Software may not necessarily be patent free, and some Free\n" "Software included may be covered by patents in your country. For example, " "the\n" "MP3 decoders included may require a license for further usage (see\n" "http://www.mp3licensing.com for more details). If you are unsure if a " "patent\n" "may be applicable to you, check your local laws." msgstr "" #. -PO: keep the double empty lines between sections, this is formatted a la LaTeX #: messages.pm:102 #, fuzzy, c-format msgid "" "Congratulations, installation is complete.\n" "Remove the boot media and press Enter to reboot.\n" "\n" "\n" "For information on fixes which are available for this release of Mageia,\n" "consult the Errata available from:\n" "\n" "\n" "%s\n" "\n" "\n" "Information on configuring your system is available in the post\n" "install chapter of the Official Mageia User's Guide." msgstr "" "Инсталацијата е завршена. Ви честитаме!\n" "Извадете ги инсталационите медиуми и притиснете Ентер за рестартирање.\n" "\n" "\n" "За информации за поправките достапни за ова издание на Мандрива Линукс,\n" "консултирајте се со Errata коешто е достапно од:\n" "\n" "\n" "%s\n" "\n" "\n" "Информациите за конфигурирање на Вашиот систем се достапни во поглавјето\n" "за пост-инсталација од Официјалниот кориснички водич на Мандрива Линукс." #: modules/interactive.pm:19 #, fuzzy, c-format msgid "This driver has no configuration parameter!" msgstr "CUPS принтерска конфигурација" #: modules/interactive.pm:22 #, c-format msgid "Module configuration" msgstr "Конфигурација на модул" #: modules/interactive.pm:22 #, c-format msgid "You can configure each parameter of the module here." msgstr "Овде можете да го конфигурирате секој параметар на модулот." #: modules/interactive.pm:64 #, c-format msgid "Found %s interfaces" msgstr "Пронајдени се %s интерфејси" #: modules/interactive.pm:65 #, c-format msgid "Do you have another one?" msgstr "Дали имате уште?" #: modules/interactive.pm:66 #, c-format msgid "Do you have any %s interfaces?" msgstr "Дали имате %s интерфејси?" #: modules/interactive.pm:72 #, c-format msgid "See hardware info" msgstr "Видете ги информациите за хардверот" #: modules/interactive.pm:83 #, fuzzy, c-format msgid "Installing driver for USB controller" msgstr "Инсталирање на драјвер за %s картичката %s" #: modules/interactive.pm:84 #, fuzzy, c-format msgid "Installing driver for firewire controller %s" msgstr "Инсталирање на драјвер за %s картичката %s" #: modules/interactive.pm:85 #, fuzzy, c-format msgid "Installing driver for hard disk drive controller %s" msgstr "Инсталирање на драјвер за %s картичката %s" #: modules/interactive.pm:86 #, fuzzy, c-format msgid "Installing driver for ethernet controller %s" msgstr "Инсталирање на драјвер за %s картичката %s" #. -PO: the first %s is the card type (scsi, network, sound,...) #. -PO: the second is the vendor+model name #: modules/interactive.pm:97 #, c-format msgid "Installing driver for %s card %s" msgstr "Инсталирање на драјвер за %s картичката %s" #: modules/interactive.pm:100 #, c-format msgid "Configuring Hardware" msgstr "" #: modules/interactive.pm:111 #, c-format msgid "" "You may now provide options to module %s.\n" "Note that any address should be entered with the prefix 0x like '0x123'" msgstr "" "Сега можете да ги обезбедите опции за модулот %s.\n" "Забележете дека било која адреса треба да се внесува со префикс 0x, како на " "пример '0x123'" #: modules/interactive.pm:117 #, c-format msgid "" "You may now provide options to module %s.\n" "Options are in format ``name=value name2=value2 ...''.\n" "For instance, ``io=0x300 irq=7''" msgstr "" "Сега можете да наведете опции за модулот %s.\n" "Опциите се со формат \"name=value name2=value2 ...\".\n" "На пример, \"io=0x300 irq=7\"" #: modules/interactive.pm:119 #, c-format msgid "Module options:" msgstr "Модул-опции:" #. -PO: the %s is the driver type (scsi, network, sound,...) #: modules/interactive.pm:132 #, c-format msgid "Which %s driver should I try?" msgstr "Кој %s драјвер да го пробам?" #: modules/interactive.pm:141 #, fuzzy, c-format msgid "" "In some cases, the %s driver needs to have extra information to work\n" "properly, although it normally works fine without them. Would you like to " "specify\n" "extra options for it or allow the driver to probe your machine for the\n" "information it needs? Occasionally, probing will hang a computer, but it " "should\n" "not cause any damage." msgstr "" "Во некои случаи, драјверот %s бара дополнителни информации за да работи\n" "како што треба, иако фино работи и без нив. Дали сакате да наведете\n" "дополнителни опции за него или да дозволите драјверот да побара ги на\n" "Вашата машина потребните информации? Понекогаш барањето може да го \n" "смрзне компјутерот, но не би требало да предизвика штета." #: modules/interactive.pm:145 #, c-format msgid "Autoprobe" msgstr "Автоматско барање" #: modules/interactive.pm:145 #, c-format msgid "Specify options" msgstr "Наведување опции" #: modules/interactive.pm:157 #, c-format msgid "" "Loading module %s failed.\n" "Do you want to try again with other parameters?" msgstr "" "Вчитувањето на модулот %s е неуспешно.\n" "Дали сакате да се обидете со други параметри?" #: mygtk2.pm:1540 mygtk2.pm:1541 #, c-format msgid "Password is trivial to guess" msgstr "" #: mygtk2.pm:1542 #, c-format msgid "Password should be resistant to basic attacks" msgstr "" #: mygtk2.pm:1543 mygtk2.pm:1544 #, fuzzy, c-format msgid "Password seems secure" msgstr "Лозинка за корисникот" #: partition_table.pm:428 #, c-format msgid "mount failed: " msgstr "монтирањето неуспешно:" #: partition_table.pm:540 #, c-format msgid "Extended partition not supported on this platform" msgstr "Продолжената партиција не е подржана на оваа платформа" #: partition_table.pm:558 #, fuzzy, c-format msgid "" "You have a hole in your partition table but I cannot use it.\n" "The only solution is to move your primary partitions to have the hole next " "to the extended partitions." msgstr "" "Ја имате цела табела на партицијата, но не можам да ја користам.\n" " Единствено решение е да ја поместите примарната партиција за да ја имам " "цела следна проширена партиција." #: partition_table/raw.pm:288 #, c-format msgid "" "Something bad is happening on your hard disk drive. \n" "A test to check the integrity of data has failed. \n" "It means writing anything on the disk will end up with random, corrupted " "data." msgstr "" "Нешто лошо се случува на вашиот диск. \n" "Тест да се провери дали откажа интегритетот на податоците. \n" "Тоа значи запишување на било што на дискот ќе резултира со случајни, " "оштетени податоци." #: pkgs.pm:252 pkgs.pm:255 pkgs.pm:268 #, c-format msgid "Unused packages removal" msgstr "" #: pkgs.pm:252 #, c-format msgid "Finding unused hardware packages..." msgstr "" #: pkgs.pm:255 #, c-format msgid "Finding unused localization packages..." msgstr "" #: pkgs.pm:269 #, c-format msgid "" "We have detected that some packages are not needed for your system " "configuration." msgstr "" #: pkgs.pm:270 #, c-format msgid "We will remove the following packages, unless you choose otherwise:" msgstr "" #: pkgs.pm:273 pkgs.pm:274 #, fuzzy, c-format msgid "Unused hardware support" msgstr "овозможи радио поддршка" #: pkgs.pm:277 pkgs.pm:278 #, c-format msgid "Unused localization" msgstr "" #: raid.pm:43 #, fuzzy, c-format msgid "Cannot add a partition to _formatted_ RAID %s" msgstr "Неможам да додадам партиција на_форматираниот_RAID md%d" #: raid.pm:166 #, c-format msgid "Not enough partitions for RAID level %d\n" msgstr "Нема доволно партиции за RAID ниво %d\n" #: scanner.pm:96 #, c-format msgid "Could not create directory /usr/share/sane/firmware!" msgstr "" #: scanner.pm:107 #, c-format msgid "Could not create link /usr/share/sane/%s!" msgstr "" #: scanner.pm:114 #, c-format msgid "Could not copy firmware file %s to /usr/share/sane/firmware!" msgstr "" #: scanner.pm:121 #, c-format msgid "Could not set permissions of firmware file %s!" msgstr "" #: scanner.pm:200 #, fuzzy, c-format msgid "Scannerdrake" msgstr "Scannerdrake" #: scanner.pm:201 #, c-format msgid "Could not install the packages needed to share your scanner(s)." msgstr "" #: scanner.pm:202 #, c-format msgid "Your scanner(s) will not be available for non-root users." msgstr "" #: security/help.pm:11 #, fuzzy, c-format msgid "Accept bogus IPv4 error messages." msgstr "Прифати лажни IPv4 пораки со грешка" #: security/help.pm:13 #, fuzzy, c-format msgid "Accept broadcasted icmp echo." msgstr "Прифати емитираното icmp ехо" #: security/help.pm:15 #, fuzzy, c-format msgid "Accept icmp echo." msgstr "Прифати icmp ехо" #: security/help.pm:17 #, fuzzy, c-format msgid "Allow autologin." msgstr "Дозволи/Забрани авто-логирање." #. -PO: here "ALL" is a value in a pull-down menu; translate it the same as "ALL" is #: security/help.pm:21 #, fuzzy, c-format msgid "" "If set to \"ALL\", /etc/issue and /etc/issue.net are allowed to exist.\n" "\n" "If set to \"None\", no issues are allowed.\n" "\n" "Else only /etc/issue is allowed." msgstr "" "Ако е подесено на \"СИТЕ\", на /etc/issue и /etc/issue.net им е дозволено да " "постојат.\n" "\n" "Ако е подесено на НИТУ ЕДНО, не се дозволени никакви извршувања.\n" "\n" "Инаку, само /etc/issue е дозволено." #: security/help.pm:27 #, fuzzy, c-format msgid "Allow reboot by the console user." msgstr "Дозволи/Забрани рестартирање од конзолниот корисник." #: security/help.pm:29 #, fuzzy, c-format msgid "Allow remote root login." msgstr "Дозволи remote root логирање" #: security/help.pm:31 #, fuzzy, c-format msgid "Allow direct root login." msgstr "Дозволи/Забрани ги директните пријавувања како root." #: security/help.pm:33 #, fuzzy, c-format msgid "" "Allow the list of users on the system on display managers (kdm and gdm)." msgstr "Дозволи/Забрани листа на корисници на дисплеј менаџерот(kdm and gdm)." #: security/help.pm:35 #, c-format msgid "" "Allow to export display when\n" "passing from the root account to the other users.\n" "\n" "See pam_xauth(8) for more details.'" msgstr "" #: security/help.pm:40 #, fuzzy, c-format msgid "" "Allow X connections:\n" "\n" "- \"All\" (all connections are allowed),\n" "\n" "- \"Local\" (only connection from local machine),\n" "\n" "- \"None\" (no connection)." msgstr "" "Дозоволи/Forbid X конекција:\n" "\n" "- СИТЕ (сите конекции се дозволени),\n" "\n" "- ЛОКАЛНИ (само конекции од локални компјутери),\n" "\n" "- ПРАЗНО (без кокнекции)." #: security/help.pm:48 #, c-format msgid "" "The argument specifies if clients are authorized to connect\n" "to the X server from the network on the tcp port 6000 or not." msgstr "" "Аргументот назначува дали клиентите се авторизирани за поврзување\n" "на X серверот преку мрежата на tcp порта 6000 или пак не." #. -PO: here "ALL", "Local" and "None" are values in a pull-down menu; translate them the same as they're #: security/help.pm:53 #, fuzzy, c-format msgid "" "Authorize:\n" "\n" "- all services controlled by tcp_wrappers (see hosts.deny(5) man page) if " "set to \"ALL\",\n" "\n" "- only local ones if set to \"Local\"\n" "\n" "- none if set to \"None\".\n" "\n" "To authorize the services you need, use /etc/hosts.allow (see hosts.allow" "(5))." msgstr "" "Овласти:\n" "\n" "- сите сервиси контолирани од tcp_wrappers (види hosts.deny(5) во " "прирачникот) if наместено на \"СИТЕ\",\n" "\n" "- го поседуваат само локалните ако е подесено на \"ЛОКАЛНО\"\n" "\n" "- никој ако е подесено на \"НИКОЈ\".\n" "\n" "За да ги овластите сервисите кои ви требаат, користите /etc/hosts.allow " "(види hosts.allow(5))." #: security/help.pm:63 #, c-format msgid "" "If SERVER_LEVEL (or SECURE_LEVEL if absent)\n" "is greater than 3 in /etc/security/msec/security.conf, creates the\n" "symlink /etc/security/msec/server to point to\n" "/etc/security/msec/server.<SERVER_LEVEL>.\n" "\n" "The /etc/security/msec/server is used by chkconfig --add to decide to\n" "add a service if it is present in the file during the installation of\n" "packages." msgstr "" "Ако SERVER_LEVEL (или SECURE_LEVEL е исклучено)\n" "е поголемо од 3 во /etc/security/msec/security.conf, го создава\n" "линкот /etc/security/msec/server да го посочи до\n" "/etc/security/msec/server.<SERVER_LEVEL>.\n" "\n" "/etc/security/msec/server го користи chkconfig --add да одреди дали да\n" "додаде сервис ако е присутен во датотеката во текот на инсталацијата на\n" "пакетите." #: security/help.pm:72 #, fuzzy, c-format msgid "" "Enable crontab and at for users.\n" "\n" "Put allowed users in /etc/cron.allow and /etc/at.allow (see man at(1)\n" "and crontab(1))." msgstr "" "Enable/Disable crontab and at for users.\n" "Стави ги дозволените корисници во /etc/cron.allow и /etc/at.allow (види man " "во(1)\n" "и crontab(1))." #: security/help.pm:77 #, fuzzy, c-format msgid "Enable syslog reports to console 12" msgstr "Овозможи/Оневозможи syslog извештаи на конзола 12" #: security/help.pm:79 #, c-format msgid "" "Enable name resolution spoofing protection. If\n" "\"%s\" is true, also reports to syslog." msgstr "" #: security/help.pm:80 #, fuzzy, c-format msgid "Security Alerts:" msgstr "Безбедност:" #: security/help.pm:82 #, fuzzy, c-format msgid "Enable IP spoofing protection." msgstr "Овозможи IP заштита" #: security/help.pm:84 #, fuzzy, c-format msgid "Enable libsafe if libsafe is found on the system." msgstr "Овозможи го libsafe ако libsafe е пронајден на вашиот систем" #: security/help.pm:86 #, fuzzy, c-format msgid "Enable the logging of IPv4 strange packets." msgstr "Овозможи го логирањето на IPv4 чудните пакети" #: security/help.pm:88 #, fuzzy, c-format msgid "Enable msec hourly security check." msgstr "Овозможи msec сигурносна проверка на час" #: security/help.pm:90 #, fuzzy, c-format msgid "" "Enable su only from members of the wheel group. If set to no, allows su from " "any user." msgstr "" "Овозможите su само од членовите на контролната група или од секој корисник." #: security/help.pm:92 #, c-format msgid "Use password to authenticate users." msgstr "Користи лозинка за препознавање на корисниците" #: security/help.pm:94 #, fuzzy, c-format msgid "Activate Ethernet cards promiscuity check." msgstr "Активирај/Забрани проверка на ethernet картичките" #: security/help.pm:96 #, fuzzy, c-format msgid "Activate daily security check." msgstr "Активирај/Исклучи ја дневната проверка на сигурност." #: security/help.pm:98 #, fuzzy, c-format msgid "Enable sulogin(8) in single user level." msgstr "Sulogin(8) во ниво на еден корисник" #: security/help.pm:100 #, c-format msgid "Add the name as an exception to the handling of password aging by msec." msgstr "" #: security/help.pm:102 #, c-format msgid "Set password aging to \"max\" days and delay to change to \"inactive\"." msgstr "" "Подеси го остарувањето на лозинката на \"максимум\" денови и задоцнувањето " "го смени на \"неактивно\"." #: security/help.pm:104 #, c-format msgid "Set the password history length to prevent password reuse." msgstr "" #: security/help.pm:106 #, c-format msgid "" "Set the password minimum length and minimum number of digit and minimum " "number of capitalized letters." msgstr "" "Поставете јалозинката на минимум ... и минимум борјки и минимум број на " "големи букви." #: security/help.pm:108 #, fuzzy, c-format msgid "Set the root's file mode creation mask." msgstr "Подеси го umask за root." #: security/help.pm:109 #, c-format msgid "if set to yes, check open ports." msgstr "ако поставете да, проверете ги отворените порти." #: security/help.pm:110 #, c-format msgid "" "if set to yes, check for:\n" "\n" "- empty passwords,\n" "\n" "- no password in /etc/shadow\n" "\n" "- for users with the 0 id other than root." msgstr "" "ако е поставено на да, направете проверка за:\n" "\n" "- празни лозинки,\n" "\n" "-нема лозинки во /etc/shadow\n" "\n" "-за корисници со id 0 а кои не се root." #: security/help.pm:117 #, c-format msgid "if set to yes, check permissions of files in the users' home." msgstr "" #: security/help.pm:118 #, c-format msgid "if set to yes, check if the network devices are in promiscuous mode." msgstr "" "ако е подесено на да, провери дали мрежните уреди со во заеднички режим." #: security/help.pm:119 #, c-format msgid "if set to yes, run the daily security checks." msgstr "ако поставете да, вклучете ја дневната проверка на безбедност." #: security/help.pm:120 #, c-format msgid "if set to yes, check additions/removals of sgid files." msgstr "" "ако е подесено на да. проверете ги додатоците/отстранувањата на sgid " "датотеките." #: security/help.pm:121 #, c-format msgid "if set to yes, check empty password in /etc/shadow." msgstr "ако е поставено да, провери ја празната лозинка во /etc/shadow." #: security/help.pm:122 #, c-format msgid "if set to yes, verify checksum of the suid/sgid files." msgstr "ако е \"да\", потврди го проверениот збир од suid/sgid датотеките." #: security/help.pm:123 #, c-format msgid "if set to yes, check additions/removals of suid root files." msgstr "" "ако е наместено на да, провери за додавања/отсранувања на suid root " "датотеките." #: security/help.pm:124 #, c-format msgid "if set to yes, report unowned files." msgstr "ако е поставено да, извести за не своите датотеки." #: security/help.pm:125 #, c-format msgid "if set to yes, check files/directories writable by everybody." msgstr "" "ако поставите да, проверете ги датотеките/директориумите на кои може секој " "да пишува." #: security/help.pm:126 #, c-format msgid "if set to yes, run chkrootkit checks." msgstr "ако одберете да, стартувајте ја chkrootkit проверката" #: security/help.pm:127 #, c-format msgid "" "if set, send the mail report to this email address else send it to root." msgstr "" "ако е подесено, испрати го извештајот за поштата на оваа е-пошта во " "спротивно испрати го на root." #: security/help.pm:128 #, c-format msgid "if set to yes, report check result by mail." msgstr "ако е подесено на да, прати го добиениот резултат по е-пошта" #: security/help.pm:129 #, c-format msgid "Do not send mails if there's nothing to warn about" msgstr "" #: security/help.pm:130 #, c-format msgid "if set to yes, run some checks against the rpm database." msgstr "ако поставете да, стартувајте некои проверки во rpm базата на податоци" #: security/help.pm:131 #, c-format msgid "if set to yes, report check result to syslog." msgstr "ако е ставено на да, известува за резултатот од проверката во syslog." #: security/help.pm:132 #, c-format msgid "if set to yes, reports check result to tty." msgstr "ако е \"да\", го испишува резултатот од проверката на tty." #: security/help.pm:134 #, c-format msgid "Set shell commands history size. A value of -1 means unlimited." msgstr "" "Постави ја големинта на поранешните команди во школката. -1 значи " "неограничен простор." #: security/help.pm:136 #, c-format msgid "Set the shell timeout. A value of zero means no timeout." msgstr "" #: security/help.pm:136 #, c-format msgid "Timeout unit is second" msgstr "" #: security/help.pm:138 #, fuzzy, c-format msgid "Set the user's file mode creation mask." msgstr "Подеси го корисничкиот umask." #: security/l10n.pm:11 #, c-format msgid "Accept bogus IPv4 error messages" msgstr "Прифати лажни IPv4 пораки со грешка" #: security/l10n.pm:12 #, c-format msgid "Accept broadcasted icmp echo" msgstr "Прифати емитираното icmp ехо" #: security/l10n.pm:13 #, c-format msgid "Accept icmp echo" msgstr "Прифати icmp ехо" #: security/l10n.pm:15 #, c-format msgid "/etc/issue* exist" msgstr "/etc/issue* излез" #: security/l10n.pm:16 #, c-format msgid "Reboot by the console user" msgstr "Рестарт од конзолниот корисник" #: security/l10n.pm:17 #, c-format msgid "Allow remote root login" msgstr "Дозволи remote root логирање" #: security/l10n.pm:18 #, c-format msgid "Direct root login" msgstr "Директно root логирање" #: security/l10n.pm:19 #, c-format msgid "List users on display managers (kdm and gdm)" msgstr "Листа на корисници на дисплеј менаџерот (kdm и gdm)" #: security/l10n.pm:20 #, c-format msgid "Export display when passing from root to the other users" msgstr "" #: security/l10n.pm:21 #, fuzzy, c-format msgid "Allow X Window connections" msgstr "Дозволи X Window конекција" #: security/l10n.pm:22 #, c-format msgid "Authorize TCP connections to X Window" msgstr "Авторизирај TCP конекции со X Window" #: security/l10n.pm:23 #, c-format msgid "Authorize all services controlled by tcp_wrappers" msgstr "Одобри ги сите сервиси контролирани од страна на tcp_wrappers" #: security/l10n.pm:24 #, fuzzy, c-format msgid "Chkconfig obey msec rules" msgstr "Конфигурирај" #: security/l10n.pm:25 #, c-format msgid "Enable \"crontab\" and \"at\" for users" msgstr "Овозможи \"crontab\" и \"at\" за корисниците" #: security/l10n.pm:26 #, c-format msgid "Syslog reports to console 12" msgstr "Syslog извештаи за конзола 12" #: security/l10n.pm:27 #, c-format msgid "Name resolution spoofing protection" msgstr "" #: security/l10n.pm:28 #, c-format msgid "Enable IP spoofing protection" msgstr "Овозможи IP заштита" #: security/l10n.pm:29 #, c-format msgid "Enable libsafe if libsafe is found on the system" msgstr "Овозможи го libsafe ако libsafe е пронајден на вашиот систем" #: security/l10n.pm:30 #, c-format msgid "Enable the logging of IPv4 strange packets" msgstr "Овозможи го логирањето на IPv4 чудните пакети" #: security/l10n.pm:31 #, c-format msgid "Enable msec hourly security check" msgstr "Овозможи msec сигурносна проверка на час" #: security/l10n.pm:32 #, fuzzy, c-format msgid "Enable su only from the wheel group members" msgstr "" "Овозможите su само од членовите на контролната група или од секој корисник." #: security/l10n.pm:33 #, c-format msgid "Use password to authenticate users" msgstr "Користи лозинка за логирање корисници" #: security/l10n.pm:34 #, c-format msgid "Ethernet cards promiscuity check" msgstr "Мешана проверка на мрежните картички" #: security/l10n.pm:35 #, c-format msgid "Daily security check" msgstr "Дневна сигурносна проверка" #: security/l10n.pm:36 #, c-format msgid "Sulogin(8) in single user level" msgstr "Sulogin(8) во ниво на еден корисник" #: security/l10n.pm:37 #, c-format msgid "No password aging for" msgstr "Нема стареење на лозинка за" #: security/l10n.pm:38 #, c-format msgid "Set password expiration and account inactivation delays" msgstr "Намести изминување на лозинката и неактивни задоцнувања на акаунтот" #: security/l10n.pm:39 #, fuzzy, c-format msgid "Password history length" msgstr "Лозинка" #: security/l10n.pm:40 #, c-format msgid "Password minimum length and number of digits and upcase letters" msgstr "Минимална должина на лозинка и број на цифри и големи букви" #: security/l10n.pm:41 #, c-format msgid "Root umask" msgstr "Root umask" #: security/l10n.pm:42 #, c-format msgid "Shell history size" msgstr "Големина на историјата на шелот" #: security/l10n.pm:43 #, fuzzy, c-format msgid "Shell timeout" msgstr "Пауза пред подигање на кернел" #: security/l10n.pm:44 #, c-format msgid "User umask" msgstr "Кориснички umask" #: security/l10n.pm:45 #, fuzzy, c-format msgid "Check open ports" msgstr "Провери ги отворените порти" #: security/l10n.pm:46 #, c-format msgid "Check for unsecured accounts" msgstr "Проверка на несигурни акаунти" #: security/l10n.pm:47 #, c-format msgid "Check permissions of files in the users' home" msgstr "Провери ја пристапноста до датотеките на кориниците во home" #: security/l10n.pm:48 #, c-format msgid "Check if the network devices are in promiscuous mode" msgstr "Проверка на мрежните уреди" #: security/l10n.pm:49 #, c-format msgid "Run the daily security checks" msgstr "Вклучи ги дневните сигурносни проверки" #: security/l10n.pm:50 #, c-format msgid "Check additions/removals of sgid files" msgstr "Провери ги додавањата/отстранувањата од sgid датотеките" #: security/l10n.pm:51 #, c-format msgid "Check empty password in /etc/shadow" msgstr "Провери да не е празна лозинката во /etc/shadow" #: security/l10n.pm:52 #, c-format msgid "Verify checksum of the suid/sgid files" msgstr "" #: security/l10n.pm:53 #, c-format msgid "Check additions/removals of suid root files" msgstr "Проверка на додадените/поместените suid root датотеки" #: security/l10n.pm:54 #, c-format msgid "Report unowned files" msgstr "Пријави непознати датотеки" #: security/l10n.pm:55 #, c-format msgid "Check files/directories writable by everybody" msgstr "Провери ги датотеките/директориумите на кои може секој да пишува" #: security/l10n.pm:56 #, c-format msgid "Run chkrootkit checks" msgstr "Вклучи ги chkrootkit проверките" #: security/l10n.pm:57 #, c-format msgid "Do not send empty mail reports" msgstr "" #: security/l10n.pm:58 #, c-format msgid "If set, send the mail report to this email address else send it to root" msgstr "" "Ако е подесено, пратете го маил репортот на оваа е-маил адреса, инаку " "пратете го на root " #: security/l10n.pm:59 #, c-format msgid "Report check result by mail" msgstr "Резултатите од проверките на маил" #: security/l10n.pm:60 #, c-format msgid "Run some checks against the rpm database" msgstr "Изврши неколку проверки врз rpm базата на податоци" #: security/l10n.pm:61 #, c-format msgid "Report check result to syslog" msgstr "Извести за резултатите од проверката во syslog" #: security/l10n.pm:62 #, c-format msgid "Reports check result to tty" msgstr "Ги известува проверените резулатати на tty" #: security/level.pm:10 #, c-format msgid "Disable msec" msgstr "" #: security/level.pm:11 #, c-format msgid "Standard" msgstr "Стандардно" #: security/level.pm:12 #, fuzzy, c-format msgid "Secure" msgstr "Безбедност" #: security/level.pm:52 #, c-format msgid "" "This level is to be used with care, as it disables all additional security\n" "provided by msec. Use it only when you want to take care of all aspects of " "system security\n" "on your own." msgstr "" #: security/level.pm:55 #, c-format msgid "" "This is the standard security recommended for a computer that will be used " "to connect to the Internet as a client." msgstr "" "Ова е стандардната сигурност препорачана за компјутер што ќе се користи за " "клиентска конекција на Интернет." #: security/level.pm:56 #, c-format msgid "" "With this security level, the use of this system as a server becomes " "possible.\n" "The security is now high enough to use the system as a server which can " "accept\n" "connections from many clients. Note: if your machine is only a client on the " "Internet, you should choose a lower level." msgstr "" "Со ова безбедносно ниво, користењето на системов како сервер станува можно.\n" "Безбедност е на ниво доволно високо за системот да се користи како сервер\n" "за многу клиенти. Забелешка: ако Вашата машина е само клиент на Интернет, би " "требало да изберете пониско ниво." #: security/level.pm:63 #, c-format msgid "DrakSec Basic Options" msgstr "DrakSec основни опции" #: security/level.pm:66 #, c-format msgid "Please choose the desired security level" msgstr "Изберете безбедносно ниво" #. -PO: this string is used to properly format "<security level>: <level description>" #: security/level.pm:70 #, c-format msgid "%s: %s" msgstr "" #: security/level.pm:73 #, fuzzy, c-format msgid "Security Administrator:" msgstr "Безбедност:" #: security/level.pm:74 #, c-format msgid "Login or email:" msgstr "" #: services.pm:18 #, c-format msgid "Listen and dispatch ACPI events from the kernel" msgstr "" #: services.pm:19 #, c-format msgid "Launch the ALSA (Advanced Linux Sound Architecture) sound system" msgstr "Го лансира ALSA (Advanced Linux Sound Architecture) звучниот систем." #: services.pm:20 #, c-format msgid "Anacron is a periodic command scheduler." msgstr "Anacron е периодично команден распоредувач." #: services.pm:21 #, c-format msgid "" "apmd is used for monitoring battery status and logging it via syslog.\n" "It can also be used for shutting down the machine when the battery is low." msgstr "" "apmd се користи за набљудување на статусот на батеријата и логирање преку " "syslog\n" "Исто така може да се користи за исклучување на машината кога батеријата е " "слаба." #: services.pm:23 #, fuzzy, c-format msgid "" "Runs commands scheduled by the at command at the time specified when\n" "at was run, and runs batch commands when the load average is low enough." msgstr "" "време\n" " и." #: services.pm:25 #, c-format msgid "Avahi is a ZeroConf daemon which implements an mDNS stack" msgstr "" #: services.pm:26 #, c-format msgid "Set CPU frequency settings" msgstr "" #: services.pm:27 #, fuzzy, c-format msgid "" "cron is a standard UNIX program that runs user-specified programs\n" "at periodic scheduled times. vixie cron adds a number of features to the " "basic\n" "UNIX cron, including better security and more powerful configuration options." msgstr "" "cron е стандардна UNIX програма кој ги стартува специфираните кориснички " "програми\n" "во определено време. vixie cron додава бројки на основна на\n" "UNIX cron, вклучувајќи и подобра сигурност и многу помоќни опции за " "конфигурација." #: services.pm:30 #, c-format msgid "" "Common UNIX Printing System (CUPS) is an advanced printer spooling system" msgstr "" #: services.pm:31 #, c-format msgid "Launches the graphical display manager" msgstr "" #: services.pm:32 #, c-format msgid "" "FAM is a file monitoring daemon. It is used to get reports when files " "change.\n" "It is used by GNOME and KDE" msgstr "" #: services.pm:34 #, c-format msgid "" "G15Daemon allows users access to all extra keys by decoding them and \n" "pushing them back into the kernel via the linux UINPUT driver. This driver " "must be loaded \n" "before g15daemon can be used for keyboard access. The G15 LCD is also " "supported. By default, \n" "with no other clients active, g15daemon will display a clock. Client " "applications and \n" "scripts can access the LCD via a simple API." msgstr "" #: services.pm:39 #, c-format msgid "" "GPM adds mouse support to text-based Linux applications such the\n" "Midnight Commander. It also allows mouse-based console cut-and-paste " "operations,\n" "and includes support for pop-up menus on the console." msgstr "" "GPM додава подрашка за глушецот на Линукс текстуално-базираните апликации, \n" "како на пр. Midnight Commander. Исто така дозволува конзолни изечи-и-вметни\n" "операции со глушецот, и вклучува подршка за pop-up менија во конзолата." #: services.pm:42 #, c-format msgid "HAL is a daemon that collects and maintains information about hardware" msgstr "" #: services.pm:43 #, fuzzy, c-format msgid "" "HardDrake runs a hardware probe, and optionally configures\n" "new/changed hardware." msgstr "" \n" "." #: services.pm:45 #, c-format msgid "" "Apache is a World Wide Web server. It is used to serve HTML files and CGI." msgstr "" "Apache е World Wide Web(WWW) сервер. Се користи за ги услужува HTML и CGI " "датотеките." #: services.pm:46 #, c-format msgid "" "The internet superserver daemon (commonly called inetd) starts a\n" "variety of other internet services as needed. It is responsible for " "starting\n" "many services, including telnet, ftp, rsh, and rlogin. Disabling inetd " "disables\n" "all of the services it is responsible for." msgstr "" "Интернетскиот суперсервер демон (најчесто викан inetd) ако е потребно\n" "вклучува и различни други интернет сервиси. Тој е одговорен за вклучување\n" "многу сервиси, меѓу кои се telnet, ftp, rsh, и rlogin. Ако се оневозможи " "inetd се оневозможиваат\n" "сите сервиси за кој што тој е одговорен." #: services.pm:50 #, c-format msgid "Automates a packet filtering firewall with ip6tables" msgstr "" #: services.pm:51 #, c-format msgid "Automates a packet filtering firewall with iptables" msgstr "" #: services.pm:52 #, c-format msgid "" "Evenly distributes IRQ load across multiple CPUs for enhanced performance" msgstr "" #: services.pm:53 #, fuzzy, c-format msgid "" "This package loads the selected keyboard map as set in\n" "/etc/sysconfig/keyboard. This can be selected using the kbdconfig utility.\n" "You should leave this enabled for most machines." msgstr "" "во\n" "\n" " овозможено." #: services.pm:56 #, c-format msgid "" "Automatic regeneration of kernel header in /boot for\n" "/usr/include/linux/{autoconf,version}.h" msgstr "" "Автоматско регенерирање на хедерот на кернелот во /boot за\n" "/usr/include/linux/{autoconf,version}.h" #: services.pm:58 #, c-format msgid "Automatic detection and configuration of hardware at boot." msgstr "Автоматско откривање и подесување на хардвер при стартување." #: services.pm:59 #, c-format msgid "Tweaks system behavior to extend battery life" msgstr "" #: services.pm:60 #, fuzzy, c-format msgid "" "Linuxconf will sometimes arrange to perform various tasks\n" "at boot-time to maintain the system configuration." msgstr "" "на\n" " време на." #: services.pm:62 #, fuzzy, c-format msgid "" "lpd is the print daemon required for lpr to work properly. It is\n" "basically a server that arbitrates print jobs to printer(s)." msgstr "" "lpd е демон за печатење, кој бара lpr за да работи како што треба.\n" " Тоа е основен сервер кој ја арбитрира работата на принтерите." #: services.pm:64 #, c-format msgid "" "Linux Virtual Server, used to build a high-performance and highly\n" "available server." msgstr "" "Линукс Виртуален Сервер, се користи за да се изгради високо достапен сервер " "со високи перформанси." #: services.pm:66 #, c-format msgid "Monitors the network (Interactive Firewall and wireless" msgstr "" #: services.pm:67 #, c-format msgid "Software RAID monitoring and management" msgstr "" #: services.pm:68 #, c-format msgid "" "DBUS is a daemon which broadcasts notifications of system events and other " "messages" msgstr "" #: services.pm:69 #, c-format msgid "Enables MSEC security policy on system startup" msgstr "" #: services.pm:70 #, c-format msgid "" "named (BIND) is a Domain Name Server (DNS) that is used to resolve host " "names to IP addresses." msgstr "" "named (BIND) е Domain Name Server (DNS) кој што се користи за доделување " "имиња на компјутерите за IP адресите." #: services.pm:71 #, c-format msgid "Initializes network console logging" msgstr "" #: services.pm:72 #, c-format msgid "" "Mounts and unmounts all Network File System (NFS), SMB (Lan\n" "Manager/Windows), and NCP (NetWare) mount points." msgstr "" "Ги монтира и одмонтира сите Network File System (NFS), SMB (Менаџер\n" "на локалната мрежа/Windows), и NCP (NetWare) монтирачките точки." #: services.pm:74 #, c-format msgid "" "Activates/Deactivates all network interfaces configured to start\n" "at boot time." msgstr "" "Ги Активира/Деактивира сите мрежни интерфејси конфигурирани на почетокот\n" "од времето на подигање." #: services.pm:76 #, c-format msgid "Requires network to be up if enabled" msgstr "" #: services.pm:77 #, c-format msgid "Wait for the hotplugged network to be up" msgstr "" #: services.pm:78 #, fuzzy, c-format msgid "" "NFS is a popular protocol for file sharing across TCP/IP networks.\n" "This service provides NFS server functionality, which is configured via the\n" "/etc/exports file." msgstr "" "NFS е популарен протокол за делење на датотеки во TCP/IP мрежи.\n" "Овој сервер е конфигуриран со датотеката /etc/exports.\n" #: services.pm:81 #, fuzzy, c-format msgid "" "NFS is a popular protocol for file sharing across TCP/IP\n" "networks. This service provides NFS file locking functionality." msgstr "" "NFS е популарен протокол за делење на датотеки низ TCP/IP\n" "мрежите" #: services.pm:83 #, c-format msgid "Synchronizes system time using the Network Time Protocol (NTP)" msgstr "" #: services.pm:84 #, c-format msgid "" "Automatically switch on numlock key locker under console\n" "and Xorg at boot." msgstr "" "Автоматски го вклучи Num Lock копчето во конзола \n" "и Xorg на вклучување." #: services.pm:86 #, c-format msgid "Support the OKI 4w and compatible winprinters." msgstr "Ги подржува OKI 4w и компатибилните win печатари." #: services.pm:87 #, c-format msgid "Checks if a partition is close to full up" msgstr "" #: services.pm:88 #, fuzzy, c-format msgid "" "PCMCIA support is usually to support things like ethernet and\n" "modems in laptops. It will not get started unless configured so it is safe " "to have\n" "it installed on machines that do not need it." msgstr "" "PCMCIA на и\n" " во на\n" " Вклучено." #: services.pm:91 #, c-format msgid "" "The portmapper manages RPC connections, which are used by\n" "protocols such as NFS and NIS. The portmap server must be running on " "machines\n" "which act as servers for protocols which make use of the RPC mechanism." msgstr "" "Portmapper е менаџер на RPC конекции, кои се користат при\n" "протоколи како NFS и NIS. Серверот portmapper мора да се\n" "извршува на машини кои претставуваат сервер за протоколи\n" "што го користат механизмот RPC." #: services.pm:94 #, c-format msgid "Reserves some TCP ports" msgstr "" #: services.pm:95 #, c-format msgid "" "Postfix is a Mail Transport Agent, which is the program that moves mail from " "one machine to another." msgstr "" "Postfix е Mail Transport Agent, а тоа е програма што ја пренесува поштата од " "една машина на друга." #: services.pm:96 #, c-format msgid "" "Saves and restores system entropy pool for higher quality random\n" "number generation." msgstr "" "Ја зачувува и повратува ентропската системска резерва за поголем квалитет\n" "на случајно генерирање броеви." #: services.pm:98 #, fuzzy, c-format msgid "" "Assign raw devices to block devices (such as hard disk drive\n" "partitions), for the use of applications such as Oracle or DVD players" msgstr "на\n" #: services.pm:100 #, fuzzy, c-format msgid "Nameserver information manager" msgstr "Информации за дискот" #: services.pm:101 #, c-format msgid "" "The routed daemon allows for automatic IP router table updated via\n" "the RIP protocol. While RIP is widely used on small networks, more complex\n" "routing protocols are needed for complex networks." msgstr "" "Демонот за пренасочување ви овозможува автоматска пренасочувачка IP табела\n" "осовременувана преку RIP протоколот. Додека RIP пошироко се користи за мали\n" "мрежи, по комплицирани пренасочувачки протоколи се потребни за комплицирани " "мрежи." #: services.pm:104 #, c-format msgid "" "The rstat protocol allows users on a network to retrieve\n" "performance metrics for any machine on that network." msgstr "" "rstat протоколот овозможува корисниците на мрежата да добиваат\n" "мерења на перормансите на било која машина на мрежата." #: services.pm:106 #, fuzzy, c-format msgid "" "Syslog is the facility by which many daemons use to log messages to various " "system log files. It is a good idea to always run rsyslog." msgstr "" "Syslog на\n" " на на." #: services.pm:107 #, c-format msgid "" "The rusers protocol allows users on a network to identify who is\n" "logged in on other responding machines." msgstr "" "rusers протоколот дозволува корисниците на мрежата да се индетификува\n" "кој е логиран7 на други машини кои што одговараат." #: services.pm:109 #, fuzzy, c-format msgid "" "The rwho protocol lets remote users get a list of all of the users\n" "logged into a machine running the rwho daemon (similar to finger)." msgstr "" "rwho пртоколот дозволува локалните корисници да имаат пристап до листата на " "сите корисници\n" " пријавени на компјутерот." #: services.pm:111 #, c-format msgid "" "SANE (Scanner Access Now Easy) enables to access scanners, video cameras, ..." msgstr "" #: services.pm:112 #, c-format msgid "Packet filtering firewall" msgstr "" #: services.pm:113 #, c-format msgid "" "The SMB/CIFS protocol enables to share access to files & printers and also " "integrates with a Windows Server domain" msgstr "" #: services.pm:114 #, fuzzy, c-format msgid "Launch the sound system on your machine" msgstr "Стартувај го звукот на Вашиот компјутер" #: services.pm:115 #, c-format msgid "layer for speech analysis" msgstr "" #: services.pm:116 #, c-format msgid "" "Secure Shell is a network protocol that allows data to be exchanged over a " "secure channel between two computers" msgstr "" #: services.pm:117 #, fuzzy, c-format msgid "" "Syslog is the facility by which many daemons use to log messages\n" "to various system log files. It is a good idea to always run syslog." msgstr "" "Syslog на\n" " на на." #: services.pm:119 #, c-format msgid "Moves the generated persistent udev rules to /etc/udev/rules.d" msgstr "" #: services.pm:120 #, c-format msgid "Load the drivers for your usb devices." msgstr "Подиги ги драјверите за вашиот usb уред." #: services.pm:121 #, c-format msgid "A lightweight network traffic monitor" msgstr "" #: services.pm:122 #, c-format msgid "Starts the X Font Server." msgstr "" #: services.pm:123 #, c-format msgid "Starts other deamons on demand." msgstr "" #: services.pm:152 #, c-format msgid "Printing" msgstr "Печатење" #: services.pm:155 #, c-format msgid "Internet" msgstr "Интернет" #: services.pm:160 #, c-format msgid "" "_: Keep these entry short\n" "Networking" msgstr "Мрежа" #: services.pm:162 #, c-format msgid "System" msgstr "Систем" #: services.pm:168 #, fuzzy, c-format msgid "Remote Administration" msgstr "Локална Администрација" #: services.pm:177 #, c-format msgid "Database Server" msgstr "Сервер за Бази на Податоци" #: services.pm:188 services.pm:227 #, c-format msgid "Services" msgstr "Сервиси" #: services.pm:188 #, fuzzy, c-format msgid "Choose which services should be automatically started at boot time" msgstr "Избери кои сервиси автоматски да стартуваатпри рестарт" #: services.pm:206 #, c-format msgid "%d activated for %d registered" msgstr "%d активирани за %d регистрирани" #: services.pm:243 #, c-format msgid "running" msgstr "работи" #: services.pm:243 #, c-format msgid "stopped" msgstr "престани" #: services.pm:248 #, c-format msgid "Services and daemons" msgstr "Сервиси и демони" #: services.pm:254 #, fuzzy, c-format msgid "" "No additional information\n" "about this service, sorry." msgstr "" "Нема дополнителни информации\n" "за овој сервис. Жалиме!" #: services.pm:259 ugtk2.pm:924 #, c-format msgid "Info" msgstr "Информации" #: services.pm:262 #, c-format msgid "Start when requested" msgstr "" #: services.pm:262 #, c-format msgid "On boot" msgstr "При подигање" #: services.pm:280 #, c-format msgid "Start" msgstr "Старт" #: services.pm:280 #, c-format msgid "Stop" msgstr "Стоп" #: standalone.pm:25 #, c-format msgid "" "This program is free software; you can redistribute it and/or modify\n" "it under the terms of the GNU General Public License as published by\n" "the Free Software Foundation; either version 2, or (at your option)\n" "any later version.\n" "\n" "This program is distributed in the hope that it will be useful,\n" "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" "GNU General Public License for more details.\n" "\n" "You should have received a copy of the GNU General Public License\n" "along with this program; if not, write to the Free Software\n" "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, " "USA.\n" msgstr "" "Оваа програма е слободен софтвер, можете да ја редистрибуирате и/или да ја\n" "изменувате под условите на GNU Општо Јавна Лиценца ако што е објавена од\n" "Фондацијата за Слободно Софтвер, како верзија 2, или (како ваша опција)\n" "било која понатамошна верзија\n" "\n" "Оваа програма е дистрибуирана со надеж дека ќе биде корисна,\n" "но со НИКАКВА ГАРАНЦИЈА; дури и без имплементирана гаранција за\n" "ТРГУВАЊЕ или НАМЕНА ЗА НЕКАКВА ПОСЕБНА ЦЕЛ. Видете ја\n" "GNU Општо Јавна Лиценца за повеќе детали.\n" "\n" "Би требало да добиете копија од GNU Општо Јавна Лиценца\n" "заедно со програмата, ако не пишете на Фондацијата за Слободен\n" "Софтвер, Корпорација, 51 Franklin Street, Fifth Floor, Boston, MA " "02110-1301, USA.\n" #: standalone.pm:44 #, c-format msgid "" "[--config-info] [--daemon] [--debug] [--default] [--show-conf]\n" "Backup and Restore application\n" "\n" "--default : save default directories.\n" "--debug : show all debug messages.\n" "--show-conf : list of files or directories to backup.\n" "--config-info : explain configuration file options (for non-X " "users).\n" "--daemon : use daemon configuration. \n" "--help : show this message.\n" "--version : show version number.\n" msgstr "" "[--config-info] [--daemon] [--debug] [--default] [--show-conf]\n" "Апликација за Бекап и Повратување\n" "\n" "--default : ги снима стандардните директориуми.\n" "--debug : ги прикажува сите дебагирачки пораки.\n" "--show-conf : листа на датотеки или директориуми за бекап.\n" "--config-info : ги објаснува конфигурационите опции (за не-X " "корисници).\n" "--daemon : користи демон конфигурација. \n" "--help : ја прикажува оваа порака.\n" "--version : го прикажува бројот на верзијата.\n" #: standalone.pm:56 #, c-format msgid "" "[--boot]\n" "OPTIONS:\n" " --boot - enable to configure boot loader\n" "default mode: offer to configure autologin feature" msgstr "" #: standalone.pm:60 #, fuzzy, c-format msgid "" "[OPTIONS] [PROGRAM_NAME]\n" "\n" "OPTIONS:\n" " --help - print this help message.\n" " --report - program should be one of %s tools\n" " --incident - program should be one of %s tools" msgstr "" "[ОПЦИИ] [ИМЕ_НА_ПРОГРАМАТА]\n" "\n" "ОПЦИИ:\n" " --help - ја прикажува оваа порака за помош.\n" " --report - програмата треба да е една од алатките на мандрак\n" " --incident - програмата треба да е една од алатките на мандрак" #: standalone.pm:66 #, c-format msgid "" "[--add]\n" " --add - \"add a network interface\" wizard\n" " --del - \"delete a network interface\" wizard\n" " --skip-wizard - manage connections\n" " --internet - configure internet\n" " --wizard - like --add" msgstr "" #: standalone.pm:72 #, c-format msgid "" "\n" "Font Importation and monitoring application\n" "\n" "OPTIONS:\n" "--windows_import : import from all available windows partitions.\n" "--xls_fonts : show all fonts that already exist from xls\n" "--install : accept any font file and any directory.\n" "--uninstall : uninstall any font or any directory of font.\n" "--replace : replace all font if already exist\n" "--application : 0 none application.\n" " : 1 all application available supported.\n" " : name_of_application like so for staroffice \n" " : and gs for ghostscript for only this one." msgstr "" #: standalone.pm:87 #, fuzzy, c-format msgid "" "[OPTIONS]...\n" "%s Terminal Server Configurator\n" "--enable : enable MTS\n" "--disable : disable MTS\n" "--start : start MTS\n" "--stop : stop MTS\n" "--adduser : add an existing system user to MTS (requires username)\n" "--deluser : delete an existing system user from MTS (requires " "username)\n" "--addclient : add a client machine to MTS (requires MAC address, IP, " "nbi image name)\n" "--delclient : delete a client machine from MTS (requires MAC address, " "IP, nbi image name)" msgstr "" "[ОПЦИИ]...\n" "Конфигуратор на Мандрива Контролниот Сервер\n" "--enable : овозможи MTS\n" "--disable : оневозможи MTS\n" "--start : вклучи MTS\n" "--stop : исклучи MTS\n" "--adduser : додади постоечки системски корисник на MTS (потребно е " "корисничко име)\n" "--deluser : избриши постоечки системски корисник од MTS (потребно е " "корисничко име)\n" "--addclient : додава клиентска машина на MTS (потребно е MAC адреса, " "IP, nbi име на сликата)\n" "--delclient : брише клиентска машина од MTS (потребно е MAC адреса, IP, " "nbi име на сликата)" #: standalone.pm:99 #, c-format msgid "[keyboard]" msgstr "[Тастатура]" #: standalone.pm:100 #, c-format msgid "[--file=myfile] [--word=myword] [--explain=regexp] [--alert]" msgstr "[--file=myfile] [--word=myword] [--explain=regexp] [--alert]" #: standalone.pm:101 #, c-format msgid "" "[OPTIONS]\n" "Network & Internet connection and monitoring application\n" "\n" "--defaultintf interface : show this interface by default\n" "--connect : connect to internet if not already connected\n" "--disconnect : disconnect to internet if already connected\n" "--force : used with (dis)connect : force (dis)connection.\n" "--status : returns 1 if connected 0 otherwise, then exit.\n" "--quiet : do not be interactive. To be used with (dis)connect." msgstr "" "[Опции]\n" "Мрежа & интернет конекција и мониторинг апликации\n" "\n" "--defaultintf interface : прикажи го овој интерфејс како дефаулт\n" "--connect : поврзи се на Интернет ако не си поврзан\n" "--disconnect : исклучи се од Интернет ако веќе си поврзан\n" "--force : used with (dis)connect : насилна конектирање/исклучување.\n" "--status : returns 1 if connected 0 otherwise, then exit.\n" "--quiet : do not be interactive. To be used with (dis)connect." #: standalone.pm:111 #, c-format msgid "" "[OPTION]...\n" " --no-confirmation do not ask first confirmation question in %s Update " "mode\n" " --no-verify-rpm do not verify packages signatures\n" " --changelog-first display changelog before filelist in the " "description window\n" " --merge-all-rpmnew propose to merge all .rpmnew/.rpmsave files found" msgstr "" #: standalone.pm:116 #, c-format msgid "" "[--manual] [--device=dev] [--update-sane=sane_source_dir] [--update-" "usbtable] [--dynamic=dev]" msgstr "" "[--manual] [--device=dev] [--update-sane=sane_source_dir] [--update-" "usbtable] [--dynamic=dev]" #: standalone.pm:117 #, c-format msgid "" " [everything]\n" " XFdrake [--noauto] monitor\n" " XFdrake resolution" msgstr "" " [се]\n" " XFdrake [--noauto] монитор\n" " XFdrake резолуција" #: standalone.pm:153 #, c-format msgid "" "\n" "Usage: %s [--auto] [--beginner] [--expert] [-h|--help] [--noauto] [--" "testing] [-v|--version] " msgstr "" "\n" "Искористеност: %s [--auto] [--beginner] [--expert] [-h|--help] [--noauto] " "[--testing] [-v|--version] " #: timezone.pm:161 timezone.pm:162 #, fuzzy, c-format msgid "All servers" msgstr "Додади сервер" #: timezone.pm:198 #, c-format msgid "Global" msgstr "" #: timezone.pm:201 #, fuzzy, c-format msgid "Africa" msgstr "Јужна Африка" #: timezone.pm:202 #, fuzzy, c-format msgid "Asia" msgstr "Австрија" #: timezone.pm:203 #, c-format msgid "Europe" msgstr "" #: timezone.pm:204 #, fuzzy, c-format msgid "North America" msgstr "Јужна Африка" #: timezone.pm:205 #, fuzzy, c-format msgid "Oceania" msgstr "Македонија" #: timezone.pm:206 #, fuzzy, c-format msgid "South America" msgstr "Јужна Африка" #: timezone.pm:215 #, c-format msgid "Hong Kong" msgstr "Хонг Конг" #: timezone.pm:252 #, c-format msgid "Russian Federation" msgstr "Руска Федерација" #: timezone.pm:260 #, c-format msgid "Yugoslavia" msgstr "Југославија" #: ugtk2.pm:812 #, c-format msgid "Is this correct?" msgstr "Дали е ова точно?" #: ugtk2.pm:874 #, fuzzy, c-format msgid "You have chosen a file, not a directory" msgstr "Мора да изберете датотека , не именик.\n" #: wizards.pm:96 #, c-format msgid "" "%s is not installed\n" "Click \"Next\" to install or \"Cancel\" to quit" msgstr "" "%s не е инсталиран\n" "За да го инсталирате притиснете \"Следно\" или \"Откажи\" за откажување" #: wizards.pm:100 #, c-format msgid "Installation failed" msgstr "Неуспешна инсталација" #, fuzzy #~ msgid "" #~ "Launch packet filtering for Linux kernel 2.2 series, to set\n" #~ "up a firewall to protect your machine from network attacks." #~ msgstr "" #~ "Стартувај го филтрираниот пакет за Linux кернел 2.2 серија, за да го " #~ "поставите\n" #~ "firewall-от да го штити Вашиот компјутер од нападите на мрежа." #~ msgid "File sharing" #~ msgstr "Споделување датотеки" #~ msgid "Restrict command line options" #~ msgstr "Забранети опции од командна линија" #~ msgid "restrict" #~ msgstr "забрани" #~ msgid "" #~ "Option ``Restrict command line options'' is of no use without a password" #~ msgstr "" #~ "Опцијата \"Забранети опции од командна линија\" е бесполезна без лозинка" #, fuzzy #~ msgid "Use an encrypted filesystem" #~ msgstr "" #~ "Не може да користите криптиран фајлсистем за точката на монтирање %s" #~ msgid "Use the Microsoft Windows® partition for loopback" #~ msgstr "Користи ја Microsoft Windows® партицијата за loopback" #~ msgid "Which partition do you want to use for Linux4Win?" #~ msgstr "Која партиција сакате да ја користите за Linux4Win?" #~ msgid "Choose the sizes" #~ msgstr "Избири ги големините" #~ msgid "Root partition size in MB: " #~ msgstr "Root партиција големина во во МБ: " #~ msgid "Swap partition size in MB: " #~ msgstr "swap партиција (во МБ): " #~ msgid "" #~ "There is no FAT partition to use as loopback (or not enough space left)" #~ msgstr "" #~ "Не постои FAT партиција за користење како loopback\n" #~ "(или нема доволно преостанат простор)" #~ msgid "" #~ "The FAT resizer is unable to handle your partition, \n" #~ "the following error occurred: %s" #~ msgstr "" #~ "FAT зголемувачот не може да се справи со Вашата партиција,\n" #~ "зашто се случи следнава грешка: %s" #~ msgid "Please log out and then use Ctrl-Alt-BackSpace" #~ msgstr "Одлогирајте се и тогаш натиснете Ctrl-Alt-BackSpace" #~ msgid "Welcome To Crackers" #~ msgstr "Бујрум кракери" #~ msgid "Poor" #~ msgstr "Сиромашно" #~ msgid "High" #~ msgstr "Високо" #~ msgid "Higher" #~ msgstr "Повисоко" #~ msgid "Paranoid" #~ msgstr "Параноично" #~ msgid "" #~ "This level is to be used with care. It makes your system more easy to " #~ "use,\n" #~ "but very sensitive. It must not be used for a machine connected to " #~ "others\n" #~ "or to the Internet. There is no password access." #~ msgstr "" #~ "Ова ниво треба да се користи внимателно. Со него системот полесно\n" #~ "се користи, но е многу чувствителен. Не смее да се користи за машини\n" #~ "поврзани со други, или на Интернет. Не постои пристап со лозинки." #~ msgid "" #~ "Passwords are now enabled, but use as a networked computer is still not " #~ "recommended." #~ msgstr "" #~ "Лозинките се сега овозможени, но да се користење како мрежен компјутер " #~ "сеуште не се препорачува." #~ msgid "" #~ "There are already some restrictions, and more automatic checks are run " #~ "every night." #~ msgstr "" #~ "Постојат некои ограничувања, и повеќе автоматски проверки се извршуваат " #~ "секоја вечер." #~ msgid "" #~ "This is similar to the previous level, but the system is entirely closed " #~ "and security features are at their maximum." #~ msgstr "" #~ "Ова е слично на преходното ниво, но системот е целосно затворен и " #~ "безбедносните функции се во нивниот максимум." #~ msgid "" #~ "\n" #~ "Warning\n" #~ "\n" #~ "Please read carefully the terms below. If you disagree with any\n" #~ "portion, you are not allowed to install the next CD media. Press " #~ "'Refuse' \n" #~ "to continue the installation without using these media.\n" #~ "\n" #~ "\n" #~ "Some components contained in the next CD media are not governed\n" #~ "by the GPL License or similar agreements. Each such component is then\n" #~ "governed by the terms and conditions of its own specific license. \n" #~ "Please read carefully and comply with such specific licenses before \n" #~ "you use or redistribute the said components. \n" #~ "Such licenses will in general prevent the transfer, duplication \n" #~ "(except for backup purposes), redistribution, reverse engineering, \n" #~ "de-assembly, de-compilation or modification of the component. \n" #~ "Any breach of agreement will immediately terminate your rights under \n" #~ "the specific license. Unless the specific license terms grant you such\n" #~ "rights, you usually cannot install the programs on more than one\n" #~ "system, or adapt it to be used on a network. In doubt, please contact \n" #~ "directly the distributor or editor of the component. \n" #~ "Transfer to third parties or copying of such components including the \n" #~ "documentation is usually forbidden.\n" #~ "\n" #~ "\n" #~ "All rights to the components of the next CD media belong to their \n" #~ "respective authors and are protected by intellectual property and \n" #~ "copyright laws applicable to software programs.\n" #~ msgstr "" #~ "\n" #~ "Внимание\n" #~ "\n" #~ "Внимателно прочитајте ги следниве услови. Ако не се согласувате\n" #~ "со било кој дел, не Ви е дозволено да инсталирате од следните цедиња.\n" #~ "Притиснете \"Одбиј\" за да продолжите со инсталирање без овие медиуми.\n" #~ "\n" #~ "\n" #~ "Некои компоненти на следниве цедиња не потпаѓаат под лиценцата GPL \n" #~ "или некои слични договори. Секоја од таквите компоненти во таков\n" #~ "случај потпаѓа под термините и условите на сопствената лиценца. \n" #~ "Внимателно прочитајте ги и прифатете ги таквите специфични лиценци \n" #~ "пред да ги користите или редистрибуирате овие компоненти. \n" #~ "Општо земено, таквите лиценци забрануваат трансфер, копирање \n" #~ "(освен во цел на бекап), редистрибуирање, обратно инжинерство (reverse\n" #~ "engineering), дисасемблирање или модификација на компонентите.\n" #~ "Секое прекршување на договорот автоматски ќе ги терминира Вашите\n" #~ "права под конкретната лиценца. Освен ако специфичните лиценци Ви\n" #~ "дозволуваат, обично не можете да ги инсталирате програмите на повеќе\n" #~ "од еден систем, или да ги адаптирате да се користат мрежно. Ако сте\n" #~ "во двоумење, контактирајте го дистрибутерот или уредникот на \n" #~ "компонентата директно.\n" #~ "Трансфер на трети лица или копирање на таквите компоненти, \n" #~ "вклучувајќи ја документацијата, е обично забрането.\n" #~ "\n" #~ "\n" #~ "Сите права на компонентите на следните цеде-медиуми припаѓаат\n" #~ "на нивните соодветни автори и се заштите со законите за интелектуална\n" #~ "сопственост и авторски права (copyright laws) што се применливи за\n" #~ "софтверски програми.\n" #~ msgid "Use libsafe for servers" #~ msgstr "Користење libsafe за сервери" #~ msgid "" #~ "A library which defends against buffer overflow and format string attacks." #~ msgstr "" #~ "Библиотека што штити од \"buffer overflow\" и \"format string\" напади." #~ msgid "LILO/grub Installation" #~ msgstr "Инсталација на LILO/grub" #~ msgid "Precise RAM size if needed (found %d MB)" #~ msgstr "Точната големина на RAM, ако е потребно (пронајдени се %d MB)" #~ msgid "Give the ram size in MB" #~ msgstr "Количество RAM во MB" #~ msgid "" #~ "If you plan to use aboot, be careful to leave a free space (2048 sectors " #~ "is enough)\n" #~ "at the beginning of the disk" #~ msgstr "" #~ "Ако планирате да го користите aboot, внимавајте да оставите празен " #~ "простор\n" #~ "(2048 сектори се доволно) на почетокот на дискот" #~ msgid "Security level" #~ msgstr "Сигурносно ниво" #~ msgid "Expand Tree" #~ msgstr "Рашири го дрвото" #~ msgid "Collapse Tree" #~ msgstr "Собери го дрвото" #~ msgid "Toggle between flat and group sorted" #~ msgstr "Избор меѓу линеарно и сортирано по група" #~ msgid "Choose action" #~ msgstr "Изберете акција" #~ msgid "Active Directory with SFU" #~ msgstr "Active Directory со SFU" #~ msgid "Active Directory with Winbind" #~ msgstr "Active Directory со Winbind" #~ msgid "Active Directory with SFU:" #~ msgstr "Active Directory со SFU:" #~ msgid "Active Directory with Winbind:" #~ msgstr "Active Directory со Winbind:" #~ msgid "Authentication LDAP" #~ msgstr "LDAP за автентикација" #~ msgid "TLS" #~ msgstr "TLS" #~ msgid "SSL" #~ msgstr "SSL" #, fuzzy #~ msgid "Authentication Active Directory" #~ msgstr "автентикација" #, fuzzy #~ msgid "LDAP users database" #~ msgstr "База на податоци" #~ msgid "Authentication NIS" #~ msgstr "NIS за автентикација" #~ msgid "" #~ "For this to work for a W2K PDC, you will probably need to have the admin " #~ "run: C:\\>net localgroup \"Pre-Windows 2000 Compatible Access\" everyone /" #~ "add and reboot the server.\n" #~ "You will also need the username/password of a Domain Admin to join the " #~ "machine to the Windows(TM) domain.\n" #~ "If networking is not yet enabled, Drakx will attempt to join the domain " #~ "after the network setup step.\n" #~ "Should this setup fail for some reason and domain authentication is not " #~ "working, run 'smbpasswd -j DOMAIN -U USER%%PASSWORD' using your Windows" #~ "(tm) Domain, and Admin Username/Password, after system boot.\n" #~ "The command 'wbinfo -t' will test whether your authentication secrets are " #~ "good." #~ msgstr "" #~ "За да ова работи за W2K PDC, веројатно ќе треба Вашиот администратор да " #~ "изврши: C:\\>net localgroup \"Pre-Windows 2000 Compatible Access\" " #~ "everyone /и да го рестартира серверот.\n" #~ "Исто така ќе Ви треба име/лозинка на администратор на домен за да ја " #~ "придружите машинава на Windows(TM) доменот.\n" #~ "Ако в мрежувањето сеуште не е овозможено, Drakx ќе се обиде да се " #~ "приклучи на доменот по чекорот на мрежното подесување.\n" #~ "Ако од некоја причина подесувањето не успее и автентикацијата на доменот " #~ "не работи, извршете 'smbpasswd -j DOMAIN -U USER%%PASSWORD' со Вашиот " #~ "Windows(tm) домен, и администраторски корисник/лозинка, по вклучувањето " #~ "на компјутерот.\n" #~ "Командата 'wbinfo -t' ќе тестира дали вашите тајни за автентикација се " #~ "добри." #~ msgid "Authentication Windows Domain" #~ msgstr "Windows Domain автентикација" #~ msgid "Undo" #~ msgstr "Поврати" #~ msgid "Save partition table" #~ msgstr "Зачувај партициска табела" #~ msgid "Restore partition table" #~ msgstr "Врати партициска табела" #~ msgid "" #~ "The backup partition table has not the same size\n" #~ "Still continue?" #~ msgstr "" #~ "Партициската табела за бекап не е со иста големина\n" #~ "Да Продолжиме?" #~ msgid "Info: " #~ msgstr "Инфо: " #~ msgid "Unknown driver" #~ msgstr "Непознат драјвер" #~ msgid "Error reading file %s" #~ msgstr "Грешка при читање на датотеката %s" #, fuzzy #~ msgid "Restoring from file %s failed: %s" #~ msgstr "s" #~ msgid "Bad backup file" #~ msgstr "Лоша бекап датотека" #~ msgid "Error writing to file %s" #~ msgstr "Грешка при запишувањето во датотеката %s" #~ msgid "Error: The \"%s\" driver for your sound card is unlisted" #~ msgstr "Грешка: \"%s\" драјверот за вашата звучна картичка не во листата" #~ msgid "Ext2" #~ msgstr "Ext2" #~ msgid "Journalised FS" #~ msgstr "Journalised FS" #~ msgid "Starts the X Font Server (this is mandatory for Xorg to run)." #~ msgstr "" #~ "Го стартува Х Фонт Серверот (ова е задолжително за да може Xorg да " #~ "работи)." #~ msgid "Add user" #~ msgstr "Додајте корисник" #~ msgid "Accept user" #~ msgstr "Прифати корисник" #, fuzzy #~ msgid "" #~ "Do not update directory inode access times on this filesystem\n" #~ "(e.g, for faster access on the news spool to speed up news servers)." #~ msgstr "" #~ "Не ги ажурирај инодно временските пристапи на овој фајл ситем\n" #~ "(на пр. за побрз пристап на новостите паралелно за да се забрзат " #~ "серверите за дискусионите групи)." #~ msgid "Rescue partition table" #~ msgstr "Спасувај партициска табела" #~ msgid "Removable media automounting" #~ msgstr "Автомонтирање на отстранливи медиуми" #~ msgid "Trying to rescue partition table" #~ msgstr "Обид за спасување на партициската табела" #~ msgid "Accept/Refuse bogus IPv4 error messages." #~ msgstr "Прифати/Одбиј ги IPv4 пораките за грешки." #~ msgid "Accept/Refuse broadcasted icmp echo." #~ msgstr "Прифати/Одбиј ги broadcasted icmp echo" #~ msgid "Accept/Refuse icmp echo." #~ msgstr "Прифати/Одбиј icmp echo." #~ msgid "Allow/Forbid remote root login." #~ msgstr "Дозволи/Забрани нелокално логирање на root." #~ msgid "Enable/Disable IP spoofing protection." #~ msgstr "Овозможи/Оневозможи заштита од IP измама." #~ msgid "Enable/Disable libsafe if libsafe is found on the system." #~ msgstr "Дозволи/Забрани libsafe ако libsafe е на системот." #~ msgid "Enable/Disable the logging of IPv4 strange packets." #~ msgstr "Овозможи/Оневозможи логирање на IPv4 чудни пакети." #~ msgid "Enable/Disable msec hourly security check." #~ msgstr "Овозможи/Оневозможи msec безбедносна проверка на секој час." #~ msgid "Number of capture buffers:" #~ msgstr "Број на бафери за capture:" #~ msgid "number of capture buffers for mmap'ed capture" #~ msgstr "број на бафери за mmap-иран capture" #~ msgid "PLL setting:" #~ msgstr "PLL поставка:" #~ msgid "Radio support:" #~ msgstr "Радио поддршка:" #~ msgid " [--skiptest] [--cups] [--lprng] [--lpd] [--pdq]" #~ msgstr "[--skiptest] [--cups] [--lprng] [--lpd] [--pdq]"