Skip to content

Commit

Permalink
feat(es_extended/client/adjustments): add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mycroft-Studios committed Dec 15, 2024
1 parent 7c3492e commit 3541c62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/client/modules/adjustments.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function Adjustments:Point()
end
self.isPointing = false

ESX.RegisterInput("esx:pointing", "Point", "keyboard", "b", function()
ESX.RegisterInput("esx:pointing", Translate("pointing"), "keyboard", "b", function()
self.isPointing = not self.isPointing
if self.isPointing then
ESX.RequestAnimDict("anim@mp_point")
Expand Down
2 changes: 2 additions & 0 deletions [core]/es_extended/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -413,4 +413,6 @@ Locales["en"] = {
["tint_metallic_blue"] = "metallic blue",
["tint_metallic_white_aqua"] = "metallic white-aqua",
["tint_metallic_red_yellow"] = "metallic red-yellow",

["pointing"] = "Pointing"
}

0 comments on commit 3541c62

Please sign in to comment.