You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I've just come across an issue with \r characters, I am developing on windows, and some of our translate strings have "\r\n" newlines in them.
The strings get extracted OK, and added to our translations.js file with a \r\n included in the string, but when the translation is being looked up, it is not found because the string being looked up does not contain the \r character.
I'm not sure if the browser strips them out or if it is some other code along the way.
I also receive warnings in poedit about the \r characters, so I am thinking the best way to handle it would be for grunt-angular-gettext to remove them.
What do you think?
Thanks,
Wayne
The text was updated successfully, but these errors were encountered:
Hi,
I've just come across an issue with \r characters, I am developing on windows, and some of our translate strings have "\r\n" newlines in them.
The strings get extracted OK, and added to our translations.js file with a \r\n included in the string, but when the translation is being looked up, it is not found because the string being looked up does not contain the \r character.
I'm not sure if the browser strips them out or if it is some other code along the way.
I also receive warnings in poedit about the \r characters, so I am thinking the best way to handle it would be for grunt-angular-gettext to remove them.
What do you think?
Thanks,
Wayne
The text was updated successfully, but these errors were encountered: