Force no digits after dot printing for boosts

This commit is contained in:
juliancoffee 2022-08-10 01:06:17 +03:00
parent fe1ea00246
commit 02c78c28f4

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);