mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-15 01:31:32 +01:00
43 lines
1.2 KiB
Bash
Executable File
43 lines
1.2 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
function translate_es {
|
|
case "$1" in
|
|
"JKArch install script")
|
|
echo "Script de instalacion de JKArch (BETA)";;
|
|
"Intro arch install script")
|
|
echo "Mediante unas preguntas y avanzando, instalaremos arch en su ordenador \nHa sido pensado para ser simple, y guiado por opciones, pero debes estar atento durante el proceso. \nAviso: No debes interrumpir la instalacion por ningun motivo, a no ser que quieras que quede incompleta"
|
|
"Part. scheme before your changes")
|
|
echo "Esquema de particiones antes de los cambios";;
|
|
"Your changes")
|
|
echo "Cambios que has realizado";;
|
|
*)
|
|
translate_en "$1";;
|
|
esac
|
|
}
|
|
|
|
function translate_en {
|
|
case "$1" in
|
|
"JKArch install script")
|
|
echo "$1";;
|
|
"Intro arch install script")
|
|
echo "Through simple questions, we will install arch in your computer. \nIts designed to be simple and guied by options, but you need to be careful during the process. \nWarning: You musnt stop the install never, or anything can happen";;
|
|
"Part. scheme before your changes")
|
|
echo "Your partition scheme before your changes";;
|
|
"Your changes")
|
|
echo "$1";;
|
|
*)
|
|
echo "$1";;
|
|
esac
|
|
}
|
|
|
|
|
|
|
|
function T {
|
|
case $sclang in
|
|
"es")
|
|
translate_es "$1";;
|
|
"en")
|
|
translate_en "$1";;
|
|
esac
|
|
}
|