Pull texts from MI menus into language dependant text files.

Minor change to name of some strings (eg: MSG_yes -> MSG_Yes == "Yes")
This commit is contained in:
dsl 2003-06-27 13:36:04 +00:00
parent d776887556
commit 5363c7e2ee
10 changed files with 503 additions and 941 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.21 2003/05/16 19:25:24 dsl Exp $
# $NetBSD: Makefile.inc,v 1.22 2003/06/27 13:36:04 dsl Exp $
#
# Makefile for sysinst
@ -77,7 +77,7 @@ msg.def: msg.mi.${SYSINSTLANG} ${MSG_MD} msgtouch
sed "s/@@VERSION@@/${VER}/" ${.ALLSRC} | \
awk -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" > ${.TARGET}
menus.def: menus.mi menus.mi.${SYSINSTLANG} ${MENUS_MD} msgtouch
menus.def: menus.mi ${MENUS_MD} msgtouch
sed "s/@@VERSION@@/${VER}/" ${.ALLSRC} | \
awk -f ${UNIF_AWK} -v defines="${MD_OPTIONS}" > ${.TARGET}

View File

@ -1,4 +1,4 @@
/* $NetBSD: label.c,v 1.32 2003/06/16 20:11:40 dsl Exp $ */
/* $NetBSD: label.c,v 1.33 2003/06/27 13:36:04 dsl Exp $ */
/*
* Copyright 1997 Jonathan Stone
@ -36,7 +36,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
__RCSID("$NetBSD: label.c,v 1.32 2003/06/16 20:11:40 dsl Exp $");
__RCSID("$NetBSD: label.c,v 1.33 2003/06/27 13:36:04 dsl Exp $");
#endif
#include <sys/types.h>
@ -272,7 +272,7 @@ set_ptn_labels(menudesc *m, void *arg)
}
snprintf(l[6], sizeof l[0], msg_string(MSG_preserve_fmt),
msg_string(p->pi_newfs ? MSG_no : MSG_yes));
msg_string(p->pi_newfs ? MSG_No : MSG_Yes));
snprintf(l[7], sizeof l[0], msg_string(MSG_mount_fmt), p->pi_mount);
for (opt = m->opts, i = 0; i < nelem(l); i++, opt++)

View File

@ -1,4 +1,4 @@
/* $NetBSD: menus.mi,v 1.5 2003/06/11 09:03:32 dsl Exp $ */
/* $NetBSD: menus.mi,v 1.6 2003/06/27 13:36:04 dsl Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -39,6 +39,9 @@
/*
* Menu system definitions -- machine and language independent
*
* Some menus may be called directly in the code rather than via the
* menu system.
*
* This file must be first in the sed command line.
*
*/
@ -84,3 +87,263 @@ menu selfsize, title MSG_Select_number_of_fragments_per_block, y = 15;
option MSG_f2_per_block, exit, action { set_fsize(arg, 2); };
option MSG_f1_per_block, exit, action { set_fsize(arg, 1); };
menu netbsd, title MSG_NetBSD_VERSION_Install_System,
exit, exitstring MSG_Exit_Install_System;
display action { toplevel(); };
option MSG_Install_NetBSD_to_hard_disk,
action { do_install(); };
option MSG_Upgrade_NetBSD_on_a_hard_disk,
action { do_upgrade(); };
option MSG_Re_install_sets_or_install_additional_sets,
action { do_reinstall_sets(); };
option MSG_Reboot_the_computer, exit,
action (endwin) { system("/sbin/reboot -q"); };
option MSG_Utility_menu, sub menu utility;
menu utility, title MSG_NetBSD_VERSION_Utilities, exit;
option MSG_Run_bin_sh,
action (endwin) { system("/bin/sh"); };
/* option MSG_test, action { run_prog(RUN_DISPLAY, NULL, "/bin/pwd"); }; */
option MSG_Set_timezone,
action {
set_timezone();
};
option MSG_Configure_network,
action {
extern int network_up;
network_up = 0;
config_network();
};
/* option MSG_Partition a disk; XXX add later. */
option MSG_Logging_functions, action { do_logging(); };
option MSG_Halt_the_system, exit,
action (endwin) { system("/sbin/halt -q"); };
menu yesno, title MSG_yes_or_no;
option MSG_Yes, exit, action {yesno = 1;};
option MSG_No, exit, action {yesno = 0;};
menu noyes, title MSG_yes_or_no;
option MSG_No, exit, action {yesno = 0;};
option MSG_Yes, exit, action {yesno = 1;};
menu ok, title MSG_Hit_enter_to_continue;
option MSG_ok, exit;
menu layout, title MSG_Choose_your_installation;
option MSG_Standard, exit, action { layoutkind = 1; };
option MSG_Use_Existing, exit, action { layoutkind = 4; };
menu sizechoice, title MSG_Choose_your_size_specifier;
option MSG_Megabytes, exit, action
{ sizemult = MEG / sectorsize;
multname = msg_string(MSG_megname);
};
option MSG_Cylinders, exit, action
{ sizemult = current_cylsize;
multname = msg_string(MSG_cylname);
};
option MSG_Sectors, exit, action
{ sizemult = 1;
multname = msg_string(MSG_secname);
};
menu distmedium, title MSG_Select_medium;
display action { msg_display (MSG_distmedium); nodist = 0; };
option MSG_ftp, action {
got_dist = get_via_ftp();
},
exit;
option MSG_nfs, action {
got_dist = get_via_nfs();
}, exit;
option MSG_cdrom, action {
got_dist = get_via_cdrom();
}, exit;
option MSG_floppy, action {
got_dist = get_via_floppy();
}, exit;
option MSG_unmounted_fs, action {
got_dist = get_via_localfs();
}, exit;
option MSG_local_dir, action {
got_dist = get_via_localdir();
}, exit;
option MSG_none, action { nodist = 1; }, exit;
menu distset, title MSG_Select_your_distribution;
display action { msg_display (MSG_distset); };
option MSG_Full_installation, exit;
option MSG_Custom_installation, exit, action { customise_sets(); };
menu ftpsource, title MSG_Change;
display action
{ msg_clear();
msg_table_add (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
strcmp(ftp_user, "ftp") == 0 ? ftp_pass :
strlen(ftp_pass) != 0 ? MSG_hidden : "" , ftp_proxy);
};
option MSG_Host, action
{ msg_prompt (MSG_host, ftp_host, ftp_host, 255); };
option MSG_Directory, action
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option MSG_User, action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
ftp_pass[0] = '\0';
};
option MSG_Password, action
{ if (strcmp(ftp_user, "ftp") == 0)
msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);
else {
msg_prompt_noecho (MSG_passwd, "", ftp_pass, 255);
}
};
option MSG_Proxy, action
{ msg_prompt (MSG_proxy, ftp_proxy, ftp_proxy, 255);
if (strcmp(ftp_proxy, "") == 0)
unsetenv("ftp_proxy");
else
setenv("ftp_proxy", ftp_proxy, 1);
};
option MSG_Get_Distribution, exit;
menu nfssource, title MSG_Change;
display action
{ msg_display (MSG_nfssource, nfs_host, nfs_dir); };
option MSG_Host, action
{ msg_prompt (MSG_host, NULL, nfs_host, 255); };
option MSG_Directory, action
{ msg_prompt (MSG_dir, NULL, nfs_dir, 255); };
option MSG_Continue, exit;
menu nfsbadmount, title MSG_What_do_you_want_to_do;
option MSG_Try_again, exit, sub menu nfssource, action
{ yesno = 1; ignorerror = 0; };
option MSG_Give_up, exit, action
{ yesno = 0; ignorerror = 0; };
option MSG_Ignore_continue_anyway, exit, action
{ yesno = 1; ignorerror = 1; };
menu fdremount, title MSG_What_do_you_want_to_do;
option MSG_Try_again, exit, action { yesno = 1; };
option MSG_Set_finished, exit, action { yesno = 2; };
option MSG_Abort_install, exit, action { yesno = 0; };
menu fdok, title MSG_Hit_enter_to_continue;
option MSG_OK, exit, action { yesno = 1; };
option MSG_Set_finished, exit, action { yesno = 2; };
option MSG_Abort_install, exit, action { yesno = 0; };
menu crypttype, title MSG_Password_cipher, y=16;
option MSG_DES, exit, action { yesno = 1; };
option MSG_MD5, exit, action { yesno = 2; };
option MSG_Blowfish_2_7_round, exit, action { yesno = 3; };
option MSG_do_not_change, exit, action { yesno = 0; };
menu cdromsource, title MSG_Change;
display action
{ msg_display (MSG_cdromsource, cdrom_dev, cdrom_dir); };
option MSG_Device, action
{ msg_prompt (MSG_dev, cdrom_dev, cdrom_dev, SSTRSIZE); };
option MSG_Directory, action
{ msg_prompt (MSG_dir, cdrom_dir, cdrom_dir, STRSIZE); };
option MSG_Continue, exit;
menu cdrombadmount, title MSG_What_do_you_want_to_do;
option MSG_Try_again, exit, sub menu cdromsource, action
{ yesno = 1; ignorerror = 0; };
option MSG_Give_up, exit, action
{ yesno = 0; ignorerror = 0; };
option MSG_Ignore_continue_anyway, exit, action
{ yesno = 1; ignorerror = 1; };
menu localfssource, title MSG_Change;
display action
{ msg_display (MSG_localfssource, localfs_dev, localfs_fs, localfs_dir); };
option MSG_Device, action
{ msg_prompt (MSG_dev, localfs_dev, localfs_dev, SSTRSIZE); };
option MSG_File_system, action
{ msg_prompt (MSG_filesys, localfs_fs, localfs_fs, STRSIZE); };
option MSG_Directory, action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); };
option MSG_Continue, exit;
menu localfsbadmount, title MSG_What_do_you_want_to_do;
option MSG_Try_again, exit, sub menu localfssource, action
{ yesno = 1; ignorerror = 0; };
option MSG_Give_up, exit, action
{ yesno = 0; ignorerror = 0; };
option MSG_Ignore_continue_anyway, exit, action
{ yesno = 1; ignorerror = 1; };
menu localdirsource, title MSG_Change;
display action
{ msg_display(MSG_localdir, localfs_dir); };
option MSG_Directory, action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); },
exit;
option MSG_Continue, exit;
menu localdirbad, title MSG_What_do_you_want_to_do;
option MSG_Change_directory_path, action
{ yesno = 1;
msg_prompt(MSG_localdir, localfs_dir, localfs_dir, STRSIZE);
}, exit;
option MSG_Give_up, exit, action
{ yesno = 0; ignorerror = 0; };
option MSG_Ignore_continue_anyway, exit, action
{ yesno = 1; ignorerror = 1; };
menu namesrv6, title MSG_Select_IPv6_DNS_server;
option "ns9.iij.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "ns-wide.wide.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "light.imasy.or.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521",
sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option MSG_other, exit, action
{ yesno = 0; };
menu ip6autoconf, title MSG_Perform_IPv6_autoconfiguration;
option MSG_Yes, exit, action {yesno = 1;};
option MSG_No, exit, action {yesno = 0;};
menu dhcpautoconf, title MSG_Perform_DHCP_autoconfiguration;
option MSG_Yes, exit, action {yesno = 1;};
option MSG_No, exit, action {yesno = 0;};
menu rootsh, title MSG_Root_shell;
option "/bin/csh", exit, action {shellpath = "/bin/csh";};
option "/bin/ksh", exit, action {shellpath = "/bin/ksh";};
option "/bin/sh", exit, action {shellpath = "/bin/sh";};
menu extract, title MSG_Select_set_extraction_verbosity;
option MSG_Progress_bar_recommended, exit, action { yesno = 1; };
option MSG_Silent, exit, action { yesno = 0; };
option MSG_Verbose_file_name_listing_slow, exit, action { yesno = 2; };

View File

@ -1,304 +0,0 @@
/* $NetBSD: menus.mi.en,v 1.72 2003/06/11 21:35:35 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
* All rights reserved.
*
* Written by Philip A. Nelson for Piermont Information Systems Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed for the NetBSD Project by
* Piermont Information Systems Inc.
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
* or promote products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
* Menu system definitions -- machine independent
*
* Some menus may be called directly in the code rather than via the
* menu system.
*/
menu netbsd, title "NetBSD-@@VERSION@@ Install System",
exit, exitstring "Exit Install System";
display action { toplevel(); };
option "Install NetBSD to hard disk",
action { do_install(); };
option "Upgrade NetBSD on a hard disk",
action { do_upgrade(); };
option "Re-install sets or install additional sets",
action { do_reinstall_sets(); };
option "Reboot the computer", exit,
action (endwin) { system("/sbin/reboot -q"); };
option "Utility menu", sub menu utility;
menu utility, title "NetBSD-@@VERSION@@ Utilities", exit;
option "Run /bin/sh",
action (endwin) { system("/bin/sh"); };
/* option "test", action { run_prog(RUN_DISPLAY, NULL, "/bin/pwd"); }; */
option "Set timezone",
action {
set_timezone();
};
option "Configure network",
action {
extern int network_up;
network_up = 0;
config_network();
};
/* option "Partition a disk"; XXX add later. */
option "Logging functions", action { do_logging(); };
option "Halt the system", exit,
action (endwin) { system("/sbin/halt -q"); };
menu yesno, title "yes or no?";
option "Yes", exit, action {yesno = 1;};
option "No", exit, action {yesno = 0;};
menu noyes, title "yes or no?";
option "No", exit, action {yesno = 0;};
option "Yes", exit, action {yesno = 1;};
menu ok, title "Hit enter to continue";
option "ok", exit;
menu layout, title "Choose your installation";
option "Standard", exit, action { layoutkind = 1; };
option "Use Existing", exit, action { layoutkind = 4; };
menu sizechoice, title "Choose your size specifier";
option "Megabytes", exit, action
{ sizemult = MEG / sectorsize;
multname = msg_string(MSG_megname);
};
option "Cylinders", exit, action
{ sizemult = current_cylsize;
multname = msg_string(MSG_cylname);
};
option "Sectors", exit, action
{ sizemult = 1;
multname = msg_string(MSG_secname);
};
menu distmedium, title "Select medium";
display action { msg_display (MSG_distmedium); nodist = 0; };
option "ftp", action {
got_dist = get_via_ftp();
},
exit;
option "nfs", action {
got_dist = get_via_nfs();
}, exit;
option "cdrom", action {
got_dist = get_via_cdrom();
}, exit;
option "floppy", action {
got_dist = get_via_floppy();
}, exit;
option "unmounted fs", action {
got_dist = get_via_localfs();
}, exit;
option "local dir", action {
got_dist = get_via_localdir();
}, exit;
option "none", action { nodist = 1; }, exit;
menu distset, title "Select your distribution";
display action { msg_display (MSG_distset); };
option "Full installation", exit;
option "Custom installation", exit, action { customise_sets(); };
menu ftpsource, title "Change";
display action
{ msg_clear();
msg_table_add (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
strcmp(ftp_user, "ftp") == 0 ? ftp_pass :
strlen(ftp_pass) != 0 ? "** hidden **" : "", ftp_proxy);
};
option "Host", action
{ msg_prompt (MSG_host, ftp_host, ftp_host, 255); };
option "Directory", action
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "User", action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
ftp_pass[0] = '\0';
};
option "Password", action
{ if (strcmp(ftp_user, "ftp") == 0)
msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);
else {
msg_prompt_noecho (MSG_passwd, "", ftp_pass, 255);
}
};
option "Proxy", action
{ msg_prompt (MSG_proxy, ftp_proxy, ftp_proxy, 255);
if (strcmp(ftp_proxy, "") == 0)
unsetenv("ftp_proxy");
else
setenv("ftp_proxy", ftp_proxy, 1);
};
option "Get Distribution", exit;
menu nfssource, title "Change";
display action
{ msg_display (MSG_nfssource, nfs_host, nfs_dir); };
option "Host", action
{ msg_prompt (MSG_host, NULL, nfs_host, 255); };
option "Directory", action
{ msg_prompt (MSG_dir, NULL, nfs_dir, 255); };
option "Continue", exit;
menu nfsbadmount, title "What do you want to do?";
option "Try again", exit, sub menu nfssource, action
{ yesno = 1; ignorerror = 0; };
option "Give up", exit, action
{ yesno = 0; ignorerror = 0; };
option "Ignore, continue anyway", exit, action
{ yesno = 1; ignorerror = 1; };
menu fdremount, title "What do you want to do?";
option "Try again", exit, action { yesno = 1; };
option "Set finished", exit, action { yesno = 2; };
option "Abort install", exit, action { yesno = 0; };
menu fdok, title "Hit enter to continue";
option "OK", exit, action { yesno = 1; };
option "Set finished", exit, action { yesno = 2; };
option "Abort install", exit, action { yesno = 0; };
menu crypttype, title "Password cipher", y=16;
option "DES", exit, action { yesno = 1; };
option "MD5", exit, action { yesno = 2; };
option "Blowfish 2^7 round", exit, action { yesno = 3; };
option "do not change", exit, action { yesno = 0; };
menu cdromsource, title "Change";
display action
{ msg_display (MSG_cdromsource, cdrom_dev, cdrom_dir); };
option "Device", action
{ msg_prompt (MSG_dev, cdrom_dev, cdrom_dev, SSTRSIZE); };
option "Directory", action
{ msg_prompt (MSG_dir, cdrom_dir, cdrom_dir, STRSIZE); };
option "Continue", exit;
menu cdrombadmount, title "What do you want to do?";
option "Try again", exit, sub menu cdromsource, action
{ yesno = 1; ignorerror = 0; };
option "Give up", exit, action
{ yesno = 0; ignorerror = 0; };
option "Ignore, continue anyway", exit, action
{ yesno = 1; ignorerror = 1; };
menu localfssource, title "Change";
display action
{ msg_display (MSG_localfssource, localfs_dev, localfs_fs, localfs_dir); };
option "Device", action
{ msg_prompt (MSG_dev, localfs_dev, localfs_dev, SSTRSIZE); };
option "File system", action
{ msg_prompt (MSG_filesys, localfs_fs, localfs_fs, STRSIZE); };
option "Directory", action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); };
option "Continue", exit;
menu localfsbadmount, title "What do you want to do?";
option "Try again", exit, sub menu localfssource, action
{ yesno = 1; ignorerror = 0; };
option "Give up", exit, action
{ yesno = 0; ignorerror = 0; };
option "Ignore, continue anyway", exit, action
{ yesno = 1; ignorerror = 1; };
menu localdirsource, title "Change";
display action
{ msg_display(MSG_localdir, localfs_dir); };
option "Directory", action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); },
exit;
option "Continue", exit;
menu localdirbad, title "What do you want to do?";
option "Change directory path", action
{ yesno = 1;
msg_prompt(MSG_localdir, localfs_dir, localfs_dir, STRSIZE);
}, exit;
option "Give up", exit, action
{ yesno = 0; ignorerror = 0; };
option "Ignore, continue anyway", exit, action
{ yesno = 1; ignorerror = 1; };
menu namesrv6, title " Select IPv6 DNS server";
option "ns9.iij.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "ns-wide.wide.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "light.imasy.or.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521",
sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "other ", exit, action
{ yesno = 0; };
menu ip6autoconf, title "Perform IPv6 autoconfiguration?";
option "Yes", exit, action {yesno = 1;};
option "No", exit, action {yesno = 0;};
menu dhcpautoconf, title "Perform DHCP autoconfiguration?";
option "Yes", exit, action {yesno = 1;};
option "No", exit, action {yesno = 0;};
menu rootsh, title "Root shell";
option "/bin/csh", exit, action {shellpath = "/bin/csh";};
option "/bin/ksh", exit, action {shellpath = "/bin/ksh";};
option "/bin/sh", exit, action {shellpath = "/bin/sh";};
menu extract, title "Select set extraction verbosity";
option "Progress bar (recommended)", exit, action { yesno = 1; };
option "Silent", exit, action { yesno = 0; };
option "Verbose file name listing (slow)", exit, action { yesno = 2; };

View File

@ -1,302 +0,0 @@
/* $NetBSD: menus.mi.fr,v 1.50 2003/06/11 21:35:35 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
* All rights reserved.
*
* Written by Philip A. Nelson for Piermont Information Systems Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed for the NetBSD Project by
* Piermont Information Systems Inc.
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
* or promote products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
* Menu system definitions -- machine independent
*
* Some menus may be called directly in the code rather than via the
* menu system.
*/
menu netbsd, title "NetBSD-@@VERSION@@ Programme d'installation",
exit, exitstring "Quitter le programme d'installation";
display action { toplevel(); };
option "Installation de NetBSD sur disque dur",
action { do_install(); };
option "Mise à jour de NetBSD sur disque dur",
action { do_upgrade(); };
option "Réinstaller ou installer de nouveaux composants",
action { do_reinstall_sets(); };
option "Redémarrer l'ordinateur", exit,
action (endwin) { system("/sbin/reboot -q"); };
option "Menu utilitaire", sub menu utility;
menu utility, title "Utilitaires NetBSD-@@VERSION@@", exit;
/* option "test", action { run_prog(RUN_DISPLAY, NULL, "/bin/pwd"); }; */
/* option "testfalse", action { run_prog(0, "%s: kaput", "/bin/false"); }; */
option "Exécuter /bin/sh",
action (endwin) { system("/bin/sh"); };
option "Configuration du réseau",
action {
extern int network_up;
network_up = 0;
config_network();
};
/* option "Partitioner un disque"; XXX add later. */
option "Traces", action { do_logging(); };
option "Arrêter le système", exit,
action (endwin) { system("/sbin/halt -q"); };
menu yesno, title "oui ou non?";
option "Oui", exit, action {yesno = 1;};
option "Non", exit, action {yesno = 0;};
menu noyes, title "oui ou non?";
option "Non", exit, action {yesno = 0;};
option "Oui", exit, action {yesno = 1;};
menu ok, title "Presser entrée pour continuer";
option "ok", exit;
menu layout, y=13, title "Choisissez votre type d'installation";
option "Standard", exit, action { layoutkind = 1; };
option "Use Existing", exit, action { layoutkind = 4; }; /* XXX translate me */
menu sizechoice, title "Choisissez votre unité d'espace disque";
option "Megaoctets", exit, action
{ sizemult = MEG / sectorsize;
multname = msg_string(MSG_megname);
};
option "Cylindres", exit, action
{ sizemult = current_cylsize;
multname = msg_string(MSG_cylname);
};
option "Secteurs", exit, action
{ sizemult = 1;
multname = msg_string(MSG_secname);
};
menu distmedium, title "Sélection du media d'installation";
display action { msg_display (MSG_distmedium); nodist = 0; };
option "ftp", action {
got_dist = get_via_ftp();
},
exit;
option "nfs", action {
got_dist = get_via_nfs();
}, exit;
option "cdrom", action {
got_dist = get_via_cdrom();
}, exit;
option "disquette", action {
got_dist = get_via_floppy();
}, exit;
option "systeme de fichier non-monté", action {
got_dist = get_via_localfs();
}, exit;
option "répertoire local", action {
got_dist = get_via_localdir();
}, exit;
option "aucun", action { nodist = 1; }, exit;
menu distset, title "Sélection de la distribution";
display action { msg_display (MSG_distset); };
option "Installation complète", exit;
option "Installation personnalisée", exit, action { customise_sets(); };
menu ftpsource, title "Changer";
display action
{ msg_clear();
msg_table_add (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
strcmp(ftp_user, "ftp") == 0 ? ftp_pass :
strlen(ftp_pass) != 0 ? "** caché **" : "",
ftp_proxy);
};
option "Serveur ftp", action
{ msg_prompt (MSG_host, ftp_host, ftp_host, 255); };
option "Répertoire", action
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "Utilisateur", action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
ftp_pass[0] = '\0';
};
option "Mot de passe", action
{ if (strcmp(ftp_user, "ftp") == 0)
msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);
else {
msg_prompt_noecho (MSG_passwd, "", ftp_pass, 255);
}
};
option "Proxy", action
{ msg_prompt (MSG_proxy, ftp_proxy, ftp_proxy, 255);
if (strcmp(ftp_proxy, "") == 0)
unsetenv("ftp_proxy");
else
setenv("ftp_proxy", ftp_proxy, 1);
};
option "Récupérer la Distribution", exit;
menu nfssource, title "Changer";
display action
{ msg_display (MSG_nfssource, nfs_host, nfs_dir); };
option "Serveur nfs", action
{ msg_prompt (MSG_host, NULL, nfs_host, 255); };
option "Répertoire", action
{ msg_prompt (MSG_dir, NULL, nfs_dir, 255); };
option "Continuer", exit;
menu nfsbadmount, title "Que voulez vous faire?";
option "Réessayer", exit, sub menu nfssource, action
{ yesno = 1; ignorerror = 0; };
option "Abandonner", exit, action
{ yesno = 1; ignorerror = 0; };
option "Ignorer les erreurs, continuer quand même", exit, action
{ yesno = 1; ignorerror = 1; };
menu fdremount, title "Que voulez vous faire?";
option "Réessayer", exit, action { yesno = 1; };
option "Annuler l'installation", exit, action { yesno = 0; };
menu fdok, title "Presser entrée pour continuer";
option "OK", exit, action { yesno = 1; };
option "Abandonner l'installation", exit, action { yesno = 0; };
menu crypttype, title "Password cipher", y=16; /* XXX translate */
option "DES", exit, action { yesno = 1; };
option "MD5", exit, action { yesno = 2; };
option "Blowfish 2^7 round", exit, action { yesno = 3; };
option "do not change", exit, action { yesno = 0; };
menu cdromsource, title "Changer";
display action
{ msg_display (MSG_cdromsource, cdrom_dev, cdrom_dir); };
option "Device", action
{ msg_prompt (MSG_dev, cdrom_dev, cdrom_dev, SSTRSIZE); };
option "Répertoire", action
{ msg_prompt (MSG_dir, cdrom_dir, cdrom_dir, STRSIZE); };
option "Continuer", exit;
menu cdrombadmount, title "Que voulez-vous faire?";
option "Réessayer", exit, sub menu cdromsource, action
{ yesno = 1; ignorerror = 0; };
option "Abandonner", exit, action
{ yesno = 0; ignorerror = 0; };
option "Ignorer les erreurs, continuer quand même", exit, action
{ yesno = 1; ignorerror = 1; };
menu localfssource, title "Changer";
display action
{ msg_display (MSG_localfssource, localfs_dev, localfs_fs, localfs_dir); };
option "Device", action
{ msg_prompt (MSG_dev, localfs_dev, localfs_dev, SSTRSIZE); };
option "Système de fichier", action
{ msg_prompt (MSG_filesys, localfs_fs, localfs_fs, STRSIZE); };
option "Répertoire", action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); };
option "Continuer", exit;
menu localfsbadmount, title "Que voulez vous faire?";
option "Réessayer", exit, sub menu localfssource, action
{ yesno = 1; ignorerror = 0; };
option "Abandonner", exit, action
{ yesno = 1; ignorerror = 0; };
option "Ignorer les erreurs, continuer quand même", exit, action
{ yesno = 1; ignorerror = 1; };
menu localdirsource, title "Changer";
display action
{ msg_display(MSG_localdir, localfs_dir); };
option "Répertoire", action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); },
exit;
option "Continuer", exit;
menu localdirbad, title "Que voulez vous faire?";
option "Changer le chemin d'accès", action
{ yesno = 1;
msg_prompt(MSG_localdir, localfs_dir, localfs_dir, STRSIZE);
}, exit;
option "Abandonner", exit, action
{ yesno = 0; ignorerror = 0; };
option "Ignorer les erreurs, continuer quand même", exit, action
{ yesno = 1; ignorerror = 1; };
menu namesrv6, title " Choisissez un serveur de noms IPv6 :";
option "ns9.iij.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "ns-wide.wide.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "light.imasy.or.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521",
sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "other ", exit, action
{ yesno = 0; };
menu ip6autoconf, title "Faire la configuration automatique IPv6 ?";
option "Oui", exit, action {yesno = 1;};
option "Non", exit, action {yesno = 0;};
menu dhcpautoconf, title "Exécutez la configuration automatique de DHCP?";
option "Oui", exit, action {yesno = 1;};
option "Non", exit, action {yesno = 0;};
menu rootsh, title "Root shell"; /* XXX translate */
option "/bin/csh", exit, action {shellpath = "/bin/csh";};
option "/bin/ksh", exit, action {shellpath = "/bin/ksh";};
option "/bin/sh", exit, action {shellpath = "/bin/sh";};
menu extract, title "Methode d'indication de l'extraction d'ensemble ?";
option "Thermometre (recommendeé)", exit, action { yesno = 1; };
option "Silencieux", exit, action { yesno = 0; };
option "Liste verbeuse des fichiers (lent)", exit, action
{ yesno = 2; };

View File

@ -1,305 +0,0 @@
/* $NetBSD: menus.mi.pl,v 1.20 2003/06/11 21:35:35 dsl Exp $ */
/* Based on english version: */
/* NetBSD: menus.mi.en,v 1.49 2002/04/04 14:26:44 ad Exp */
/*
* Copyright 1997 Piermont Information Systems Inc.
* All rights reserved.
*
* Written by Philip A. Nelson for Piermont Information Systems Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed for the NetBSD Project by
* Piermont Information Systems Inc.
* 4. The name of Piermont Information Systems Inc. may not be used to endorse
* or promote products derived from this software without specific prior
* written permission.
*
* THIS SOFTWARE IS PROVIDED BY PIERMONT INFORMATION SYSTEMS INC. ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL PIERMONT INFORMATION SYSTEMS INC. BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
*/
/*
* Menu system definitions -- machine independent
*
* Some menus may be called directly in the code rather than via the
* menu system.
*/
menu netbsd, title "System Instalacyjny NetBSD-@@VERSION@@",
exit, exitstring "Wyjdz z Systemu Instalacyjnego";
display action { toplevel(); };
option "Zainstaluj NetBSD na twardym dysku",
action { do_install(); };
option "Zaktualizuj NetBSD na twardym dysku",
action { do_upgrade(); };
option "Przeinstaluj albo zainstaluj dodatkowe pakiety",
action { do_reinstall_sets(); };
option "Zrestartuj komputer", exit,
action (endwin) { system("/sbin/reboot -q"); };
option "Menu Narzedziowe", sub menu utility;
menu utility, title "Narzedzia NetBSD-@@VERSION@@", exit;
option "Uruchom /bin/sh",
action (endwin) { system("/bin/sh"); };
/* option "test", action { run_prog(RUN_DISPLAY, NULL, "/bin/pwd"); }; */
option "Ustaw strefe czasowa",
action {
set_timezone();
};
option "Skonfiguruj siec",
action {
extern int network_up;
network_up = 0;
config_network();
};
/* option "Skonfiguruj dysk"; XXX add later. */
option "Funkcje logowania", action { do_logging(); };
option "Zatrzymaj system", exit,
action (endwin) { system("/sbin/halt -q"); };
menu yesno, title "tak lub nie?";
option "Tak", exit, action {yesno = 1;};
option "Nie", exit, action {yesno = 0;};
menu noyes, title "tak lub nie?";
option "Nie", exit, action {yesno = 0;};
option "Tak", exit, action {yesno = 1;};
menu ok, title "Nacisnij enter aby kontynuowac";
option "ok", exit;
menu layout, title "Wybierz swoja instalacje";
option "Standardowa", exit, action { layoutkind = 1; };
option "Istniejaca", exit, action { layoutkind = 4; };
menu sizechoice, title "Wybierz specyfikator rozmiaru";
option "Megabajty", exit, action
{ sizemult = MEG / sectorsize;
multname = msg_string(MSG_megname);
};
option "Cylindry", exit, action
{ sizemult = current_cylsize;
multname = msg_string(MSG_cylname);
};
option "Sektory", exit, action
{ sizemult = 1;
multname = msg_string(MSG_secname);
};
menu distmedium, title "Wybierz medium";
display action { msg_display (MSG_distmedium); nodist = 0; };
option "ftp", action {
got_dist = get_via_ftp();
},
exit;
option "nfs", action {
got_dist = get_via_nfs();
}, exit;
option "cdrom", action {
got_dist = get_via_cdrom();
}, exit;
option "dyskietka", action {
got_dist = get_via_floppy();
}, exit;
option "niezamontowany SP", action {
got_dist = get_via_localfs();
}, exit;
option "lokalny katalog", action {
got_dist = get_via_localdir();
}, exit;
option "zadne", action { nodist = 1; }, exit;
menu distset, title "Wybierz swoja dystrybucje";
display action { msg_display (MSG_distset); };
option "Pelna instalacja", exit;
option "Inna instalacja", exit, action { customise_sets(); };
menu ftpsource, title "Zmien";
display action
{ msg_clear();
msg_table_add (MSG_ftpsource, ftp_host, ftp_dir, ftp_user,
strcmp(ftp_user, "ftp") == 0 ? ftp_pass :
strlen(ftp_pass) != 0 ? "** hidden **" : "", ftp_proxy);
};
option "Host", action
{ msg_prompt (MSG_host, ftp_host, ftp_host, 255); };
option "Katalog", action
{ msg_prompt (MSG_dir, ftp_dir, ftp_dir, 255); };
option "Uzytkownik", action
{ msg_prompt (MSG_user, ftp_user, ftp_user, 255);
ftp_pass[0] = '\0';
};
option "Haslo", action
{ if (strcmp(ftp_user, "ftp") == 0)
msg_prompt (MSG_email, ftp_pass, ftp_pass, 255);
else {
msg_prompt_noecho (MSG_passwd, "", ftp_pass, 255);
}
};
option "Proxy", action
{ msg_prompt (MSG_proxy, ftp_proxy, ftp_proxy, 255);
if (strcmp(ftp_proxy, "") == 0)
unsetenv("ftp_proxy");
else
setenv("ftp_proxy", ftp_proxy, 1);
};
option "Sciagnij Dystrybucje", exit;
menu nfssource, title "Zmien";
display action
{ msg_display (MSG_nfssource, nfs_host, nfs_dir); };
option "Host", action
{ msg_prompt (MSG_host, NULL, nfs_host, 255); };
option "Katalog", action
{ msg_prompt (MSG_dir, NULL, nfs_dir, 255); };
option "Kontynuuj", exit;
menu nfsbadmount, title "Co chcesz zrobic?";
option "Sprobowac jeszcze raz", exit, sub menu nfssource, action
{ yesno = 1; ignorerror = 0; };
option "Poddac sie", exit, action
{ yesno = 0; ignorerror = 0; };
option "Zignorowac, kontynuowac", exit, action
{ yesno = 1; ignorerror = 1; };
menu fdremount, title "Co chcesz zrobic?";
option "Sprobowac jeszcze raz", exit, action { yesno = 1; };
option "Przerwac instalacje", exit, action { yesno = 0; };
menu fdok, title "Nacisnij enter aby kontynuowac";
option "OK", exit, action { yesno = 1; };
option "Przerwac instalacje", exit, action { yesno = 0; };
menu crypttype, title "Kodowanie hasel";
option "DES", exit, action { yesno = 1; };
option "MD5", exit, action { yesno = 2; };
option "Blowfish 2^7 round", exit, action { yesno = 3; };
option "nie zmieniaj", exit, action { yesno = 0; };
menu cdromsource, title "Zmien";
display action
{ msg_display (MSG_cdromsource, cdrom_dev, cdrom_dir); };
option "Urzadzenie", action
{ msg_prompt (MSG_dev, cdrom_dev, cdrom_dev, SSTRSIZE); };
option "Katalog", action
{ msg_prompt (MSG_dir, cdrom_dir, cdrom_dir, STRSIZE); };
option "Kontynuuj", exit;
menu cdrombadmount, title "Co chcesz zrobic?";
option "Sprobowac jeszcze raz", exit, sub menu cdromsource, action
{ yesno = 1; ignorerror = 0; };
option "Poddac sie", exit, action
{ yesno = 0; ignorerror = 0; };
option "Zignorowac, kontynuowac", exit, action
{ yesno = 1; ignorerror = 1; };
menu localfssource, title "Zmien";
display action
{ msg_display (MSG_localfssource, localfs_dev, localfs_fs, localfs_dir); };
option "Urzadzenie", action
{ msg_prompt (MSG_dev, localfs_dev, localfs_dev, SSTRSIZE); };
option "SystemPlikow", action
{ msg_prompt (MSG_filesys, localfs_fs, localfs_fs, STRSIZE); };
option "Katalog", action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); };
option "Kontynuuj", exit;
menu localfsbadmount, title "Co chcesz zrobic?";
option "Sprobowac jeszcze raz", exit, sub menu localfssource, action
{ yesno = 1; ignorerror = 0; };
option "Poddac sie", exit, action
{ yesno = 0; ignorerror = 0; };
option "Zignorowac, kontynuowac", exit, action
{ yesno = 1; ignorerror = 1; };
menu localdirsource, title "Zmien";
display action
{ msg_display(MSG_localdir, localfs_dir); };
option "Katalog", action
{ msg_prompt (MSG_dir, localfs_dir, localfs_dir, STRSIZE); },
exit;
option "Kontynuuj", exit;
menu localdirbad, title "Co chcesz zrobic?";
option "Zmien sciezke katalogu", action
{ yesno = 1;
msg_prompt(MSG_localdir, localfs_dir, localfs_dir, STRSIZE);
}, exit;
option "Poddac sie", exit, action
{ yesno = 0; ignorerror = 0; };
option "Zignorowac, kontynuowac", exit, action
{ yesno = 1; ignorerror = 1; };
menu namesrv6, title " Wybierz serwer nazw IPv6";
option "ns9.iij.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:240::1", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "ns-wide.wide.ad.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "2001:200:0:1::3", sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "light.imasy.or.jp", exit, action
{
#ifdef INET6
strlcpy(net_namesvr6, "3ffe:505:0:1:2a0:c9ff:fe61:6521",
sizeof(net_namesvr6));
yesno = 1;
#else
yesno = 0;
#endif
};
option "inny ", exit, action
{ yesno = 0; };
menu ip6autoconf, title "Wykonac autokonfiguracje IPv6?";
option "Tak", exit, action {yesno = 1;};
option "Nie", exit, action {yesno = 0;};
menu dhcpautoconf, title "Wykonac autkonfiguracje DHCP?";
option "Tak", exit, action {yesno = 1;};
option "Nie", exit, action {yesno = 0;};
menu rootsh, title "Root shell"; /* XXX translate */
option "/bin/csh", exit, action {shellpath = "/bin/csh";};
option "/bin/ksh", exit, action {shellpath = "/bin/ksh";};
option "/bin/sh", exit, action {shellpath = "/bin/sh";};
menu extract, title "Select set extraction verbosity"; /* XXX translate */
option "Progress bar (recommended)", exit, action { yesno = 1; };
option "Silent", exit, action { yesno = 0; };
option "Verbose file name listing (slow)", exit, action { yesno = 2; };

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.en,v 1.107 2003/06/13 22:27:03 dsl Exp $ */
/* $NetBSD: msg.mi.en,v 1.108 2003/06/27 13:36:06 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -44,11 +44,14 @@ message usage
message newline {\n}
message yes {Yes}
message no {No}
message all {All}
message some {Some}
message none {None}
message Yes {Yes}
message No {No}
message All {All}
message Some {Some}
message None {None}
message none {none}
message OK {OK}
message ok {ok}
message install
{install}
@ -974,6 +977,73 @@ one mount point with "/".
Press <return> to continue.
}
message NetBSD_VERSION_Install_System {NetBSD-@@VERSION@@ Install System}
message Exit_Install_System {Exit Install System}
message Install_NetBSD_to_hard_disk {Install NetBSD to hard disk}
message Upgrade_NetBSD_on_a_hard_disk {Upgrade NetBSD on a hard disk}
message Re_install_sets_or_install_additional_sets {Re-install sets or install additional sets}
message Reboot_the_computer {Reboot the computer}
message Utility_menu {Utility menu}
message NetBSD_VERSION_Utilities {NetBSD-@@VERSION@@ Utilities}
message Run_bin_sh {Run /bin/sh}
message Set_timezone {Set timezone}
message Configure_network {Configure network}
message Partition_a_disk {Partition a disk}
message Logging_functions {Logging functions}
message Halt_the_system {Halt the system}
message yes_or_no {yes or no?}
message Hit_enter_to_continue {Hit enter to continue}
message Choose_your_installation {Choose your installation}
message Standard {Standard}
message Use_Existing {Use Existing}
message Choose_your_size_specifier {Choose your size specifier}
message Megabytes {Megabytes}
message Cylinders {Cylinders}
message Sectors {Sectors}
message Select_medium {Select medium}
message ftp {ftp}
message nfs {nfs}
message cdrom {cdrom}
message floppy {floppy}
message unmounted_fs {unmounted fs}
message local_dir {local dir}
message Select_your_distribution {Select your distribution}
message Full_installation {Full installation}
message Custom_installation {Custom installation}
message Change {Change}
message hidden {** hidden **}
message Host {Host}
message Directory {Directory}
message User {User}
message Password {Password}
message Proxy {Proxy}
message ftp_proxy {ftp_proxy}
message Get_Distribution {Get Distribution}
message Continue {Continue}
message What_do_you_want_to_do {What do you want to do?}
message Try_again {Try again}
message Give_up {Give up}
message Ignore_continue_anyway {Ignore, continue anyway}
message Set_finished {Set finished}
message Abort_install {Abort install}
message Password_cipher {Password cipher}
message DES {DES}
message MD5 {MD5}
message Blowfish_2_7_round {Blowfish 2^7 round}
message do_not_change {do not change}
message Device {Device}
message File_system {File system}
message Change_directory_path {Change directory path}
message Select_IPv6_DNS_server { Select IPv6 DNS server}
message other {other }
message Perform_IPv6_autoconfiguration {Perform IPv6 autoconfiguration?}
message Perform_DHCP_autoconfiguration {Perform DHCP autoconfiguration?}
message Root_shell {Root shell}
message Select_set_extraction_verbosity {Select set extraction verbosity}
message Progress_bar_recommended {Progress bar (recommended)}
message Silent {Silent}
message Verbose_file_name_listing_slow {Verbose file name listing (slow)}
.if AOUT2ELF
message aoutfail
{The directory where the old a.out shared libraries should be moved to could

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.fr,v 1.57 2003/06/25 15:41:16 dsl Exp $ */
/* $NetBSD: msg.mi.fr,v 1.58 2003/06/27 13:36:06 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -44,11 +44,14 @@ message usage
message newline {\n}
message yes {Oui}
message no {Non}
message all {Tout}
message some {Some} /* XXX translate */
message none {None} /* XXX translate */
message Yes {Oui}
message No {Non}
message All {Tout}
message Some {Some} /* XXX translate */
message None {Aucun}
message none {aucun}
message OK {OK}
message ok {ok}
message install
{installer}
@ -1006,6 +1009,73 @@ un point de montage "/".
Appuyer sur <entrée> pour continuer.
}
message NetBSD_VERSION_Install_System {NetBSD-@@VERSION@@ Programme d'installation}
message Exit_Install_System {Quitter le programme d'installation}
message Install_NetBSD_to_hard_disk {Installation de NetBSD sur disque dur}
message Upgrade_NetBSD_on_a_hard_disk {Mise à jour de NetBSD sur disque dur}
message Re_install_sets_or_install_additional_sets {Réinstaller ou installer de nouveaux composants}
message Reboot_the_computer {Redémarrer l'ordinateur}
message Utility_menu {Menu utilitaire}
message NetBSD_VERSION_Utilities {Utilitaires NetBSD-@@VERSION@@}
message Run_bin_sh {Exécuter /bin/sh}
message Set_timezone {Set timezone} /* XXX translate */
message Configure_network {Configuration du réseau}
message Partition_a_disk {Partitioner un disque}
message Logging_functions {Traces}
message Halt_the_system {Arrêter le système}
message yes_or_no {oui ou non?}
message Hit_enter_to_continue {Presser entrée pour continuer}
message Choose_your_installation {Choisissez votre type d'installation}
message Standard {Standard} /* XXX translate */
message Use_Existing {Use Existing} /* XXX translate */
message Choose_your_size_specifier {Choisissez votre unité d'espace disque}
message Megabytes {Megaoctets}
message Cylinders {Cylindres}
message Sectors {Secteurs}
message Select_medium {Sélection du media d'installation}
message ftp {ftp}
message nfs {nfs}
message cdrom {cdrom}
message floppy {disquette}
message unmounted_fs {systeme de fichier non-monté}
message local_dir {répertoire local}
message Select_your_distribution {Sélection de la distribution}
message Full_installation {Installation complète}
message Custom_installation {Installation personnalisée}
message Change {Changer}
message hidden {** caché **}
message Host {Serveur ftp}
message Directory {Répertoire}
message User {Utilisateur}
message Password {Mot de passe}
message Proxy {Proxy}
message ftp_proxy {ftp_proxy}
message Get_Distribution {Récupérer la Distribution}
message Continue {Continuer}
message What_do_you_want_to_do {Que voulez vous faire?}
message Try_again {Réessayer}
message Give_up {Abandonner}
message Ignore_continue_anyway {Ignorer les erreurs, continuer quand même}
message Set_finished {Set finished} /* XXX translate */
message Abort_install {Annuler l'installation}
message Password_cipher {Password cipher}
message DES {DES}
message MD5 {MD5}
message Blowfish_2_7_round {Blowfish 2^7 round}
message do_not_change {do not change} /* XXX translate */
message Device {Device}
message File_system {Système de fichier}
message Change_directory_path {Changer le chemin d'accès}
message Select_IPv6_DNS_server { Choisissez un serveur de noms IPv6 :}
message other {other } /* XXX translate */
message Perform_IPv6_autoconfiguration {Faire la configuration automatique IPv6 ?}
message Perform_DHCP_autoconfiguration {Exécutez la configuration automatique de DHCP?}
message Root_shell {Root shell} /* XXX translate */
message Select_set_extraction_verbosity {Methode d'indication de l'extraction d'ensemble ?}
message Progress_bar_recommended {Thermometre (recommendeé)}
message Silent {Silencieux}
message Verbose_file_name_listing_slow {Liste verbeuse des fichiers (lent)}
.if AOUT2ELF
message aoutfail
{Le répertoire où se situent les anciennes librairies a.out devrait être déplacé.

View File

@ -1,4 +1,4 @@
/* $NetBSD: msg.mi.pl,v 1.19 2003/06/13 22:27:04 dsl Exp $ */
/* $NetBSD: msg.mi.pl,v 1.20 2003/06/27 13:36:06 dsl Exp $ */
/* Based on english version: */
/* NetBSD: msg.mi.en,v 1.86 2002/04/04 14:26:44 ad Exp */
@ -46,11 +46,14 @@ message usage
message newline {\n}
message yes {Tak}
message no {Nie}
message all {All} /* XXX translate */
message some {Some} /* XXX translate */
message none {None} /* XXX translate */
message Yes {Tak}
message No {Nie}
message All {All} /* XXX translate */
message Some {Some} /* XXX translate */
message None {Zadne}
message none {zadne}
message ok {ok}
message OK {OK}
message install
{zainstalowac}
@ -958,6 +961,73 @@ jeden mountpoint z "/".
Nacisnij <enter> aby kontynuowac.
}
message NetBSD_VERSION_Install_System {System Instalacyjny NetBSD-@@VERSION@@}
message Exit_Install_System {Wyjdz z Systemu Instalacyjnego}
message Install_NetBSD_to_hard_disk {Zainstaluj NetBSD na twardym dysku}
message Upgrade_NetBSD_on_a_hard_disk {Zaktualizuj NetBSD na twardym dysku}
message Re_install_sets_or_install_additional_sets {Przeinstaluj albo zainstaluj dodatkowe pakiety}
message Reboot_the_computer {Zrestartuj komputer}
message Utility_menu {Menu Narzedziowe}
message NetBSD_VERSION_Utilities {Narzedzia NetBSD-@@VERSION@@}
message Run_bin_sh {Uruchom /bin/sh}
message Set_timezone {Ustaw strefe czasowa}
message Configure_network {Skonfiguruj siec}
message Partition_a_disk {Skonfiguruj dysk}
message Logging_functions {Funkcje logowania}
message Halt_the_system {Zatrzymaj system}
message yes_or_no {tak lub nie?}
message Hit_enter_to_continue {Nacisnij enter aby kontynuowac}
message Choose_your_installation {Wybierz swoja instalacje}
message Standard {Standardowa}
message Use_Existing {Istniejaca}
message Choose_your_size_specifier {Wybierz specyfikator rozmiaru}
message Megabytes {Megabajty}
message Cylinders {Cylindry}
message Sectors {Sektory}
message Select_medium {Wybierz medium}
message ftp {ftp}
message nfs {nfs}
message cdrom {cdrom}
message floppy {dyskietka}
message unmounted_fs {niezamontowany SP}
message local_dir {lokalny katalog}
message Select_your_distribution {Wybierz swoja dystrybucje}
message Full_installation {Pelna instalacja}
message Custom_installation {Inna instalacja}
message Change {Zmien}
message hidden {** hidden **} /* XXX translate */
message Host {Host}
message Directory {Katalog}
message User {Uzytkownik}
message Password {Haslo}
message Proxy {Proxy}
message ftp_proxy {ftp_proxy}
message Get_Distribution {Sciagnij Dystrybucje}
message Continue {Kontynuuj}
message What_do_you_want_to_do {Co chcesz zrobic?}
message Try_again {Sprobowac jeszcze raz}
message Give_up {Poddac sie}
message Ignore_continue_anyway {Zignorowac, kontynuowac}
message Set_finished {Set finished} /* XXX translate */
message Abort_install {Przerwac instalacje}
message Password_cipher {Kodowanie hasel}
message DES {DES}
message MD5 {MD5}
message Blowfish_2_7_round {Blowfish 2^7 round}
message do_not_change {nie zmieniaj}
message Device {Urzadzenie}
message File_system {SystemPlikow}
message Change_directory_path {Zmien sciezke katalogu}
message Select_IPv6_DNS_server { Wybierz serwer nazw IPv6}
message other {inny }
message Perform_IPv6_autoconfiguration {Wykonac autokonfiguracje IPv6?}
message Perform_DHCP_autoconfiguration {Wykonac autkonfiguracje DHCP?}
message Root_shell {Root shell} /* XXX translate */
message Select_set_extraction_verbosity {Select set extraction verbosity} /* XXX translate */
message Progress_bar_recommended {Progress bar (recommended)} /* XXX translate */
message Silent {Silent} /* XXX translate */
message Verbose_file_name_listing_slow {Verbose file name listing (slow)} /* XXX translate */
.if AOUT2ELF
message aoutfail
{Katalog do ktorego stare a.out wspoldzielone biblioteki powinny byc

View File

@ -1,4 +1,4 @@
/* $NetBSD: util.c,v 1.99 2003/06/16 19:42:14 dsl Exp $ */
/* $NetBSD: util.c,v 1.100 2003/06/27 13:36:06 dsl Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@ -530,11 +530,11 @@ set_selected_sets(menudesc *menu, void *arg)
unsigned int set;
if (yes == NULL) {
yes = msg_string(MSG_yes);
no = msg_string(MSG_no);
all = msg_string(MSG_all);
some = msg_string(MSG_some);
none = msg_string(MSG_none);
yes = msg_string(MSG_Yes);
no = msg_string(MSG_No);
all = msg_string(MSG_All);
some = msg_string(MSG_Some);
none = msg_string(MSG_None);
}
msg_display(MSG_cur_distsets);