help: Call gettext on ToD topic strings that are already marked translatable

Manually fwdported from 82af89f950

(cherry picked from commit 82af89f950)
This commit is contained in:
josteph 2018-11-03 06:52:16 +00:00
parent 420afdf88e
commit 9e8db93893

View file

@ -362,7 +362,7 @@ std::vector<topic> generate_time_of_day_topics(const bool /*sort_generated*/)
std::stringstream toplevel;
if (! resources::tod_manager) {
toplevel << N_("Only available during a scenario.");
toplevel << _("Only available during a scenario.");
topics.emplace_back("Time of Day Schedule", "..schedule", toplevel.str());
return topics;
}
@ -379,7 +379,7 @@ std::vector<topic> generate_time_of_day_topics(const bool /*sort_generated*/)
text << image << '\n' <<
time.description.str() << '\n' <<
"Lawful Bonus: " << time.lawful_bonus << '\n' <<
'\n' << make_link(N_("Schedule"), "..schedule");
'\n' << make_link(_("Schedule"), "..schedule");
topics.emplace_back(time.name.str(), id, text.str());
}