Merge branch 'juliancoffee/boost-skills-ui' into 'master'

Force no digits after dot printing for boosts

See merge request veloren/veloren!3523
This commit is contained in:
Marcel 2022-08-09 22:29:20 +00:00
commit c2847bbbf2

View File

@ -3466,7 +3466,7 @@ impl<'a> SkillStrings<'a> {
let title = i18n.get(title);
let args = i18n::fluent_args! {
"boost" => percentage,
"boost" => format!("{percentage:.0}"),
"SP" => sp(i18n, skill_set, skill),
};
let desc = i18n.get_msg_ctx(&desc.replace('.', "-"), &args);