Skip to content

Commit

Permalink
fix: locale for stash/armory
Browse files Browse the repository at this point in the history
  • Loading branch information
solareon committed Jan 25, 2024
1 parent 24af17f commit 281e080
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/job.lua
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ if config.useTarget then
type = 'client',
onSelect = openStash,
icon = 'fa fa-clipboard',
label = Lang:t('text.pstash'),
label = locale('text.pstash'),
distance = 2,
groups = 'ambulance',
}
Expand All @@ -358,7 +358,7 @@ if config.useTarget then
type = 'client',
onSelect = openArmory,
icon = 'fa fa-clipboard',
label = Lang:t('text.armory'),
label = locale('text.armory'),
distance = 1.5,
groups = 'ambulance',
}
Expand Down Expand Up @@ -433,7 +433,7 @@ else
for i = 1, #sharedConfig.locations.stash do
local function enteredStashZone()
if QBX.PlayerData.job.onduty then
lib.showTextUI(Lang:t('text.pstash_button'))
lib.showTextUI(locale('text.pstash_button'))
end
end

Expand All @@ -459,7 +459,7 @@ else
for i = 1, #sharedConfig.locations.armory do
local function enteredArmoryZone()
if QBX.PlayerData.job.onduty then
lib.showTextUI(Lang:t('text.armory_button'))
lib.showTextUI(locale('text.armory_button'))
end
end

Expand Down

0 comments on commit 281e080

Please sign in to comment.