Merge branch 'main' into patch-5

This commit is contained in:
Kakarot
2023-06-01 10:48:45 -07:00
committed by GitHub
7 changed files with 256 additions and 32 deletions
+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