CurseForge

1481 - Exported multi-line phrases do not parse in WAR

What steps will reproduce the problem?
1. Create a phrase with multiple lines
2. Export the phrase as a simple table, shown as a table
3. Copy the output
4. Prepend "test=" and paste the output at the top of a file in an active mod
5. Reload the WAR UI

What is the expected output? What do you see instead?
I expect the exporter to give output that parses.  L"Line1\nLine2\Line3" would be acceptable, for instance.
I get output that the WAR LUA engine doesn't understand: L[=[Line1
Line2
Line3]=]

At what time and date (year, month, day) did you get this bug? (Include your timezone)
2009-06-01 23:01 GMT-5

Please provide any additional information below.
The error message I get is:
---
Error Reading Lua buffer Interface/AddOns\MGRemix\Localization.lua [string "Interface/AddOns\MGRemix\Localization.lua"]:2:'}' expected (to close '{' at line 1) near '='
---
When I paste
---
test={
 test= L[=[Drag
and
drop]=],
}
---
at the top of Localization.lua

User When Change
Torhal Jul 23, 2013 at 23:54 UTC
Torhal Nov 09, 2011 at 15:38 UTC
Torhal Jun 03, 2011 at 17:02 UTC Changed assigned to from None to prencher
Ackis Feb 01, 2011 at 18:01 UTC Changed assigned to from ckknight to None
Irinia Jun 02, 2009 at 04:09 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated
Jul 23, 2013
Reported
Jun 02, 2009
Status
Declined - We decided not to take action on this ticket.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees