LonamiWebs / Stringlate

Android application to help in strings.xml translation
https://lonamiwebs.github.io/stringlate/index
MIT License
106 stars 48 forks source link

Strings with front spaces #55

Closed licaon-kter closed 7 years ago

licaon-kter commented 7 years ago

Like: https://github.com/SecUSo/privacy-friendly-pedometer/blob/master/app/src/main/res/values/strings.xml#L224

That's actually SPACE(active) but the app erases the space in the field.

Lonami commented 7 years ago

Yeah, I told her on the PR I made. I think she needs to put the string between quotes like " (active)" or Android will trim it. Not sure if it's Android, or when building the application, but this is not related to Stringlate.

All I know is that if I leave a trailing space on the translation manager Android Studio provides, it automatically gets quoted.