removed unecesarry .replace in dairy.rs

This commit is contained in:
parzivale 2022-08-24 16:16:30 +02:00
parent 0ca2e64772
commit 06f5aa70f0

View File

@ -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)
},