1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-15 17:51:33 +01:00

Translations

This commit is contained in:
kprkpr
2016-06-19 17:49:43 +02:00
parent f10328d5b4
commit 7b170e5916
3 changed files with 40 additions and 9 deletions

View File

@@ -65,11 +65,11 @@ case $optpa in
tput setaf 6 ; echo "$(T "Your partition scheme")" ; tput setaf 9
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
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[@]}"
do
case $opt in
"Salir")
"$(T "Exit")")
mostrardialog "Instalacion detenida" "Se detuvo la instalacion. No se hicieron cambios. Al aceptar, reiniciara la instalacion"
exec ./selectlang.sh
;;
@@ -169,11 +169,11 @@ if [[ ! $optpa -eq 3 ]];then
#Selección de home
lsblk --output NAME,KNAME,FSTYPE,SIZE,LABEL
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[@]}"
do
case $opt in
"No elegir")
"$(T "Not select")")
break;;
*)
if [[ -z $opt ]];then
@@ -226,7 +226,7 @@ if [[ ! $optpa -eq 3 ]];then
swapamount="512"
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")";;
esac
@@ -259,7 +259,7 @@ function install {
clear
tput setaf 2 ; echo "$(T "Installing system, this can take about 10 minutes, wait")" ; tput setaf 9
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
e2label /dev/$particionraiz "JKArch"
mount /dev/$particionraiz /mnt/
@@ -311,6 +311,7 @@ clear
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"
echo "Desmontando posibles particiones"
umount /mnt/boot/efi/
umount /mnt/*
umount /mnt/
particiones

View File

@@ -77,7 +77,7 @@ echo "LC_COLLATE=$opclang" >> /etc/locale.conf
echo "KEYMAP=$langabr" > /etc/vconsole.conf
locale-gen
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)
test -n "$NEW_TIMEZONE" && cp -fp /usr/share/zoneinfo/"$NEW_TIMEZONE" /etc/localtime
hwclock --systohc --utc
@@ -268,7 +268,7 @@ echo 'EndSection' >> /etc/X11/xorg.conf.d/00-keyboard.conf
function entorno {
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
1)

View File

@@ -162,11 +162,21 @@ case "$1" in
"es") echo "sin formatear";;
*) echo "$1";;
esac;;
"Not select")
case $sclang in
"es") echo "No elegir";;
*) echo "$1";;
esac;;
"End")
case $sclang in
"es") echo "Fin";;
*) echo "$1";;
esac;;
"Exit")
case $sclang in
"es") echo "Salir";;
*) echo "$1";;
esac;;
"Setup finished, press enter to reboot.")
case $sclang in
"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";;
*) echo "$1";;
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";;
esac
}