From 012b005602858eec9378cdc09802e81020dfe69d Mon Sep 17 00:00:00 2001 From: DJ On Top <107875648+djontop@users.noreply.github.com> Date: Sun, 30 Apr 2023 04:03:56 +0530 Subject: [PATCH] Fixed % Sign In Notify Fixed % Sign In Notify We Get % On /job Etc. It Has Been Fixed --- shared/locale.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/locale.lua b/shared/locale.lua index 0a1bebf..0491e39 100644 --- a/shared/locale.lua +++ b/shared/locale.lua @@ -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 \ No newline at end of file +end