summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/lsnetdrake
blob: d6233209d60459dfe05a4d2c041688cf18bdb050 (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
#!/usr/bin/perl

use lib qw(/usr/lib/libDrakX);
use standalone;
use network::nfs;
use network::smb;
use MDK::Common::Func qw(if_);

"@ARGV" =~ /-h/ and die "usage: lsnetdrake [-h] [--nfs] [--smb]\n";

my $nfs = !@ARGV || "@ARGV" =~ /-(nfs)/;
my $smb = !@ARGV || "@ARGV" =~ /-(smb)/;

$| = 1;
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";

foreach my $class (if_($nfs, network::nfs->new), if_($smb, network::smb->new)) {
    foreach my $server (sort_names($class->find_servers)) {
	foreach (sort_names(eval { $class->find_exports($server) })) {
	    print $class->to_fullstring($_), "\n";
	}
    }
}

sub sort_names { 
    sort { $a->{name} cmp $b->{name} } @_;
}
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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR Free Software Foundation, Inc.
# Wachara Chinsettawong <wachara@yahoo.com>, 2001
#
msgid ""
msgstr ""
"Project-Id-Version: DrakX\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2008-09-12 12:22+0200\n"
"PO-Revision-Date: 2001-09-10 14:24GMT+7\n"
"Last-Translator: Wachara Chinsettawong <wachara@yahoo.com>\n"
"Language-Team: Thai <th@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 0.9.5\n"
"Plural-Forms: nplurals=1; plural=0;\n"

#: ../help.pm:14
#, c-format
msgid ""
"Before continuing, you should carefully read the terms of the license. It\n"
"covers the entire Mageia distribution. If you agree with all the\n"
"terms it contains, check the \"%s\" box. If not, clicking on the \"%s\"\n"
"button will reboot your computer."
msgstr ""

#: ../help.pm:20
#, c-format
msgid ""
"GNU/Linux is a multi-user system which means each user can have his or her\n"
"own preferences, own files and so on. But unlike \"root\", who is the\n"
"system administrator, the users you add at this point will not be "
"authorized\n"
"to change anything except their own files and their own configurations,\n"
"protecting the system from unintentional or malicious changes which could\n"
"impact on the system as a whole. You'll have to create at least one regular\n"
"user for yourself -- this is the account which you should use for routine,\n"
"day-to-day usage. Although it's very easy to log in as \"root\" to do\n"
"anything and everything, it may also be very dangerous! A very simple\n"
"mistake could mean that your system will not work any more. If you make a\n"
"serious mistake as a regular user, the worst that can happen is that you'll\n"
"lose some information, but you will not affect the entire system.\n"
"\n"
"The first field asks you for a real name. Of course, this is not mandatory\n"
"-- you can actually enter whatever you like. DrakX will use the first word\n"
"you type in this field and copy it to the \"%s\" one, which is the name\n"
"this user will enter to log onto the system. If you like, you may override\n"
"the default and change the user name. The next step is to enter a password.\n"
"From a security point of view, a non-privileged (regular) user password is\n"
"not as crucial as the \"root\" password, but that's no reason to neglect it\n"
"by making it blank or too simple: after all, your files could be the ones\n"
"at risk.\n"
"\n"
"Once you click on \"%s\", you can add other users. Add a user for each one\n"
"of your friends, your father, your sister, etc. Click \"%s\" when you're\n"
"finished adding users.\n"
"\n"
"Clicking the \"%s\" button allows you to change the default \"shell\" for\n"
"that user (bash by default).\n"
"\n"
"When you're finished adding users, you'll be asked to choose a user who\n"
"will be automatically logged into the system when the computer boots up. If\n"
"you're interested in that feature (and do not care much about local\n"
"security), choose the desired user and window manager, then click on\n"
"\"%s\". If you're not interested in this feature, uncheck the \"%s\" box."
msgstr ""

#: ../help.pm:54
#, c-format
msgid "User name"
msgstr ""

#: ../help.pm:54
#, c-format
msgid "Accept user"
msgstr ""

#: ../help.pm:54
#, fuzzy, c-format
msgid "Do you want to use this feature?"
msgstr "คุณต้องการใช้ aboot หรือไม่"

#: ../help.pm:57
#, c-format
msgid ""
"Listed here are the existing Linux partitions detected on your hard disk drive.\n"
"You can keep the choices made by the wizard, since they are good for most\n"
"common installations. If you make any changes, you must at least define a\n"
"root partition (\"/\"). Do not choose too small a partition or you will not\n"
"be able to install enough software. If you want to store your data on a\n"
"separate partition, you will also need to create a \"/home\" partition\n"
"(only possible if you have more than one Linux partition available).\n"
"\n"
"Each partition is listed as follows: \"Name\", \"Capacity\".\n"
"\n"
"\"Name\" is structured: \"hard disk drive type\", \"hard disk drive number\",\n"
"\"partition number\" (for example, \"hda1\").\n"
"\n"
"\"Hard drive type\" is \"hd\" if your hard disk drive is an IDE hard disk drive and\n"
"\"sd\" if it is a SCSI hard disk drive.\n"
"\n"
"\"Hard drive number\" is always a letter after \"hd\" or \"sd\". For IDE\n"
"hard disk drives:\n"
"\n"
" * \"a\" means \"master hard disk drive on the primary IDE controller\";\n"
"\n"
" * \"b\" means \"slave hard disk drive on the primary IDE controller\";\n"
"\n"
" * \"c\" means \"master hard disk drive on the secondary IDE controller\";\n"
"\n"
" * \"d\" means \"slave hard disk drive on the secondary IDE controller\".\n"
"\n"
"With SCSI hard disk drives, an \"a\" means \"lowest SCSI ID\", a \"b\" means\n"
"\"second lowest SCSI ID\", etc."
msgstr ""

#: ../help.pm:88
#, c-format
msgid ""
"The Mageia installation is distributed on several CD-ROMs. If a\n"
"selected package is located on another CD-ROM, DrakX will eject the current\n"
"CD and ask you to insert the required one. If you do not have the requested\n"
"CD at hand, just click on \"%s\", the corresponding packages will not be\n"
"installed."
msgstr ""

#: ../help.pm:95
#, c-format
msgid ""
"It's now time to specify which programs you wish to install on your system.\n"
"There are thousands of packages available for Mageia, and to make it\n"
"simpler to manage, they have been placed into groups of similar\n"
"applications.\n"
"\n"
"Mageia sorts package groups in four categories. You can mix and\n"
"match applications from the various categories, so a ``Workstation''\n"
"installation can still have applications from the ``Server'' category\n"
"installed.\n"
"\n"
" * \"%s\": if you plan to use your machine as a workstation, select one or\n"
"more of the groups in the workstation category.\n"
"\n"
" * \"%s\": if you plan on using your machine for programming, select the\n"
"appropriate groups from that category. The special \"LSB\" group will\n"
"configure your system so that it complies as much as possible with the\n"
"Linux Standard Base specifications.\n"
"\n"
"   Selecting the \"LSB\" group will ensure 100%%-LSB compliance\n"
"of the system. However, if you do not select the \"LSB\" group you will\n"
"still have a system which is nearly 100%% LSB-compliant.\n"
"\n"
" * \"%s\": if your machine is intended to be a server, select which of the\n"
"more common services you wish to install on your machine.\n"
"\n"
" * \"%s\": this is where you will choose your preferred graphical\n"
"environment. At least one must be selected if you want to have a graphical\n"
"interface available.\n"
"\n"
"Moving the mouse cursor over a group name will display a short explanatory\n"
"text about that group.\n"
"\n"
"You can check the \"%s\" box, which is useful if you're familiar with the\n"
"packages being offered or if you want to have total control over what will\n"
"be installed.\n"
"\n"
"If you start the installation in \"%s\" mode, you can deselect all groups\n"
"and prevent the installation of any new packages. This is useful for\n"
"repairing or updating an existing system.\n"
"\n"
"If you deselect all groups when performing a regular installation (as\n"
"opposed to an upgrade), a dialog will pop up suggesting different options\n"
"for a minimal installation:\n"
"\n"
" * \"%s\": install the minimum number of packages possible to have a\n"
"working graphical desktop.\n"
"\n"
" * \"%s\": installs the base system plus basic utilities and their\n"
"documentation. This installation is suitable for setting up a server.\n"
"\n"
" * \"%s\": will install the absolute minimum number of packages necessary\n"
"to get a working Linux system. With this installation you will only have a\n"
"command-line interface. The total size of this installation is about 65\n"
"megabytes."
msgstr ""

#: ../help.pm:149 ../help.pm:591
#, c-format
msgid "Upgrade"
msgstr "อัพเกรด"

#: ../help.pm:149
#, fuzzy, c-format
msgid "With basic documentation"
msgstr "ตำแหน่ง"

#: ../help.pm:149
#, fuzzy, c-format
msgid "Truly minimal install"
msgstr "ออกจากการติดตั้ง"

#: ../help.pm:152
#, c-format
msgid ""
"If you choose to install packages individually, the installer will present\n"
"a tree containing all packages classified by groups and subgroups. While\n"
"browsing the tree, you can select entire groups, subgroups, or individual\n"
"packages.\n"
"\n"
"Whenever you select a package on the tree, a description will appear on the\n"
"right to let you know the purpose of that package.\n"
"\n"
"!! If a server package has been selected, either because you specifically\n"
"chose the individual package or because it was part of a group of packages,\n"
"you'll be asked to confirm that you really want those servers to be\n"
"installed. By default Mageia will automatically start any installed\n"
"services at boot time. Even if they are safe and have no known issues at\n"
"the time the distribution was shipped, it is entirely possible that\n"
"security holes were discovered after this version of Mageia was\n"
"finalized. If you do not know what a particular service is supposed to do "
"or\n"
"why it's being installed, then click \"%s\". Clicking \"%s\" will install\n"
"the listed services and they will be started automatically at boot time. !!\n"
"\n"
"The \"%s\" option is used to disable the warning dialog which appears\n"
"whenever the installer automatically selects a package to resolve a\n"
"dependency issue. Some packages depend on others and the installation of\n"
"one particular package may require the installation of another package. The\n"
"installer can determine which packages are required to satisfy a dependency\n"
"to successfully complete the installation.\n"
"\n"
"The tiny floppy disk icon at the bottom of the list allows you to load a\n"
"package list created during a previous installation. This is useful if you\n"
"have a number of machines that you wish to configure identically. Clicking\n"
"on this icon will ask you to insert the floppy disk created at the end of\n"
"another installation. See the second tip of the last step on how to create\n"
"such a floppy."
msgstr ""

#: ../help.pm:183
#, c-format
msgid "Automatic dependencies"
msgstr ""

#: ../help.pm:185
#, c-format
msgid ""
"This dialog is used to select which services you wish to start at boot\n"
"time.\n"
"\n"
"DrakX will list all services available on the current installation. Review\n"
"each one of them carefully and uncheck those which are not needed at boot\n"
"time.\n"
"\n"
"A short explanatory text will be displayed about a service when it is\n"
"selected. However, if you're not sure whether a service is useful or not,\n"
"it is safer to leave the default behavior.\n"
"\n"
"!! At this stage, be very careful if you intend to use your machine as a\n"
"server: you probably do not want to start any services which you do not "
"need.\n"
"Please remember that some services can be dangerous if they're enabled on a\n"
"server. In general, select only those services you really need. !!"
msgstr ""

#: ../help.pm:209
#, c-format
msgid ""
"GNU/Linux manages time in GMT (Greenwich Mean Time) and translates it to\n"
"local time according to the time zone you selected. If the clock on your\n"
"motherboard is set to local time, you may deactivate this by unselecting\n"
"\"%s\", which will let GNU/Linux know that the system clock and the\n"
"hardware clock are in the same time zone. This is useful when the machine\n"
"also hosts another operating system.\n"
"\n"
"The \"%s\" option will automatically regulate the system clock by\n"
"connecting to a remote time server on the Internet. For this feature to\n"
"work, you must have a working Internet connection. We recommend that you\n"
"choose a time server located near you. This option actually installs a time\n"
"server which can be used by other machines on your local network as well."
msgstr ""

#: ../help.pm:213
#, c-format
msgid "Hardware clock set to GMT"
msgstr ""

#: ../help.pm:213
#, fuzzy, c-format
msgid "Automatic time synchronization"
msgstr "Boot Style Configuration"

#: ../help.pm:223
#, c-format
msgid ""
"Graphic Card\n"
"\n"
"   The installer will normally automatically detect and configure the\n"
"graphic card installed on your machine. If this is not correct, you can\n"
"choose from this list the card you actually have installed.\n"
"\n"
"   In the situation where different servers are available for your card,\n"
"with or without 3D acceleration, you're asked to choose the server which\n"
"best suits your needs."
msgstr ""

#: ../help.pm:234
#, c-format
msgid ""
"X (for X Window System) is the heart of the GNU/Linux graphical interface\n"
"on which all the graphical environments (KDE, GNOME, AfterStep,\n"
"WindowMaker, etc.) bundled with Mageia rely upon.\n"
"\n"
"You'll see a list of different parameters to change to get an optimal\n"
"graphical display.\n"
"\n"
"Graphic Card\n"
"\n"
"   The installer will normally automatically detect and configure the\n"
"graphic card installed on your machine. If this is not correct, you can\n"
"choose from this list the card you actually have installed.\n"
"\n"
"   In the situation where different servers are available for your card,\n"
"with or without 3D acceleration, you're asked to choose the server which\n"
"best suits your needs.\n"
"\n"
"\n"
"\n"
"Monitor\n"
"\n"
"   Normally the installer will automatically detect and configure the\n"
"monitor connected to your machine. If it is not correct, you can choose\n"
"from this list the monitor which is connected to your computer.\n"
"\n"
"\n"
"\n"
"Resolution\n"
"\n"
"   Here you can choose the resolutions and color depths available for your\n"
"graphics hardware. Choose the one which best suits your needs (you will be\n"
"able to make changes after the installation). A sample of the chosen\n"
"configuration is shown in the monitor picture.\n"
"\n"
"\n"
"\n"
"Test\n"
"\n"
"   Depending on your hardware, this entry might not appear.\n"
"\n"
"   The system will try to open a graphical screen at the desired\n"
"resolution. If you see the test message during the test and answer \"%s\",\n"
"then DrakX will proceed to the next step. If you do not see it, then it\n"
"means that some part of the auto-detected configuration was incorrect and\n"
"the test will automatically end after 12 seconds and return you to the\n"
"menu. Change settings until you get a correct graphical display.\n"
"\n"
"\n"
"\n"
"Options\n"
"\n"
"   This steps allows you to choose whether you want your machine to\n"
"automatically switch to a graphical interface at boot. Obviously, you may\n"
"want to check \"%s\" if your machine is to act as a server, or if you were\n"
"not successful in getting the display configured."
msgstr ""

#: ../help.pm:291
#, c-format
msgid ""
"Monitor\n"
"\n"
"   Normally the installer will automatically detect and configure the\n"
"monitor connected to your machine. If it is not correct, you can choose\n"
"from this list the monitor which is connected to your computer."
msgstr ""

#: ../help.pm:298
#, c-format
msgid ""
"Resolution\n"
"\n"
"   Here you can choose the resolutions and color depths available for your\n"
"graphics hardware. Choose the one which best suits your needs (you will be\n"
"able to make changes after the installation). A sample of the chosen\n"
"configuration is shown in the monitor picture."
msgstr ""

#: ../help.pm:306
#, c-format
msgid ""
"In the situation where different servers are available for your card, with\n"
"or without 3D acceleration, you're asked to choose the server which best\n"
"suits your needs."
msgstr ""

#: ../help.pm:311
#, c-format
msgid ""
"Options\n"
"\n"
"   This steps allows you to choose whether you want your machine to\n"
"automatically switch to a graphical interface at boot. Obviously, you may\n"
"want to check \"%s\" if your machine is to act as a server, or if you were\n"
"not successful in getting the display configured."
msgstr ""

#: ../help.pm:319
#, c-format
msgid ""
"You now need to decide where you want to install the Mageia\n"
"operating system on your hard disk drive. If your hard disk drive is empty or if an\n"
"existing operating system is using all the available space you will have to\n"
"partition the drive. Basically, partitioning a hard disk drive means to\n"
"logically divide it to create the space needed to install your new\n"
"Mageia system.\n"
"\n"
"Because the process of partitioning a hard disk drive is usually irreversible\n"
"and can lead to data losses, partitioning can be intimidating and stressful\n"
"for the inexperienced user. Fortunately, DrakX includes a wizard which\n"
"simplifies this process. Before continuing with this step, read through the\n"
"rest of this section and above all, take your time.\n"
"\n"
"Depending on the configuration of your hard disk drive, several options are\n"
"available:\n"
"\n"
" * \"%s\". This option will perform an automatic partitioning of your blank\n"
"drive(s). If you use this option there will be no further prompts.\n"
"\n"
" * \"%s\". The wizard has detected one or more existing Linux partitions on\n"
"your hard disk drive. If you want to use them, choose this option. You will then\n"
"be asked to choose the mount points associated with each of the partitions.\n"
"The legacy mount points are selected by default, and for the most part it's\n"
"a good idea to keep them.\n"
"\n"
" * \"%s\". If Microsoft Windows is installed on your hard disk drive and takes\n"
"all the space available on it, you will have to create free space for\n"
"GNU/Linux. To do so, you can delete your Microsoft Windows partition and\n"
"data (see ``Erase entire disk'' solution) or resize your Microsoft Windows\n"
"FAT or NTFS partition. Resizing can be performed without the loss of any\n"
"data, provided you've previously defragmented the Windows partition.\n"
"Backing up your data is strongly recommended. Using this option is\n"
"recommended if you want to use both Mageia and Microsoft Windows on\n"
"the same computer.\n"
"\n"
"   Before choosing this option, please understand that after this\n"
"procedure, the size of your Microsoft Windows partition will be smaller\n"
"than when you started. You'll have less free space under Microsoft Windows\n"
"to store your data or to install new software.\n"
"\n"
" * \"%s\". If you want to delete all data and all partitions present on\n"
"your hard disk drive and replace them with your new Mageia system, choose\n"
"this option. Be careful, because you will not be able to undo this "
"operation\n"
"after you confirm.\n"
"\n"
"   !! If you choose this option, all data on your disk will be deleted. !!\n"
"\n"