-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from Cocodrulo/feature/es-lua
feat(locales): add Spanish translations
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
local Translations = { | ||
success = { | ||
withdraw = 'Retiro exitoso', | ||
deposit = 'Depósito exitoso', | ||
transfer = 'Transferencia exitosa', | ||
account = 'Cuenta creada', | ||
rename = 'Cuenta renombrada', | ||
delete = 'Cuenta eliminada', | ||
userAdd = 'Usuario añadido', | ||
userRemove = 'Usuario eliminado', | ||
card = 'Tarjeta creada', | ||
give = 'Se dieron $%s en efectivo', | ||
receive = 'Se recibieron $%s en efectivo', | ||
}, | ||
error = { | ||
error = 'Ocurrió un error', | ||
access = 'No autorizado', | ||
account = 'Cuenta no encontrada', | ||
accounts = 'Número máximo de cuentas creadas', | ||
user = 'Usuario ya añadido', | ||
noUser = 'Usuario no encontrado', | ||
money = 'No hay suficiente dinero', | ||
pin = 'PIN inválido', | ||
card = 'No se encontró tarjeta bancaria', | ||
amount = 'Monto inválido', | ||
toofar = 'Estás demasiado lejos', | ||
}, | ||
progress = { | ||
atm = 'Accediendo al cajero automático', | ||
} | ||
} | ||
|
||
if GetConvar('qb_locale', 'en') == 'es' then | ||
Lang = Lang or Locale:new({ | ||
phrases = Translations, | ||
warnOnMissing = true | ||
}) | ||
end |