summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-12-02 19:08:31 +1100
committer Vas Crabb <vas@vastheman.com>2017-12-02 19:09:25 +1100
commit499520168454a83671ac7b9a8e8a02d72b46b451 (patch)
treefc2deb707e6899a2a08249ec9836bef403a8d48e
parent58942fce28f28e9e85c4af3eae266077900cf607 (diff)
fix sentence building by concatenation, and at the same time collapse two translatable strings to one (nw)
-rw-r--r--plugins/cheatfind/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cheatfind/init.lua b/plugins/cheatfind/init.lua
index b6fb2758746..191fc390d54 100644
--- a/plugins/cheatfind/init.lua
+++ b/plugins/cheatfind/init.lua
@@ -715,7 +715,7 @@ function cheatfind.startplugin()
cheat_save.json = json.stringify({[1] = cheat}, {indent = true})
cheat_save.xml = string.format("<mamecheat version=1>\n<cheat desc=\"%%s\">\n<script state=\"run\">\n<action>%s.pp%s@%X=%X</action>\n</script>\n</cheat>\n</mamecheat>", dev.tag:sub(2), widchar, match.addr, match.newval)
cheat_save.simple = string.format("%s,%s,%X,%s,%X,%%s\n", setname, dev.tag, match.addr, widchar, match.newval)
- manager:machine():popmessage(_("Default name is ") .. cheat_save.name)
+ manager:machine():popmessage(string.format(_("Default name is %s"), cheat_save.name))
return true
else
local func = "return space:read"