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