mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-09-04 16:23:21 +00:00
Fixed % Sign In Notify
Fixed % Sign In Notify We Get % On /job Etc. It Has Been Fixed
This commit is contained in:
+2
-2
@@ -20,7 +20,7 @@ local function translateKey(phrase, subs)
|
|||||||
|
|
||||||
-- Initial Scan over result looking for substituions
|
-- Initial Scan over result looking for substituions
|
||||||
for k, v in pairs(subs) do
|
for k, v in pairs(subs) do
|
||||||
local templateToFind = '%{' .. k .. '}'
|
local templateToFind = '%%{' .. k .. '}'
|
||||||
result = result:gsub(templateToFind, tostring(v)) -- string to allow all types
|
result = result:gsub(templateToFind, tostring(v)) -- string to allow all types
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -142,4 +142,4 @@ function Locale:delete(phraseTarget, prefix)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user