Add language string
This commit is contained in:
parent
f2376cb21f
commit
d94afafbcb
7 changed files with 134 additions and 10 deletions
23
archfi
23
archfi
|
@ -31,7 +31,7 @@ mainmenu(){
|
||||||
options+=("$txtselectpartsmenu" "")
|
options+=("$txtselectpartsmenu" "")
|
||||||
options+=("" "")
|
options+=("" "")
|
||||||
options+=("$txtreboot" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -168,7 +168,7 @@ diskpartmenu(){
|
||||||
fi
|
fi
|
||||||
options+=("$txteditparts (cfdisk)" "")
|
options+=("$txteditparts (cfdisk)" "")
|
||||||
options+=("$txteditparts (cgdisk)" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -444,7 +444,7 @@ mountmenu(){
|
||||||
options=()
|
options=()
|
||||||
options+=("$txtformatdevices" "")
|
options+=("$txtformatdevices" "")
|
||||||
options+=("$txtmount" "$txtmountdesc")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -598,7 +598,7 @@ formatdevice(){
|
||||||
options=()
|
options=()
|
||||||
options+=("normal" "")
|
options+=("normal" "")
|
||||||
options+=("fast" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -677,7 +677,7 @@ installmenu(){
|
||||||
options+=("$txteditmirrorlist" "($txtoptional)")
|
options+=("$txteditmirrorlist" "($txtoptional)")
|
||||||
options+=("$txtinstallarchlinux" "pacstrap base")
|
options+=("$txtinstallarchlinux" "pacstrap base")
|
||||||
options+=("$txtconfigarchlinux" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -752,7 +752,7 @@ archmenu(){
|
||||||
options+=("${txtinstall//%1/bootloader}" "grub-install")
|
options+=("${txtinstall//%1/bootloader}" "grub-install")
|
||||||
options+=("${txtenable//%1/dhcpcd}" "systemctl enable dhcpd")
|
options+=("${txtenable//%1/dhcpcd}" "systemctl enable dhcpd")
|
||||||
options+=("archdi" "$txtarchdidesc")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -1108,7 +1108,7 @@ archinstallbootloader(){
|
||||||
options+=("EFI" "")
|
options+=("EFI" "")
|
||||||
options+=("BIOS+EFI" "")
|
options+=("BIOS+EFI" "")
|
||||||
fi
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -1175,7 +1175,7 @@ installarchdi(){
|
||||||
options+=("$txtarchdiinstallandlaunch" "")
|
options+=("$txtarchdiinstallandlaunch" "")
|
||||||
options+=("$txtarchdilaunch" "")
|
options+=("$txtarchdilaunch" "")
|
||||||
options+=("$txtarchdiinstall" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -1195,7 +1195,7 @@ archdidownload(){
|
||||||
options=()
|
options=()
|
||||||
options+=("sourceforge.net" "recommended")
|
options+=("sourceforge.net" "recommended")
|
||||||
options+=("github.com" "")
|
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[@]}" \
|
"${options[@]}" \
|
||||||
3>&1 1>&2 2>&3)
|
3>&1 1>&2 2>&3)
|
||||||
if [ "$?" = "0" ]; then
|
if [ "$?" = "0" ]; then
|
||||||
|
@ -1245,6 +1245,10 @@ loadstrings(){
|
||||||
locale=en_US.UTF-8
|
locale=en_US.UTF-8
|
||||||
#font=
|
#font=
|
||||||
|
|
||||||
|
txtexit="Exit"
|
||||||
|
txtback="Back"
|
||||||
|
txtignore="Ignore"
|
||||||
|
|
||||||
txtselectserver="Select source server :"
|
txtselectserver="Select source server :"
|
||||||
|
|
||||||
txtmainmenu="Main Menu"
|
txtmainmenu="Main Menu"
|
||||||
|
@ -1274,6 +1278,7 @@ loadstrings(){
|
||||||
txtformatdevices="Format Devices"
|
txtformatdevices="Format Devices"
|
||||||
txtformatdevice="Format Device"
|
txtformatdevice="Format Device"
|
||||||
txtmount="Mount"
|
txtmount="Mount"
|
||||||
|
txtunmount="Unmount"
|
||||||
txtmountdesc="Install or Config"
|
txtmountdesc="Install or Config"
|
||||||
|
|
||||||
txtformatdeviceconfirm="Warning, all data on selected devices will be erased ! \nFormat devices ?"
|
txtformatdeviceconfirm="Warning, all data on selected devices will be erased ! \nFormat devices ?"
|
||||||
|
|
94
lng/English
Normal file
94
lng/English
Normal file
|
@ -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"
|
|
@ -7,9 +7,13 @@
|
||||||
|
|
||||||
|
|
||||||
locale=fr_FR.UTF-8
|
locale=fr_FR.UTF-8
|
||||||
#font=
|
font=lat1-16
|
||||||
|
|
||||||
|
|
||||||
|
txtexit="Quitter"
|
||||||
|
txtback="Retour"
|
||||||
|
txtignore="Ignorer"
|
||||||
|
|
||||||
txtselectserver="Sélectionnez le serveur source :"
|
txtselectserver="Sélectionnez le serveur source :"
|
||||||
|
|
||||||
txtmainmenu="Menu Principal"
|
txtmainmenu="Menu Principal"
|
||||||
|
@ -39,6 +43,7 @@ txtformatmountmenu="Formatter et Monter"
|
||||||
txtformatdevices="Formatter les partitions"
|
txtformatdevices="Formatter les partitions"
|
||||||
txtformatdevice="Formatter une partition"
|
txtformatdevice="Formatter une partition"
|
||||||
txtmount="Monter"
|
txtmount="Monter"
|
||||||
|
txtunmount="Démonter"
|
||||||
txtmountdesc="Installation ou Configuration"
|
txtmountdesc="Installation ou Configuration"
|
||||||
|
|
||||||
txtformatdeviceconfirm="Attention, toutes les données sur les partitions sélectionnées vont être effacées ! \nFormatter les partitions ?"
|
txtformatdeviceconfirm="Attention, toutes les données sur les partitions sélectionnées vont être effacées ! \nFormatter les partitions ?"
|
||||||
|
|
|
@ -10,6 +10,10 @@ locale=de_DE.UTF-8
|
||||||
#font=
|
#font=
|
||||||
|
|
||||||
|
|
||||||
|
txtexit="Exit"
|
||||||
|
txtback="Back"
|
||||||
|
txtignore="Ignore"
|
||||||
|
|
||||||
txtselectserver="Wählen Sie einen Spiegelserver:"
|
txtselectserver="Wählen Sie einen Spiegelserver:"
|
||||||
|
|
||||||
txtmainmenu="Hauptmenü"
|
txtmainmenu="Hauptmenü"
|
||||||
|
@ -39,6 +43,7 @@ txtformatmountmenu="Formatieren und einbinden"
|
||||||
txtformatdevices="Partitionen formatieren"
|
txtformatdevices="Partitionen formatieren"
|
||||||
txtformatdevice="Laufwerk formatieren"
|
txtformatdevice="Laufwerk formatieren"
|
||||||
txtmount="Einbinden"
|
txtmount="Einbinden"
|
||||||
|
txtunmount="Unmount"
|
||||||
txtmountdesc="Partitionen einbinden und Installation fortsetzen"
|
txtmountdesc="Partitionen einbinden und Installation fortsetzen"
|
||||||
|
|
||||||
txtformatdeviceconfirm="Warnung, werden alle Daten auf den ausgewählten Laufwerken werden gelöscht!\nLaufwerke wirklich formatieren?"
|
txtformatdeviceconfirm="Warnung, werden alle Daten auf den ausgewählten Laufwerken werden gelöscht!\nLaufwerke wirklich formatieren?"
|
||||||
|
|
|
@ -10,6 +10,10 @@ locale=hu_HU.UTF-8
|
||||||
font=lat2-16
|
font=lat2-16
|
||||||
|
|
||||||
|
|
||||||
|
txtexit="Exit"
|
||||||
|
txtback="Back"
|
||||||
|
txtignore="Ignore"
|
||||||
|
|
||||||
txtselectserver="Forrás szerver kiválasztása :"
|
txtselectserver="Forrás szerver kiválasztása :"
|
||||||
|
|
||||||
txtmainmenu="Főmenü"
|
txtmainmenu="Főmenü"
|
||||||
|
@ -39,6 +43,7 @@ txtformatmountmenu="Formázás és Csatolás"
|
||||||
txtformatdevices="Lemezek formázása"
|
txtformatdevices="Lemezek formázása"
|
||||||
txtformatdevice="Lemez formázása"
|
txtformatdevice="Lemez formázása"
|
||||||
txtmount="Csatolás"
|
txtmount="Csatolás"
|
||||||
|
txtunmount="Unmount"
|
||||||
txtmountdesc="Telepítés vagy Beállítás"
|
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 ?"
|
txtformatdeviceconfirm="Figyelem! Minden partíció és adat el fog veszni a lemezről ! \nFormázzuk a lemezeket ?"
|
||||||
|
|
|
@ -10,6 +10,10 @@ locale=ru_RU.UTF-8
|
||||||
font=cyr-sun16
|
font=cyr-sun16
|
||||||
|
|
||||||
|
|
||||||
|
txtexit="Exit"
|
||||||
|
txtback="Back"
|
||||||
|
txtignore="Ignore"
|
||||||
|
|
||||||
txtselectserver="Выберите сервер исходников :"
|
txtselectserver="Выберите сервер исходников :"
|
||||||
|
|
||||||
txtmainmenu="Главное меню"
|
txtmainmenu="Главное меню"
|
||||||
|
@ -39,6 +43,7 @@ txtformatmountmenu="Форматирование и монтирование"
|
||||||
txtformatdevices="Форматирование разделов"
|
txtformatdevices="Форматирование разделов"
|
||||||
txtformatdevice="Форматирование раздела"
|
txtformatdevice="Форматирование раздела"
|
||||||
txtmount="Монтирование"
|
txtmount="Монтирование"
|
||||||
|
txtunmount="Unmount"
|
||||||
txtmountdesc="Установка или настройка"
|
txtmountdesc="Установка или настройка"
|
||||||
|
|
||||||
txtformatdeviceconfirm="Внимание, все данные на выбранных разделах будут удалены ! \nФорматировать разделы ?"
|
txtformatdeviceconfirm="Внимание, все данные на выбранных разделах будут удалены ! \nФорматировать разделы ?"
|
||||||
|
|
|
@ -10,6 +10,10 @@ locale=es_ES.UTF-8
|
||||||
#font=
|
#font=
|
||||||
|
|
||||||
|
|
||||||
|
txtexit="Exit"
|
||||||
|
txtback="Back"
|
||||||
|
txtignore="Ignore"
|
||||||
|
|
||||||
txtselectserver="Seleccione el servidor de fuentes"
|
txtselectserver="Seleccione el servidor de fuentes"
|
||||||
|
|
||||||
txtmainmenu="Menú Principal"
|
txtmainmenu="Menú Principal"
|
||||||
|
@ -39,6 +43,7 @@ txtformatmountmenu="Formatear y montar"
|
||||||
txtformatdevices="Formatear las particiones"
|
txtformatdevices="Formatear las particiones"
|
||||||
txtformatdevice="Formatear una particion"
|
txtformatdevice="Formatear una particion"
|
||||||
txtmount="Montar"
|
txtmount="Montar"
|
||||||
|
txtunmount="Unmount"
|
||||||
txtmountdesc="Installación o Configuración"
|
txtmountdesc="Installación o Configuración"
|
||||||
|
|
||||||
txtformatdeviceconfirm="¡Atención!, todos los datos en las particiones seleccionadas serán eliminados \n¿Formatear las particiones?"
|
txtformatdeviceconfirm="¡Atención!, todos los datos en las particiones seleccionadas serán eliminados \n¿Formatear las particiones?"
|
||||||
|
|
Loading…
Reference in a new issue