GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

Incorrect display of the translation.

DogmaTX opened this issue · 0 comments

commented

I have not displayed Russian translation.
That's what I did to make them work.

It was so

if not(GetLocale() == "ruRU") then
    return;
end

local L = LibStub("AceLocale-3.0"):NewLocale("GSE", "ruRU", true)

-- Options translation
L["Target"] = "Цель"
L["Trinket 1"] = "Аксессуар 1"
L["Trinket 2"] = "Аксессуар 2"
L["Update"] = "Обновить"
L["Use"] = "Использовать"
L["Yes"] = "Да"

Became so

local L = LibStub("AceLocale-3.0"):NewLocale("GSE", "ruRU", false)

if not L then return end

if L then
-- Options translation
L["Target"] = "Цель"
L["Trinket 1"] = "Аксессуар 1"
L["Trinket 2"] = "Аксессуар 2"
L["Update"] = "Обновить"
L["Use"] = "Использовать"
L["Yes"] = "Да"
end