mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
removed unecesarry .replace in dairy.rs
This commit is contained in:
parent
0ca2e64772
commit
06f5aa70f0
@ -3438,7 +3438,7 @@ impl<'a> SkillStrings<'a> {
|
||||
"boost" => constant,
|
||||
"SP" => sp(i18n, skill_set, skill),
|
||||
};
|
||||
let desc = i18n.get_msg_ctx(&desc.replace('.', "-"), &args);
|
||||
let desc = i18n.get_msg_ctx(&desc, &args);
|
||||
|
||||
(title, desc)
|
||||
},
|
||||
@ -3452,7 +3452,7 @@ impl<'a> SkillStrings<'a> {
|
||||
"boost" => constant,
|
||||
"SP" => sp(i18n, skill_set, skill),
|
||||
};
|
||||
let desc = i18n.get_msg_ctx(&desc.replace('.', "-"), &args);
|
||||
let desc = i18n.get_msg_ctx(&desc, &args);
|
||||
|
||||
(title, desc)
|
||||
},
|
||||
@ -3469,7 +3469,7 @@ impl<'a> SkillStrings<'a> {
|
||||
"boost" => format!("{percentage:.0}"),
|
||||
"SP" => sp(i18n, skill_set, skill),
|
||||
};
|
||||
let desc = i18n.get_msg_ctx(&desc.replace('.', "-"), &args);
|
||||
let desc = i18n.get_msg_ctx(&desc, &args);
|
||||
|
||||
(title, desc)
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user