Skip to content

Commit

Permalink
chore: corrected the various translations
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Dec 18, 2024
1 parent 841fe5c commit 3fc4a23
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function OpenAmmuActionsMenu()
{ icon = "fas fa-idkyet", title = TranslateCap("drag"), value = "drag" },
{ icon = "fas fa-idkyet", title = TranslateCap("put_in_vehicle"), value = "put_in_vehicle" },
{ icon = "fas fa-idkyet", title = TranslateCap("out_the_vehicle"), value = "out_the_vehicle" },
{ icon = "fas fa-idkyet", title = TranslateCap("fine"), value = "fine" },
{ icon = "fas fa-idkyet", title = TranslateCap("billing"), value = "billing" },
{ icon = "fas fa-idkyet", title = TranslateCap("weapon"), value = "weapon" },
}

Expand Down Expand Up @@ -76,7 +76,7 @@ function OpenAmmuActionsMenu()
TriggerServerEvent("bpt_ammujob:putInVehicle", GetPlayerServerId(closestPlayer))
elseif action == "out_the_vehicle" then
TriggerServerEvent("bpt_ammujob:OutVehicle", GetPlayerServerId(closestPlayer))
elseif action == "fine" then
elseif action == "billing" then
OpenFineMenu(closestPlayer)
elseif action == "weapon" then
TriggerServerEvent("esx_license:addLicense", GetPlayerServerId(closestPlayer), "weapon")
Expand Down Expand Up @@ -190,7 +190,7 @@ end
function OpenFineMenu(player)
if Config.EnableFinePresets then
local elements = {
{ unselectable = true, icon = "fas fa-scroll", title = TranslateCap("fine") },
{ unselectable = true, icon = "fas fa-scroll", title = TranslateCap("billing") },
{ icon = "fas fa-scroll", title = TranslateCap("traffic_offense"), value = 0 },
{ icon = "fas fa-scroll", title = TranslateCap("minor_offense"), value = 1 },
{ icon = "fas fa-scroll", title = TranslateCap("average_offense"), value = 2 },
Expand Down Expand Up @@ -221,7 +221,7 @@ function OpenFineCategoryMenu(player, category)
end

local elements = {
{ unselectable = true, icon = "fas fa-scroll", title = TranslateCap("fine") },
{ unselectable = true, icon = "fas fa-scroll", title = TranslateCap("billing") },
}

for _, fine in ipairs(fineList[category]) do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,7 @@ Locales["en"] = {
["buy_car"] = "Buy",
["stop_view"] = "Stop Viewing",
-- Service
["service_max"] = "you cannot enter service, max officers in service: %s/%s",
["service_not"] = "you have not entered service! You'll have to get changed first.",
["service_anonunce"] = "service information",
["service_in"] = "you've entered service, welcome!",
["service_in_announce"] = "operator %s has entered service!",
["service_out"] = "you have left service.",
["service_out_announce"] = "operator %s has left their service.",
-- Action Menu
["menu_title"] = "Ammu",
["citizen_interaction"] = "citizen Interaction",
Expand All @@ -51,7 +45,7 @@ Locales["en"] = {
["drag"] = "escort",
["put_in_vehicle"] = "put in Vehicle",
["out_the_vehicle"] = "drag out from vehicle",
["fine"] = "fine",
["billing"] = "billing",
["license_check"] = "manage license",
["no_players_nearby"] = "there is no player(s) nearby!",
["being_searched"] = "you are being searched by the Ammu",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,7 @@ Locales["it"] = {
["buy_car"] = "Compra",
["stop_view"] = "Interrompi la visualizzazione",
-- Servizio
["service_max"] = "non puoi entrare in servizio, numero massimo di agenti in servizio: %s/%s",
["service_not"] = "non sei in servizio! Devi cambiarti prima.",
["service_anonunce"] = "informazioni servizio",
["service_in"] = "sei entrato in servizio, benvenuto!",
["service_in_announce"] = "l'operatore %s è entrato in servizio!",
["service_out"] = "hai lasciato il servizio.",
["service_out_announce"] = "l'operatore %s ha lasciato il servizio.",
-- Menu Azioni
["menu_title"] = "Armeria",
["citizen_interaction"] = "Interazione con cittadino",
Expand All @@ -51,7 +45,7 @@ Locales["it"] = {
["drag"] = "scorta",
["put_in_vehicle"] = "metti in veicolo",
["out_the_vehicle"] = "trascina fuori dal veicolo",
["fine"] = "multa",
["billing"] = "Fattura",
["license_check"] = "gestisci licenze",
["no_players_nearby"] = "non ci sono giocatori nelle vicinanze!",
["being_searched"] = "perquisizione in corso",
Expand Down

0 comments on commit 3fc4a23

Please sign in to comment.