CurseForge and Overwolf are joining forces!
Awesome More Information
  • 0

    posted a message on PitBull - official topic
    Hi,I am a Chinese player and I very like this addone.For the Pitbull I do some localization work(Chinese language).I hoped the development will be able to apply them in the lateredition.On behalf of Chinese player to thank you!
    For localizaiton,I chang some lines in PitBull_MetaLayout.lua

    --at line 2290--

    if (name == "Class" or name == "Health" or name == "Name" or name == "Power" or name == "Combo" or name == "Experience" or name == "Reputation" or name == "Threat" or name == "combatText" ) then
    MetaLayout.options.name[id] = L[name]
    MetaLayout.options.desc[id] = L["Customize the %s text."]:format(L[name])
    MetaLayout.options[id] = textOptions(id, name, textOptionsArg)
    else
    MetaLayout.options.name[id] = name
    MetaLayout.options.desc[id] = L["Customize the %s text."]:format(name)
    MetaLayout.options[id] = textOptions(id, name, textOptionsArg)
    end

    ----at line 2311 and 2321

    if (name == "Class" or name == "Health" or name == "Name" or name == "Power" or name == "Combo" or name == "Experience" or name == "Reputation" or name == "Threat" or name == "combatText" ) then
    t[k] = L[k]
    else
    t[k] = k
    end


    -----------
    If don't do this ,When I use Custom Text(eg.[raidgroup]),I'll error
    "AceLocale-2.2-40629 (BugSack):487: AceLocale(PitBull_MetaLayout): Translation \"[raidgroup]\" does not exist.

    oh :(
    Posted in: Unit Frames
  • To post a comment, please or register a new account.