apache / royale-compiler

Apache Royale Compiler
https://royale.apache.org/
Apache License 2.0
95 stars 49 forks source link

ResourceBundles are not output correctly in some cases. #195

Closed greg-dove closed 2 years ago

greg-dove commented 2 years ago

Original flex properties files do not always output cleanly in JS (assuming String only types, not ClassReferences or Embeds). Various issues relate to the use of backslash and things like escaped quotes as well. The current approach does not accurately represent how it was done in Flex. It can generate invalid javascript, and is not something that makes sense to find workarounds for in large locale sets.