BoltTranslate / labels

Bolt Labels extension - Translatable labels for Bolt
https://bolt.cm/
18 stars 12 forks source link

Fix marked labels #58

Closed xiaohutai closed 6 years ago

xiaohutai commented 6 years ago

I didn't get to see them labels <mark>ed anymore.

I'm not sure if it is intended that way, since the result of savedLabel is always going to be "" (empty string) once it's added to the JSON.

So: on the first "flash" you can see them <mark>ed, because it is null at that moment, then after a refresh it is added to the JSON, it returns "" (I believe).

Note: this pull includes #57