mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 17:51:33 +01:00
Translations
This commit is contained in:
@@ -65,11 +65,11 @@ case $optpa in
|
|||||||
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
|
||||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||||
tput setaf 6 ; echo "$(T "Select hard disk to delete and use by JKArch")" ; tput setaf 9
|
tput setaf 6 ; echo "$(T "Select hard disk to delete and use by JKArch")" ; tput setaf 9
|
||||||
options=($(lsblk --output KNAME | cut -c1-3 | sort | uniq | sed '1d' | grep 'sd\|hd') "Salir")
|
options=($(lsblk --output KNAME | cut -c1-3 | sort | uniq | sed '1d' | grep 'sd\|hd') "$(T "Exit")")
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
"Salir")
|
"$(T "Exit")")
|
||||||
mostrardialog "Instalacion detenida" "Se detuvo la instalacion. No se hicieron cambios. Al aceptar, reiniciara la instalacion"
|
mostrardialog "Instalacion detenida" "Se detuvo la instalacion. No se hicieron cambios. Al aceptar, reiniciara la instalacion"
|
||||||
exec ./selectlang.sh
|
exec ./selectlang.sh
|
||||||
;;
|
;;
|
||||||
@@ -169,11 +169,11 @@ if [[ ! $optpa -eq 3 ]];then
|
|||||||
#Selección de home
|
#Selección de home
|
||||||
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
|
||||||
tput setaf 6 ; echo "$(T "Select home partition")" ; tput setaf 9
|
tput setaf 6 ; echo "$(T "Select home partition")" ; tput setaf 9
|
||||||
options=($(lsblk --output KNAME | sed '1d' | grep ${hd} | grep '[1-9]$') "No elegir")
|
options=($(lsblk --output KNAME | sed '1d' | grep ${hd} | grep '[1-9]$') "$(T "Not select")")
|
||||||
select opt in "${options[@]}"
|
select opt in "${options[@]}"
|
||||||
do
|
do
|
||||||
case $opt in
|
case $opt in
|
||||||
"No elegir")
|
"$(T "Not select")")
|
||||||
break;;
|
break;;
|
||||||
*)
|
*)
|
||||||
if [[ -z $opt ]];then
|
if [[ -z $opt ]];then
|
||||||
@@ -226,7 +226,7 @@ if [[ ! $optpa -eq 3 ]];then
|
|||||||
swapamount="512"
|
swapamount="512"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
2) swapamount=`dialog --stdout --inputbox "Memoria RAM: $(echo $ram) . Introduzca cuanta memoria para swap desea en MB" 9 50`;;
|
2) swapamount=`dialog --stdout --inputbox "RAM: $(echo $ram) . $(T "Enter how much memory you want to use for swap (MB)")" 9 50`;;
|
||||||
3) mostrardialog "Swap" "$(T "JKArch autodetects swap partitions")";;
|
3) mostrardialog "Swap" "$(T "JKArch autodetects swap partitions")";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -259,7 +259,7 @@ function install {
|
|||||||
clear
|
clear
|
||||||
tput setaf 2 ; echo "$(T "Installing system, this can take about 10 minutes, wait")" ; tput setaf 9
|
tput setaf 2 ; echo "$(T "Installing system, this can take about 10 minutes, wait")" ; tput setaf 9
|
||||||
sleep 2
|
sleep 2
|
||||||
tput setaf 2 ; echo "Formateando y montando particiones..." ; tput setaf 9
|
tput setaf 2 ; echo "$(T "Formatting and mounting partitions")" ; tput setaf 9
|
||||||
$formatoraiz /dev/$particionraiz
|
$formatoraiz /dev/$particionraiz
|
||||||
e2label /dev/$particionraiz "JKArch"
|
e2label /dev/$particionraiz "JKArch"
|
||||||
mount /dev/$particionraiz /mnt/
|
mount /dev/$particionraiz /mnt/
|
||||||
@@ -311,6 +311,7 @@ clear
|
|||||||
mostrardialog "$(T "JKArch install script")" "$(T "Intro arch install script")"
|
mostrardialog "$(T "JKArch install script")" "$(T "Intro arch install script")"
|
||||||
mostrardialog "JKArch" "El script esta en estado beta y se esta actualizando casi constantemente. Puede haber fallos importantes. En caso de fallo, vuelva a probar en unas horas"
|
mostrardialog "JKArch" "El script esta en estado beta y se esta actualizando casi constantemente. Puede haber fallos importantes. En caso de fallo, vuelva a probar en unas horas"
|
||||||
echo "Desmontando posibles particiones"
|
echo "Desmontando posibles particiones"
|
||||||
|
umount /mnt/boot/efi/
|
||||||
umount /mnt/*
|
umount /mnt/*
|
||||||
umount /mnt/
|
umount /mnt/
|
||||||
particiones
|
particiones
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ echo "LC_COLLATE=$opclang" >> /etc/locale.conf
|
|||||||
echo "KEYMAP=$langabr" > /etc/vconsole.conf
|
echo "KEYMAP=$langabr" > /etc/vconsole.conf
|
||||||
locale-gen
|
locale-gen
|
||||||
clear
|
clear
|
||||||
echo "Ahora seleccione su ubicación/país para ajustar el reloj"
|
echo "$(T "Now select your timezone for adjusting the clock")"
|
||||||
NEW_TIMEZONE=$(tzselect)
|
NEW_TIMEZONE=$(tzselect)
|
||||||
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
|
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
|
||||||
hwclock --systohc --utc
|
hwclock --systohc --utc
|
||||||
@@ -268,7 +268,7 @@ echo 'EndSection' >> /etc/X11/xorg.conf.d/00-keyboard.conf
|
|||||||
|
|
||||||
function entorno {
|
function entorno {
|
||||||
clear
|
clear
|
||||||
optentorno=`dialog --stdout --nocancel --menu "Escoje tu entorno de escritorio" 0 0 5 1 "LXDE (Muy ligero)" 2 "XFCE (Ligero)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero practico)" 5 "MATE (Tradicional)" 6 "Plasma/KDE (Pesado aunque bonito) " 7 "No instalar nada, solo la terminal de comandos"`
|
optentorno=`dialog --stdout --nocancel --menu "$(T "Select your desktop enviroment")" 0 0 5 1 "LXDE (Muy ligero)" 2 "XFCE (Ligero)" 3 "Cinnamon (Facil para antiguos usuarios de Windows)" 4 "Gnome (Complejo, pero practico)" 5 "MATE (Tradicional)" 6 "Plasma/KDE (Pesado aunque bonito) " 7 "No instalar entorno de escritorio"`
|
||||||
|
|
||||||
case $optentorno in
|
case $optentorno in
|
||||||
1)
|
1)
|
||||||
|
|||||||
@@ -162,11 +162,21 @@ case "$1" in
|
|||||||
"es") echo "sin formatear";;
|
"es") echo "sin formatear";;
|
||||||
*) echo "$1";;
|
*) echo "$1";;
|
||||||
esac;;
|
esac;;
|
||||||
|
"Not select")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "No elegir";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
"End")
|
"End")
|
||||||
case $sclang in
|
case $sclang in
|
||||||
"es") echo "Fin";;
|
"es") echo "Fin";;
|
||||||
*) echo "$1";;
|
*) echo "$1";;
|
||||||
esac;;
|
esac;;
|
||||||
|
"Exit")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "Salir";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
"Setup finished, press enter to reboot.")
|
"Setup finished, press enter to reboot.")
|
||||||
case $sclang in
|
case $sclang in
|
||||||
"es") echo "Instalación finalizada, al pulsar aceptar, se reiniciará el sistema";;
|
"es") echo "Instalación finalizada, al pulsar aceptar, se reiniciará el sistema";;
|
||||||
@@ -217,6 +227,26 @@ case "$1" in
|
|||||||
"es") echo "Creando archivo swap, espere";;
|
"es") echo "Creando archivo swap, espere";;
|
||||||
*) echo "$1";;
|
*) echo "$1";;
|
||||||
esac;;
|
esac;;
|
||||||
|
"Select your desktop enviroment")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "Escoje tu entorno de escritorio";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
|
"Now select your timezone for adjusting the clock")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "Ahora seleccione su ubicación/país para ajustar el reloj";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
|
"Enter how much memory you want to use for swap (MB)")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "Introduzca cuanta memoria quieres usar como swap (en MB)";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
|
"Formatting and mounting partitions")
|
||||||
|
case $sclang in
|
||||||
|
"es") echo "Formateando y montando particiones...";;
|
||||||
|
*) echo "$1";;
|
||||||
|
esac;;
|
||||||
*) echo "$1";;
|
*) echo "$1";;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user