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
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.