PocketByte / LocoLaser

Localization tool to import localized strings from external source to your project.
Apache License 2.0
31 stars 1 forks source link

Strings with leading "+" lose it after export, import #3

Closed Akkell closed 7 years ago

Akkell commented 7 years ago

Platform: Android Steps:

  1. Add string +1 to strings.xml at the middle of list
  2. Execute localizeExportNew Gradle task. Look at strings.xml: +1 string jumped at the top of list Look at GSheet: strings appears as =+1 in formula view, and 1 in a cell.
  3. Execute localize Gradle task. Look at strings.xml.

Expected: string is +1 Actual: string is 1

Fix: add leading ' to the string in GSheet, so it look '+1. I believe it should be done by the plugin.

KamiSempai commented 7 years ago

New version 1.0.1 released. This version contains fixes from current issue.