summaryrefslogtreecommitdiffstats
path: root/lib/network/connection/xdsl.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/connection/xdsl.pm')
-rw-r--r--lib/network/connection/xdsl.pm375
1 files changed, 375 insertions, 0 deletions
diff --git a/lib/network/connection/xdsl.pm b/lib/network/connection/xdsl.pm
new file mode 100644
index 0000000..337d4f7
--- /dev/null
+++ b/lib/network/connection/xdsl.pm
@@ -0,0 +1,375 @@
+package network::connection::xdsl;
+
+use base qw(network::connection::ppp);
+
+use strict;
+use common;
+
+sub get_type_name() { N("DSL") }
+sub get_type_icon() { 'xdsl-24.png' }
+
+sub get_devices() {
+ require detect_devices;
+ require network::connection::isdn;
+ require network::connection::ethernet;
+ my @usb_devices = detect_devices::get_xdsl_usb_devices();
+ $_->{xdsl_type} = 'usb' foreach @usb_devices;
+ my @capi_devices = grep { $_->{driver} =~ /dsl/i } map { network::connection::isdn::find_capi_card($_) } network::connection::isdn->get_devices;
+ $_->{xdsl_type} = 'capi' foreach @capi_devices;
+ my @ethernet_devices = network::connection::ethernet::get_devices();
+ $_->{xdsl_type} = 'ethernet' foreach @ethernet_devices;
+ @usb_devices, @capi_devices, @ethernet_devices;
+}
+
+sub get_metric { 25 }
+sub get_interface() { "ppp0" }
+
+my @non_ppp_protocols = qw(static dhcp);
+sub uses_ppp {
+ my ($self) = @_;
+ !member($self->{protocol}, @non_ppp_protocols);
+}
+
+my %protocol_settings = (
+ pppoa => {
+ plugin => sub {
+ my ($self) = @_;
+ "pppoatm.so " . join('.', $self->{access}{peer}{vpi}, $self->{access}{peer}{vci});
+ },
+ },
+ pppoe => {
+ pty => sub {
+ my ($self) = @_;
+ my $eth_interface = $self->network::connection::ethernet::get_interface;
+ qq("pppoe -m 1412 -I $eth_interface");
+ },
+ options => [
+ qw(default-asyncmap noaccomp nobsdcomp novjccomp nodeflate),
+ "mru 1492",
+ "mtu 1492",
+ "lcp-echo-interval 20",
+ "lcp-echo-failure 3",
+ ],
+ },
+ pptp => {
+ pty => qq("/usr/sbin/pptp 10.0.0.138 --nolaunchpppd"),
+ options => [ qw(noipdefault) ],
+ },
+ capi => {
+ plugin => "capiplugin.so avmadsl",
+ options => [
+ qw(ipcp-accept-remote ipcp-accept-local sync noipx),
+ "connect /bin/true",
+ "lcp-echo-interval 5",
+ "lcp-echo-failure 3",
+ "lcp-max-configure 50",
+ "lcp-max-terminate 2",
+ "mru 1492",
+ "mtu 1492"
+ ],
+ },
+);
+
+my @thirdparty_settings = (
+ {
+ matching => 'speedtch',
+ description => N_("Alcatel speedtouch USB modem"),
+ url => "http://www.speedtouch.com/supuser.htm",
+ name => 'speedtouch',
+ firmware =>
+ {
+ package => 'speedtouch-firmware',
+ test_file => 'speedtch-*.bin*',
+ extract => {
+ name => 'speedtouch-firmware-extractor',
+ test_file => '/usr/sbin/firmware-extractor',
+ windows_source => 'alcaudsl.sys',
+ floppy_source => 'mgmt*.o',
+ default_source => '/usr/share/speedtouch/mgmt.o',
+ run => sub {
+ my ($file) = @_;
+ run_program::raw({ root => $::prefix, chdir => $network::thirdparty::firmware_directory },
+ '/usr/sbin/firmware-extractor', $file);
+ },
+ },
+ },
+ links => 'http://linux-usb.sourceforge.net/SpeedTouch/mandrake/index.html',
+ ppp => {
+ options => [ qw(noaccomp sync) ],
+ },
+ },
+
+ {
+ name => 'eciadsl',
+ explanations => N_("The ECI Hi-Focus modem cannot be supported due to binary driver distribution problem.
+
+You can find a driver on http://eciadsl.flashtux.org/"),
+ no_club => 1,
+ tools => {
+ test_file => '/usr/sbin/pppoeci',
+ },
+ ppp => {
+ options => [
+ qw(noipdefault noaccomp sync),
+ "linkname eciadsl",
+ "lcp-echo-interval 0",
+ ],
+ protocols => {
+ pppoe => {
+ pty => sub {
+ my ($self) = @_;
+ qq("/usr/bin/pppoeci -v 1 -vpi $self->{access}{peer}{vpi} -vci $self->{access}{peer}{vci}");
+ },
+ },
+ },
+ },
+ },
+
+ {
+ matching => [ 'ueagle-atm', 'eagle-usb' ],
+ description => 'Eagle chipset (from Analog Devices), e.g. Sagem F@st 800/840/908',
+ url => 'http://www.eagle-usb.org/',
+ name => 'ueagle',
+ firmware => {
+ test_file => 'ueagle-atm/eagle*.fw',
+ },
+ links => 'http://atm.eagle-usb.org/wakka.php?wiki=UeagleAtmDoc',
+ },
+
+ {
+ matching => qr/^unicorn_.*_atm$/,
+ description => 'Bewan Adsl (Unicorn)',
+ url => 'http://www.bewan.com/bewan/users/downloads/',
+ name => 'unicorn',
+ kernel_module => {
+ test_file => 'unicorn_.*_atm',
+ },
+ tools => {
+ optional => 1,
+ test_file => '/usr/bin/bewan_adsl_status',
+ },
+ sleep => 10,
+ ppp => {
+ options => [
+ qw(default-asyncmap hide-password noaccomp nobsdcomp nodeflate novjccomp sync),
+ "lcp-echo-interval 20",
+ "lcp-echo-failure 3",
+ ],
+ },
+ },
+);
+
+sub get_thirdparty_settings() {
+ \@thirdparty_settings;
+}
+
+sub get_providers {
+ my ($self) = @_;
+ require network::connection::providers::xdsl;
+ if_($self->{device}{xdsl_type} ne 'capi', \%network::connection::providers::xdsl::data, '|');
+}
+
+sub get_protocols {
+ my ($self) = @_;
+ $self->{device}{xdsl_type} eq 'capi' ?
+ {
+ capi => N("DSL over CAPI"),
+ } :
+ {
+ dhcp => N("Dynamic Host Configuration Protocol (DHCP)"),
+ static => N("Manual TCP/IP configuration"),
+ pptp => N("Point to Point Tunneling Protocol (PPTP)"),
+ pppoe => N("PPP over Ethernet (PPPoE)"),
+ pppoa => N("PPP over ATM (PPPoA)"),
+ };
+}
+
+sub guess_protocol {
+ my ($self, $net) = @_;
+ $self->{protocol} = $self->{provider} && $self->{provider}{method};
+ if ($self->{device}{xdsl_type} eq 'capi') {
+ $self->{protocol} = 'capi';
+ } elsif ($self->{device}{xdsl_type} eq 'ethernet') {
+ require network::connection::ethernet;
+ my $interface = $self->network::connection::ethernet::get_interface;
+ if (my $ifcfg = $net->{ifcfg}{$interface}) {
+ $self->{protocol} = $ifcfg->{BOOTPROTO} if member($ifcfg->{BOOTPROTO}, @non_ppp_protocols);
+ $self->{protocol} ||= 'dhcp';
+ #- pppoa shouldn't be selected by default for ethernet devices, fallback on pppoe
+ $self->{protocol} = 'pppoe' if $self->{protocol} eq 'pppoa';
+ }
+ }
+}
+
+sub guess_access_settings {
+ my ($self) = @_;
+ require network::adsl;
+ my $probe = {};
+ network::adsl::adsl_probe_info($probe);
+ $self->{access}{login} = $probe->{adsl}{login};
+ $self->{access}{password} = $probe->{adsl}{passwd};
+ $self->{access}{peer}{$_} = $probe->{adsl}{$_} foreach qw(vpi vci);
+ if ($self->{provider}) {
+ $self->{access}{peer}{$_} = hex($self->{provider}{$_}) foreach qw(vpi vci);
+ }
+}
+
+sub get_access_settings {
+ my ($self) = @_;
+
+ [
+ @{$self->network::connection::ppp::get_access_settings},
+ if_(member($self->{protocol}, qw(pppoa pppoe)),
+ { label => N("Virtual Path ID (VPI):"), val => \$self->{access}{peer}{vpi}, advanced => 1 },
+ { label => N("Virtual Circuit ID (VCI):"), val => \$self->{access}{peer}{vci}, advanced => 1 }
+ ),
+ ];
+}
+
+sub get_peer_default_options {
+ my ($self) = @_;
+ $self->network::connection::ppp::get_peer_default_options,
+ qw(lock persist nopcomp noccp novj),
+ "kdebug 1",
+ "holdoff 4",
+ "maxfail 25";
+}
+
+sub build_peer {
+ my ($self) = @_;
+ my $may_call = sub { ref $_[0] eq 'CODE' ? $_[0]->($self) : $_[0] };
+ my @ppp_fields = qw(plugin pty);
+ my @ppp_options;
+ if ($self->{thirdparty}) {
+ foreach my $settings (grep { $_ } $self->{thirdparty}{ppp}{protocols}{$self->{protocol}}, $self->{thirdparty}{ppp}) {
+ @ppp_options = @{$settings->{options}} if $settings->{options};
+ foreach (@ppp_fields) {
+ $self->{access}{peer}{$_} ||= $may_call->($settings->{$_}) if defined $settings->{$_};
+ }
+ }
+ }
+ if (my $generic_settings = $protocol_settings{$self->{protocol}}) {
+ @ppp_options = @{$generic_settings->{options} || []} if !@ppp_options;
+ foreach (@ppp_fields) {
+ $self->{access}{peer}{$_} ||= $may_call->($generic_settings->{$_}) if defined $generic_settings->{$_};
+ }
+ }
+
+ @ppp_options, #- write them before pty/plugin stuff
+ $self->network::connection::ppp::build_peer;
+}
+
+sub write_settings {
+ my ($self, $net) = @_;
+
+ if ($self->{device}{xdsl_type} eq 'ethernet' && $self->{protocol} eq 'pppoe') {
+ my $interface = $self->network::connection::ethernet::get_interface;
+ $net->{ifcfg}{$interface} = {
+ DEVICE => $interface,
+ BOOTPROTO => 'none',
+ NETMASK => '255.255.255.0',
+ NETWORK => '10.0.0.0',
+ BROADCAST => '10.0.0.255',
+ MII_NOT_SUPPORTED => 'yes',
+ ONBOOT => 'yes',
+ };
+ }
+
+ if ($self->{protocol} eq 'capi') {
+ require network::connection::isdn;
+ network::connection::isdn::write_capi_conf($self->{device});
+ }
+
+ #- TODO: add "options ueagle-atm cmv_file= $net->{adsl}{cmv}.bin" in /etc/modprobe.d/ueagle-atm
+ # if ($self->get_driver eq 'ueagle-atm') { ... }
+
+ if ($self->uses_ppp) {
+ $self->network::connection::ppp::write_settings;
+ } else {
+ $self->network::connection::write_settings;
+ }
+}
+
+sub build_ifcfg_settings {
+ my ($self) = @_;
+ my $settings = {
+ if_($self->uses_ppp, TYPE => 'ADSL'),
+ };
+ if ($self->{device}{xdsl_type} eq 'usb' && !$self->uses_ppp) {
+ #- use ATMARP with the atm0 interface
+ put_in_hash({
+ DEVICE => "atm0",
+ ATM_ADDR => join('.', @{$self->{access}{peer}}{qw(vpi vci)}),
+ MII_NOT_SUPPORTED => "yes",
+ }, $settings);
+ }
+ $self->network::connection::build_ifcfg_settings($settings);
+}
+
+sub unload_connection {
+ my ($self) = @_;
+ require network::connection::isdn;
+ network::connection::isdn::unload_connection($self->{device}) if $self->{protocol} eq 'capi';
+}
+
+sub install_packages {
+ my ($self, $in) = @_;
+ my $packages = {
+ pppoa => [ qw(ppp-pppoatm) ],
+ pppoe => [ qw(rp-pppoe) ],
+ pptp => [ qw(pptp-linux) ],
+ capi => [ qw(ppp) ],
+ }->{$self->{protocol}};
+ if ($packages && !$in->do_pkgs->install(@$packages)) {
+ $in->ask_warn(N("Error"), N("Could not install the packages (%s)!", @$packages));
+ return;
+ }
+ if ($self->{protocol} eq 'capi') {
+ require network::connection::isdn;
+ network::connection::isdn::install_packages($self->{device}, $in);
+ $in->do_pkgs->ensure_is_installed_if_available("drdsl", "/usr/sbin/drdsl");
+ }
+ 1;
+}
+
+sub prepare_connection {
+ my ($self) = @_;
+
+ if ($::isInstall) {
+ #- load modules that are not automatically loaded during install
+ my @modules = qw(ppp_synctty ppp_async ppp_generic n_hdlc); #- required for pppoe/pptp connections
+ push @modules, 'pppoatm' if $self->{protocol} eq 'pppoa';
+ foreach (@modules) {
+ eval { modules::load($_) } or log::l("failed to load $_ module: $@");
+ }
+ }
+
+ if ($self->{protocol} eq 'capi') {
+ require network::connection::isdn;
+ network::connection::isdn::prepare_connection($self->{device});
+ require run_program;
+ run_program::rooted($::prefix, "/usr/sbin/drdsl");
+ }
+
+ 1;
+}
+
+sub connect {
+ my ($self) = @_;
+ if ($self->{device}{xdsl_type} eq 'ethernet') {
+ require network::tools;
+ network::tools::start_interface($self->network::connection::ethernet::get_interface, 0);
+ }
+ $self->network::connection::connect;
+}
+
+sub disconnect {
+ my ($self) = @_;
+ $self->network::connection::disconnect;
+ if ($self->{device}{xdsl_type} eq 'ethernet') {
+ require network::tools;
+ network::tools::stop_interface($self->network::connection::ethernet::get_interface, 0);
+ }
+}
+
+1;
4' href='#n744'>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
# translation of DrakX-mk.po to Macedonian
# translation of proba.po to Macedonian
# translation of DrakX.po to Macedonian
# Copyright (C) 2002,2003, 2004 Free Software Foundation, Inc.
# Danko Ilik <danko@mindless.com>, 2002,2003.
# Vladimir Stefanov <vladoboss@mt.net.mk>, 2003.
# Зоран Димовски <zoki@email.com>, 2003.
# Danko Ilik <danko@on.net.mk>, 2003.
# Зоран Димовски <decata@mt.net.mk>, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: DrakX-mk\n"
"POT-Creation-Date: 2007-09-25 21:53+0200\n"
"PO-Revision-Date: 2004-11-03 18:47+0100\n"
"Last-Translator: Зоран Димовски <decata@mt.net.mk>\n"
"Language-Team: Macedonian <mkde-l10n@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9\n"

#: ../lib/Xconfig/card.pm:19
#, c-format
msgid "256 kB"
msgstr "256 kB"

#: ../lib/Xconfig/card.pm:20
#, c-format
msgid "512 kB"
msgstr "512 kB"

#: ../lib/Xconfig/card.pm:21
#, c-format
msgid "1 MB"
msgstr "1 MB"

#: ../lib/Xconfig/card.pm:22
#, c-format
msgid "2 MB"
msgstr "2 MB"

#: ../lib/Xconfig/card.pm:23
#, c-format
msgid "4 MB"
msgstr "4 MB"

#: ../lib/Xconfig/card.pm:24
#, c-format
msgid "8 MB"
msgstr "8 MB"

#: ../lib/Xconfig/card.pm:25
#, c-format
msgid "16 MB"
msgstr "16 MB"

#: ../lib/Xconfig/card.pm:26
#, c-format
msgid "32 MB"
msgstr "32 MB"

#: ../lib/Xconfig/card.pm:27
#, c-format
msgid "64 MB or more"
msgstr "64 MB или повеќе"

#: ../lib/Xconfig/card.pm:175
#, c-format
msgid "X server"
msgstr "X сервер"

#: ../lib/Xconfig/card.pm:176
#, c-format
msgid "Choose an X server"
msgstr "Изберете X сервер"

#: ../lib/Xconfig/card.pm:207
#, c-format
msgid "Multi-head configuration"
msgstr "Конфигурација за повеќе глави"

#: ../lib/Xconfig/card.pm:208
#, c-format
msgid ""
"Your system supports multiple head configuration.\n"
"What do you want to do?"
msgstr ""
"Вашиот систем поддржува конфигурација за повеќе глави.\n"
"Што сакате да направите?"

#: ../lib/Xconfig/card.pm:279
#, c-format
msgid "Select the memory size of your graphics card"
msgstr "Изберете големина за меморијата на Вашата графичка картичка"

#: ../lib/Xconfig/card.pm:304
#, c-format
msgid ""
"There is a proprietary driver available for your video card which may "
"support additional features.\n"
"Do you wish to use it?"
msgstr ""

#: ../lib/Xconfig/card.pm:331
#, c-format
msgid ""
"The proprietary driver was not properly installed, defaulting to free "
"software driver."
msgstr ""

#: ../lib/Xconfig/card.pm:398
#, c-format
msgid "Configure all heads independently"
msgstr "Конфигурирај ѓи сите глави одделно"

#: ../lib/Xconfig/card.pm:399
#, c-format
msgid "Use Xinerama extension"
msgstr "Користење Xinerama наставка"

#: ../lib/Xconfig/card.pm:404
#, c-format
msgid "Configure only card \"%s\"%s"
msgstr "Само конфигурација на картичката \"%s\"%s"

#: ../lib/Xconfig/main.pm:91 ../lib/Xconfig/main.pm:92
#: ../lib/Xconfig/monitor.pm:115
#, c-format
msgid "Custom"
msgstr "По избор"

#: ../lib/Xconfig/main.pm:126
#, fuzzy, c-format
msgid "Graphic Card & Monitor Configuration"
msgstr "Конфигурација на Врска"

#: ../lib/Xconfig/main.pm:127
#, c-format
msgid "Quit"
msgstr "Излез"

#: ../lib/Xconfig/main.pm:129
#, c-format
msgid "Graphic Card"
msgstr "Графичка картичка"

#: ../lib/Xconfig/main.pm:132 ../lib/Xconfig/monitor.pm:109
#, c-format
msgid ""
"_: This is a display device\n"
"Monitor"
msgstr "Монитор"

#: ../lib/Xconfig/main.pm:135 ../lib/Xconfig/resolution_and_depth.pm:312
#, c-format
msgid "Resolution"
msgstr "Резолуција"

#: ../lib/Xconfig/main.pm:138
#, c-format
msgid "Test"
msgstr "Тест"

#: ../lib/Xconfig/main.pm:143
#, c-format
msgid "Options"
msgstr "Опции"

#: ../lib/Xconfig/main.pm:148
#, c-format
msgid "Plugins"
msgstr "Приклучоци"

#: ../lib/Xconfig/main.pm:182
#, c-format
msgid "Your Xorg configuration file is broken, we will ignore it."
msgstr "Вашата конфигурациона датотека на Xorg е расипана, ќе ја игнорираме."

#: ../lib/Xconfig/main.pm:201
#, c-format
msgid ""
"Keep the changes?\n"
"The current configuration is:\n"
"\n"
"%s"
msgstr ""
"Да се зачуваат промените?\n"
"Тековната конфигурација е:\n"
"\n"
"%s"

#: ../lib/Xconfig/monitor.pm:110
#, c-format
msgid "Choose a monitor for head #%d"
msgstr "Изберете монитор за глава број #%d"

#: ../lib/Xconfig/monitor.pm:110
#, c-format
msgid "Choose a monitor"
msgstr "Изберете монитор"

#: ../lib/Xconfig/monitor.pm:116
#, c-format
msgid "Plug'n Play"
msgstr "Plug'n Play"

#: ../lib/Xconfig/monitor.pm:117 ../lib/mouse.pm:47
#, c-format
msgid "Generic"
msgstr "Генеричен"

#: ../lib/Xconfig/monitor.pm:118
#, c-format
msgid "Vendor"
msgstr "Производител"

#: ../lib/Xconfig/monitor.pm:128
#, c-format
msgid "Plug'n Play probing failed. Please select the correct monitor"
msgstr ""
"Пробата на Plug'n Play е неуспешна. Ве молиме изберете го правилниот монитор"

#: ../lib/Xconfig/monitor.pm:136
#, c-format
msgid ""
"The two critical parameters are the vertical refresh rate, which is the "
"rate\n"
"at which the whole screen is refreshed, and most importantly the horizontal\n"
"sync rate, which is the rate at which scanlines are displayed.\n"
"\n"
"It is VERY IMPORTANT that you do not specify a monitor type with a sync "
"range\n"
"that is beyond the capabilities of your monitor: you may damage your "
"monitor.\n"
" If in doubt, choose a conservative setting."
msgstr ""
"Два критични параметри се \"вертикалното освежување\", кое означува\n"
"со колкава фреквенција се освежува целиот екран, и најважно, \n"
"\"хоризонталната синхронизација\", која означува со колкава\n"
"фреквенција се прикажуваат скен-линиите.\n"
"\n"
"МНОГУ Е ВАЖНО да не наведете монитор со опсег на хоризонтална \n"
"синхронизација кој е над можностите на Вашиот монитор: може да го \n"
"оштетите вашиот монитор.\n"
"  Ако не сте сигурни, изберете конзервативни подесувања."

#: ../lib/Xconfig/monitor.pm:143
#, c-format
msgid "Horizontal refresh rate"
msgstr "Хоризонтална фреквенција на освежување"

#: ../lib/Xconfig/monitor.pm:144
#, c-format
msgid "Vertical refresh rate"
msgstr "Вертикална фреквенција на освежување"

#: ../lib/Xconfig/plugins.pm:219
#, fuzzy, c-format
msgid "Choose plugins"
msgstr "Изберете акција"

#: ../lib/Xconfig/resolution_and_depth.pm:10
#, c-format
msgid "256 colors (8 bits)"
msgstr "256 бои (8 бита)"

#: ../lib/Xconfig/resolution_and_depth.pm:11
#, c-format
msgid "32 thousand colors (15 bits)"
msgstr "32 илјади бои (15 бита)"

#: ../lib/Xconfig/resolution_and_depth.pm:12
#, c-format
msgid "65 thousand colors (16 bits)"
msgstr "65 илјади бои (16 бита)"

#: ../lib/Xconfig/resolution_and_depth.pm:13
#, c-format
msgid "16 million colors (24 bits)"
msgstr "16 милиони бои (24 бита)"

#: ../lib/Xconfig/resolution_and_depth.pm:128
#, c-format
msgid "Resolutions"
msgstr "Резолуции"

#: ../lib/Xconfig/resolution_and_depth.pm:334 ../lib/mouse.pm:184
#, c-format
msgid "Other"
msgstr "Друго"

#: ../lib/Xconfig/resolution_and_depth.pm:383
#, c-format
msgid "Choose the resolution and the color depth"
msgstr "Изберете резолуција и длабочина на бои"

#: ../lib/Xconfig/resolution_and_depth.pm:384
#, c-format
msgid "Graphics card: %s"
msgstr "Графичка карта: %s"

#: ../lib/Xconfig/resolution_and_depth.pm:398
#, c-format
msgid "Ok"
msgstr "Во ред"

#: ../lib/Xconfig/resolution_and_depth.pm:398
#, c-format
msgid "Cancel"
msgstr "Откажи"

#: ../lib/Xconfig/resolution_and_depth.pm:398
#, c-format
msgid "Help"
msgstr "Помош"

#: ../lib/Xconfig/test.pm:30
#, c-format
msgid "Test of the configuration"
msgstr "Тест на конфигурацијата"

#: ../lib/Xconfig/test.pm:31
#, c-format
msgid "Do you want to test the configuration?"
msgstr "Дали сакате да ја тестирате конфигурацијата?"

#: ../lib/Xconfig/test.pm:31
#, c-format
msgid "Warning: testing this graphic card may freeze your computer"
msgstr ""
"Внимание: тестирање на оваа графичка карта може да го замрзне компјутерот"

#: ../lib/Xconfig/test.pm:69
#, c-format
msgid ""
"An error occurred:\n"
"%s\n"
"Try to change some parameters"
msgstr ""
"Се појави грешка:\n"
"%s\n"
"Обидете се да промените некои параметри"

#: ../lib/Xconfig/test.pm:130
#, c-format
msgid "Leaving in %d seconds"
msgstr "Напуштам за %d секунди"

#: ../lib/Xconfig/test.pm:130
#, c-format
msgid "Is this the correct setting?"
msgstr "Дали се ова точните подесувања?"

#: ../lib/Xconfig/various.pm:26
#, c-format
msgid "3D hardware acceleration: %s\n"
msgstr ""

#: ../lib/Xconfig/various.pm:27
#, c-format
msgid "Keyboard layout: %s\n"
msgstr "Распоред на тастатурата: %s\n"

#: ../lib/Xconfig/various.pm:28
#, c-format
msgid "Mouse type: %s\n"
msgstr "Тип на глувче: %s\n"

#: ../lib/Xconfig/various.pm:30
#, c-format
msgid "Monitor: %s\n"
msgstr "Монитор: %s\n"

#: ../lib/Xconfig/various.pm:31
#, c-format
msgid "Monitor HorizSync: %s\n"
msgstr "Хоризонтална синхронизација на мониторот: %s\n"

#: ../lib/Xconfig/various.pm:32
#, c-format
msgid "Monitor VertRefresh: %s\n"
msgstr "Вертикална фреквенција на освежување на мониторот: %s\n"

#: ../lib/Xconfig/various.pm:34
#, c-format
msgid "Graphics card: %s\n"
msgstr "Графичка карта: %s\n"

#: ../lib/Xconfig/various.pm:35
#, c-format
msgid "Graphics memory: %s kB\n"
msgstr "Графичка меморија: %s kB\n"

#: ../lib/Xconfig/various.pm:37
#, c-format
msgid "Color depth: %s\n"
msgstr "Длабочина на бои: %s\n"

#: ../lib/Xconfig/various.pm:38
#, c-format
msgid "Resolution: %s\n"
msgstr "Резолуција: %s\n"

#: ../lib/Xconfig/various.pm:40
#, c-format
msgid "Xorg driver: %s\n"
msgstr "Xorg драјвер: %s\n"

#: ../lib/Xconfig/various.pm:204
#, c-format
msgid "Xorg configuration"
msgstr "Xorg конфигурација"

#: ../lib/Xconfig/various.pm:205
#, fuzzy, c-format
msgid "Graphic card options"
msgstr "Графичка карта: %s"

#: ../lib/Xconfig/various.pm:207
#, c-format
msgid "3D hardware acceleration"
msgstr ""

#: ../lib/Xconfig/various.pm:209
#, c-format
msgid "Enable Translucency (Composite extension)"
msgstr ""

#: ../lib/Xconfig/various.pm:212
#, c-format
msgid "Use hardware accelerated mouse pointer"
msgstr ""

#: ../lib/Xconfig/various.pm:215
#, c-format
msgid "Enable RENDER Acceleration (this may cause bugs displaying text)"
msgstr ""

#: ../lib/Xconfig/various.pm:219
#, c-format
msgid "Enable duplicate display on the external monitor"
msgstr ""

#: ../lib/Xconfig/various.pm:220
#, c-format
msgid "Enable duplicate display on the second display"
msgstr ""

#: ../lib/Xconfig/various.pm:223
#, c-format
msgid "Enable BIOS hotkey for external monitor switching"
msgstr ""

#: ../lib/Xconfig/various.pm:226
#, c-format
msgid "Use EXA instead of XAA (better performance for Render and Composite)"
msgstr ""

#: ../lib/Xconfig/various.pm:228
#, c-format
msgid "Graphical interface at startup"
msgstr "Графички интерфејс при подигање"

#: ../lib/Xconfig/various.pm:229
#, fuzzy, c-format
msgid "Automatically start the graphical interface (Xorg) upon booting"
msgstr ""
"Можам да подесам вашиот компјутер автоматски да се вклучува во графички "
"режим (Xorg) при подигање.\n"
"Дали сакате да се вклучи Xorg по рестартирањето?"

#: ../lib/Xconfig/various.pm:241
#, c-format
msgid ""
"Your graphic card seems to have a TV-OUT connector.\n"
"It can be configured to work using frame-buffer.\n"
"\n"
"For this you have to plug your graphic card to your TV before booting your "
"computer.\n"
"Then choose the \"TVout\" entry in the bootloader\n"
"\n"
"Do you have this feature?"
msgstr ""
"Изгледа дека Вашата картичка има TV-OUT приклучок.\n"
"Може да се конфигурира да работи со користење на frame-buffer.\n"
"\n"
"За тоа е потребно да ги споите графичката картичка и телевизорот пред "
"подигање.\n"
"Тогаш изберете \"TVout\" во подигачот\n"
"\n"
"Дали ја имате оваа можност?"

#: ../lib/Xconfig/various.pm:253
#, c-format
msgid "What norm is your TV using?"
msgstr "Која норма ја користи вашиот телевизор?"

#: ../lib/Xconfig/various.pm:348
#, c-format
msgid ""
"The display resolution being used may not be correct. \n"
"\n"
"If your desktop appears to stretch beyond the edges of the display, \n"
"installing %s may help fix the problem. Install it now?"
msgstr ""

#: ../lib/Xconfig/xfree.pm:770
#, c-format
msgid ""
"_:weird aspect ratio\n"
"other"
msgstr ""

#: ../lib/keyboard.pm:183 ../lib/keyboard.pm:215
#, c-format
msgid ""
"_: keyboard\n"
"Czech (QWERTZ)"
msgstr "Чешка (QWERTZ)"

#: ../lib/keyboard.pm:184 ../lib/keyboard.pm:217
#, c-format
msgid ""
"_: keyboard\n"
"German"
msgstr "Германска"

#: ../lib/keyboard.pm:185
#, c-format
msgid ""
"_: keyboard\n"
"Dvorak"
msgstr "Dvorak"

#: ../lib/keyboard.pm:186 ../lib/keyboard.pm:229
#, c-format
msgid ""
"_: keyboard\n"
"Spanish"
msgstr "Шпанска"

#: ../lib/keyboard.pm:187 ../lib/keyboard.pm:230
#, c-format
msgid ""
"_: keyboard\n"
"Finnish"
msgstr "Финска"

#: ../lib/keyboard.pm:188 ../lib/keyboard.pm:232
#, c-format
msgid ""
"_: keyboard\n"
"French"
msgstr "Француска"

#: ../lib/keyboard.pm:189 ../lib/keyboard.pm:233
#, c-format
msgid "UK keyboard"
msgstr "UK тастатура"

#: ../lib/keyboard.pm:190 ../lib/keyboard.pm:278
#, c-format
msgid ""
"_: keyboard\n"
"Norwegian"
msgstr "Норвешка"

#: ../lib/keyboard.pm:191
#, c-format
msgid ""
"_: keyboard\n"
"Polish"
msgstr "Полска"

#: ../lib/keyboard.pm:192 ../lib/keyboard.pm:288
#, c-format
msgid ""
"_: keyboard\n"
"Russian"
msgstr "Руска"

#: ../lib/keyboard.pm:193 ../lib/keyboard.pm:290
#, c-format
msgid ""
"_: keyboard\n"
"Swedish"
msgstr "Шведска"

#: ../lib/keyboard.pm:194 ../lib/keyboard.pm:325
#, c-format
msgid "US keyboard"
msgstr "US тастатура"

#: ../lib/keyboard.pm:196
#, c-format
msgid ""
"_: keyboard\n"
"Albanian"
msgstr "Албанска"

#: ../lib/keyboard.pm:197
#, c-format
msgid ""
"_: keyboard\n"
"Armenian (old)"
msgstr "Ерменска (стара)"

#: ../lib/keyboard.pm:198
#, c-format
msgid ""
"_: keyboard\n"
"Armenian (typewriter)"
msgstr "Ерменска (машина)"

#: ../lib/keyboard.pm:199
#, c-format
msgid ""
"_: keyboard\n"
"Armenian (phonetic)"
msgstr "Ерменска (фонетска)"

#: ../lib/keyboard.pm:200
#, c-format
msgid ""
"_: keyboard\n"
"Arabic"
msgstr "Арабска"

#: ../lib/keyboard.pm:201
#, c-format
msgid ""
"_: keyboard\n"
"Azerbaidjani (latin)"
msgstr "Азербејџанска (латиница)"

#: ../lib/keyboard.pm:202
#, c-format
msgid ""
"_: keyboard\n"
"Belgian"
msgstr "Белгиска"

#: ../lib/keyboard.pm:203
#, c-format
msgid ""
"_: keyboard\n"
"Bengali (Inscript-layout)"
msgstr "Бенгалска (Inscript распоред)"

#: ../lib/keyboard.pm:204
#, c-format
msgid ""
"_: keyboard\n"
"Bengali (Probhat)"
msgstr "Бенгалска (Probhat распоред)"

#: ../lib/keyboard.pm:205
#, c-format
msgid ""
"_: keyboard\n"
"Bulgarian (phonetic)"
msgstr "Бугарска (фонетска)"

#: ../lib/keyboard.pm:206
#, c-format
msgid ""
"_: keyboard\n"
"Bulgarian (BDS)"
msgstr "Бугарска (БДС)"

#: ../lib/keyboard.pm:207
#, c-format
msgid ""
"_: keyboard\n"
"Brazilian (ABNT-2)"
msgstr "Бразилска (ABNT-2)"

#: ../lib/keyboard.pm:208
#, c-format
msgid ""
"_: keyboard\n"
"Bosnian"
msgstr "Босанска"

#: ../lib/keyboard.pm:209
#, fuzzy, c-format
msgid ""
"_: keyboard\n"
"Dzongkha/Tibetan"
msgstr "Босанска"

#: ../lib/keyboard.pm:210
#, c-format
msgid ""
"_: keyboard\n"
"Belarusian"
msgstr "Белоруска"

#: ../lib/keyboard.pm:211
#, c-format
msgid ""
"_: keyboard\n"
"Swiss (German layout)"
msgstr "Швајцарска (германски распоред)"

#: ../lib/keyboard.pm:212
#, c-format
msgid ""
"_: keyboard\n"
"Swiss (French layout)"
msgstr "Швајцарија (француски распоред)"

#: ../lib/keyboard.pm:214
#, fuzzy, c-format
msgid ""
"_: keyboard\n"
"Cherokee syllabics"
msgstr "Арабска"

#: ../lib/keyboard.pm:216
#, c-format
msgid ""
"_: keyboard\n"
"Czech (QWERTY)"
msgstr "Чешка (QWERTY)"

#: ../lib/keyboard.pm:218
#, c-format
msgid ""
"_: keyboard\n"
"German (no dead keys)"
msgstr "Германска (без мртви копчиња)"

#: ../lib/keyboard.pm:219
#, c-format
msgid ""
"_: keyboard\n"
"Devanagari"
msgstr "Девангарска"

#: ../lib/keyboard.pm:220
#, c-format
msgid ""
"_: keyboard\n"
"Danish"
msgstr "Данска"

#: ../lib/keyboard.pm:221
#, c-format
msgid ""
"_: keyboard\n"
"Dvorak (US)"
msgstr "Dvorak (US)"

#: ../lib/keyboard.pm:222
#, c-format
msgid ""
"_: keyboard\n"
"Dvorak (Esperanto)"
msgstr "Dvorak (Esperanto)"

#: ../lib/keyboard.pm:223
#, fuzzy, c-format
msgid ""
"_: keyboard\n"
"Dvorak (French)"