forked from github/server
moving a few more messages to the "errors" section
This commit is contained in:
parent
d6052927c0
commit
f7bc02dddb
2 changed files with 4 additions and 3 deletions
|
@ -2085,8 +2085,9 @@ static void log_orders(const struct message * msg)
|
|||
int i;
|
||||
for (i=0;i!=msg->type->nparameters;++i) {
|
||||
if (msg->type->types[i]->copy==&var_copy_order) {
|
||||
const char * section = nr_section(msg);
|
||||
nr_render(msg, default_locale, buffer, sizeof(buffer), NULL);
|
||||
log_warning(("meep - %s\n", buffer));
|
||||
log_printf(("MESSAGE [%s]: %s\n", section, buffer));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2335,7 +2335,7 @@
|
|||
<text locale="de">"$unit($unit) schafft es nicht, genug Kraft aufzubringen, um $spell($spell) auf Stufe $int($level) zu zaubern."</text>
|
||||
<text locale="en">"$unit($unit) cannot muster enough energy to cast $spell($spell) on level $level($level)."</text>
|
||||
</message>
|
||||
<message name="missing_components_list" section="magic">
|
||||
<message name="missing_components_list" section="errors">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
|
@ -7023,7 +7023,7 @@
|
|||
<text locale="de">"$unit($unit) in $region($region): '$order($command)' - Dazu braucht man das Talent $skill($skill)."</text>
|
||||
<text locale="en">"$unit($unit) in $region($region): '$order($command)' - this requires the skill $skill($skill)."</text>
|
||||
</message>
|
||||
<message name="plant_skills" section="production">
|
||||
<message name="plant_skills" section="errors">
|
||||
<type>
|
||||
<arg name="unit" type="unit"/>
|
||||
<arg name="region" type="region"/>
|
||||
|
|
Loading…
Reference in a new issue