Merge pull request #979 from djontop/patch-1

Fixed % Sign In Notify
This commit is contained in:
Kakarot
2023-05-06 14:04:56 -07:00
committed by GitHub
+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