summaryrefslogtreecommitdiff
path: root/src/client/components/notification-setting-window.vue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:47:36 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-26 10:47:36 +0900
commit5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8 (patch)
tree18f6338f1d5935c401298515d4e400d5a2306301 /src/client/components/notification-setting-window.vue
parentwip (diff)
downloadmisskey-5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8.tar.gz
misskey-5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8.tar.bz2
misskey-5a8cc7851b4af9ae4a0d7efc5b66b224bbe9b4c8.zip
wip
Diffstat (limited to 'src/client/components/notification-setting-window.vue')
-rw-r--r--src/client/components/notification-setting-window.vue12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/components/notification-setting-window.vue b/src/client/components/notification-setting-window.vue
index e6d109e3a5..1c19de9ff9 100644
--- a/src/client/components/notification-setting-window.vue
+++ b/src/client/components/notification-setting-window.vue
@@ -8,17 +8,17 @@
@close="$refs.dialog.close()"
@closed="$emit('closed')"
>
- <template #header>{{ $t('notificationSetting') }}</template>
+ <template #header>{{ $ts.notificationSetting }}</template>
<div v-if="showGlobalToggle" class="_section">
<MkSwitch v-model:value="useGlobalSetting">
- {{ $t('useGlobalSetting') }}
- <template #desc>{{ $t('useGlobalSettingDesc') }}</template>
+ {{ $ts.useGlobalSetting }}
+ <template #desc>{{ $ts.useGlobalSettingDesc }}</template>
</MkSwitch>
</div>
<div v-if="!useGlobalSetting" class="_section">
- <MkInfo>{{ $t('notificationSettingDesc') }}</MkInfo>
- <MkButton inline @click="disableAll">{{ $t('disableAll') }}</MkButton>
- <MkButton inline @click="enableAll">{{ $t('enableAll') }}</MkButton>
+ <MkInfo>{{ $ts.notificationSettingDesc }}</MkInfo>
+ <MkButton inline @click="disableAll">{{ $ts.disableAll }}</MkButton>
+ <MkButton inline @click="enableAll">{{ $ts.enableAll }}</MkButton>
<MkSwitch v-for="type in notificationTypes" :key="type" v-model:value="typesMap[type]">{{ $t(`_notification._types.${type}`) }}</MkSwitch>
</div>
</XModalWindow>