summaryrefslogtreecommitdiff
path: root/src/client/app/desktop/views/components/input-dialog.vue
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2018-11-09 03:44:35 +0900
committerGitHub <noreply@github.com>2018-11-09 03:44:35 +0900
commit25a69ec1b69cb7f380949ef9cf1c3599eaa4face (patch)
tree6f10016d32f94140d3953446c4b1fdb474e216e8 /src/client/app/desktop/views/components/input-dialog.vue
parentUpdate CircleCI configuration (#3163) (diff)
downloadmisskey-25a69ec1b69cb7f380949ef9cf1c3599eaa4face.tar.gz
misskey-25a69ec1b69cb7f380949ef9cf1c3599eaa4face.tar.bz2
misskey-25a69ec1b69cb7f380949ef9cf1c3599eaa4face.zip
Refactoring of i18n (#3165)
Refactoring of i18n
Diffstat (limited to 'src/client/app/desktop/views/components/input-dialog.vue')
-rw-r--r--src/client/app/desktop/views/components/input-dialog.vue6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/components/input-dialog.vue b/src/client/app/desktop/views/components/input-dialog.vue
index 60f672c93d..d08410e36d 100644
--- a/src/client/app/desktop/views/components/input-dialog.vue
+++ b/src/client/app/desktop/views/components/input-dialog.vue
@@ -8,15 +8,17 @@
<input ref="text" v-model="text" :type="type" @keydown="onKeydown" :placeholder="placeholder"/>
</div>
<div :class="$style.actions">
- <button :class="$style.cancel" @click="cancel">%i18n:@cancel%</button>
- <button :class="$style.ok" :disabled="!allowEmpty && text.length == 0" @click="ok">%i18n:@ok%</button>
+ <button :class="$style.cancel" @click="cancel">{{ $t('cancel') }}</button>
+ <button :class="$style.ok" :disabled="!allowEmpty && text.length == 0" @click="ok">{{ $t('ok') }}</button>
</div>
</mk-window>
</template>
<script lang="ts">
import Vue from 'vue';
+import i18n from '../../../i18n';
export default Vue.extend({
+ i18n: i18n('desktop/views/input-dialog.vue'),
props: {
title: {
type: String