Merge branch 'MaxWilliamJF-master' into portuguese

This commit is contained in:
MatMoul 2016-05-24 23:37:13 +02:00
commit 6ffd4cc95d
3 changed files with 117 additions and 22 deletions

43
archfi
View file

@ -82,6 +82,7 @@ chooselanguage(){
options+=("German" "(By untergrundbiber)") options+=("German" "(By untergrundbiber)")
options+=("Hungarian" "(By KardiWeb)") options+=("Hungarian" "(By KardiWeb)")
options+=("Polish" "(By dawidd6)") options+=("Polish" "(By dawidd6)")
options+=("Portuguese" "(By MaxWilliamJF)")
options+=("Russian" "(By Anonymous_Prodject)") options+=("Russian" "(By Anonymous_Prodject)")
options+=("Spanish" "(By Mystogab)") options+=("Spanish" "(By Mystogab)")
options+=("Turkish" "(By c0b41)") options+=("Turkish" "(By c0b41)")
@ -901,7 +902,7 @@ archsetkeymap(){
archsetfont(){ archsetfont(){
items=$(find /usr/share/kbd/consolefonts/*.psfu.gz -printf "%f\n") items=$(find /usr/share/kbd/consolefonts/*.psfu.gz -printf "%f\n")
options=() options=()
for item in $items; do for item in $items; do
options+=("${item%%.*}" "") options+=("${item%%.*}" "")
@ -957,8 +958,8 @@ archsettime(){
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
return 1 return 1
fi fi
items=$(ls /mnt/usr/share/zoneinfo/$timezone/) items=$(ls /mnt/usr/share/zoneinfo/$timezone/)
options=() options=()
for item in $items; do for item in $items; do
@ -971,12 +972,12 @@ archsettime(){
if [ ! "$?" = "0" ]; then if [ ! "$?" = "0" ]; then
return 1 return 1
fi fi
clear clear
echo "ln -sf /mnt/usr/share/zoneinfo/$timezone /mnt/etc/localtime" echo "ln -sf /mnt/usr/share/zoneinfo/$timezone /mnt/etc/localtime"
ln -sf /usr/share/zoneinfo/$timezone /mnt/etc/localtime ln -sf /usr/share/zoneinfo/$timezone /mnt/etc/localtime
pressanykey pressanykey
if (whiptail --backtitle "$apptitle" --title "$txtsettime" --yesno "$txtuseutcclock" 0 0) then if (whiptail --backtitle "$apptitle" --title "$txtsettime" --yesno "$txtuseutcclock" 0 0) then
clear clear
archchroot settimeutc archchroot settimeutc
@ -984,9 +985,9 @@ archsettime(){
clear clear
archchroot settimelocal archchroot settimelocal
fi fi
pressanykey pressanykey
} }
archsettimeutcchroot(){ archsettimeutcchroot(){
echo "hwclock --systohc --utc" echo "hwclock --systohc --utc"
@ -1051,7 +1052,7 @@ archinstallgrub(){
echo "pacstrap /mnt grub" echo "pacstrap /mnt grub"
pacstrap /mnt grub pacstrap /mnt grub
pressanykey pressanykey
if [ "$eficomputer" == "1" ]; then if [ "$eficomputer" == "1" ]; then
if [ "$efimode" == "1" ]||[ "$efimode" == "2" ]; then if [ "$efimode" == "1" ]||[ "$efimode" == "2" ]; then
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/efibootmgr}" --yesno "$txtefibootmgr" 0 0) then
@ -1069,7 +1070,7 @@ archinstallgrub(){
fi fi
fi fi
fi fi
if [ "$luksroot" = "1" ]; then if [ "$luksroot" = "1" ]; then
if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/grub}" --yesno "$txtgrubluksdetected" 0 0) then if (whiptail --backtitle "$apptitle" --title "${txtinstall//%1/grub}" --yesno "$txtgrubluksdetected" 0 0) then
clear clear
@ -1078,7 +1079,7 @@ archinstallgrub(){
pressanykey pressanykey
fi fi
fi fi
clear clear
archchroot installgrub archchroot installgrub
pressanykey pressanykey
@ -1247,16 +1248,16 @@ pressanykey(){
} }
loadstrings(){ loadstrings(){
locale=en_US.UTF-8 locale=en_US.UTF-8
#font= #font=
txtexit="Exit" txtexit="Exit"
txtback="Back" txtback="Back"
txtignore="Ignore" txtignore="Ignore"
txtselectserver="Select source server :" txtselectserver="Select source server :"
txtmainmenu="Main Menu" txtmainmenu="Main Menu"
txtlanguage="Language" txtlanguage="Language"
txtsetkeymap="Set Keyboard Layout" txtsetkeymap="Set Keyboard Layout"
@ -1296,10 +1297,10 @@ loadstrings(){
txtluksdevicecreated="luks device created !" txtluksdevicecreated="luks device created !"
txtinstallmenu="Install Menu" txtinstallmenu="Install Menu"
txtarchinstallmenu="Arch Install Menu" txtarchinstallmenu="Arch Install Menu"
txtrungrubmakeconfig="Run grub-mkconfig ?" txtrungrubmakeconfig="Run grub-mkconfig ?"
txteditmirrorlist="Edit mirrorlist" txteditmirrorlist="Edit mirrorlist"
txtinstallarchlinux="Install Arch Linux" txtinstallarchlinux="Install Arch Linux"
txtconfigarchlinux="Config Arch Linux" txtconfigarchlinux="Config Arch Linux"
@ -1309,9 +1310,9 @@ loadstrings(){
txtsetlocale="Set Locale" txtsetlocale="Set Locale"
txtsettime="Set Time" txtsettime="Set Time"
txtsetrootpassword="Set root password" txtsetrootpassword="Set root password"
txtuseutcclock="Use UTC hardware clock ?" txtuseutcclock="Use UTC hardware clock ?"
txtoptional="Optional" txtoptional="Optional"
txtrecommandeasyinst="Recommanded for easy install" txtrecommandeasyinst="Recommanded for easy install"
txtset="Set %1" txtset="Set %1"
@ -1319,15 +1320,15 @@ loadstrings(){
txtedit="Edit %1" txtedit="Edit %1"
txtinstall="Install %1" txtinstall="Install %1"
txtenable="Enable %1" txtenable="Enable %1"
txtgrubluksdetected="Encrypted root partion !\n\nAdd cryptdevice= to GRUB_CMDLINE_LINUX in /etc/default/grub ?" txtgrubluksdetected="Encrypted root partion !\n\nAdd cryptdevice= to GRUB_CMDLINE_LINUX in /etc/default/grub ?"
txtpressanykey="Press any key to continue." txtpressanykey="Press any key to continue."
txtinstallosprober="os-prober is a good solution if you want to use mutli-boot.\nInstall os-prober ?" txtinstallosprober="os-prober is a good solution if you want to use mutli-boot.\nInstall os-prober ?"
txtefibootmgr="efibootmgr is required for efi computer." txtefibootmgr="efibootmgr is required for efi computer."
txtarchdidesc="Full desktop install script" 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 ?" 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" txtarchdiinstallandlaunch="Install and run archdi"

View file

@ -88,7 +88,7 @@ txtinstallosprober="os-prober is a good solution if you want to use mutli-boot.\
txtefibootmgr="efibootmgr is required for efi computer." txtefibootmgr="efibootmgr is required for efi computer."
txtarchdidesc="Full desktop install script" 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 ?" 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 has two dependencies : wget and libnewt.\n\npacstrap wget libnewt ?"
txtarchdiinstallandlaunch="Install and run archdi" txtarchdiinstallandlaunch="Install and run archdi"
txtarchdiinstall="Install archdi" txtarchdiinstall="Install archdi"
txtarchdilaunch="Launch archdi" txtarchdilaunch="Launch archdi"

94
lng/Portuguese Normal file
View file

@ -0,0 +1,94 @@
# Arch Linux Fast Install (archfi)
# --------------------------------
# project : https://github.com/MatMoul/archfi
# language : Português
# translator : MaxWilliamJF (maxwilljf@gmail.com)
# notes : Version 0.1
locale=pt_BR.UTF-8
font=Lat2-Terminus16
txtexit="Sair"
txtback="Voltar"
txtignore="Ignorar"
txtselectserver="Escolha um servidor de origem :"
txtmainmenu="Menu Principal"
txtlanguage="Linguagem"
txtsetkeymap="Definir Layout do Teclado"
txteditor="Editor"
txtdiskpartmenu="Partições de Disco"
txtselectpartsmenu="Selecionar Partições e Instalar"
txthelp="Ajuda"
txtchangelog="Registro de Alterações"
txtreboot="Reiniciar"
txtautoparts="Particionar Automaticamente"
txteditparts="Editar Partições"
txtautopartsconfirm="Dispositivo selecionado : %1\n\nTodos os dados serão apagados ! \n\nContinuar ?"
txtautopartclear="Limpar todos os dados da partição"
txtautopartcreate="Criar partição %1"
txthybridpartcreate="Definir MBR híbrido"
txtautopartsettype="Definir o tipo da partição %1"
txtselectdevice="Selecione o dispositivo %1 :"
txtselecteddevices="Dispositivos selecionados :"
txtformatmountmenu="Formatar e Montar"
txtformatdevices="Formatar Dispositivos"
txtformatdevice="Formatar Dispositivo"
txtmount="Montar"
txtunmount="Desmontar"
txtmountdesc="Instalar e Configurar"
txtformatdeviceconfirm="Aviso, todos os dados nas partições selecionadas serão apagados ! \nFormatar partições ?"
txtselectpartformat="Defina o tipo de partição para %1 :"
txtformatingpart="Formatando partição %1 como"
txtcreateluksdevice="LUKS - Criar dispositivo :"
txtopenluksdevice="LUKS - Abrir dispositivo :"
txtluksdevicecreated="LUKS - Dispositivo criado !"
txtinstallmenu="Menu de Instalação"
txtarchinstallmenu="Menu de Instalação do Arch"
txtrungrubmakeconfig="Executar grub-mkconfig ?"
txteditmirrorlist="Editar mirrorlist"
txtinstallarchlinux="Instalar Arch Linux"
txtconfigarchlinux="Configurar Arch Linux"
txtsethostname="Definir nome do computador"
txtsetfont="Definir fonte"
txtsetlocale="Definir local"
txtsettime="Definir hora"
txtsetrootpassword="Definir senha de root"
txtuseutcclock="Utilizar relógio de hardware UTC ?"
txtoptional="Opcional"
txtrecommandeasyinst="Recomendado para fácil instalação"
txtset="Definir %1"
txtgenerate="Gerar %1"
txtedit="Editar %1"
txtinstall="Instalar %1"
txtenable="Habilitar %1"
txtgrubluksdetected="Partição root encriptada !\n\nAdicionar cryptdevice= a GRUB_CMDLINE_LINUX em /etc/default/grub ?"
txtpressanykey="Pressione qualquer tecla para continuar."
txtinstallosprober="os-prober é uma boa opção caso você queira usar boot múltiplo.\nInstalar os-prober ?"
txtefibootmgr="efibootmgr é necessário para sistemas EFI."
txtarchdidesc="Instalação completa de estação de trabalho"
txtinstallarchdi="Arch Linux Desktop Install (archdi) é um segundo script que pode ajudar você a instalar uma estação de trabalho completa.\n\nVocê pode executar o script ou instalá-lo. Escolha no próximo menu.\n\nArch Linux Desktop Install possui duas dependências : wget e libnewt.\n\npacstrap wget libnewt ?"
txtarchdiinstallandlaunch="Instalar e Executar archdi"
txtarchdiinstall="Instalar archdi"
txtarchdilaunch="Executar archdi"