bug report: Localization error onload options #205


  • Defect
  • Fixed
Closed
Assigned to _ForgeUser117147
  • _ForgeUser1509 created this issue Apr 23, 2011

    What steps will reproduce the problem?
    1.open options
    2.
    3.

    What is the expected output? What do you see instead?

    What version of the product are you using?

    Do you have an error log of what happened?

    1x Usage: NewLocale(application, locale[, isDefault[, silent]]): "silent" must be specified for the first locale registered
    Grid2StatusRaidDebuffsOptions-r556\locales\enUS-English (US).lua:1: in main chunk
    <in C code>
    ...\LibDBLayers-1.0\LibDBLayers-1.0\LibDBLayers-1.0-1.lua:257: in function "LoadOptions"
    Grid2StatusRaidDebuffs\Grid2StatusRaidDebuffs-r556.lua:558: in function "LoadOptions"
    Grid2-r556\GridCore.lua:214: in function "LoadAllOptions"
    Grid2-r556\GridCore.lua:155: in function <Grid2\GridCore.lua:154>
    <in C code>
    FrameXML\InterfaceOptionsFrame.lua:28: in function <FrameXML\InterfaceOptionsFrame.lua:17>
    <in C code>
    FrameXML\InterfaceOptionsFrame.lua:46: in function <FrameXML\InterfaceOptionsFrame.lua:31>
    <in C code>
    FrameXML\InterfaceOptionsFrame.lua:477: in function <FrameXML\InterfaceOptionsFrame.lua:426>
    <in C code>
    !BlizzBugsSuck-4.0.3.2\BlizzBugsSuck.lua:94: in function <!BlizzBugsSuck\BlizzBugsSuck.lua:67>

    Please provide any additional information below.

  • _ForgeUser1509 added the tags New Defect Apr 23, 2011
  • michaelsp posted a comment Apr 27, 2011

    You can simply delete Grid2StatusRaidDebuffsOptions\locales.xml file to fix the problem, or open Grid2StatusRaidDebuffsOptions\locales\enUS.lua and remove two last parametters (,true,true):

    local L = LibStub:GetLibrary("AceLocale-3.0"):NewLocale("Grid2Options", "enUS") if not L then return end

    L["raid-debuffs"] = true

  • _ForgeUser4656716 removed a tag New Apr 28, 2011
  • _ForgeUser4656716 added a tag Accepted Apr 28, 2011
  • _ForgeUser4656716 posted a comment Apr 28, 2011

    Fixed in r557.

  • _ForgeUser4656716 removed a tag Accepted Apr 28, 2011
  • _ForgeUser4656716 added a tag Fixed Apr 28, 2011
  • _ForgeUser4656716 closed issue Apr 28, 2011

To post a comment, please login or register a new account.