t2ym/gulp-i18n-preprocess

Annotated variable in the first child of i18n-format is unexpectedly extracted as a UI string

Closed this issue · 0 comments

t2ym commented

This issue is synchronous with t2ym/i18n-behavior#23.

In explicit use of i18n-format, an annotated variable in the first child is unexpectedly extracted as a string and the variable is not evaluated.

The first child is not evaluated:

      <i18n-format id="statusMessage">
        <span>{{tr(status,text.statusMessage)}}</span><!-- this textContent should be evaluated -->
        <span>{{responseTime}}</span>
      </i18n-format>