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

Add es.lua locale and removed unsused phrase #56

Merged
merged 2 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 0 additions & 1 deletion locales/de.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local Translations ={
["not_on_radio"] = "Du bist nicht mit einem Signal verbunden",
["on_radio"] = "Du bist bereits mit diesem Signal verbunden",
["joined_to_radio"] = "Du bist verbunden mit: %{channel}",
["restricted_channel_error"] = "Du kannst dich nicht mit diesem Signal verbinden!",
["invalid_radio"] = "Diese Frequenz ist nicht verfügbar.",
Expand Down
1 change: 0 additions & 1 deletion locales/en.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local Translations ={
["not_on_radio"] = "You're not connected to a signal",
["on_radio"] = "You're already connected to this signal",
["joined_to_radio"] = "You're connected to: %{channel}",
["restricted_channel_error"] = "You can not connect to this signal!",
["invalid_radio"] = "This frequency is not available.",
Expand Down
19 changes: 19 additions & 0 deletions locales/es.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
local Translations = {
["not_on_radio"] = "No estás conectado a ninguna frecuencia",
["joined_to_radio"] = "Te has conectado a: %{channel}",
["restricted_channel_error"] = "¡No te puedes conectar a esta frecuencia!",
["invalid_radio"] = "Esta frecuencia no está disponible.",
["you_on_radio"] = "Ya estás conectado a esta frecuencia",
["you_leave"] = "Has abandonado la frecuencia.",
['volume_radio'] = 'Nuevo volumen %{value}',
['decrease_radio_volume'] = 'La radio ya está al máximo volumen',
['increase_radio_volume'] = 'La radio ya está al mínimo volumen',
}

if GetConvar('qb_locale', 'en') == 'es' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang,
})
end
1 change: 0 additions & 1 deletion locales/pt-br.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
local Translations = {
["not_on_radio"] = "Você não está conectado a um sinal",
["on_radio"] = "Você já está conectado a este sinal",
["joined_to_radio"] = "Você está conectado a: %{channel}",
["restricted_channel_error"] = "Você não pode se conectar a este sinal!",
["invalid_radio"] = "Esta frequência não está disponível.",
Expand Down
Loading