diff --git a/archfi b/archfi index fa2e108..4ed6bc6 100644 --- a/archfi +++ b/archfi @@ -31,7 +31,7 @@ mainmenu(){ options+=("$txtselectpartsmenu" "") options+=("" "") options+=("$txtreboot" "") - sel=$(whiptail --backtitle "$apptitle" --title "$txtmainmenu" --menu "" --cancel-button "Exit" --default-item "$nextitem" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtmainmenu" --menu "" --cancel-button "$txtexit" --default-item "$nextitem" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -168,7 +168,7 @@ diskpartmenu(){ fi options+=("$txteditparts (cfdisk)" "") options+=("$txteditparts (cgdisk)" "") - sel=$(whiptail --backtitle "$apptitle" --title "$txtdiskpartmenu" --menu "" --cancel-button "Back" --default-item "$nextitem" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtdiskpartmenu" --menu "" --cancel-button "$txtback" --default-item "$nextitem" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -444,7 +444,7 @@ mountmenu(){ options=() options+=("$txtformatdevices" "") options+=("$txtmount" "$txtmountdesc") - sel=$(whiptail --backtitle "$apptitle" --title "$txtformatmountmenu" --menu "" --cancel-button "Back" --default-item "$nextitem" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtformatmountmenu" --menu "" --cancel-button "$txtback" --default-item "$nextitem" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -598,7 +598,7 @@ formatdevice(){ options=() options+=("normal" "") options+=("fast" "") - sel=$(whiptail --backtitle "$apptitle" --title "$txtformatdevice" --menu "Wipe device ?" --cancel-button="Ignore" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtformatdevice" --menu "Wipe device ?" --cancel-button="$txtignore" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -677,7 +677,7 @@ installmenu(){ options+=("$txteditmirrorlist" "($txtoptional)") options+=("$txtinstallarchlinux" "pacstrap base") options+=("$txtconfigarchlinux" "") - sel=$(whiptail --backtitle "$apptitle" --title "$txtinstallmenu" --menu "" --cancel-button "Unmount" --default-item "$nextitem" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtinstallmenu" --menu "" --cancel-button "$txtunmount" --default-item "$nextitem" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -752,7 +752,7 @@ archmenu(){ options+=("${txtinstall//%1/bootloader}" "grub-install") options+=("${txtenable//%1/dhcpcd}" "systemctl enable dhcpd") options+=("archdi" "$txtarchdidesc") - sel=$(whiptail --backtitle "$apptitle" --title "$txtarchinstallmenu" --menu "" --cancel-button "Back" --default-item "$nextitem" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtarchinstallmenu" --menu "" --cancel-button "$txtback" --default-item "$nextitem" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -1108,7 +1108,7 @@ archinstallbootloader(){ options+=("EFI" "") options+=("BIOS+EFI" "") fi - sel=$(whiptail --backtitle "$apptitle" --title "${txtinstall//%1/bootloader}" --menu "" --cancel-button "Back" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "${txtinstall//%1/bootloader}" --menu "" --cancel-button "$txtback" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -1175,7 +1175,7 @@ installarchdi(){ options+=("$txtarchdiinstallandlaunch" "") options+=("$txtarchdilaunch" "") options+=("$txtarchdiinstall" "") - sel=$(whiptail --backtitle "$apptitle" --title "$txtarchdimenu" --menu "" --cancel-button "Back" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtarchdimenu" --menu "" --cancel-button "$txtback" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -1195,7 +1195,7 @@ archdidownload(){ options=() options+=("sourceforge.net" "recommended") options+=("github.com" "") - sel=$(whiptail --backtitle "$apptitle" --title "$txtselectserver" --menu "" --cancel-button "Back" 0 0 0 \ + sel=$(whiptail --backtitle "$apptitle" --title "$txtselectserver" --menu "" --cancel-button "$txtback" 0 0 0 \ "${options[@]}" \ 3>&1 1>&2 2>&3) if [ "$?" = "0" ]; then @@ -1245,6 +1245,10 @@ loadstrings(){ locale=en_US.UTF-8 #font= + txtexit="Exit" + txtback="Back" + txtignore="Ignore" + txtselectserver="Select source server :" txtmainmenu="Main Menu" @@ -1274,6 +1278,7 @@ loadstrings(){ txtformatdevices="Format Devices" txtformatdevice="Format Device" txtmount="Mount" + txtunmount="Unmount" txtmountdesc="Install or Config" txtformatdeviceconfirm="Warning, all data on selected devices will be erased ! \nFormat devices ?" diff --git a/lng/English b/lng/English new file mode 100644 index 0000000..9c68c85 --- /dev/null +++ b/lng/English @@ -0,0 +1,94 @@ +# Arch Linux Fast Install (archfi) +# -------------------------------- +# project : https://github.com/MatMoul/archfi +# language : English +# translator : matmoul (pseudo, name or e-mail.) +# notes : misc text... + + +locale=en_US.UTF-8 +#font= + + +txtexit="Exit" +txtback="Back" +txtignore="Ignore" + +txtselectserver="Select source server :" + +txtmainmenu="Main Menu" +txtlanguage="Language" +txtsetkeymap="Set Keyboard Layout" +txteditor="Editor" +txtdiskpartmenu="Disk Partitions" +txtselectpartsmenu="Select Partitions and Install" +txthelp="Help" +txtchangelog="Changelog" +txtreboot="Reboot" + +txtautoparts="Auto Partitions" +txteditparts="Edit Partitions" + +txtautopartsconfirm="Selected device : %1\n\nAll data will be erased ! \n\nContinue ?" + +txtautopartclear="Clear all partition data" +txtautopartcreate="Create %1 partition" +txthybridpartcreate="Set hybrid MBR" +txtautopartsettype="Set %1 partition type" + +txtselectdevice="Select %1 device :" +txtselecteddevices="Selected devices :" + +txtformatmountmenu="Format and Mount" +txtformatdevices="Format Devices" +txtformatdevice="Format Device" +txtmount="Mount" +txtunmount="Unmount" +txtmountdesc="Install or Config" + +txtformatdeviceconfirm="Warning, all data on selected devices will be erased ! \nFormat devices ?" + +txtselectpartformat="Select partition format for %1 :" +txtformatingpart="Formatting partition %1 as" +txtcreateluksdevice="Create luks device :" +txtopenluksdevice="Open luks device :" +txtluksdevicecreated="luks device created !" + +txtinstallmenu="Install Menu" + +txtarchinstallmenu="Arch Install Menu" +txtrungrubmakeconfig="Run grub-mkconfig ?" + +txteditmirrorlist="Edit mirrorlist" +txtinstallarchlinux="Install Arch Linux" +txtconfigarchlinux="Config Arch Linux" + +txtsethostname="Set Computer Name" +txtsetfont="Set Font" +txtsetlocale="Set Locale" +txtsettime="Set Time" +txtsetrootpassword="Set root password" + +txtuseutcclock="Use UTC hardware clock ?" + +txtoptional="Optional" +txtrecommandeasyinst="Recommanded for easy install" +txtset="Set %1" +txtgenerate="Generate %1" +txtedit="Edit %1" +txtinstall="Install %1" +txtenable="Enable %1" + +txtgrubluksdetected="Encrypted root partion !\n\nAdd cryptdevice= to GRUB_CMDLINE_LINUX in /etc/default/grub ?" + + +txtpressanykey="Press any key to continue." + +txtinstallosprober="os-prober is a good solution if you want to use mutli-boot.\nInstall os-prober ?" +txtefibootmgr="efibootmgr is required for efi computer." + +txtarchdidesc="Full desktop install script" +txtinstallarchdi="Arch Linux Desktop Install (archdi) is a second script who can help you to install a full workstation.\n\nYou can just launch the script or install it. Choose in the next menu.\n\nArch Linux Desktop Install as two dependencies : wget and libnewt.\n\npacstrap wget libnewt ?" +txtarchdiinstallandlaunch="Install and run archdi" +txtarchdiinstall="Install archdi" +txtarchdilaunch="Launch archdi" diff --git a/lng/French b/lng/French index 54bfc0a..3c20ffb 100644 --- a/lng/French +++ b/lng/French @@ -7,9 +7,13 @@ locale=fr_FR.UTF-8 -#font= +font=lat1-16 +txtexit="Quitter" +txtback="Retour" +txtignore="Ignorer" + txtselectserver="Sélectionnez le serveur source :" txtmainmenu="Menu Principal" @@ -39,6 +43,7 @@ txtformatmountmenu="Formatter et Monter" txtformatdevices="Formatter les partitions" txtformatdevice="Formatter une partition" txtmount="Monter" +txtunmount="Démonter" txtmountdesc="Installation ou Configuration" txtformatdeviceconfirm="Attention, toutes les données sur les partitions sélectionnées vont être effacées ! \nFormatter les partitions ?" diff --git a/lng/German b/lng/German index 9cc5c14..124533c 100644 --- a/lng/German +++ b/lng/German @@ -10,6 +10,10 @@ locale=de_DE.UTF-8 #font= +txtexit="Exit" +txtback="Back" +txtignore="Ignore" + txtselectserver="Wählen Sie einen Spiegelserver:" txtmainmenu="Hauptmenü" @@ -39,6 +43,7 @@ txtformatmountmenu="Formatieren und einbinden" txtformatdevices="Partitionen formatieren" txtformatdevice="Laufwerk formatieren" txtmount="Einbinden" +txtunmount="Unmount" txtmountdesc="Partitionen einbinden und Installation fortsetzen" txtformatdeviceconfirm="Warnung, werden alle Daten auf den ausgewählten Laufwerken werden gelöscht!\nLaufwerke wirklich formatieren?" diff --git a/lng/Hungarian b/lng/Hungarian index 9a42abb..baa2ea3 100644 --- a/lng/Hungarian +++ b/lng/Hungarian @@ -10,6 +10,10 @@ locale=hu_HU.UTF-8 font=lat2-16 +txtexit="Exit" +txtback="Back" +txtignore="Ignore" + txtselectserver="Forrás szerver kiválasztása :" txtmainmenu="Főmenü" @@ -39,6 +43,7 @@ txtformatmountmenu="Formázás és Csatolás" txtformatdevices="Lemezek formázása" txtformatdevice="Lemez formázása" txtmount="Csatolás" +txtunmount="Unmount" txtmountdesc="Telepítés vagy Beállítás" txtformatdeviceconfirm="Figyelem! Minden partíció és adat el fog veszni a lemezről ! \nFormázzuk a lemezeket ?" diff --git a/lng/Russian b/lng/Russian index 52b827e..137502a 100644 --- a/lng/Russian +++ b/lng/Russian @@ -10,6 +10,10 @@ locale=ru_RU.UTF-8 font=cyr-sun16 +txtexit="Exit" +txtback="Back" +txtignore="Ignore" + txtselectserver="Выберите сервер исходников :" txtmainmenu="Главное меню" @@ -39,6 +43,7 @@ txtformatmountmenu="Форматирование и монтирование" txtformatdevices="Форматирование разделов" txtformatdevice="Форматирование раздела" txtmount="Монтирование" +txtunmount="Unmount" txtmountdesc="Установка или настройка" txtformatdeviceconfirm="Внимание, все данные на выбранных разделах будут удалены ! \nФорматировать разделы ?" diff --git a/lng/Spanish b/lng/Spanish index a5e50ef..fba057a 100644 --- a/lng/Spanish +++ b/lng/Spanish @@ -10,6 +10,10 @@ locale=es_ES.UTF-8 #font= +txtexit="Exit" +txtback="Back" +txtignore="Ignore" + txtselectserver="Seleccione el servidor de fuentes" txtmainmenu="Menú Principal" @@ -39,6 +43,7 @@ txtformatmountmenu="Formatear y montar" txtformatdevices="Formatear las particiones" txtformatdevice="Formatear una particion" txtmount="Montar" +txtunmount="Unmount" txtmountdesc="Installación o Configuración" txtformatdeviceconfirm="¡Atención!, todos los datos en las particiones seleccionadas serán eliminados \n¿Formatear las particiones?"