NetBSD/usr.sbin/sysinst/msg.pm.fr

167 lines
7.0 KiB
Plaintext
Raw Normal View History

/* $NetBSD: msg.pm.fr,v 1.4 2020/11/05 11:10:11 martin Exp $ */
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions. Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART. Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage: - partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme". - implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon) - partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions". - all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific) Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release. This work was sponsored by The NetBSD Foundation, Inc.
2019-06-12 09:20:17 +03:00
/*
* 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. 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.
*
*/
/* extended partition manager message catalog -- French, machine independent */
message fillzeros {Remplir de z<>ros}
message fillrandom {Remplissez par des donn<6E>es al<61>atoires}
message raid0 {0 - Pas de parit<69>, l'entrelacement seulement simple.}
message raid1 {1 - Mirroring. La parit<69> est le miroir.}
message raid4 {4 - Entrelacement avec parit<69> stock<63>es sur le dernier composant. component.}
message raid5 {5 - Entrelacement avec parit<69> <20> tous les composants. components.}
message wannaunblock {L'appareil est bloqu<71>. Voulez-vous forcer le d<>bloquer et continuer? unblock it and continue?}
message wannatry {Voulez-vous essayer?}
message create_cgd {Le volume cryptographique Cr<43>er (CGD)}
message create_vnd {Cr<43>er une image de disque virtuel (VND)}
Rework internal data structures and "interfaces to user interface" functions to get rid of all disklabel assumptions. Previously (even for GPT partitioning) struct disklabel was used, which obviously breaks large disk setups. Also many MD parts and parts of the user interface assumed (a) a struct disklabel is used internally to store partitioning information and (b) partitions are named 'a' ... $MAXPART. Get rid of this and replace it with a quite abstract interface that should be able to deal with all variants in partition storage: - partitions are stored in a (partly abstract) struct disk_partitions and most parts of it are only accessed via accessor functions provided by a "partitioning scheme". - implement partitioning schemes for MBR, disklabel and GPT (with likely RDB [amiga] and Apple Partition Map [mac*] to follow soon) - partitioning schemes may be cascaded, e.g. on x86 when using MBR as "outer partitions", we have disklabel as "inner partitions". - all user interface goes via accessor functions in the partitioning scheme, some of which return pointers to special user interface descriptors (e.g. to allow editing partition flags, which are scheme specific) Overall the user interface changes (in this initial step) are minimal but noticable. A new Anita is needed for automatic test setups - many thanks to Andreas Gustafsson for lots of early testing and a new Anita version, and to Manuel Bouyer for cooperation and tests of the Anita release. This work was sponsored by The NetBSD Foundation, Inc.
2019-06-12 09:20:17 +03:00
message create_vg {Cr<43>er un groupe de volumes LVM (VG)}
message create_lv {Cr<43>er un volume logique}
message create_raid {Cr<43>er un RAID logiciel}
message updpmlist {Mettre <20> jour la liste des dispositifs}
message savepm {Enregistrer les modifications}
message pmblocked {BLOQUE}
message pmunchanged {INCHANG<4E>}
message pmused {UTILIS<49>}
message pmmounted {(mont<6E>)}
message pmunused {(non utilis<69>)}
message pmgptdisk {Disque avec GPT}
message finishpm {Terminer le partitionnement}
message limitcount {Limite pour le nombre de dispositifs a <20>t<EFBFBD> atteint!}
message invaliddev {Blancs appareil!}
message avdisks {Disques disponibles:}
message nofreedev {Impossible d'allouer noeud de p<>riph<70>rique!}
message partman_header
{Gestionnaire de partition. Tous les disques, les partitions et etc affich<63>.
Si vous souhaitez utiliser RAID, LVM ou DMC, proc<6F>dez comme suit:
1) Cr<43>er les partitions de type de besoin; 2) Cr<43>er un syst<73>me RAID /
LVM VG / DMC utilisation de ces partitions; 3) la sauver;
4) Cr<43>er des partitions pour les volumes RAID / DMC ou logique par LVM.}
/* used to form strings like: "vnd0 on /var/tmp/disk1.img" */
message pm_menu_on {sur}
/* Called with: Example
* $0 = device name raid0
* $1 = raid level 1
*/
message raid_menufmt {$0 (niveau $1)}
message raid_err_menufmt {RAID VIDE!}
message raid_disks_fmt {Disques}
message raid_spares_fmt {Pi<50>ces de rechange}
message raid_level_fmt {Niveau RAID}
message raid_numrow_fmt {numRow}
message raid_numcol_fmt {numCol}
message raid_numspare_fmt {numSpare}
message raid_sectpersu_fmt {sectPerSU}
message raid_superpar_fmt {SUsPerParityUnit}
message raid_superrec_fmt {SUsPerReconUnit}
message raid_nomultidim {Tableaux multi-dimensionnels sont pas pris en charge!}
message raid_numrow_ask {numRow?}
message raid_numcol_ask {numCol?}
message raid_numspare_ask {numSpare?}
message raid_sectpersu_ask {sectPerSU?}
message raid_superpar_ask {SUsPerParityUnit?}
message raid_superrec_ask {SUsPerReconUnit?}
message raid_disks {Disques en RAID}
message vnd_err_menufmt {PATH NOT DEFINED!}
message vnd_assign {ASSIGN}
message vnd_path_fmt {Chemin du fichier}
message vnd_assign_fmt {Create new image}
message vnd_size_fmt {Taille}
message vnd_ro_fmt {Read-only}
message vnd_geom_fmt {D<>finir la g<>om<6F>trie <20> la main}
message vnd_bps_fmt {Octets par secteur}
message vnd_spt_fmt {Secteurs par piste}
message vnd_tpc_fmt {Pistes par cylindre}
message vnd_cyl_fmt {Cylindres}
message vnd_path_ask {Chemin du fichier?}
message vnd_size_ask {Taille (MB)?}
message vnd_bps_ask {Octets par secteur?}
message vnd_spt_ask {Secteurs par piste?}
message vnd_tpc_ask {Pistes par cylindre?}
message vnd_cyl_ask {Cylindres}
message cgd_err_menufmt {DISQUE NON DEFINI!}
message cgd_dev_fmt {Dispositif de base}
message cgd_enc_fmt {Chiffrage}
message cgd_key_fmt {Taille de la cl<63>}
message cgd_iv_fmt {Algorithme IV}
message cgd_keygen_fmt {La g<>n<EFBFBD>ration des cl<63>s}
message cgd_verif_fmt {M<>thode de v<>rification}
message lvm_disks {Disques <20> VG}
message lvm_err_menufmt {VIDER VG!}
message lvm_disks_fmt {PV's}
message lvm_name_fmt {Nom}
message lvm_maxlv_fmt {MaxLogicalVolumes}
message lvm_maxpv_fmt {MaxPhysicalVolumes}
message lvm_extsiz_fmt {PhysicalExtentSize}
message lvm_name_ask {Nom?}
message lvm_maxlv_ask {MaxLogicalVolumes?}
message lvm_maxpv_ask {MaxPhysicalVolumes?}
message lvm_extsiz_ask {PhysicalExtentSize (MB)?}
message lvmlv_menufmt {Logique volume}
message lvmlv_name_fmt {Nom}
message lvmlv_size_fmt {Taille}
message lvmlv_ro_fmt {Read-only}
message lvmlv_cont_fmt {Contigu<67>}
message lvmlv_extnum_fmt {LogicalExtentsNumber}
message lvmlv_minor_fmt {Nombre mineur}
message lvmlv_mirrors_fmt {Miroirs}
message lvmlv_regsiz_fmt {MirrorLogRegionSize}
message lvmlv_pers_fmt {Persistante num<75>ro mineur}
message lvmlv_readahsect_fmt {ReadAheadSectors}
message lvmlv_stripes_fmt {Rayures}
message lvmlv_stripesiz_fmt {Stripesize}
message lvmlv_zero_fmt {Remise <20> z<>ro de la KB d'abord}
message lvmlv_name_ask {Nom?}
message lvmlv_size_ask {Taille (MB)?}
message lvmlv_extnum_ask {LogicalExtentsNumber?}
message lvmlv_minor_ask {Num<75>ro mineur?}
message lvmlv_mirrors_ask {Miroirs?}
message lvmlv_regsiz_ask {MirrorLogRegionSize?}
message lvmlv_readahsect_ask {ReadAheadSectors?}
message lvmlv_stripes_ask {Stripes?}
message notsupported {Le fonctionnement n'est pas pris en charge!}
message edit_parts {Modifier les partitions}
message switch_parts {Switch partitioning scheme}
message fmtasraid {Format en RAID}
message fmtaslvm {Format de LVM PV}
message encrypt {Crypter (CGD)}
message erase {Fonction d'effacement s<>curis<69>}
message undo {Annuler les changements}
message unconfig {Annulation de la configuration}
message edit {<7B>diter}
message doumount {Groupe umount}