made 'Lawful units' etc atomic strings

This commit is contained in:
Dave White 2004-04-21 23:35:42 +00:00
parent 18f6da658e
commit fccc5f91a2
2 changed files with 7 additions and 3 deletions

View file

@ -265,6 +265,10 @@ lawful=Lawful
neutral=Neutral
chaotic=Chaotic
lawful_units="Lawful units"
neutral_units="Neutral units"
chaotic_units="Chaotic units"
auto_save="Auto-Save"
save_replay_message="Do you want to save a replay of this scenario?"
save_game_message="Do you want to save your game?"

View file

@ -209,10 +209,10 @@ report generate_report(TYPE type, const gamemap& map, const unit_map& units,
std::stringstream tooltip;
tooltip << font::LARGE_TEXT << translate_string_default(tod.id,tod.name) << "\n"
<< translate_string("lawful") << " " << string_table["units"] << ": "
<< string_table["lawful_units"] << ": "
<< (tod.lawful_bonus > 0 ? "+" : "") << tod.lawful_bonus << "%\n"
<< translate_string("neutral") << " " << string_table["units"] << ": " << "0%\n"
<< translate_string("chaotic") << " " << string_table["units"] << ": "
<< string_table["neutral_units"] << ": " << "0%\n"
<< string_table["chaotic_units"] << ": "
<< (tod.lawful_bonus < 0 ? "+" : "") << (tod.lawful_bonus*-1) << "%";
return report("",tod.image,tooltip.str());