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;