summaryrefslogtreecommitdiff
path: root/src/client/components/error.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-07-25 01:36:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-07-25 01:36:39 +0900
commit9c30b23358699a530f2bcb0f5ae6efe17146bcb3 (patch)
treed57bb7911e273fcfed0de31c89101934d0ea2c8b /src/client/components/error.vue
parentFix #6566 (#6577) (diff)
downloadsharkey-9c30b23358699a530f2bcb0f5ae6efe17146bcb3.tar.gz
sharkey-9c30b23358699a530f2bcb0f5ae6efe17146bcb3.tar.bz2
sharkey-9c30b23358699a530f2bcb0f5ae6efe17146bcb3.zip
refactor(client): Use v-t for i18n
Diffstat (limited to 'src/client/components/error.vue')
-rw-r--r--src/client/components/error.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/components/error.vue b/src/client/components/error.vue
index 90efa700b2..2407596043 100644
--- a/src/client/components/error.vue
+++ b/src/client/components/error.vue
@@ -3,7 +3,7 @@
<div class="mjndxjcg _panel">
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
<p><fa :icon="faExclamationTriangle"/> {{ $t('error') }}</p>
- <mk-button @click="() => $emit('retry')" class="button">{{ $t('retry') }}</mk-button>
+ <mk-button @click="() => $emit('retry')" class="button" v-t="'retry'"></mk-button>
</div>
</transition>
</template>