Removed the name of a trait in the tooltip.
It didn't work before due to male and female names being used instead of name. Description has no gender versions so it was prefixed with a colon.
This commit is contained in:
parent
4efcf5f5ad
commit
dabf4d7873
1 changed files with 3 additions and 4 deletions
|
@ -2550,10 +2550,9 @@ void unit::add_modification(const std::string& type, const config& mod,
|
|||
|
||||
// Punctuation should be translatable: not all languages use latin punctuation.
|
||||
// (however, there maybe is a better way to do it)
|
||||
description += mod["name"];
|
||||
if (!mod["description"].empty())
|
||||
description += t_string(N_(": "), "wesnoth") + mod["description"];
|
||||
description += " ";
|
||||
if (!mod["description"].empty()) {
|
||||
description += mod["description"] + " ";
|
||||
}
|
||||
|
||||
if(effects_description.empty() == false) {
|
||||
description += t_string(N_("("), "wesnoth");
|
||||
|
|
Loading…
Add table
Reference in a new issue