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 Wed, 09 Nov 2011 15:38:39 Changed status from New to Accepted
Torhal Fri, 03 Jun 2011 17:02:57 Changed assigned to from None to prencher
Ackis Tue, 01 Feb 2011 18:01:30 Changed assigned to from ckknight to None
Irinia Tue, 02 Jun 2009 04:09:01 Create

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

Facts

Last updated on
09 Nov 2011
Reported on
02 Jun 2009
Status
Accepted - Problem reproduced / Need acknowledged.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.

Reported by

Possible assignees