From 9f585e49aebe5b8542d392ddcfc5d3e38fb7e7d5 Mon Sep 17 00:00:00 2001 From: beliy Date: Fri, 18 Jun 2021 01:21:20 +0300 Subject: [PATCH] removing unnecessary spaces --- LICENSE | 1 - Makefile | 10 +- README.md | 4 +- bin/check-translate.in | 2 +- data/package-lists/input-drivers | 2 +- data/translations/danish.trans | 12 +-- data/translations/dutch.trans | 6 +- data/translations/english.trans | 8 +- data/translations/french.trans | 30 +++--- data/translations/german.trans | 12 +-- data/translations/hungarian.trans | 74 ++++++------- data/translations/italian.trans | 160 ++++++++++++++--------------- data/translations/polish.trans | 4 +- data/translations/portuguese.trans | 14 +-- data/translations/spanish.trans | 14 +-- data/translations/turkish.trans | 8 +- data/translations/ukrainian.trans | 4 +- lib/util-base.sh | 106 +++++++++---------- lib/util-config.sh | 14 +-- lib/util-desktop.sh | 60 +++++------ lib/util-menu.sh | 4 +- 21 files changed, 274 insertions(+), 275 deletions(-) diff --git a/LICENSE b/LICENSE index d6a9326..d7f1051 100644 --- a/LICENSE +++ b/LICENSE @@ -337,4 +337,3 @@ proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. - diff --git a/Makefile b/Makefile index 2096ad6..d205ced 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ LISTS = \ data/package-lists/base-openrc-manjaro \ data/package-lists/base-systemd-manjaro \ data/package-lists/input-drivers - + LANG = \ data/translations/danish.trans \ data/translations/dutch.trans \ @@ -80,19 +80,19 @@ install: install -dm0755 $(DESTDIR)$(PREFIX)$(DATADIR)/package-lists install -m0644 ${LISTS} $(DESTDIR)$(PREFIX)$(DATADIR)/package-lists - + install -dm0755 $(DESTDIR)$(PREFIX)$(DATADIR)/translations install -m0644 ${LANG} $(DESTDIR)$(PREFIX)$(DATADIR)/translations install -dm0755 $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps install -m0644 ${ICONS} $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps - + install -dm0755 $(DESTDIR)$(PREFIX)/share/applications install -m0644 ${LAUNCHER} $(DESTDIR)$(PREFIX)/share/applications - + install -dm0755 $(DESTDIR)$(PREFIX)$(DATADIR) install -m0644 ${DIALOGRC} $(DESTDIR)$(PREFIX)$(DATADIR) - + install -dm0755 $(DESTDIR)/etc/skel/.config/autostart install -m0644 ${LIVE} $(DESTDIR)/etc/skel/.config/autostart diff --git a/README.md b/README.md index 726eead..ed2cabd 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # manjaro-architect CLI net-installer for Manjarolinux, forked from Carl Duff's Architect -This installer provides netinstallation for different manjaro editions. It sources the iso-profiles git repo, so it should be always up to date. +This installer provides netinstallation for different manjaro editions. It sources the iso-profiles git repo, so it should be always up to date. **menu overview of v0.9.10:** @@ -12,7 +12,7 @@ Main Menu | ├── Set Virtual Console | ├── List Devices | ├── Partition Disk -| ├── RAID +| ├── RAID | ├── LUKS Encryption | ├── Logical Volume Management | ├── Mount Partitions diff --git a/bin/check-translate.in b/bin/check-translate.in index f5e7169..6a4d9eb 100755 --- a/bin/check-translate.in +++ b/bin/check-translate.in @@ -23,4 +23,4 @@ for lg in ../data/translations/*.trans ; do done done -#echo -e "${fns[*]}" \ No newline at end of file +#echo -e "${fns[*]}" diff --git a/data/package-lists/input-drivers b/data/package-lists/input-drivers index 02dd574..b3838e3 100644 --- a/data/package-lists/input-drivers +++ b/data/package-lists/input-drivers @@ -1,4 +1,4 @@ xf86-input-elographics xf86-input-evdev xf86-input-libinput -xf86-input-void \ No newline at end of file +xf86-input-void diff --git a/data/translations/danish.trans b/data/translations/danish.trans index 93a6b45..2dbb6d3 100644 --- a/data/translations/danish.trans +++ b/data/translations/danish.trans @@ -1,6 +1,6 @@ ## -## -## Danish Translation File +## +## Danish Translation File ## Translated by Frede Hundewadt (26-Apr-2016) ## Revised by Frede Hundewadt (21-Feb-2017) ## Revised by Frede Hundewadt (21-July-2017) @@ -249,7 +249,7 @@ _NUsrErrTitle="Fejl ved Brugernavn" _NUsrErrBody="Et ugyldig brugernavn er indtastet.\n Indtast et andet navn." # Set User -_PassNUsrBody="Indtast adgangskode for" +_PassNUsrBody="Indtast adgangskode for" _NUsrSetBody="Opretter bruger og tilknytter grupper..." _DefShell="Vælg det ønskede skal program." @@ -494,7 +494,7 @@ _UserCheck="Bruger konto er ikke oprettet" # Close Installer _CloseInstBody="Afslut installation?" -_LogInfo="Vil du gemme installations-loggen på det installerede system?\nDen vil blive kopieret til" +_LogInfo="Vil du gemme installations-loggen på det installerede system?\nDen vil blive kopieret til" # Chroot _ChrootReturn="\nDu vil nu chroot'e ind i det installerede system. Du kan ændre og tilpasse det næsten som det var startede system.\n\nTast \"exit\" for at afslutte chroot og \"fg\" for at komme tilbage til installation.\n " @@ -529,8 +529,8 @@ _RmPkgsMsg="Search packages by typing their name. Press tab to select multiple packages" # translate me ! _RmPkgsPrmpt="Pakke som skal fjernes" _AddPkgsPrmpt="Pakke" -_AddPkgs="Choose any extra packages you would like to add. -Search packages by typing their name. +_AddPkgs="Choose any extra packages you would like to add. +Search packages by typing their name. Press tab to select multiple packages and proceed with Enter." # translate me ! #Extra diff --git a/data/translations/dutch.trans b/data/translations/dutch.trans index ab86e57..4319788 100644 --- a/data/translations/dutch.trans +++ b/data/translations/dutch.trans @@ -522,12 +522,12 @@ _MMNewBody="Nadat de partities zijn geselecteerd in de voorbereiding menu, selec _SysRescTitle="System Rescue" # translate me ! _SysRescBody="This menu is collection of tools to help restore broken system to full functionality." # translate me ! _RmPkgs="Remove packages" # translate me ! -_RmPkgsMsg="Search packages by typing their name. +_RmPkgsMsg="Search packages by typing their name. Press tab to select multiple packages" # translate me ! _RmPkgsPrmpt="Package to remove" # translate me ! _AddPkgsPrmpt="Package" # translate me ! -_AddPkgs="Choose any extra packages you would like to add. -Search packages by typing their name. +_AddPkgs="Choose any extra packages you would like to add. +Search packages by typing their name. Press tab to select multiple packages and proceed with Enter." # translate me ! #Extra diff --git a/data/translations/english.trans b/data/translations/english.trans index af7fb79..f64b7c0 100644 --- a/data/translations/english.trans +++ b/data/translations/english.trans @@ -1,7 +1,7 @@ ## -## -## English Translation File -## +## +## English Translation File +## ## ## Written by Carl Duff (15-Feb-2016) ## @@ -246,7 +246,7 @@ _NUsrErrTitle="User Name Error" _NUsrErrBody="An incorrect user name was entered. Please try again." # Set User -_PassNUsrBody="Enter password for" +_PassNUsrBody="Enter password for" _NUsrSetBody="Creating User and setting groups..." _DefShell="Choose the default shell." diff --git a/data/translations/french.trans b/data/translations/french.trans index f4c03a6..626b25c 100644 --- a/data/translations/french.trans +++ b/data/translations/french.trans @@ -1,7 +1,7 @@ ## -## -## French Translation File (Architect 2.0) -## +## +## French Translation File (Architect 2.0) +## ## ## Écrit par Carl Duff (27-02-2016) ## @@ -53,7 +53,7 @@ _btrfsMSubBody2="seront raccordés à partir de celui-ci." _btrfsSVErrBody="Les blancs ou espaces ne sont pas permis. Veuillez réessayer." _btrfsSVBody1="Entrer le nom du sous-volume" _btrfsSVBody2="à créer dans" -_btrfsSVBody3="Ce processus sera répété jusqu'à ce qu'un astérisque (*) soit entré comme nom de sous-volume.\n\nSous-volumes Créés :" +_btrfsSVBody3="Ce processus sera répété jusqu'à ce qu'un astérisque (*) soit entré comme nom de sous-volume.\n\nSous-volumes Créés :" _btrfsMntBody="Utiliser [Espace] pour sélectionner/désélectionner les options de montage désirées. Veuillez ne pas sélectionner plusieurs versions de la même option." _btrfsMntConfBody="Confirmer les options de montage suivantes :" @@ -127,10 +127,10 @@ _SeeConfErrBody="Le fichier n'existe pas." # Pacman _PrepPacKey="Actualiser les clés de Pacman" -# Cryptage / DM-Crypt / LUKS +# Cryptage / DM-Crypt / LUKS _PrepLUKS="Cryptage LUKS (optionnel)" _LuksMenuBody="Les volumes et périphériques cryptés utilisant dm_crypt ne peuvent pas être accessibles ou visibles sans être débloqués par une clé de chiffrement ou un mot de passe." -_LuksMenuBody2="Une partition de démarrage (boot) séparée sans cryptage ou un gestionnaire de volume logique (LVM - sauf si vous utilisez BIOS Grub) est nécessaire." +_LuksMenuBody2="Une partition de démarrage (boot) séparée sans cryptage ou un gestionnaire de volume logique (LVM - sauf si vous utilisez BIOS Grub) est nécessaire." _LuksMenuBody3="L'option automatique utilise les paramètres d'encryptage par défaut, et elle est recommandé pour les débutants. Toutefois, il est possible de préciser manuellement les paramètres de chiffrement ainsi que la longueur de clé." _LuksOpen="Ouvrir une partition cryptée" _LuksErr="Pas de partition LUKS-chiffrée trouvée." @@ -172,7 +172,7 @@ _LvmLvSizeBody1="restant" _LvmLvSizeBody2="Entrer la taille du volume logique (LV) en Mégaoctets (M) ou en Gigaoctets (G). Par exemple, 100M créera un VL de 100 Mégaoctets. 10G créera un VL de 10 Gigaoctets." _LvmLvSizeErrBody="Valeur entrée incorrecte. Une valeur numérique doit être entrée avec un « M » (Mégaoctets) ou un « G » (Gigaoctets) à la fin.\n\nLes exemples incluent, 100M, 10G, ou 250M. De plus, la valeur ne doit pas être égale ou supérieure à la taille restante du VG." _LvmCompBody="Terminé ! Tous les volumes logiques ont été créés pour le groupe de volume.\n\nSouhaitez-vous voir le nouveau schéma du LVM ?" -_LvmDelQ="Confirmer la suppression des volumes logiques et des groupes de volume.\n\nSi vous supprimez un groupe de volume, tous les volumes logiques contenus à l'intérieur seront également supprimés." +_LvmDelQ="Confirmer la suppression des volumes logiques et des groupes de volume.\n\nSi vous supprimez un groupe de volume, tous les volumes logiques contenus à l'intérieur seront également supprimés." _LvmSelVGBody="Sélectionner un groupe de volume à supprimer. Tous les volumes logiques contenus à l'intérieur seront également supprimés." _LvmVGErr="Aucuns groupes de volume trouvés." @@ -232,7 +232,7 @@ _FstabErr="L'option PARTUUID est uniquement conçue pour les installations UEFI/ _FstabDevName="Nom du périphérique" _FstabDevLabel="Étiquette du périphérique" _FstabDevUUID="UUID du périphérique" -_FstabDevPtUUID="UUID de la section UEFI" +_FstabDevPtUUID="UUID de la section UEFI" # Définir le nom d'hôte _HostNameBody="Le nom d'hôte est utilisé pour identifier le système sur un réseau.\n\nIl est limité aux caractères alphanumériques, peut contenir un trait d'union (-) - mais pas au début ni à la fin - et ne doit pas être plus long que 63 caractères." @@ -250,7 +250,7 @@ _NUsrErrTitle="Erreur de nom utilisateur" _NUsrErrBody="Nom d'utilisateur incorrect. Veuillez réessayer." # Définir l'utilisateur -_PassNUsrBody="Entrer le mot de passe pour" +_PassNUsrBody="Entrer le mot de passe pour" _NUsrSetBody="Création de l'utilisateur et paramétrage des groupes..." _DefShell="Choisir celui par défaut." @@ -297,7 +297,7 @@ _SelUefiBody="Sélectionner une partition UEFI. C'est une partition spéciale pe # Formater UEFI _FormUefiBody="La partition UEFI" -_FormUefiBody2="a déjà été formatée.\n\nLa reformater ? Ceci effacera TOUTES les données déjà présentes sur la partition." +_FormUefiBody2="a déjà été formatée.\n\nLa reformater ? Ceci effacera TOUTES les données déjà présentes sur la partition." # Point de montage UEFI _MntUefiBody="Select UEFI Mountpoint.\n\n @@ -379,7 +379,7 @@ _InstComBody="Certains environnements nécessitent des paquets additionnels pour # Gestionnaire d'affichage _DmChTitle="Installer le gestionnaire d'affichage" -_DmChBody="gdm référence Gnome-shell comme une dépendance. sddm est recommandé pour plasma. lightdm inclut lightdm-gtk-greeter. slim n'est plus maintenu." +_DmChBody="gdm référence Gnome-shell comme une dépendance. sddm est recommandé pour plasma. lightdm inclut lightdm-gtk-greeter. slim n'est plus maintenu." _DmDoneBody="Le gestionnaire d'affichage a été installé et activé." # Gestionnaire de réseau @@ -391,7 +391,7 @@ _InstNMErrBody="Le gestionnaire de connexion réseau a été installé et activ _WelTitle="Bienvenue dans" _WelBody="Cet installateur va télécharger les derniers paquets provenant des dépôts Manjaro. Seule la configuration minimale nécessaire sera téléchargée.\n\nOPTIONS du MENU : Sélectionner en appuyant sur le numéro de l'option, ou en utilisant les flèches haut/bas avant d'appuyer sur [entrée] pour confirmer. Basculer entre les boutons en utilisant [Tab] ou les flèches gauche/droite avant d'appuyer sur [entrée] pour confirmer.\n\nNaviguer dans la liste en utilisant les touches [page suivante] et [page précédente], et/ou en appuyant sur la première lettre de l'option souhaitée.\n\nOPTIONS & CONFIGURATION DES PAQUETS : Les paquets par défaut dans les listes vont être pré-vérifiés. Utiliser la [barre espace] pour sélectionner/désélectionner." -# Menu de Préparation +# Menu de Préparation _PrepMenuTitle="Préparer l'installation" _PrepMenuBody="L'agencement du clavier sera utilisé pour l'installateur et pour le système installé." _PrepKBLayout="Configurer l'agencement du clavier" @@ -467,7 +467,7 @@ _InstCupsQ="Activer org.cups.cupsd.service dans le système installé ?" # Menu d'installation du support multimédia _InstMultMenuTitle="Installer le support multimédia" -_InstMultMenuBody="Les paquets d'accessibilité assistent les personnes souffrant de handicaps visuels et/ou auditifs. L'option de paquets personnalisés permet aux paquets définis par l'utilisateur d'être installés." +_InstMultMenuBody="Les paquets d'accessibilité assistent les personnes souffrant de handicaps visuels et/ou auditifs. L'option de paquets personnalisés permet aux paquets définis par l'utilisateur d'être installés." _InstMulSnd="Installer le(s) pilote(s) audio" _InstMulSndBody="ALSA fournit le noyau gérant les pilotes de carte son. PulseAudio sert de proxy à ALSA." _InstMulCodec="Installer des codecs" @@ -496,7 +496,7 @@ _UserCheck="Aucun compte utilisateur de créé" # Fermer l'installateur _CloseInstBody="Fermer l'installateur ?" -_LogInfo="Désirez-vous copier le journal d'installation sur le système installé ?\nIl sera copié dans" +_LogInfo="Désirez-vous copier le journal d'installation sur le système installé ?\nIl sera copié dans" # Chroot _ChrootReturn="\nVous allez maintenant entrer en chroot dans votre système installé. Vous pouvez faire des changements comme si vous étiez dans le système installé.\n\nTapez \"exit\" pour sortir du chroot et \"fg\" retourner vers l’installateur.\n " @@ -526,7 +526,7 @@ _MMNewBody="Après avoir sélectionné les partitions dans la section préparati _SysRescTitle="Récupération système" _SysRescBody="Ce menu contient une série d'outils pour réparer un système cassé." _RmPkgs="Désinstaller des paquets" -_RmPkgsMsg="Recherchez les paquets par leur nom. +_RmPkgsMsg="Recherchez les paquets par leur nom. Appuyez sur Tab pour sélectionner plusieurs paquets" _RmPkgsPrmpt="Paquets à désinstaller" _AddPkgsPrmpt="Paquet" diff --git a/data/translations/german.trans b/data/translations/german.trans index 85884a6..bd578c4 100644 --- a/data/translations/german.trans +++ b/data/translations/german.trans @@ -1,7 +1,7 @@ ## -## -## German Translation File -## +## +## German Translation File +## ## Übersetzung: @eugen-b, @oberon ## ## @@ -246,7 +246,7 @@ _NUsrErrTitle="Fehler im Benutzernamen" _NUsrErrBody="Ein inkorrekter Benutzername wurde eingegeben. Bitte erneut versuchen." # Set User -_PassNUsrBody="Passwort eingeben für" +_PassNUsrBody="Passwort eingeben für" _NUsrSetBody="Lege Benutzer an und setze Gruppen..." _DefShell="Wähle Standard." @@ -452,7 +452,7 @@ _InfoNWKernel="Unterstützung für die Netzwerkkarte ist im Kernel eingebaut\nKe _InstNMMenuBody="Für Netzwerk- und Wireless-Geräte sind möglicherweise zusätzliche Pakete erforderlich. Einige drahtlose Geräte benötigen möglicherweise auch zusätzliche Firmware, um zu funktionieren." _InstNMMenuPkg="Installiere Wireless Treiber Pakete" _InstNMMenuNM="Install Network Connection Manager" # translate me ! -_InstNMMenuCups="CUPS / Drucker-Pakete installieren" +_InstNMMenuCups="CUPS / Drucker-Pakete installieren" _InstNMMenuPkgBody="Key wifi packages will be pre-checked if a wireless device was detected. If unsure about additional firmware, all packages can be installed." # translate me ! _SeeWirelessDev="Drahtloses Gerät anzeigen (optional)" _WirelessShowTitle="Drahtloses Gerät" @@ -508,7 +508,7 @@ _SystdBReady="Systemd-boot wurde installiert" _InstCrMenuTitle="CLI System installieren" _InstCrMenuBody="Dies installiert ein Manjaro-Basissystem ohne grafische Oberfläche. Schritte 1-3 sind für ein funktionierendes System erforderlich, der Rest optional." _InstDsMenuTitle="Desktop-System installieren" -_InstDsMenuBody="Dies installiert eine vollständige Manjaro Edition mit grafischer Oberfläche. Schritte 1-3 +_InstDsMenuBody="Dies installiert eine vollständige Manjaro Edition mit grafischer Oberfläche. Schritte 1-3 Dies installiert die vollständige Manjaro-Edition mit grafischer Desktop-Umgebung. sind für ein funktionierendes System erforderlich, der Rest optional." _InstCsMenuTitle="Individuelles System installieren" _InstCsMenuBody="Dies installiert ein Manjaro-Basissystem ohne grafische Oberfläche. Schritte 1-4 sind für ein funktionierendes System erforderlich, der Rest optional." diff --git a/data/translations/hungarian.trans b/data/translations/hungarian.trans index 5960d35..42a95f8 100644 --- a/data/translations/hungarian.trans +++ b/data/translations/hungarian.trans @@ -1,7 +1,7 @@ ## -## -## Angol nyelvi fájl \(Architect 2.0\) -## +## +## Angol nyelvi fájl \(Architect 2.0\) +## ## ## Írta Carl Duff \(27-Feb-2016\) ## @@ -21,13 +21,13 @@ _PassErrBody="A megadott jelszavak nem egyeznek. Kérlek próbáld újra." # Alap beállítások _SelLang="Válassz nyelvet" _Lang="Nyelv" -_Keep="Megtartom." -_Change="Másikat választok." +_Keep="Megtartom." +_Change="Másikat választok." _NoCon="Nincs internetkapcsolat." _EstCon="Akarsz internetkapcsolatot létesíteni?" _Config="Beállítás" -_ApplySet="Nyelvi beállítások alkalmazása ..." -_ChMenu="Menüválasztás" +_ApplySet="Nyelvi beállítások alkalmazása ..." +_ChMenu="Menüválasztás" _ChMenuBody="Az alap menü végigvezet az elő-konfigurált Manjaro asztali környezet telepítésén. \n\nA haladó menüvel konfigurálatlan asztali környezetet és fejlesztői Manjaro profilokat tudsz telepíteni. Valamint itt tudsz telepíteni további hálózati és multimédia alkalmazásokat, valamint elvégezni néhány rendszer- és biztonsági beállítást." # Biztonsági és rendszerbeállítások @@ -130,7 +130,7 @@ _LuksMenuBody="Titkosítás dm-crypt-el. A titkosított eszközök és kötetek _LuksMenuBody2="Szükség van egy különálló, titkosítatlan, és logikai kötetkezelő nélküli (hacsak nem BIOS Grub-ot használsz) rendszertöltő (boot)partícióra is." _LuksMenuBody3="Az automatikus opció az alapértelmezett titkosítási beállításokat használja, a kezdők számára ez ajánlott. De lehetőség van a rejtjel és a kulcsméret paramétereinek kézi megadására is." _LuksOpen="Titkosított partíció megnyitása" -_LuksErr="Nem található LUKS-titkosított partíció." +_LuksErr="Nem található LUKS-titkosított partíció." _LuksOpenBody="Adj egy nevet a titkosított eszköznek. Nem szükséges a /dev/mapper előtaggal ellátni. Egy példa meg van adva: " _LuksEncrypt="Automatikus LUKS titkosítás" _LuksEncryptAdv="Határozd meg a kulcs méretét és a rejtjelezés típusát" @@ -160,7 +160,7 @@ _LvmPvConfBody2="a következő partíciókkal:" _LvmPvActBody1="Kötetcsoport elkészítése és aktiválása" _LvmPvDoneBody1="A " _LvmPvDoneBody2="kötetcsoport létrehozva" -_LvmLvNumBody1="Add meg a kötetcsoportban létrehozandó logikai kötetek számát." +_LvmLvNumBody1="Add meg a kötetcsoportban létrehozandó logikai kötetek számát." _LvmLvNumBody2="Az utolsó (vagy egyetlen) logikai kötet automatikusan felhasználja a kötetcsoportban fennmaradó összes helyet." _LvmLvNameBody1="Írd be a létrehozandó logikai kötet nevét.\n\nEz hasonló ahhoz, mikor mikor egy partíciónak nevet/címkét adunk." _LvmLvNameBody2="MEGJEGYZÉS: Ez a logikai kötet automatikusan használatba veszi a kötetcsoportban fennmaradó összes helyet." @@ -205,7 +205,7 @@ _MIrrorPacQ="Használni akarod a szerkesztett pacman konfigurációt a telepíte # Virtuális konzol billentyűzetkiosztásának beállítása (vconsole) _VCKeymapTitle="Virtuális konzol beállítása" -_DefKeymap="A választott nyelvhez az alapértelmezett billentyűkiosztás a következő:" +_DefKeymap="A választott nyelvhez az alapértelmezett billentyűkiosztás a következő:" _VCKeymapBody="A virtuális konzol egy nem grafikus környezetben futó shell prompt. A billentyűzetkiosztása független az asztali környezettől." # Asztali környezet billentyűzetkioszásának beállítása (Xkbmap) @@ -247,7 +247,7 @@ _NUsrErrTitle="Felhasználónév hiba" _NUsrErrBody="Helytelen felhasználónevet adtál meg. Kérlek próbáld újra." # A felhasználó beállítása -_PassNUsrBody="Add meg a felhasználó jelszavát:" +_PassNUsrBody="Add meg a felhasználó jelszavát:" _NUsrSetBody="Felhasználó létrehozása és csoportok beállítása..." _DefShell="Válaszd ki az alapértelmezett shell-t." @@ -276,7 +276,7 @@ _PartErrBody="A BIOS rendszereknél minimum egy partíció szükséges (gyökér # Fájlrendszer _FSTitle="Válassz fájlrendszert" _FSBody="Ext4 az ajánlott. Nem minden fájlrendszer alkalmas gyökér vagy rendszertöltő partíció számára. Minden fájlrendszernek megvannak a maga sajátságai és korlátai" -_FSSkip="Ne legyen formázás" +_FSSkip="Ne legyen formázás" _FSMount="Csatolás" _FSWarn1="Az összes adat a" _FSWarn2="partíción el fog veszni" @@ -314,7 +314,7 @@ _ExtPartBody1="Adj meg partíció csatolási pontot. Figyelj arra, hogy a név p _ExtErrBody="A partíció nem csatolható a csatolási pont nevének hibája miatt. A nevet per jel után add meg." # Alaprendszer telepítése -_WarnInstBase="A Manjaro alaprendszer már telepítve van ezen a partíción. \nBiztos, hogy folytatni akarod?" +_WarnInstBase="A Manjaro alaprendszer már telepítve van ezen a partíción. \nBiztos, hogy folytatni akarod?" _InstBseTitle="Alaprendszer telepítése" _InstFail="A telepítés nem sikerült!" _InstBseBody="Normál: a kezdőknek ajánlott. Válassz maximum két kernelt (linux és linux-lts). A base-devel csomagcsoport opcionális. A sudo, btrfs-progs és f2fs-tools csomagok is telepítve lesznek.\n\nHaladó: Válassz ki legfeljebb négy kernelt (linux, lts, grsec, zen) és egyedi base és base-devel csomagokat. A grsec és zen kerneleknél további konfigurációra lehet szükség a Virtualbox és NVIDIA használatához.\n\nMegjegyzés: Ha nincs még kernel telepítve, akkor legalább egy kernelt választanod kell." @@ -323,11 +323,11 @@ _InstStandBase="Normál telepítés" _InstAdvBase="Haladó telepítés" _InstAdvBseBody="FIGYELEM: Ez csak tapasztalt felhasználók részére ajánlott. Kezdő felhasználók használják a normál telepítési módot." _InstAdvWait="Csomagleírók összegyűjtése" -_InstGrub="Grub (rendszertöltő) telepítése" +_InstGrub="Grub (rendszertöltő) telepítése" # BIOS rendszertöltő telepítése _InstBiosBtTitle="BIOS rendszertöltő telepítése" -_InstGrubBody="A következőben kiválasztható, hogy a Grub mely eszközre/partícióra legyen telepítve.\n\n Az os-prober szükséges ahhoz, hogy a Grub automatikusan felismerje a már telepített operációs rendszereket." +_InstGrubBody="A következőben kiválasztható, hogy a Grub mely eszközre/partícióra legyen telepítve.\n\n Az os-prober szükséges ahhoz, hogy a Grub automatikusan felismerje a már telepített operációs rendszereket." _InstBiosBtBody="A kezdők számára a Grub ajánlott. A telepítési eszköz is kiválasztható.\n\nA syslinux egy egyszerűbb és kevésbe erőforrás-igényes megoldás, de csak ext vagy btrfs fájlrendszereknél használható." _InstSysTitle="Syslinux telepítése" _InstSysBody="A Master Boot Record-ba (MBR) vagy a Gyökérpartícióra (/) akarod a syslinux-ot telepíteni?" @@ -398,21 +398,21 @@ _PrepMntPart="Partíciók csatolása" _Back="Vissza" # Alaptelepítés menü -_PkgList="Csomaglista feldolgozása" +_PkgList="Csomaglista feldolgozása" _InstBsMenuTitle="Alaprendszer telepítése" -_InstBseMenuBody="A telepítendő csomagok a Manjaro szerverekről lesznek letöltve. Az alapértelmezett ág (branch) a stable (stabil). \n A letöltési sebesség optimalizálásához és branch váltáshoz válaszd a következőt [$_PrepMirror]." +_InstBseMenuBody="A telepítendő csomagok a Manjaro szerverekről lesznek letöltve. Az alapértelmezett ág (branch) a stable (stabil). \n A letöltési sebesség optimalizálásához és branch váltáshoz válaszd a következőt [$_PrepMirror]." _InstBse="Alapcsomagok telepítése" _ChsInit="Válaszd ki az init rendszert" -_Note="Figyelem!" -_WarnOrc="A következő Manjaro profilok nem kompatibilisek az openrc-vel:" +_Note="Figyelem!" +_WarnOrc="A következő Manjaro profilok nem kompatibilisek az openrc-vel:" _ChsAddPkgs="Válassz további kernelmodulokat" _InstBootldr="Rendszertöltő telepítése" -_InstDrvTitle="Hardver illesztőprogramok telepítése" -_InstDrvBody="Egyes hálózati és grafikus kártyákhoz \negyedi illesztőprogramokra lehet szükség. \nAz 1-es és 2-es opció automatikusan kiválasztja az illesztőprogramokat,\n a 3-as és 4-es opcióval te magad válaszhatod ki ezeket." -_InstFree="Szabad felhasználású illesztőprogramok automatikus telepítése." -_InstProp="Jogvédett illesztőprogramok automatikus telepítése." -_SelDDrv="Grafikus illesztőprogram kiválasztása" -_InstAllDrv="Az összes szabad felhasználású illesztőprogram telepítése." +_InstDrvTitle="Hardver illesztőprogramok telepítése" +_InstDrvBody="Egyes hálózati és grafikus kártyákhoz \negyedi illesztőprogramokra lehet szükség. \nAz 1-es és 2-es opció automatikusan kiválasztja az illesztőprogramokat,\n a 3-as és 4-es opcióval te magad válaszhatod ki ezeket." +_InstFree="Szabad felhasználású illesztőprogramok automatikus telepítése." +_InstProp="Jogvédett illesztőprogramok automatikus telepítése." +_SelDDrv="Grafikus illesztőprogram kiválasztása" +_InstAllDrv="Az összes szabad felhasználású illesztőprogram telepítése." # Alapbeállítás menü _ConfBseMenuTitle="Alaprendszer konfigurálása" @@ -423,7 +423,7 @@ _ConfBseTimeHC="Időzóna és óra beállítása" _ConfBseSysLoc="Helyi nyelv beállítása" _ConfBseSysLang="Set System Language" #translate me! _RunMkinit="Mkinitcpio futtatása" -_RunUpGrub="A Grub (rendszertöltő) frissítése" +_RunUpGrub="A Grub (rendszertöltő) frissítése" # Felhasználó menü _ConfUsrRoot="Rendszergazda (root) jelszó beállítása" @@ -442,15 +442,15 @@ _InstDEStable="Manjaro asztali környezet telepítése" _InstDEGit="Manjaro asztali környezet telepítése (fejlesztői profilok)" _InstDE="Konfigurálatlan asztali környezet telepítése" _InstGrDE="Asztali környezet telepítése" -_InstPBody="A telepítő a választott Manjaro változatnak megfelelő csomaglistát és asztalbeállítás-csomagot fog telepíteni." +_InstPBody="A telepítő a választott Manjaro változatnak megfelelő csomaglistát és asztalbeállítás-csomagot fog telepíteni." _InstGrMenuGE="Grafikus környezet telepítése" _InstGrMenuDM="Képernyőkezelő telepítése" # Hálózatok Menü _InstNMMenuTitle="Hálózati eszközkezelő(k) telepítése" -_InstNWDrv="Hálózati eszközkezelők" -_SelNWDrv="Válassz hálózati eszközkezelőt" -_InfoNWKernel="A hálózati kártyád eszközkezelője be van építve a kernelbe, \nnem szükséges semmit se telepítened." +_InstNWDrv="Hálózati eszközkezelők" +_SelNWDrv="Válassz hálózati eszközkezelőt" +_InfoNWKernel="A hálózati kártyád eszközkezelője be van építve a kernelbe, \nnem szükséges semmit se telepítened." _InstNMMenuBody="További, kiegészítő csomagokra is szükség lehet a hálózati és vezeték nélküli eszközök megfelelő működéséhez. Bizonyos vezeték nélküli eszközök számára további eszközkezelőkre is szükség lehet." _InstNMMenuPkg="Csomagok telepítése vezeték nélküli eszközökhöz" _InstNMMenuNM="Hálózatkezelő alkalmazás telepítése" @@ -483,9 +483,9 @@ _MMTitle="Főmenü" _MMBody="Minden lépést SORRENDBEN kell követned. A nem kötelező lépések opcionálisnak vannak jelölve.\nMiután elkészültél, válaszd a Kész gombot a telepítés befejezéséhez." # Final Check -_BaseCheck="Alaprendszer nincs telepítve!" -_BootlCheck="Rendszertöltő nincs telepítve!" -_FstabCheck="Nincs FSTAB létrehozva!" +_BaseCheck="Alaprendszer nincs telepítve!" +_BootlCheck="Rendszertöltő nincs telepítve!" +_FstabCheck="Nincs FSTAB létrehozva!" _GCCheck="Nincs grafikus illesztőprogram telepítve!" _LocaleCheck="A helyi nyelv nincs beállítva!" _RootCheck="Nincs rendszergazda jelszó beállítva!" @@ -493,7 +493,7 @@ _UserCheck="Nincs(enek) felhasználói fiók(ok) létrehozva!" # Telepítő bezárása _CloseInstBody="Bezárod a telepítőt?" -_LogInfo="El akarod menteni a telepítés-naplót? \nItt lesz megtalálható a telepített rendszerben:" +_LogInfo="El akarod menteni a telepítés-naplót? \nItt lesz megtalálható a telepített rendszerben:" # Chroot _ChrootReturn="\nMost chroot-olni fogsz a telepített rendszerbe, melyen változtatásokat hajthatsz végre, majdnem úgy mintha betöltötted volna a rendszert.\n\nGépelj exit-et, hogy kilépj a chroot-ból és fg-t, hogy visszatérj a telepítőhöz.\n " @@ -523,12 +523,12 @@ _MMNewBody="Miután az előkészületi részben csatoltad a partíciókat, vála _SysRescTitle="System Rescue" # translate me ! _SysRescBody="This menu is collection of tools to help restore broken system to full functionality." # translate me ! _RmPkgs="Remove packages" # translate me ! -_RmPkgsMsg="Search packages by typing their name. +_RmPkgsMsg="Search packages by typing their name. Press tab to select multiple packages" # translate me ! _RmPkgsPrmpt="Package to remove" # translate me ! _AddPkgsPrmpt="Package" # translate me ! -_AddPkgs="Choose any extra packages you would like to add. -Search packages by typing their name. +_AddPkgs="Choose any extra packages you would like to add. +Search packages by typing their name. Press tab to select multiple packages and proceed with Enter." # translate me ! #Extra diff --git a/data/translations/italian.trans b/data/translations/italian.trans index 09a81b3..97dab02 100644 --- a/data/translations/italian.trans +++ b/data/translations/italian.trans @@ -1,7 +1,7 @@ ## -## -## Italian Translation File (Architect 2.0) -## +## +## Italian Translation File (Architect 2.0) +## ## ## Written by Carl Duff (27-Feb-2016) ## @@ -11,7 +11,7 @@ # Generic _UseSpaceBar="Usa la [Barra Spaziatrice] per de/selezionare le opzioni elencate." _AlreadyInst="Già installato ma non abilitato:" -_InstPkg="Installa" +_InstPkg="Installa" _All="Tutte" _Done="Fatto" _PlsWaitBody="Attendere prego..." @@ -20,15 +20,15 @@ _ErrTitle="Errore" _PassErrBody="Le password digitate non corrispondono. Provare nuovamente." # Basics -_SelLang="Seleziona Lingua" -_Lang="Lingua" -_Keep="Accetta" +_SelLang="Seleziona Lingua" +_Lang="Lingua" +_Keep="Accetta" _Change="Cambia" -_NoCon="Nessuna connesione internet." -_EstCon="Stabilire connessione?" -_Config="Configura" -_ApplySet="Applica Lingua selezionata ..." -_ChMenu="Seleziona Menu" +_NoCon="Nessuna connesione internet." +_EstCon="Stabilire connessione?" +_Config="Configura" +_ApplySet="Applica Lingua selezionata ..." +_ChMenu="Seleziona Menu" _ChMenuBody="Il Menù Normale vi guiderà nell'installazione di un preconfigurato Ambiente Manjaro con diverse scelte.\n\nIl Menù Avanzato può essere usato per installare desktop o profili di sviluppo Manjaro ed anche selezioni supplementari come applicazioni multimediali,rete e alcune opzioni avanzate di sistema e sicurezza." # Security and Tweaks @@ -131,7 +131,7 @@ _LuksMenuBody="I dispositivi e volumi crittografati con dm_crypt non possono ess _LuksMenuBody2="È necessaria una partizione di boot separata senza cifratura o Logical Volume Management (LVM - tranne GRUB su BIOS)." _LuksMenuBody3="L'opzione Automatica usa impostazioni crittografiche tipiche, ed è raccomandata per i principianti. Eventualmente, è possibile specificare algoritmo e grandezza chiave manualmente." _LuksOpen="Apri Partizione Crittografata" -_LuksErr="Nessuna partizione LUKS-encrypted trovata." +_LuksErr="Nessuna partizione LUKS-encrypted trovata." _LuksOpenBody="Specificare un nome per il dispositivo a blocchi crittografato. Non è necessario sia preceduto da /dev/mapper. Viene mostrato un esempio." _LuksEncrypt="Crittografia LUKS Automatica" _LuksEncryptAdv="impostare lunghezza chiave e algoritmo di cifratura" @@ -161,11 +161,11 @@ _LvmPvConfBody2="con le seguenti partizioni:" _LvmPvActBody1="Creazione ed attivazione del Gruppo di Volumi in corso" _LvmPvDoneBody1="Il Gruppo di Volumi" _LvmPvDoneBody2="è stato creato" -_LvmLvNumBody1="Immettere numero di Volumi Logici (LVs) da creare" +_LvmLvNumBody1="Immettere numero di Volumi Logici (LVs) da creare" _LvmLvNumBody2="L'ultimo (o l'unico) LV userà il 100% dello spazio disponibile nel Volume Group" _LvmLvNameBody1="Inserisci un nome per il nuovo Volume Logico (LV).\n\nQuesta operazione equivale ad assegnare un nome / una etichetta ad una partizione." _LvmLvNameBody2="ATTENZIONE: Questo LV utilizzerà automaticamente tutto lo spazio rimanente nel Gruppo di Volumi" -_LvmLvNameErrBody="Nome in uso o non valido. Usa caratteri alfanumerici , no spazi o '/'!" +_LvmLvNameErrBody="Nome in uso o non valido. Usa caratteri alfanumerici , no spazi o '/'!" _LvmLvSizeBody1="rimanenti" _LvmLvSizeBody2="Inserisci la dimensione del Volume Logico (LV) in Megabyte (M) o Gigabyte (G). Ad esempio, 100M creerà un Volume Logico con dimensione pari a 100 Megabyte. 10G creerà un Volume Logico con dimensione pari a 10 Gigabyte." _LvmLvSizeErrBody="Il valore immesso non è valido. È necessario inserire un valore numerico che termini con una 'M' (Megabyte) o una 'G' (Gigabyte).\n\nAd esempio, 100M, 10G, o 250M. Il valore non deve inoltre essere maggiore o uguale dello spazio rimanente nel VG." @@ -184,14 +184,14 @@ _RtFailBody="L'installer deve essere eseguito come Root. Procedura terminata." _ConFailBody="Il test della connessione ad Internet è fallito. Procedura terminata." _ReqMetTitle="Requisiti soddisfatti" _ReqMetBody="Tutti i controlli sono stati superati!" -_UpdDb="Aggiornamento database ..." +_UpdDb="Aggiornamento database ..." # Lista Mirror Installer _MirrorlistTitle="Lista mirror" _MirrorBranch="Seleziona ramo Manjaro da usare" _MirrorlistBody="La lista mirror contiene gli indirizzi server utilizzati da pacman per installare i pacchetti. Per trovare i server più veloci, generare una lista mirror per località geografica PRIMA di eseguire RankMirrors, altrimenti il processo sarà MOLTO LUNGO.\n\nÈ possibile modificare il file di configurazione di pacman per abilitare multilib and e altri repository.\n\nNOTA: Chiudere i files di testo con '[CTRL] + [x]'. Se modificati, premere [y] per salvare o [n] per annullare i cambiamenti." -_RankMirrors="Seleziona lista dei mirrors personalizzata, [Spazio] o [Enter] per selezionare e conferma con [OK] in basso." +_RankMirrors="Seleziona lista dei mirrors personalizzata, [Spazio] o [Enter] per selezionare e conferma con [OK] in basso." _MirrorbyCountry="Genera lista mirror per località geografica" _MirrorEdit="Modifica manualmente la lista dei mirror" _MirrorRankTitle="Esegui RankMirrors" @@ -206,7 +206,7 @@ _MIrrorPacQ="Usare la configurazione pacman modificata per il sistema installato # Impostazione tastiera (vconsole) _VCKeymapTitle="Imposta Virtual Console" -_DefKeymap="Mappaura tastiera di default per la lingua selezionata è" +_DefKeymap="Mappaura tastiera di default per la lingua selezionata è" _VCKeymapBody="Una virtual console è un prompt di comando in un ambiente non-grafico. La sua mappatura tastiera è indipendente da quella per l'ambiente desktop / terminale." # Impostazione Xkbmap (ambiente desktop) @@ -221,7 +221,7 @@ _TimeZBody="Il fuso orario è utilizzato per impostare correttamente l'ora del s _TimeSubZBody="Seleziona la città più vicina alla tua posizione." _TimeZQ="Imposta fuso orario:" -# Impostazione orologio hardware +# Impostazione orologio hardware _HwCBody="UTC è il tempo universale standard ed è generalmente raccomandato eccetto in configurazioni di dual-boot con Windows." # Generare FSTAB @@ -248,9 +248,9 @@ _NUsrErrTitle="Errore Nome Utente" _NUsrErrBody="E' stato scelto un nome utente non valido. Provare nuovamente." # Imposta Utente -_PassNUsrBody="Immetti la password per" +_PassNUsrBody="Immetti la password per" _NUsrSetBody="Creazione utente ed impostazioni gruppi" -_DefShell="Scegli il default." +_DefShell="Scegli il default." # Montaggio (Partizioni) _MntStatusTitle="Stato Montaggio" @@ -277,10 +277,10 @@ _PartErrBody="I sistemi BIOS richiedono almeno una partizione (ROOT).\n\nI siste # File System _FSTitle="Selezione Filesystem" _FSBody="Ext4 è la scelta consigliata. Non tutti i filesystem sono utilizzabili per la partizione di Root o quella di Boot. Ciascuno dispone di funzionalità e limitazioni differenti." -_FSSkip="Non Formattare" -_FSMount="Montare" -_FSWarn1="Dati" -_FSWarn2="potranno essere persi" +_FSSkip="Non Formattare" +_FSMount="Montare" +_FSWarn1="Dati" +_FSWarn2="potranno essere persi" # Select Root _SelRootBody="Selezionare partizione ROOT. Manjaro sarà installata qui." @@ -315,27 +315,27 @@ _ExtPartBody1="Specificare mountpoint partizione. Assicurarsi che il nome cominc _ExtErrBody="Impossibile montare la partizione a case di un problema con il nome mountpoint. Deve essere indicato un nome dopo lo slash." # Install Base -_WarnInstBase="Una installazione di Manjaro è già installata in questa partizione.\nProcedere comunque?" +_WarnInstBase="Una installazione di Manjaro è già installata in questa partizione.\nProcedere comunque?" _InstBseTitle="Installazione di base" -_InstFail="Installazione fallita." +_InstFail="Installazione fallita." _InstBseBody="Standard: Raccomandata per i principianti. Scegliere fino a due kernels (linux and linux-lts) e volendo il gruppo pacchetti base-devel. In aggiunta, verranno installati sudo, btrfs-progs, f2fs-tools.\n\nAvanzato: Selezionare fino a 4 kernels (linux, lts, grsec, zen) e controllare pacchetti base e base-devel individualmente. Potrebbe essere richiesta configurazione aggiuntiva con grsec e zen per Virtualbox e NVIDIA.\n\nNOTA: a meno di installazioni precedenti, è necessario selezionare almeno un kernel." _InstStandBseBody="Il gruppo di pacchetti base verrà installato automaticamente. Il gruppo di pacchetti base-devel è richiesto per utilizzare l'Arch User Repository (AUR)." _InstStandBase="Installazione Standard" _InstAdvBase="Installazione Avanzata" _InstAdvBseBody="ATTENZIONE: solo per utenti esperti. Per i principianti è consigliato selezionare l'opzione di installazione 'standard'." _InstAdvWait="Raccolta descrizioni pacchetti." -_InstGrub="Installazione Grub" +_InstGrub="Installazione Grub" # Install BIOS Bootloader _InstBiosBtTitle="Installazione Bootloader BIOS" -_InstGrubBody="Il supporto di installazione per GRUB può essere selezionato nel prossimo passaggio.\n\nOs-prober è richiesto per trovare automaticamente gli altri sistemi già installati." +_InstGrubBody="Il supporto di installazione per GRUB può essere selezionato nel prossimo passaggio.\n\nOs-prober è richiesto per trovare automaticamente gli altri sistemi già installati." _InstBiosBtBody="Grub2 è consigliato per i principianti. E' possibile specificare il dispositivo sul quale installarlo.\n\nSyslinux rappresenta un'alternativa più leggera e semplice che funzionerà solo con i filesystem ext/btrfs." _InstSysTitle="Installa Syslinux" _InstSysBody="Installare syslinux nel Master Boot Record (MBR) on in Root (/)?" # Install UEFI Bootloader _InstUefiBtTitle="Installazione Bootloader UEFI" -_InstUefiBtBody="Installazione UEFI Bootloader GRUB." +_InstUefiBtBody="Installazione UEFI Bootloader GRUB." _SetBootDefBody="Alcuni firmware UEFI potrebbero non identificare il bootloader a meno di impostarlo come default copiando il suo stub efi in" _SetBootDefBody2="e rinominandolo bootx64.efi.\n\nSi riccomanda di procedere come indicato a meno di non stare già usando un botoader di default, o qualora si vogliano usare bootloader multipli.\n\nImpostare il bootloader come default?" @@ -362,13 +362,13 @@ _DEInfoBody="Possono essere installati più ambienti.\n\nGnome e LXDE includono # Install DE Menu _InstDETitle="Installazione Ambiente Desktop" _InstManDEBody="Scegliere un'ambiente Manjaro." -_ErrInit="Init system sbagliato" -_WarnInit="disponibile solo per systemd\nPrego correggere selezione:" -_DiffPro="Seleziona un profilo differente" -_InstSystd="Inastallazione systemd base" +_ErrInit="Init system sbagliato" +_WarnInit="disponibile solo per systemd\nPrego correggere selezione:" +_DiffPro="Seleziona un profilo differente" +_InstSystd="Inastallazione systemd base" _InstDEBody="Gli ambienti desktop e i pacchetti relativi sono indicati per primi." -_ExtraTitle="Completa o Minimale?" -_ExtraBody="Questa edizione è offerta in due versioni" +_ExtraTitle="Completa o Minimale?" +_ExtraBody="Questa edizione è offerta in due versioni" # Install Common Packages _InstComTitle="Installazione Pacchetti Comuni" @@ -398,21 +398,21 @@ _PrepMntPart="Montaggio partizioni" _Back="Indietro" # Install Base Menu -_PkgList="Elaborazione lista pacchetti" +_PkgList="Elaborazione lista pacchetti" _InstBsMenuTitle="Installazione di base" -_InstBseMenuBody="I pacchetti saranno installati scaricandoli dai server. Il ramo di default è 'stabile'.\nPer ottimizzare la velocità di scaricamento e cambiare ramo, usa questo comando [$_PrepMirror]." +_InstBseMenuBody="I pacchetti saranno installati scaricandoli dai server. Il ramo di default è 'stabile'.\nPer ottimizzare la velocità di scaricamento e cambiare ramo, usa questo comando [$_PrepMirror]." _InstBse="Installa Pacchetti Base" -_ChsInit="Scegli il tuo initsystem" -_Note="Nota!" -_WarnOrc="Qesti profili Manjaro sono incompatibili con openrc:" -_ChsAddPkgs="Scegli i moduli aggiuntivi per il kernel" +_ChsInit="Scegli il tuo initsystem" +_Note="Nota!" +_WarnOrc="Qesti profili Manjaro sono incompatibili con openrc:" +_ChsAddPkgs="Scegli i moduli aggiuntivi per il kernel" _InstBootldr="Installa il Bootloader" -_InstDrvTitle="Installazione Drivers Hardware" -_InstDrvBody="Alcune Schede di rete e Grafiche \nnecessitano di driver speciali. \nOptione 1 e 2 scelgono i driver automaticamente, \noptione 3 e 4 lasciano decidere quali installare" -_InstFree="Auto-installazione drivers free" -_InstProp="Auto-installazione Drivers proprietari" -_SelDDrv="Seleziona il Display Driver" -_InstAllDrv="Installazione tutti drivers liberi (free)" +_InstDrvTitle="Installazione Drivers Hardware" +_InstDrvBody="Alcune Schede di rete e Grafiche \nnecessitano di driver speciali. \nOptione 1 e 2 scelgono i driver automaticamente, \noptione 3 e 4 lasciano decidere quali installare" +_InstFree="Auto-installazione drivers free" +_InstProp="Auto-installazione Drivers proprietari" +_SelDDrv="Seleziona il Display Driver" +_InstAllDrv="Installazione tutti drivers liberi (free)" # Configure Base Menu _ConfBseMenuTitle="Configurazione di base" @@ -423,8 +423,8 @@ _ConfBseTimeHC="Imposta Timezone e Data/Ora" _ConfBseSysLoc="Imposta il linguaggio del sistema" _ConfBseSysLang="Set System Language" #translate me! _RunMkinit="Eseguire Mkinitcpio" -_RunUpGrub="Update GRUB" - +_RunUpGrub="Update GRUB" + # User Menu _ConfUsrRoot="Imposta la password di Root" _ConfUsrNew="Aggiungi nuovo/i utente/i" @@ -432,25 +432,25 @@ _ConfUsrNew="Aggiungi nuovo/i utente/i" # Menù schede grafiche _InstGrMenuTitle="Installazione Interfaccia Grafica" _InstGrMenuBody="Prima di installare un ambiente desktop, DOVRANNO essere installati drivers grafici, audio e per l'input, incluso i drivers per le schede video." -_InstDEMenuTitle="Scegli una edizione Manjaro completa o una installazione pulita dell'ambiente desktop" +_InstDEMenuTitle="Scegli una edizione Manjaro completa o una installazione pulita dell'ambiente desktop" _InstGrMenuDS="Installa Display Server" _InstGrMenuDSBody="In aggiunta alle opzioni xorg e wayland, vengono mostrati drivers per dispositivi di input (xf86-input-)." _InstGrMenuDD="Installazione Display Driver" -_InstGrDrv="Scegliere video-driver da installare" -_WarnInstGr="Nessun Display Driver selezionato." -_InstDEStable="Installazione Manjaro Desktop" -_InstDEGit="Installazione Manjaro Desktop (development profiles)" -_InstGrDE="Installazione Desktop environment" -_InstPBody="Questo installa una lista di pacchetti e una configurazione desktop, questo corrisponderà alla edizione manjaro scelta in base al desktop scelto." -_InstDE="Installazione ambiente desktop non preconfigurato" +_InstGrDrv="Scegliere video-driver da installare" +_WarnInstGr="Nessun Display Driver selezionato." +_InstDEStable="Installazione Manjaro Desktop" +_InstDEGit="Installazione Manjaro Desktop (development profiles)" +_InstGrDE="Installazione Desktop environment" +_InstPBody="Questo installa una lista di pacchetti e una configurazione desktop, questo corrisponderà alla edizione manjaro scelta in base al desktop scelto." +_InstDE="Installazione ambiente desktop non preconfigurato" _InstGrMenuGE="Installazione Ambiente Grafico" _InstGrMenuDM="Installazione Display Manager" # Networking Menu _InstNMMenuTitle="Installazione Funzioni di Rete" -_InstNWDrv="Scheda di Rete" -_SelNWDrv="Seleziona Scheda di Rete" -_InfoNWKernel="Il supporto per la tua scheda di rete è incorporato nel kernel, \nnon devi installare niente." +_InstNWDrv="Scheda di Rete" +_SelNWDrv="Seleziona Scheda di Rete" +_InfoNWKernel="Il supporto per la tua scheda di rete è incorporato nel kernel, \nnon devi installare niente." _InstNMMenuBody="Potrebbero essere richiesti pacchetti aggiuntivi per funzionalità di rete e dispositivi wireless. Alcune schede wireless potrebbero richiedere firmware appositi per funzionare." _InstNMMenuPkg="Installazione pacchetti per Dispositivi Wireless" _InstNMMenuNM="Installazione Network Connection Manager" @@ -483,36 +483,36 @@ _MMTitle="Menu Principale" _MMBody="Ogni passaggio deve essere eseguito IN ORDINE.\nUna volta completati, selezionare 'Fatto' per finalizzare correttamente l'installazione." # Final Check -_BaseCheck="Base non è installato" -_BootlCheck="Il Bootloader non è installato" -_FstabCheck="Fstab non è stato generato" -_GCCheck="Nessuna scheda grafica è stata installata" -_LocaleCheck="La Lingua di sistema non è stata cambiata" -_RootCheck="La Password di Root non è stata impostata" -_UserCheck="Nessun utente è stato generato" +_BaseCheck="Base non è installato" +_BootlCheck="Il Bootloader non è installato" +_FstabCheck="Fstab non è stato generato" +_GCCheck="Nessuna scheda grafica è stata installata" +_LocaleCheck="La Lingua di sistema non è stata cambiata" +_RootCheck="La Password di Root non è stata impostata" +_UserCheck="Nessun utente è stato generato" # Chiudere il programma di istallazione _CloseInstBody="Chiudere il programma di installazione?" -_LogInfo="Vuoi salvare il log di installazione?\nSarà copiato in" +_LogInfo="Vuoi salvare il log di installazione?\nSarà copiato in" # Chroot -_ChrootReturn="\nOra tu entrerai in chroot nel tuo sistema installato. Puoi dare comandi come se tu fossi entrato normalmente nel tuo sistema tramite il normale boot.\n\nDigita \"exit\" per uscire dal chroot e\"fg\" per ritornare all'installazione.\n " +_ChrootReturn="\nOra tu entrerai in chroot nel tuo sistema installato. Puoi dare comandi come se tu fossi entrato normalmente nel tuo sistema tramite il normale boot.\n\nDigita \"exit\" per uscire dal chroot e\"fg\" per ritornare all'installazione.\n " _EnterChroot="Entra nella tua installazione" _ChrootTitle="Chroot into Installation" # translate me ! #Refind -_InstRefindTitle="Installazione refind" -_InstRefindBody="Questo installa refind e configurerà in automatico la rilevazione dei tuoi kernel. Non supporta la criptazione di /boott o intel microcode. Questo richiede aggiustamenti manuali o l'uso di bootloader diversi." -_RefindReady="Refind installato correttamente" +_InstRefindTitle="Installazione refind" +_InstRefindBody="Questo installa refind e configurerà in automatico la rilevazione dei tuoi kernel. Non supporta la criptazione di /boott o intel microcode. Questo richiede aggiustamenti manuali o l'uso di bootloader diversi." +_RefindReady="Refind installato correttamente" _bootloaderInfo="Refind può essere utilizzato come standard o in combinazione con altri bootloader. Identifica automaticamente tutti i sistemi di boot all'avvio.\nGrub supporta la criptazione della partizione /boot e rileva tutti i sistemi bootabili quando aggiornate il kernel. Può avviare file dall' hd e riconosce variabili di boot per snapshot di btrfs.\nSystemd-boot è molto leggero e semplice ed è parzialmente automatizzato. Riconosce si windows è installato , ma non è adatto al multiboot." # Systemd-boot -_InstSystdBBody="Questo installa systemd-boot e genera le voci di avvio per i kernel attualmente installati. Questo bootloader richiede che i vostri kernel siano sulla partizione UEFI. Ciò è ottenuto montando la partizione UEFI in /boot." +_InstSystdBBody="Questo installa systemd-boot e genera le voci di avvio per i kernel attualmente installati. Questo bootloader richiede che i vostri kernel siano sulla partizione UEFI. Ciò è ottenuto montando la partizione UEFI in /boot." _SystdBReady="Systemd-boot è stato installato" #Meta menu -_InstCrMenuTitle="Installazione sistema CLI" -_InstCrMenuBody="Questo installa il sistema base di Manjaro senza interfacce desktop grafici. I passi 1-3 sono necessari per avere un sistema funzionante, il resto è opzionale." -_InstDsMenuTitle="Installazione sistema desktop" +_InstCrMenuTitle="Installazione sistema CLI" +_InstCrMenuBody="Questo installa il sistema base di Manjaro senza interfacce desktop grafici. I passi 1-3 sono necessari per avere un sistema funzionante, il resto è opzionale." +_InstDsMenuTitle="Installazione sistema desktop" _InstDsMenuBody="Questo installa una edizione completa di manjaro con desktop grafico. I passi 1-3 sono necessari per avere un sistema funzionante, il resto è opzionale." _InstCsMenuTitle="Installazione sistema personalizzato" _InstCsMenuBody="Questo installa il sistema base manjaro senza desktop grafici. I passi 1-4 sono necessari per avere un sistema funzionante, il resto è opzionale." @@ -522,12 +522,12 @@ _MMNewBody="Dopo aver montato le partizioni nella sezione configurazione, selezi _SysRescTitle="System Rescue" # translate me ! _SysRescBody="This menu is collection of tools to help restore broken system to full functionality." # translate me ! _RmPkgs="Remove packages" # translate me ! -_RmPkgsMsg="Search packages by typing their name. +_RmPkgsMsg="Search packages by typing their name. Press tab to select multiple packages" # translate me ! _RmPkgsPrmpt="Package to remove" # translate me ! _AddPkgsPrmpt="Package" # translate me ! -_AddPkgs="Choose any extra packages you would like to add. -Search packages by typing their name. +_AddPkgs="Choose any extra packages you would like to add. +Search packages by typing their name. Press tab to select multiple packages and proceed with Enter." # translate me ! #Extra diff --git a/data/translations/polish.trans b/data/translations/polish.trans index c1c7f9d..c2bb173 100644 --- a/data/translations/polish.trans +++ b/data/translations/polish.trans @@ -526,7 +526,7 @@ _RmPkgsMsg="Wyszukaj pakiety, przez wpisanie ich nazwy. Wciśnij [tab], by zaznaczyć wiele pakietów." _RmPkgsPrmpt="Pakiety do usunięcia" _AddPkgsPrmpt="Pakiet" -_AddPkgs="Wybierz dodatkowe pakiety, które chciałbyś zainstalować. +_AddPkgs="Wybierz dodatkowe pakiety, które chciałbyś zainstalować. Wyszukaj pakiety, przez wpisanie ich nazwy. Wciśnij [tab], by zaznaczyć wiele pakietów i [enter], by kontynuować." @@ -537,7 +537,7 @@ _ExtraPkgBody="Czy chciałbyś dodać jakieś dodatkowe pakiety do swojej instal _TweaksMenuTitle="Ulepszenia systemu" _PerfBody="Ustawienia przydatne przy konfigurowaniu swojej własnej stacji roboczej" _TweaksBody="Ustawienia różnych konfiguracji" -_PerfMenu="Wydajność" +_PerfMenu="Wydajność" _SetSchd="I/O schedulers" _SetSwap="Ustawienia swap" _AutologEnable="Zezwól na automatyczne logowanie" diff --git a/data/translations/portuguese.trans b/data/translations/portuguese.trans index e508d72..a1186ed 100644 --- a/data/translations/portuguese.trans +++ b/data/translations/portuguese.trans @@ -1,7 +1,7 @@ ## -## -## Arquivo de Tradução Português (Portugal) (Architect 2.0) -## +## +## Arquivo de Tradução Português (Portugal) (Architect 2.0) +## ## ## Escrito por Carl Duff (27-Fev-2016) ## @@ -246,7 +246,7 @@ _NUsrErrTitle="Erro no Nome do Usuário" _NUsrErrBody="Um nome de usuário incorrecto foi inserido. Por favor, tente novamente.." # Definir Usuário -_PassNUsrBody="Insira a senha para" +_PassNUsrBody="Insira a senha para" _NUsrSetBody="Criando usuários e definindo grupos..." _DefShell="Choose the default." # translate me ! @@ -521,12 +521,12 @@ _MMNewBody="After mounting partitions in preparation section, select your instal _SysRescTitle="System Rescue" # translate me ! _SysRescBody="This menu is collection of tools to help restore broken system to full functionality." # translate me ! _RmPkgs="Remove packages" # translate me ! -_RmPkgsMsg="Search packages by typing their name. +_RmPkgsMsg="Search packages by typing their name. Press tab to select multiple packages" # translate me ! _RmPkgsPrmpt="Package to remove" # translate me ! _AddPkgsPrmpt="Package" # translate me ! -_AddPkgs="Choose any extra packages you would like to add. -Search packages by typing their name. +_AddPkgs="Choose any extra packages you would like to add. +Search packages by typing their name. Press tab to select multiple packages and proceed with Enter." # translate me ! #Extra diff --git a/data/translations/spanish.trans b/data/translations/spanish.trans index a24f388..afb93cd 100644 --- a/data/translations/spanish.trans +++ b/data/translations/spanish.trans @@ -1,7 +1,7 @@ ## -## -## Archivo de traducción al español (Architect 2.0) -## +## +## Archivo de traducción al español (Architect 2.0) +## ## ## Texto original de Carl Duff (27-Feb-2016) ## @@ -247,7 +247,7 @@ _NUsrErrTitle="Error de nombre de usuario" _NUsrErrBody="Se ha introducido un nombre de usuario incorrecto. Vuelva a intentarlo." # Establecer usuario -_PassNUsrBody="Escriba la contraseña para" +_PassNUsrBody="Escriba la contraseña para" _NUsrSetBody="Creando usuario y ajustando grupos..." _DefShell="Seleccione el valor predeterminado." @@ -522,12 +522,12 @@ _MMNewBody="Tras montar una partición en la sección de preparación, seleccion _SysRescTitle="System Rescue" # translate me ! _SysRescBody="This menu is collection of tools to help restore broken system to full functionality." # translate me ! _RmPkgs="Remove packages" # translate me ! -_RmPkgsMsg="Search packages by typing their name. +_RmPkgsMsg="Search packages by typing their name. Press tab to select multiple packages" # translate me ! _RmPkgsPrmpt="Package to remove" # translate me ! _AddPkgsPrmpt="Package" # translate me ! -_AddPkgs="Choose any extra packages you would like to add. -Search packages by typing their name. +_AddPkgs="Choose any extra packages you would like to add. +Search packages by typing their name. Press tab to select multiple packages and proceed with Enter." # translate me ! #Extra diff --git a/data/translations/turkish.trans b/data/translations/turkish.trans index fe8cc87..c7e6227 100755 --- a/data/translations/turkish.trans +++ b/data/translations/turkish.trans @@ -1,7 +1,7 @@ ## -## -## Turkish Translation File -## +## +## Turkish Translation File +## ## ## Written by Oguz Kagan EREN Started at (5-Jan-2018) ## @@ -198,7 +198,7 @@ _NUsrErrTitle="Kullanıcı Adı Hatası" _NUsrErrBody="Yanlış bir kullanıcı adı girildi. Lütfen tekrar deneyin." # Set User -_PassNUsrBody="Şifre giriniz" +_PassNUsrBody="Şifre giriniz" _NUsrSetBody="Kullanıcı oluşturma ve grup ayarlama..." _DefShell="Varsayılan kabuğu seçin." diff --git a/data/translations/ukrainian.trans b/data/translations/ukrainian.trans index eab0189..3f64944 100644 --- a/data/translations/ukrainian.trans +++ b/data/translations/ukrainian.trans @@ -303,7 +303,7 @@ _MntUefiBody="Виберіть точку монтування UEFI.\n\n /boot необхідно для systemd-boot." _MntUefiCrypt="Виберіть точку монтування UEFI.\n\n /boot/efi рекомендовано для multiboot систем та необхідний для повного шифрування диску. Зашифрований /boot підтримується тільки grub та може сповільнити запуск.\n\n -/boot необхідний для systemd-boot та для rEFInd, якщо використовується шифрування." +/boot необхідний для systemd-boot та для rEFInd, якщо використовується шифрування." # Extra Partitions _ExtPartBody="Виберіть додаткові розділи в будь-якому порядку або 'Готово' для завершення." @@ -549,7 +549,7 @@ _DataRecMenu="Відновлення даних" _DataRecBody="Різні утиліти для копіювання та відновлення даних" _HostCache="Виберіть кеш pacman " -_HostCacheBody="Ви хочете використовувати кеш pacman з працюючої системи, замість кешу системи цільового встановлення? Це може зменшити розмір необхідних завантажень в процесі встановлення." +_HostCacheBody="Ви хочете використовувати кеш pacman з працюючої системи, замість кешу системи цільового встановлення? Це може зменшити розмір необхідних завантажень в процесі встановлення." #RAID menu _PrepRAID="RAID (optional)" # translate me ! diff --git a/lib/util-base.sh b/lib/util-base.sh index 8ad2d91..b994e03 100644 --- a/lib/util-base.sh +++ b/lib/util-base.sh @@ -11,7 +11,7 @@ # or modify it as you wish. setup_profiles() { - # setup profiles with either git + # setup profiles with either git PROFILES="$DATADIR/profiles" clear # install git if not already installed @@ -109,11 +109,11 @@ filter_packages() { if [[ -e /mnt/.desktop ]]; then cat "$pkgs_src" /mnt/.desktop >> $pkgs_target 2>$ERR check_for_error "$FUNCNAME" $? - else + else cat "$pkgs_src" >> $pkgs_target 2>$ERR - check_for_error "$FUNCNAME" $? + check_for_error "$FUNCNAME" $? fi - + # Remove any packages tagged with >openrc and remove >systemd tags sed -i '/>openrc/d' $pkgs_target sed -i 's/>systemd //g' $pkgs_target @@ -170,10 +170,10 @@ filter_packages() { sed -i 's/>manjaro //g' $pkgs_target # Does the system have a battery? - if [[ -z "$(echo /sys/class/power_supply/BAT*)" ]]; then + if [[ -z "$(echo /sys/class/power_supply/BAT*)" ]]; then # No battery was detected. Remove TLP sed -i '/tlp/d' $pkgs_target - fi + fi # Remove commented lines # remove everything except the first word of every lines sed -i 's/\s.*$//' $pkgs_target @@ -278,10 +278,10 @@ install_base() { # copy keymap and consolefont settings to target echo -e "KEYMAP=$(ini linux.keymap)\nFONT=$(ini linux.font)" > ${MOUNTPOINT}/etc/vconsole.conf check_for_error "configure vconsole" - + # mkinitcpio handling for specific filesystems case $(findmnt -ln -o FSTYPE ${MOUNTPOINT}) in - btrfs) + btrfs) BTRFS_ROOT=1 sed -e '/^HOOKS=/s/\ fsck//g' -e '/^MODULES=/s/"$/ btrfs"/g' -i ${MOUNTPOINT}/etc/mkinitcpio.conf check_for_error "root on btrfs volume. Amend mkinitcpio." @@ -305,24 +305,24 @@ install_base() { ;; esac - - + + # check to see if raid is needed for boot # if mount point is on raid then it is needed if [[ $(lsblk -lno TYPE,MOUNTPOINT | grep -E "raid.*${MOUNTPOINT}" | wc -l)> 0 ]]; then raid_needed=true - + # put all the lines of lsblk, before the mountpoint, into an array # iterate through the array backwards util a partition is reached - # if raid was involved anywere between the mountpoint and partition, + # if raid was involved anywere between the mountpoint and partition, # then inital ramdisk configuration for raid is need else - + old_ifs="$IFS" IFS=$'\n' lsblk_lines=($(lsblk -lno TYPE,NAME,MOUNTPOINT | sed "/\/${MOUNTPOINT:1}$/q")) IFS="$old_ifs" - + for (( i=${#lsblk_lines[@]}-1 ; i>=0 ; i-- )) ; do if [[ $(echo ${lsblk_lines[i]} | grep "^lvm" | wc -l) > 0 ]]; then sed -i '/lvm2/b; s/\/& lvm2/' ${MOUNTPOINT}/etc/mkinitcpio.conf @@ -343,17 +343,17 @@ install_base() { break fi done - + fi - - + + # add mkinitcpio raid binary and hook, if root partition is on raid if [ "$raid_needed" = true ]; then # auto assemble raid mdadm --detail --scan >> ${MOUNTPOINT}/etc/mdadm.conf - - # add raid initramfs hook + + # add raid initramfs hook sed -i 's/\/& mdadm_udev/' ${MOUNTPOINT}/etc/mkinitcpio.conf binaries_line_number=$(grep -n "^BINARIES=(" ${MOUNTPOINT}/etc/mkinitcpio.conf | cut -f1 -d':') sed -i "${binaries_line_number}s/^\(.\{10\}\)/\1mdmon/" ${MOUNTPOINT}/etc/mkinitcpio.conf @@ -361,10 +361,10 @@ install_base() { # get newest kernel and initramfs newest_kernel=$(ls ${MOUNTPOINT}/lib/modules | grep '^[0-9]' | sort | tail -n 1) newest_initramfs=$(ls ${MOUNTPOINT}/boot | grep "initramfs" | grep -v "fallback"| sort | tail -n 1) - + # initramfs needs to be recomiled with raid support manjaro-chroot ${MOUNTPOINT} mkinitcpio -c /etc/mkinitcpio.conf -g /boot/${newest_initramfs} -k ${newest_kernel} - + fi recheck_luks @@ -420,17 +420,17 @@ install_bootloader() { else HIGHLIGHT_SUB=2 fi - + # put all the lines of lsblk, before the mountpoint, into an array # iterate through the array backwards util a partition is reached - # if luks and raid was involved anywere between the mountpoint and partition, + # if luks and raid was involved anywere between the mountpoint and partition, # then grub configuration for raid and luks is needed - + old_ifs="$IFS" IFS=$'\n' lsblk_lines=($(lsblk -lno TYPE,NAME,MOUNTPOINT | sed "/\/${MOUNTPOINT:1}$/q")) IFS="$old_ifs" - + for (( i=${#lsblk_lines[@]}-1 ; i>=0 ; i-- )) ; do if [[ $(echo ${lsblk_lines[i]} | grep "^crypt" | wc -l) > 0 ]]; then luks_device_name=$(echo ${lsblk_lines[i]} | cut -f2 -d' ') @@ -446,13 +446,13 @@ install_bootloader() { break fi done - + # update grub for luks if needed if [ "$luks_needed" = true ] && [ "$raid_needed" = true ]; then sed -i "s/^GRUB_CMDLINE_LINUX=\"\"/GRUB_CMDLINE_LINUX=\"cryptdevice=\/dev\/md\/${raid_device_name}:${luks_device_name}\"/g" ${MOUNTPOINT}/etc/default/grub manjaro-chroot ${MOUNTPOINT} update-grub fi - + } uefi_bootloader() { @@ -463,7 +463,7 @@ uefi_bootloader() { "1" "grub" \ "2" "refind" \ "3" "systemd-boot" 2>/tmp/.bootloader - + case $(cat /tmp/.bootloader) in "1") install_grub_uefi ;; @@ -483,17 +483,17 @@ install_grub_uefi() { else bootid="manjaro" fi - + clear mkdir /mnt/hostlvm mount --bind /run/lvm /mnt/hostlvm - + # if root is encrypted, amend /etc/default/grub root_name=$(mount | awk '/\/mnt / {print $1}' | sed s~/dev/mapper/~~g | sed s~/dev/~~g) root_device=$(lsblk -i | tac | sed -r 's/^[^[:alnum:]]+//' | sed -n -e "/$root_name/,/disk/p" | awk '/disk/ {print $1}') root_part=$(lsblk -i | tac | sed -r 's/^[^[:alnum:]]+//' | sed -n -e "/$root_name/,/part/p" | awk '/part/ {print $1}' | tr -cd '[:alnum:]') boot_encrypted_setting - + # grub config changes for zfs root if [ $(findmnt -ln -o FSTYPE ${MOUNTPOINT}) == "zfs" ]; then # zfs needs ZPOOL_VDEV_NAME_PATH set to properly find the device @@ -527,12 +527,12 @@ pacman -S --noconfirm grub-theme-manjaro" > ${MOUNTPOINT}/usr/bin/grub_installer if [[ "$(cat /sys/block/${root_device}/removable)" == 1 ]]; then sed -e '/^grub-install /s/$/ --removable/g' -i ${MOUNTPOINT}/usr/bin/grub_installer.sh fi - # If the root is on btrfs-subvolume, amend grub installation - if ! $(mount | awk '$3 == "/mnt" {print $0}' | grep btrfs | grep -qv subvolid=5) ; then + # If the root is on btrfs-subvolume, amend grub installation + if ! $(mount | awk '$3 == "/mnt" {print $0}' | grep btrfs | grep -qv subvolid=5) ; then sed -e 's/ grub-btrfs//g' -i ${MOUNTPOINT}/usr/bin/grub_installer.sh fi # If encryption used amend grub - if [[ $(cat /tmp/.luks_dev) != "" ]]; then + if [[ $(cat /tmp/.luks_dev) != "" ]]; then sed -i '/noconfirm grub-theme-manjaro/d' ${MOUNTPOINT}/usr/bin/grub_installer.sh echo "sed -i \"s~GRUB_CMDLINE_LINUX=.*~GRUB_CMDLINE_LINUX=\\\""$(cat /tmp/.luks_dev | awk '{print $1}')\\\"~g\"" /etc/default/grub" >> ${MOUNTPOINT}/usr/bin/grub_installer.sh && echo "adding kernel parameter $(cat /tmp/.luks_dev)" echo "pacman -S --noconfirm grub-theme-manjaro" >> ${MOUNTPOINT}/usr/bin/grub_installer.sh @@ -549,7 +549,7 @@ pacman -S --noconfirm grub-theme-manjaro" > ${MOUNTPOINT}/usr/bin/grub_installer rmdir /mnt/hostlvm # the grub_installer is no longer needed [[ -f ${MOUNTPOINT}/usr/bin/grub_installer.sh ]] && rm ${MOUNTPOINT}/usr/bin/grub_installer.sh - + # Ask if user wishes to set Grub as the default bootloader and act accordingly DIALOG " $_InstUefiBtTitle " --yesno "\n$_SetBootDefBody ${UEFI_MOUNT}/EFI/boot $_SetBootDefBody2\n " 0 0 if [[ $? -eq 0 ]]; then @@ -572,17 +572,17 @@ install_refind() { root_name=$(mount | awk '/\/mnt / {print $1}' | sed s~/dev/mapper/~~g | sed s~/dev/~~g) root_device=$(lsblk -i | tac | sed -r 's/^[^[:alnum:]]+//' | sed -n -e "/$root_name/,/disk/p" | awk '/disk/ {print $1}') # Clean the configuration in case there is previous one because the configuration part is not idempotent - [[ -e "/mnt/boot/refind_linux.conf" ]] && rm /mnt/boot/refind_linux.conf - ## install refind + [[ -e "/mnt/boot/refind_linux.conf" ]] && rm /mnt/boot/refind_linux.conf + ## install refind if [[ "$(cat /sys/block/${root_device}/removable)" == 1 ]]; then refind-install --root /mnt --alldrivers --yes 2>$ERR check_for_error "refind-install --root /mnt --alldrivers --yes" $? # Remove autodetect hook - sed -i -e '/^HOOKS=/s/\ autodetect//g' /mnt/etc/mkinitcpio.conf + sed -i -e '/^HOOKS=/s/\ autodetect//g' /mnt/etc/mkinitcpio.conf elif [[ $LUKS == 1 ]]; then refind-install --root /mnt --alldrivers --yes 2>$ERR check_for_error "refind-install --root /mnt --alldrivers --yes" $? - else + else refind-install --root /mnt 2>$ERR check_for_error "refind-install --root /mnt" $? fi @@ -596,10 +596,10 @@ install_refind() { # Mount as rw #sed -i 's/ro\ /rw\ \ /g' /mnt/boot/refind_linux.conf - # Boot in graphics mode + # Boot in graphics mode sed -i -e '/use_graphics_for/ s/^#*//' ${MOUNTPOINT}${UEFI_MOUNT}/EFI/refind/refind.conf # Set appropriate rootflags if installed on btrs subvolume - if $(mount | awk '$3 == "/mnt" {print $0}' | grep btrfs | grep -qv subvolid=5) ; then + if $(mount | awk '$3 == "/mnt" {print $0}' | grep btrfs | grep -qv subvolid=5) ; then rootflag="rootflags=$(mount | awk '$3 == "/mnt" {print $6}' | sed 's/^.*subvol=/subvol=/' | sed -e 's/,.*$/,/p' | sed 's/)//g')" sed -i "s|\"$|\ $rootflag\"|g" /mnt/boot/refind_linux.conf fi @@ -643,8 +643,8 @@ install_refind() { sed -i "s|\"$| initrd=/boot/${UCODE}.img initrd=/boot/initramfs-%v.img\"|g" /mnt/boot/refind_linux.conf fi fi - - basestrap ${MOUNTPOINT} refind-theme-maia + + basestrap ${MOUNTPOINT} refind-theme-maia DIALOG " $_InstUefiBtTitle " --infobox "\n$_RefindReady\n " 0 0 sleep 2 } @@ -701,7 +701,7 @@ bios_bootloader() { [[ $(findmnt -no FSTYPE ${MOUNTPOINT}) == "btrfs" ]] && \ sed -e '/GRUB_SAVEDEFAULT/ s/^#*/#/' -i ${MOUNTPOINT}/etc/default/grub - # Same setting is needed for LVM + # Same setting is needed for LVM [[ LVM == 1 ]] && \ sed -e '/GRUB_SAVEDEFAULT/ s/^#*/#/' -i ${MOUNTPOINT}/etc/default/grub @@ -730,12 +730,12 @@ findmnt | awk '/^\/ / {print $3}' | grep -q btrfs && sed -e '/GRUB_SAVEDEFAULT/ grub-install --target=i386-pc --recheck $DEVICE pacman -S --noconfirm grub-theme-manjaro" > ${MOUNTPOINT}/usr/bin/grub_installer.sh fi - # If the root is on btrfs-subvolume, amend grub installation - if ! $(mount | awk '$3 == "/mnt" {print $0}' | grep btrfs | grep -qv subvolid=5) ; then + # If the root is on btrfs-subvolume, amend grub installation + if ! $(mount | awk '$3 == "/mnt" {print $0}' | grep btrfs | grep -qv subvolid=5) ; then sed -e 's/ grub-btrfs//g' -i ${MOUNTPOINT}/usr/bin/grub_installer.sh fi # If encryption used amend grub - if [[ $(cat /tmp/.luks_dev) != "" ]]; then + if [[ $(cat /tmp/.luks_dev) != "" ]]; then sed -i '/noconfirm grub-theme-manjaro/d' ${MOUNTPOINT}/usr/bin/grub_installer.sh echo "sed -i \"s~GRUB_CMDLINE_LINUX=.*~GRUB_CMDLINE_LINUX=\\\""$(cat /tmp/.luks_dev | awk '{print $1}')\\\"~g\"" /etc/default/grub" >> ${MOUNTPOINT}/usr/bin/grub_installer.sh && echo "adding kernel parameter $(cat /tmp/.luks_dev)" echo "pacman -S --noconfirm grub-theme-manjaro" >> ${MOUNTPOINT}/usr/bin/grub_installer.sh @@ -747,11 +747,11 @@ pacman -S --noconfirm grub-theme-manjaro" > ${MOUNTPOINT}/usr/bin/grub_installer fi # Remove os-prober if not selected - if ! cat ${PACKAGES} | grep -q os-prober ; then + if ! cat ${PACKAGES} | grep -q os-prober ; then sed -e 's/ os-prober//g' -i ${MOUNTPOINT}/usr/bin/grub_installer.sh fi [[ -f ${MOUNTPOINT}/usr/bin/grub_installer.sh ]] && chmod a+x ${MOUNTPOINT}/usr/bin/grub_installer.sh - + DIALOG " $_InstGrub " --infobox "\n$_PlsWaitBody\n " 0 0 dd if=/dev/zero of=$DEVICE seek=1 count=2047 mkdir /mnt/hostlvm @@ -828,12 +828,12 @@ setup_luks_keyfile() { # Add keyfile to initcpio grep -q '/crypto_keyfile.bin' /mnt/etc/mkinitcpio.conf || sed -i '/FILES/ s~)~/crypto_keyfile.bin)~' /mnt/etc/mkinitcpio.conf && echo "Adding keyfile to the initcpio" arch_chroot "mkinitcpio -P" - fi + fi } boot_encrypted_setting() { fde=false - # Check if there is separate /boot partition + # Check if there is separate /boot partition if [[ $(lsblk | grep "/mnt/boot$") == "" ]]; then #There is no separate /boot parition root_name=$(mount | awk '/\/mnt / {print $1}' | sed s~/dev/mapper/~~g | sed s~/dev/~~g) @@ -871,7 +871,7 @@ boot_encrypted_setting() { } recheck_luks() { - # Check if there is separate encrypted /boot partition + # Check if there is separate encrypted /boot partition if $(lsblk | grep '/mnt/boot' | grep -q 'crypt' ); then LUKS=1 # Check if root is encrypted and there is no separate /boot @@ -920,7 +920,7 @@ set_locale() { LOCALES="${LOCALES} ${i} -" done - # Set the system language + # Set the system language DIALOG " $_ConfBseSysLang " --default-item "${CURR_LOCALE}" --menu "\n$_langBody\n " 0 0 12 ${LOCALES} 2>${ANSWER} || return 0 LOCALE=$(cat ${ANSWER}) diff --git a/lib/util-config.sh b/lib/util-config.sh index cd3fa24..c2999d4 100644 --- a/lib/util-config.sh +++ b/lib/util-config.sh @@ -14,7 +14,7 @@ edit_configs() { local PARENT="$FUNCNAME" # Clear the file variables - local options=() functions=("-") i=0 f='' choice=0 fn='' + local options=() functions=("-") i=0 f='' choice=0 fn='' for f in ${MOUNTPOINT}/home/*/.extend.xinitrc; do ((i++)) @@ -55,17 +55,17 @@ edit_configs() { ((i++)) options+=( $i "refind_linux.conf" ) functions+=( "nano ${MOUNTPOINT}/boot/refind_linux.conf" ) - fi + fi if [[ -e ${MOUNTPOINT}${UEFI_MOUNT}/EFI/refind/refind_linux.conf ]]; then ((i++)) options+=( $i "refind.conf" ) functions+=( "nano ${MOUNTPOINT}${UEFI_MOUNT}/EFI/refind/refind.conf" ) - fi + fi if [[ -e ${MOUNTPOINT}${UEFI_MOUNT}/loader/loader.conf ]]; then ((i++)) options+=( $i "systemd-boot" ) functions+=( "nano ${MOUNTPOINT}${UEFI_MOUNT}/loader/entries/*" ) - fi + fi if [[ -e ${MOUNTPOINT}/etc/hostname ]]; then ((i++)) options+=( $i "hostname" ) @@ -140,7 +140,7 @@ edit_configs() { ((i++)) shopt -u nullglob - + while ((1)); do ssubmenu 13 DIALOG " $_SeeConfOptTitle " --default-item ${HIGHLIGHT_SSUB} --menu "\n$_SeeConfOptBody\n " 0 0 $i \ @@ -150,9 +150,9 @@ edit_configs() { case "$choice" in 0) break ;; # btn cancel - *) + *) fn="${functions[$choice]}" # find attach working function in array [ -n "$fn" ] && $fn - esac + esac done } diff --git a/lib/util-desktop.sh b/lib/util-desktop.sh index cc2c964..cefdaac 100644 --- a/lib/util-desktop.sh +++ b/lib/util-desktop.sh @@ -51,7 +51,7 @@ setup_network_drivers() { arch_chroot "mhwd -a pci nonfree 0200" 2>$ERR check_for_error "$FUNCNAME nonfree" $? ;; - "3") if [[ $(mhwd -l | awk '/ network-/' | wc -l) -eq 0 ]]; then + "3") if [[ $(mhwd -l | awk '/ network-/' | wc -l) -eq 0 ]]; then DIALOG " $_InstNWDrv " --msgbox "\n$_InfoNWKernel\n " 0 0 else DIALOG " $_InstGrDrv " --checklist "\n$_UseSpaceBar\n " 0 0 12 \ @@ -71,7 +71,7 @@ setup_network_drivers() { } install_network_drivers() { - if [[ $(mhwd -l | awk '/network-/' | wc -l) -gt 0 ]]; then + if [[ $(mhwd -l | awk '/network-/' | wc -l) -gt 0 ]]; then for driver in $(mhwd -l | awk '/^network-/{print $1}'); do arch_chroot "mhwd -f -i pci ${driver}" 2>$ERR check_for_error "install ${driver}" $? @@ -178,7 +178,7 @@ install_manjaro_de_wm() { clear # Source the iso-profile profile=$(echo $PROFILES/*/$(cat /tmp/.desktop)/profile.conf) - . $profile + . $profile overlay=$(echo $PROFILES/*/$(cat /tmp/.desktop)/desktop-overlay/) echo $displaymanager > /tmp/.display-manager @@ -194,7 +194,7 @@ install_manjaro_de_wm() { set -o pipefail if $hostcache; then basestrap ${MOUNTPOINT} $(cat /mnt/.desktop) 2>$ERR |& tee /tmp/basestrap.log - else + else basestrap -c ${MOUNTPOINT} $(cat /mnt/.desktop) 2>$ERR |& tee /tmp/basestrap.log fi local err=$? @@ -249,7 +249,7 @@ install_desktop() { F2FS_CHECK=$(echo "f2fs-tools" "" off) mhwd-kernel -l | awk '/linux/ {print $2}' > /tmp/.available_kernels kernels=$(cat /tmp/.available_kernels) - + # Create the base list of packages echo "" > /mnt/.base @@ -321,7 +321,7 @@ install_desktop() { else basestrap -c ${MOUNTPOINT} $(cat /mnt/.base) 2>$ERR |& tee /tmp/basestrap.log fi - + local err=$? set +o pipefail check_for_error "install basepkgs" $err || { @@ -339,7 +339,7 @@ install_desktop() { # mkinitcpio handling for specific filesystems case $(findmnt -ln -o FSTYPE ${MOUNTPOINT}) in - btrfs) + btrfs) BTRFS_ROOT=1 sed -e '/^HOOKS=/s/\ fsck//g' -e '/^MODULES=/s/"$/ btrfs"/g' -i ${MOUNTPOINT}/etc/mkinitcpio.conf check_for_error "root on btrfs volume. Amend mkinitcpio." @@ -367,24 +367,24 @@ install_desktop() { ;; esac - - + + # check to see if raid is needed for boot # if mount point is on raid then it is needed if [[ $(lsblk -lno TYPE,MOUNTPOINT | grep -E "raid.*${MOUNTPOINT}" | wc -l)> 0 ]]; then raid_needed=true - + # put all the lines of lsblk, before the mountpoint, into an array # iterate through the array backwards util a partition is reached - # if raid was involved anywere between the mountpoint and partition, + # if raid was involved anywere between the mountpoint and partition, # then inital ramdisk configuration for raid is need else - + old_ifs="$IFS" IFS=$'\n' lsblk_lines=($(lsblk -lno TYPE,NAME,MOUNTPOINT | sed "/\/${MOUNTPOINT:1}$/q")) IFS="$old_ifs" - + for (( i=${#lsblk_lines[@]}-1 ; i>=0 ; i-- )) ; do if [[ $(echo ${lsblk_lines[i]} | grep "^lvm" | wc -l) > 0 ]]; then sed -i '/lvm2/b; s/\/& lvm2/' ${MOUNTPOINT}/etc/mkinitcpio.conf @@ -405,17 +405,17 @@ install_desktop() { break fi done - + fi - - + + # add mkinitcpio raid binary and hook, if root partition is on raid if [ "$raid_needed" = true ]; then # auto assemble raid mdadm --detail --scan >> ${MOUNTPOINT}/etc/mdadm.conf - - # add raid initramfs hook + + # add raid initramfs hook sed -i 's/\/& mdadm_udev/' ${MOUNTPOINT}/etc/mkinitcpio.conf binaries_line_number=$(grep -n "^BINARIES=(" ${MOUNTPOINT}/etc/mkinitcpio.conf | cut -f1 -d':') sed -i "${binaries_line_number}s/^\(.\{10\}\)/\1mdmon/" ${MOUNTPOINT}/etc/mkinitcpio.conf @@ -423,14 +423,14 @@ install_desktop() { # get newest kernel and initramfs newest_kernel=$(ls ${MOUNTPOINT}/lib/modules | grep '^[0-9]' | sort | tail -n 1) newest_initramfs=$(ls ${MOUNTPOINT}/boot | grep "initramfs" | grep -v "fallback"| sort | tail -n 1) - + # initramfs needs to be recomiled with raid support manjaro-chroot ${MOUNTPOINT} mkinitcpio -c /etc/mkinitcpio.conf -g /boot/${newest_initramfs} -k ${newest_kernel} - - fi - + + fi + recheck_luks - + # add luks and lvm hooks as needed ([[ $LVM -eq 1 ]] && [[ $LUKS -eq 0 ]]) && { sed -i 's/block filesystems/block lvm2 filesystems/g' ${MOUNTPOINT}/etc/mkinitcpio.conf 2>$ERR; check_for_error "add lvm2 hook" $?; } ([[ $LVM -eq 0 ]] && [[ $LUKS -eq 1 ]]) && { sed -i 's/block filesystems keyboard/block consolefont keymap keyboard encrypt filesystems/g' ${MOUNTPOINT}/etc/mkinitcpio.conf 2>$ERR; check_for_error "add luks hook" $?; } @@ -486,9 +486,9 @@ install_desktop() { echo "" echo "press Enter to continue" read - else + else install_network_drivers - fi + fi } choose_mjr_desk() { @@ -505,7 +505,7 @@ choose_mjr_desk() { clear # Source the iso-profile profile=$(echo $PROFILES/*/$(cat /tmp/.desktop)/profile.conf) - . $profile + . $profile overlay=$(echo $PROFILES/*/$(cat /tmp/.desktop)/desktop-overlay/) echo $displaymanager > /tmp/.display-manager @@ -513,7 +513,7 @@ choose_mjr_desk() { echo "" >> /mnt/.desktop DIALOG " $_ExtraPkgTitle " --yesno "\n$_ExtraPkgBody \n " 0 0 && \ echo "$(pacman -Ssq) $(pacman -Sg)" | fzf -m -e --header="$_AddPkgs" --prompt="$_AddPkgsPrmpt > " --reverse >> /mnt/.desktop && EDIT_PKGS=false - + fi } @@ -546,7 +546,7 @@ set_sddm_ck() { setup_modules() { - echo "KERNEL-headers" >> /tmp/.modules + echo "KERNEL-headers" >> /tmp/.modules if lsusb | grep -q "0bda:b720"; then # For realtek wifi card echo "KERNEL-rtl8723bu" >> /tmp/.modules @@ -555,7 +555,7 @@ setup_modules() { if systemd-detect-virt | grep -q "oracle"; then # For virtualbox echo "KERNEL-virtualbox-guest-modules" >> /tmp/.modules - fi + fi if dmidecode -t system | grep -q -i "ThinkPad"; then # For thinkpads @@ -566,7 +566,7 @@ setup_modules() { # For broadcom wifi card echo "KERNEL-broadcom-wl" >> /tmp/.modules fi - + if lspci | grep -i -q ralink; then # For ralink wifi card echo "KERNEL-rt3562sta" >> /tmp/.modules diff --git a/lib/util-menu.sh b/lib/util-menu.sh index f901de8..ef263c5 100644 --- a/lib/util-menu.sh +++ b/lib/util-menu.sh @@ -10,7 +10,7 @@ # as published by the Free Software Foundation. So feel free to copy, distribute, # or modify it as you wish. -import /usr/lib/manjaro-architect/util-desktop.sh +import /usr/lib/manjaro-architect/util-desktop.sh main_menu() { declare -i loopmenu=1 @@ -274,7 +274,7 @@ prep_menu() { ;; "11") set_cache ;; - "12") set_fsck_hook + "12") set_fsck_hook ;; *) loopmenu=0 return 0