Localized mobile/views/pages/reversi.vue

Also added common.name line, as to allow easier rebranding.
This commit is contained in:
gutfuckllc
2018-08-01 15:09:42 -04:00
parent 3ec3fa2d1e
commit 08afa44e09
3 changed files with 9 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<mk-ui>
<span slot="header">%fa:gamepad%リバーシ</span>
<span slot="header">%fa:gamepad%%i18n:@reversi%</span>
<mk-reversi v-if="!fetching" :init-game="game" @gamed="onGamed"/>
</mk-ui>
</template>
@ -23,7 +23,7 @@ export default Vue.extend({
this.fetch();
},
mounted() {
document.title = 'Misskey リバーシ';
document.title = '%i18n:common.name% %i18n:@reversi%';
document.documentElement.style.background = '#fff';
},
methods: {