cyon / vue-translation-manager

Interactively translate strings in Vue single file components
26 stars 12 forks source link

translate command bug #35

Open ATLANT-Z opened 2 years ago

ATLANT-Z commented 2 years ago

### Bug report

After running the translate command, the manager creates many, VERY MANY empty strings with a value of null. I refactor my ru.json file "null, \ n" => "" and the number of lines was reduced from 13 thousand to 356.

Further. Keys are generated incorrectly!

For example

image

results in an error

image

(This is a different key, but the essence does not change)

The i18n.$t function recognizes the key as a regular expression.

Only the next entry is considered correct.

image