fix sentence building by concatenation, and at the same time collapse two translatable strings to one (nw)

This commit is contained in:
Vas Crabb 2017-12-02 19:08:31 +11:00
parent 58942fce28
commit 4995201684

View File

@ -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"