1
0
mirror of https://gitlab.com/JKANetwork/JKArch.git synced 2026-02-17 02:31:32 +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