From 499520168454a83671ac7b9a8e8a02d72b46b451 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 2 Dec 2017 19:08:31 +1100 Subject: [PATCH] fix sentence building by concatenation, and at the same time collapse two translatable strings to one (nw) --- plugins/cheatfind/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("\n\n\n\n", 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"