Nobox / Lazy-Strings

Create localized strings from a Google Docs Spreadsheet.
MIT License
5 stars 0 forks source link

Remove new lines ( \n ) from string IDs #5

Closed waldemarfm closed 9 years ago

waldemarfm commented 9 years ago

Before saving the ID to the JSON file, parse the string and remove any new line characters \n that prevent them from working as expected.

Example

{
   ...
    "topic.tour.poi-carousel.heading\n": "D\u00e9jenos ser su gu\u00eda",
   ...
}