From d0014b04147dcfeb9972b14ac314f1a6081db4e8 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Sat, 19 Mar 2022 13:24:10 +0100 Subject: [PATCH] Fix untranlsatable strings --- Source/qol/xpbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/qol/xpbar.cpp b/Source/qol/xpbar.cpp index a95efe191..4cc718104 100644 --- a/Source/qol/xpbar.cpp +++ b/Source/qol/xpbar.cpp @@ -148,7 +148,7 @@ bool CheckXPBarInfo() // Show a maximum level indicator for max level players. InfoColor = UiFlags::ColorWhitegold; - AddPanelString(fmt::format("Experience: {:s}", PrintWithSeparator(ExpLvlsTbl[charLevel - 1]))); + AddPanelString(fmt::format(_("Experience: {:s}"), PrintWithSeparator(ExpLvlsTbl[charLevel - 1]))); AddPanelString(_("Maximum Level")); return true; @@ -156,8 +156,8 @@ bool CheckXPBarInfo() InfoColor = UiFlags::ColorWhite; - AddPanelString(fmt::format("Experience: {:s}", PrintWithSeparator(player._pExperience))); - AddPanelString(fmt::format("Next Level: {:s}", PrintWithSeparator(ExpLvlsTbl[charLevel]))); + AddPanelString(fmt::format(_("Experience: {:s}"), PrintWithSeparator(player._pExperience))); + AddPanelString(fmt::format(_("Next Level: {:s}"), PrintWithSeparator(ExpLvlsTbl[charLevel]))); AddPanelString(fmt::format(_("{:s} to Level {:d}"), PrintWithSeparator(ExpLvlsTbl[charLevel] - player._pExperience), charLevel + 1)); return true;