From 06f5aa70f0a88f046c976861abb33d6233c3e1bd Mon Sep 17 00:00:00 2001 From: parzivale <40600864+parzivale@users.noreply.github.com> Date: Wed, 24 Aug 2022 16:16:30 +0200 Subject: [PATCH] removed unecesarry .replace in dairy.rs --- voxygen/src/hud/diary.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/voxygen/src/hud/diary.rs b/voxygen/src/hud/diary.rs index c83b2b9c0e..8f491f58c6 100644 --- a/voxygen/src/hud/diary.rs +++ b/voxygen/src/hud/diary.rs @@ -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) },