Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(locales): add Spanish translations #130

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
-- Add translations by MC
local Translations = {
headers = {
['bsm'] = 'Menú de Jefe - ',
},
body = {
['manage'] = 'Gestionar empleados',
['managed'] = 'Revisa tu lista de empleados',
['hire'] = 'Contratar empleados',
['hired'] = 'Contratar civiles cercanos',
['storage'] = 'Acceso a almacenamiento',
['storaged'] = 'Abrir almacenamiento',
['outfits'] = 'Atuendos',
['outfitsd'] = 'Ver atuendos guardados',
['money'] = 'Gestión de dinero',
['moneyd'] = 'Revisar el saldo de tu empresa',
['mempl'] = 'Gestionar empleados - ',
['mngpl'] = 'Gestionar ',
['grade'] = 'Rango: ',
['fireemp'] = 'Despedir empleado',
['hireemp'] = 'Contratar empleados - ',
['cid'] = 'ID de ciudadano: ',
['balance'] = 'Saldo: $',
['deposit'] = 'Depositar',
['depositd'] = 'Depositar dinero en la cuenta',
['withdraw'] = 'Retirar',
['withdrawd'] = 'Retirar dinero de la cuenta',
['depositm'] = 'Depositar dinero <br> Saldo disponible: $',
['withdrawm'] = 'Retirar dinero <br> Saldo disponible: $',
['submit'] = 'Confirmar',
['amount'] = 'Monto',
['return'] = 'Volver',
['exit'] = 'Volver',
},
drawtext = {
['label'] = '[E] Abrir gestión de trabajo',
},
target = {
['label'] = 'Menú de Jefe',
},
headersgang = {
['bsm'] = 'Gestión de Banda - ',
},
bodygang = {
['manage'] = 'Gestionar miembros de la banda',
['managed'] = 'Reclutar o despedir miembros de la banda',
['hire'] = 'Reclutar miembros',
['hired'] = 'Contratar miembros de la banda',
['storage'] = 'Acceso a almacenamiento',
['storaged'] = 'Abrir alijo de la banda',
['outfits'] = 'Atuendos',
['outfitsd'] = 'Cambiar de ropa',
['money'] = 'Gestión de dinero',
['moneyd'] = 'Revisar el saldo de tu banda',
['mempl'] = 'Gestionar miembros de la banda - ',
['mngpl'] = 'Gestionar ',
['grade'] = 'Rango: ',
['fireemp'] = 'Despedir',
['hireemp'] = 'Contratar miembros de la banda - ',
['cid'] = 'ID de ciudadano: ',
['balance'] = 'Saldo: $',
['deposit'] = 'Depositar',
['depositd'] = 'Depositar dinero en la cuenta',
['withdraw'] = 'Retirar',
['withdrawd'] = 'Retirar dinero de la cuenta',
['depositm'] = 'Depositar dinero <br> Saldo disponible: $',
['withdrawm'] = 'Retirar dinero <br> Saldo disponible: $',
['submit'] = 'Confirmar',
['amount'] = 'Monto',
['return'] = 'Volver',
['exit'] = 'Salir',
},
drawtextgang = {
['label'] = '[E] Abrir gestión de la banda',
},
targetgang = {
['label'] = 'Menú de la Banda',
}
}

if GetConvar('qb_locale', 'en') == 'es' then
Lang = Lang or Locale:new({
phrases = Translations,
warnOnMissing = true
})
end
Loading