Bagnon

Bagnon

122M Downloads

Lua Error

Hendo72 opened this issue · 8 comments

commented

Which software were you running?

  • 10.1.10
  • Vanilla 1.44.4.51311
    Have you read the changelog?
    yes

Please describe the bug.
Error message pops up when I open the Option menu.
It appears that there is an issue with the French translation and the use of '

Error Logs are Important!
I use Bugsack. 2 errors popped:

1x BagBrother/config/localization/fr.lua:99: unfinished string near ''Sac d'âmes'
[string "=[C]"]: in function `LoadAddOn'
[string "@BagBrother/core/core.lua"]:42: in function <BagBrother/core/core.lua:41>
[string "=[C]"]: in function `Show'
[string "@Interface_Vanilla/FrameXML/UIParent.lua"]:2146: in function `SetUIPanel'
[string "@Interface_Vanilla/FrameXML/UIParent.lua"]:1952: in function `ShowUIPanel'
[string "@Interface_Vanilla/FrameXML/UIParent.lua"]:1859: in function <Interface_Vanilla/FrameXML/UIParent.lua:1855>
[string "=[C]"]: in function `SetAttribute'
[string "@Interface_Vanilla/FrameXML/UIParent.lua"]:2638: in function `ShowUIPanel'
[string "@SharedXML/Settings/Blizzard_SettingsPanel.lua"]:354: in function `Open'
[string "@SharedXML/Settings/Blizzard_SettingsPanel.lua"]:361: in function `OpenToCategory'
[string "@SharedXML/Settings/Blizzard_SettingsPanel.lua"]:115: in function <SharedXML/Settings/Blizzard_SettingsPanel.lua:112>
[string "=[C]"]: in function `SetAttribute'
[string "@SharedXML/Settings/Blizzard_SettingsInbound.lua"]:27: in function <...face/SharedXML/Settings/Blizzard_SettingsInbound.lua:26>
[string "=(tail call)"]: ?
[string "@WoWPro/WoWPro_Frames.lua"]:866: in function `InterfaceOptionsFrame_OpenToCategory'
[string "@WoWPro/WoWPro_Frames.lua"]:878: in function `func'
[string "@FrameXML/UIDropDownMenu.lua"]:956: in function `UIDropDownMenuButton_OnClick'
[string "*UIDropDownMenuTemplates.xml:149_OnClick"]:1: in function <[string "*UIDropDownMenuTemplates.xml:149_OnClick"]:1>

Locals:
(*temporary) = "Bagnon_Config"

and the second error

2x BagBrother/config/localization/fr.lua:1 BagBrother/config/localization/fr.lua:99: unfinished string near ''Sac d'âmes'

commented

@Hendo72
In which folder should the fix be?

commented

_classic_era_\Interface\AddOns\BagBrother\config\localization

commented

This one is an easy fix:
image

commented

Same on retail:
1x BagBrother/config/localization/fr.lua:99: unfinished string near ''Sac d'âmes'
[string "=[C]"]: in function LoadAddOn' [string "@BagBrother/core/core.lua"]:42: in function <BagBrother/core/core.lua:41> [string "=[C]"]: in function Show'
[string "@FrameXML/UIParent.lua"]:2942: in function SetUIPanel' [string "@FrameXML/UIParent.lua"]:2746: in function ShowUIPanel'
[string "@FrameXML/UIParent.lua"]:2650: in function <FrameXML/UIParent.lua:2646>
[string "=[C]"]: in function SetAttribute' [string "@FrameXML/UIParent.lua"]:3252: in function <FrameXML/UIParent.lua:3231> [string "=[C]"]: in function ShowUIPanel'
[string "@SharedXML/Settings/Blizzard_SettingsPanel.lua"]:366: in function `Open'
[string "*GameMenuFrame.xml:80_OnClick"]:2: in function <[string "*GameMenuFrame.xml:80_OnClick"]:1>

Locals:
(*temporary) = "Bagnon_Config"

commented

@Hendo72
I used no Classic I play Retail

commented

image
Insert whichever version you are using.

commented

@Hendo72 In which folder should the fix be?

fr.lua file, if that's what you're asking

commented

The fr.lua file in the bagbrother config folder.

I only had to make the correction to vanilla. None of the other versions are erroring for me.