From e677035ec4f235d28500432c8d946b0cbbd66f9d Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 22 Jul 2016 08:47:00 +0300 Subject: [PATCH] Fixing ru --- ElvUI_SLE/modules/tooltips/raidprogress.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ElvUI_SLE/modules/tooltips/raidprogress.lua b/ElvUI_SLE/modules/tooltips/raidprogress.lua index 8000ccd..0bbe41c 100644 --- a/ElvUI_SLE/modules/tooltips/raidprogress.lua +++ b/ElvUI_SLE/modules/tooltips/raidprogress.lua @@ -4,7 +4,7 @@ local TT = E:GetModule('Tooltip'); --GLOBALS: hooksecurefunc, AchievementFrame_DisplayComparison local MAX_PLAYER_LEVEL = MAX_PLAYER_LEVEL local _G = _G -local sub = string.sub +local utf8sub = string.utf8sub local ClearAchievementComparisonUnit = ClearAchievementComparisonUnit local SetAchievementComparisonUnit = SetAchievementComparisonUnit local HideUIPanel = HideUIPanel @@ -77,10 +77,10 @@ RP.modes = { PLAYER_DIFFICULTY3, }, ["SHORT"] = { - sub(PLAYER_DIFFICULTY6, 1 , 1), - sub(PLAYER_DIFFICULTY2, 1 , 1), - sub(PLAYER_DIFFICULTY1, 1 , 1), - sub(PLAYER_DIFFICULTY3, 1 , 1), + utf8sub (PLAYER_DIFFICULTY6, 1 , 1), + utf8sub (PLAYER_DIFFICULTY2, 1 , 1), + utf8sub (PLAYER_DIFFICULTY1, 1 , 1), + utf8sub (PLAYER_DIFFICULTY3, 1 , 1), }, } -- 1.7.9.5