mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Force no digits after dot printing for boosts
This commit is contained in:
parent
fe1ea00246
commit
02c78c28f4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user