diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 25b03ec6f..ae7afd97e 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -253,7 +253,7 @@ print_curses(FILE * F, const faction * viewer, const void * obj, typ_t typ) header = 1; fputs("EFFECTS\n", F); } - nr_render(msg, viewer->locale, buf, sizeof(buf), NULL); + nr_render(msg, viewer->locale, buf, sizeof(buf), viewer); fprintf(F, "\"%s\"\n", buf); msg_release(msg); } diff --git a/src/common/gamecode/report.c b/src/common/gamecode/report.c index 485b0766f..176b35adc 100644 --- a/src/common/gamecode/report.c +++ b/src/common/gamecode/report.c @@ -507,7 +507,7 @@ print_curses(FILE *F, const faction *viewer, const void * obj, typ_t typ, int in if (msg) { rnl(F); - nr_render(msg, viewer->locale, buf, sizeof(buf), NULL); + nr_render(msg, viewer->locale, buf, sizeof(buf), viewer); rparagraph(F, buf, indent, 2, 0); msg_release(msg); } diff --git a/src/common/kernel/reports.c b/src/common/kernel/reports.c index 3b8de9a89..6e59ad6af 100644 --- a/src/common/kernel/reports.c +++ b/src/common/kernel/reports.c @@ -816,7 +816,7 @@ msg_curse(const struct curse * c, const void * obj, typ_t typ, int self) /* if curseinfo returns NULL, then we don't want to tell the viewer anything. */ return c->type->curseinfo(obj, typ, c, self); } else if (c->type->info_str!=NULL) { - return msg_message(mkname("curseinfo", "info_str"), "info, id", c->type->info_str, c->no); + return msg_message("curseinfo::info_str", "text id", c->type->info_str, c->no); } else { const char * unknown[] = { "unit_unknown", "region_unknown", "building_unknown", "ship_unknown" }; log_error(("no curseinfo for %s\n", c->type->cname)); diff --git a/src/res/messages.xml b/src/res/messages.xml index aaef3edb8..5b9794039 100644 --- a/src/res/messages.xml +++ b/src/res/messages.xml @@ -99,7 +99,7 @@ - "${info}. ($int36($id))" + "${text}. ($int36($id))"