mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
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:
commit
c2847bbbf2
@ -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