When only one locale is present on loco, `pull` creates namespaces regardless of the `namespaces` flag
haveneersrobin opened this issue ยท 1 comments
haveneersrobin commented
Hello, first of all: thanks for the nice tool
I've found a little bug while using it with only 1 locale.
Steps to reproduce
- Create a loco project with only 1 locale, for example English
- Create a localisation file in your project,
en.json
- Push with
loco-cli push
either havingnamespaces: false
in your config or by providing it to the cli - Next, do
loco-cli pull
...
Expected result
- No changes need to be made (as you have just pushed all the translations)
Actual result
- The tool creates namespaces based on the 'root' keys of your translations file, instead of notifying that everything is fine.
robrechtme commented
Released in v2.1.2 ๐