jhipster / jhipster-vuejs

A Vue.js blueprint for JHipster. It will use Vue.js as the frontend library!
https://www.jhipster.tech
Apache License 2.0
301 stars 179 forks source link

Setting page title shows no I18n information. #642

Closed china-fengguan closed 4 years ago

china-fengguan commented 4 years ago

Jason file isn't translated on user setting page in the latest version.

jhipster-vuejs/generators/client/templates/vue/src/main/webapp/app/account/settings/settings.vue.ejs

<span v-bind:value="$t('settings.title')">User settings for [<b>{{username}}</b>]</span> should be changed to: <span v-html="$t('settings.title')">User settings for [<b>{{username}}</b>]</span>

the fix works for me. FYI.

pascalgrimaud commented 4 years ago

Thanks for reporting this @china-fengguan FYI, Vue.js has been integrated to main generator-jhipster

So I apply your fix there: https://github.com/jhipster/generator-jhipster/pull/12141