# HyperScript in Spanish (Español).
#
# Each line is an English word or phrase of a script, and how it can be written instead:
#     english = one way | another way
# "(nothing)" is for words English does without; they are simply skipped.
#
# This is a list of words, not a grammar: the words of a line stay in the order English has
# them. Not everything is translated and not every translation is correct. The English
# word always works too.
#
# To add words or say one differently, put a file with this name into
# plugins/HyperScript/languages/ with lines like the ones below. It is read on top of this.

# ---- what a script is made of
command = comando
trigger = disparador | acción
permission = permiso
permission message = mensaje de permiso
description = descripción
usage = uso
aliases = alias
cooldown = enfriamiento | tiempo de espera
cooldown message = mensaje de enfriamiento
options = opciones
variables = variables
function = función
return = devolver | retornar
on = cuando
every = cada

# ---- deciding and repeating
if = si
else if = sino si | de lo contrario si
else = sino | de lo contrario
unless = a menos que
loop = bucle | repetir
for each = para cada
while = mientras
times = veces
switch = según
case = caso
default = defecto | por defecto
break = salir
continue = continuar
stop = parar | detener
wait = esperar
wait until = esperar hasta que
try = intentar
on error = en caso de error | si error

# ---- changing things
set = establecer | poner
to = al | a la | a los | a las | hacia
add = añadir | agregar | sumar
subtract = restar
multiply = multiplicar
randomly = al azar
otherwise = de otro modo
players only = solo jugadores
console only = solo consola
any of = alguno de
all of = todos de
sorted by = ordenado por
highest first = mayor primero
shortened to = acortado a
wrapped to = ajustado a
counting down = en cuenta atrás
containing = que contiene
divide = dividir
where = donde
after = después de
remove = quitar | retirar
from = desde
delete = borrar | eliminar
clear = vaciar | limpiar
append = anexar
give = dar
send = enviar | mandar
broadcast = anunciar | difundir
teleport = teletransportar
kill = matar
heal = curar
feed = alimentar
kick = expulsar | echar
ban = banear | prohibir
spawn = generar | invocar
apply = aplicar
execute = ejecutar
console command = comando de consola
cancel event = cancelar evento | cancelar el evento
play sound = reproducir sonido | tocar sonido
title = título
subtitle = subtítulo
action bar = barra de acción
open = abrir
close = cerrar

# ---- who and what
player = jugador
players = jugadores
all players = todos los jugadores
all = todos | todas | todo
to player = al jugador
to all players = a todos los jugadores
console = consola
victim = víctima
attacker = atacante
entity = entidad
block = bloque
world = mundo
location = ubicación | posición
inventory = inventario
item = objeto
tool = herramienta
name = nombre
health = vida | salud
max health = vida máxima
food = comida | hambre
level = nivel
balance = saldo
gamemode = modo de juego
survival = supervivencia
creative = creativo
adventure = aventura
spectator = espectador
message = mensaje
event = evento
arg = argumento
value = valor
index = índice
slot = ranura

# ---- more things to do and to name
create = crear
make = hacer
say = decir
show = mostrar
hide = ocultar | esconder
exists = existe
replace = reemplazar
fill = rellenar
copy = copiar
move = mover
place = poner en
take = tomar
save = guardar
line = línea
lines = líneas
page = página
pages = páginas
group = grupo
groups = grupos
amount = cantidad
reset = reiniciar | restablecer
named = llamado | llamada
server = servidor
servers = servidores
region = región
regions = regiones
owner = dueño | propietario
member = miembro
height = altura
radius = radio
blocks = bloques
text = texto
in front of = delante de | frente a

# ---- conditions and joining words
is = es | está
is not = no es | no está
is set = está definido
is not set = no está definido
not = no
and = además | e
or = o | u
has = tiene
has permission = tiene permiso | tiene el permiso
contains = contiene
starts with = empieza con | comienza con
ends with = termina con
is in = está en
greater than = mayor que
less than = menor que
bigger than = más grande que
smaller than = más pequeño que
at least = al menos | por lo menos
at most = como máximo | a lo sumo
between = entre
true = verdadero | cierto
false = falso
sneaking = agachado
flying = volando
online = conectado | en línea
chance of = probabilidad de
of = de | del
in = en
at = sobre | en la posición
with = con
for = por | durante
as = como
size of = tamaño de | tamaño del
random = aleatorio
number = número
integer = entero
list = lista
first = primer | primero | primera
last = último | última
now = ahora
(nothing) = el | la | los | las | un | una

# ---- time
tick = tick
ticks = ticks
second = segundo
seconds = segundos
minute = minuto
minutes = minutos
hour = hora
hours = horas
day = día
days = días

# ---- events (after "on")
player join = jugador entra | jugador se une | entrada
first join = primera entrada | primera vez
player quit = jugador sale | salida
player death = jugador muere | muerte de jugador | muerte del jugador
player respawn = jugador reaparece | reaparición
player chat = jugador habla | jugador escribe
player move = jugador se mueve
player kill = jugador mata
player command = comando de jugador
block break = bloque roto | romper bloque
block place = bloque colocado | colocar bloque
entity damage = entidad dañada | daño de entidad
entity death = entidad muere | muerte de entidad
left click = clic izquierdo
right click = clic derecho
inventory click = clic de inventario | clic en inventario
level up = subida de nivel
death = muerte
load = carga
