Fixed % Sign In Notify

Fixed % Sign In Notify We Get % On /job Etc. It Has Been Fixed
This commit is contained in:
DJ On Top
2023-04-30 04:03:56 +05:30
committed by GitHub
parent 56d74f6405
commit 012b005602
+2 -2
View File
@@ -20,7 +20,7 @@ local function translateKey(phrase, subs)
-- Initial Scan over result looking for substituions
for k, v in pairs(subs) do
local templateToFind = '%{' .. k .. '}'
local templateToFind = '%%{' .. k .. '}'
result = result:gsub(templateToFind, tostring(v)) -- string to allow all types
end
@@ -142,4 +142,4 @@ function Locale:delete(phraseTarget, prefix)
end
end
end
end
end