Skip to content

Commit

Permalink
Add Spanish translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cocodrulo committed Nov 13, 2024
1 parent f8604c0 commit d550d83
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
local Translations = {
error = {
invalid_ext = "Esa extensión no es válida, sólo",
allowed_ext = "son las extensiones de enlaces permitidas.",
},
info = {
use_printer = "Usar impresora"

},
command = {
spawn_printer = "Generar una impresora"
}
}

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

0 comments on commit d550d83

Please sign in to comment.