theme manager spanish translation

master
Daniel Napora 2020-09-12 16:43:33 +02:00
parent b972b3a4b7
commit 7d7be0d2f4
2 changed files with 58 additions and 13 deletions

View File

@ -125,7 +125,7 @@ case $LANG in
OK="--button=Aceptar:2"
APPLY="--button=Aplicar:0"
CANCEL="--button=Cancelar:1"
CLOSE="--button=Cerrrar:1"
CLOSE="--button=Cerrar:1"
;;
*)
TITLE="Conky Manager"

View File

@ -97,16 +97,16 @@ case $LANG in
\tTint2\n \
\tTapeta pulpitu\n \
\t+ zrzut ekranu\n\n"
MAIN_TEXT="Aby zastosować wybrany motyw: kliknij podwójnie, lub wciśnij <b>Enter</b>, lub użyj przycisku <b>Przywróć</b>. \n"
MAIN_TEXT="Aby zastosować wybrany motyw: kliknij podwójnie, wciśnij <b>Enter</b>\nlub użyj przycisku <b>Przywróć</b>. \n"
RESTORE="Przywróć:0"
DELETE="Usuń:2"
VIEW_IMG="Zobacz obrazek:4"
ADD="Dodaj nowy:3"
ABOUT="O programie:5"
ADD="Utwórz:3"
ABOUT="Info:5"
SAVE_SETTINGS="Zapisz ustawienia:0"
VIEW_SAVED="Zobacz zapisane:2"
ACTIVE="Aktywny"
NAME="Nazwa konfiguracji"
NAME="Nazwa"
SCREEN_SHOT="Zrzut ekranu"
CHOOSE_WHAT_TO_SAVE="Wybierz co zapisać..."
CHOOSE_ALL="Zaznacz wszystko:2"
@ -130,8 +130,53 @@ case $LANG in
PICKOB="Motyw Openbox"
PICKGTK="Wystrój GTK"
;;
es*)
TITLE="Gestor de Temas"
CANCEL="--button=Cancelar:1"
EXIT="--button=Salir:1"
CLOSE="--button=Cerrar:1"
TXTINTRO="<big><b>BunsenLabs\n\nGestor de Configuración Openbox</b></big>\n\n\n \
<b>Guardar o Restaurar Ajustes para:</b>\n\n \
\tTemas Openbox\n \
\tTemas GTK\n \
\tRecuadros Conky\n \
\tPaneles Tint2\n \
\tFondos de pantalla\n \
\t+ Captura Pantalla\n\n"
MAIN_TEXT="Haz doble clic, o presiona<b>Enter</b>, o usa el botón de <b>Restaurar</b> para recuperar los ajustes\n"
RESTORE="Restaurar:0"
DELETE="Borrar:2"
VIEW_IMG="Ver imagen:4"
ADD="Agregar uno nuevo:3"
ABOUT="Acerca de:5"
SAVE_SETTINGS="Guardar ajustes:0"
VIEW_SAVED="Vistas guardadas:2"
ACTIVE="Último ajuste"
NAME="Guardar ajuste"
SCREEN_SHOT="Capturar Pantalla"
CHOOSE_WHAT_TO_SAVE="Elige los ajustes a guardar..."
CHOOSE_ALL="Selecciona todos:2"
CHOOSE_SELECT="Seleccionar"
CHOOSE_CONFIG="Elige ajuste"
CHOOSE_SOMETHING="\n Haz una selección...."
FILES_TO_SAVE="<big><b><u>Ajustes en Openbox a guardar:</u></b></big>\n\n"
RESTORING_CONF="Recuperando ajustes guardados como <big>$DIR</big>\n\n"
CHOOSE_BEFORE_DELETE="Elige un ajuste antes de intentar borrar"
DELETE_FOR_SURE="Elimina ajustes ya guardados <b>$FPATH</b>\nand screenshot?"
SETTINGS_SAVED="Los cambios fueron guardados como"
CHOOSE_IMAGE="Elige una imagen"
COLLECTION_NAME="Nombrar una colección"
SAVED_ON="Guardado:"
WALLSAVEDBYNITOGEN="Fondo de pantalla guardado por Nitrogen"
RUNNING_CONKY="Recuadro(s) ejecutándose:"
RUNNING_TINT2="Panel(es) ejecutándose:"
NO_CONKY_RUNNING="Elegir guardar un recuadro \npero no uno que está ejecutándose"
NO_TINT2_RUNNING="Elegir un panel \npero no uno que está ejecutándose"
PICKBG="Fondos de pantalla"
PICKOB="Temas OB"
PICKGTK="Temas GTK"
;;
*)
TITLE="BLOB Config Manager"
CANCEL="--button=Cancel:1"
EXIT="--button=Quit:1"
@ -190,7 +235,7 @@ OK="--button=OK:0"
IMGCMD="viewnior" # application command to view screenshot
MENUMODIFIER="super+space" # keybind for show root-menu
MOUSECMD="click 3" # mouse r-click
KEYDOWN=5 # adjust this for where "Preferences" is in the menu
KEYDOWN=9 # adjust this for where "Preferences" is in the menu
#### END VARIABLES #####################################################
### FUNCTIONS ##########################################################
@ -613,7 +658,7 @@ function getScrot(){
menuX=$(( (screenW/20)*1 ))
fi
appY=$(( (screenH/20)*4 ))
menuY=$(( (screenH/20)*4 ))
menuY=$(( (screenH/20)*2 ))
wmctrl -l -x > "$TMPSCROT" # store window list in tempfile
wmctrl -k on # hide windows, show desktop
@ -632,13 +677,13 @@ function getScrot(){
sleep 0.5
# get lx window, make sure it loses focus, then move mouse and start root-menu
LX=$(xdotool getwindowfocus)
xdotool windowmove --sync $LX $appX $appY && sleep 0.1 && \
xdotool mousemove --sync --window $LX -- -50 0 && xdotool click 1
xdotool mousemove --sync $menuX $menuY && xdotool key --clearmodifiers "super+space"
xdotool windowmove --sync "$LX" "$appX" "$appY" && sleep 0.1 && \
xdotool mousemove --sync --window "$LX" -- -50 0 && xdotool click 1
xdotool mousemove --sync "$menuX" "$menuY" && xdotool key --clearmodifiers "$MENUMODIFIER"
i=1
while (( $i <= $KEYDOWN ));do
xdotool key --delay 50 Down
xdotool key --delay 100 Down
i=$(( $i+1 ))
done
xdotool key --delay 20 Right && sleep 0.3
@ -909,7 +954,7 @@ function restoreSettings(){
FPATH=""
LOOP=1
while [[ $LOOP ]] ;do
CONFIG=$($DIALOGDEC --list --title="$TITLE" \
CONFIG=$($DIALOGDEC --list --title="$TITLE" --image=preferences-desktop-theme\
--text="$MAIN_TEXT" \
--separator=" " \
--button="$ABOUT" \