diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 55f08d1fc..13c538fbc 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1368,6 +1368,8 @@ mobile/views/pages/settings.vue: update-available-desc: "ページを再度読み込みすると更新が適用されます。" settings: "設定" signout: "サインアウト" + sound: "サウンド" + enableSounds: "サウンドを有効にする" mobile/views/pages/user.vue: follows-you: "フォローされています" diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue index 6b82be099..7437eb8b4 100644 --- a/src/client/app/mobile/views/pages/settings.vue +++ b/src/client/app/mobile/views/pages/settings.vue @@ -41,6 +41,12 @@ %i18n:@i-am-under-limited-internet% + + %fa:volume-up% %i18n:@sound% + + %i18n:@enable-sounds% + + %fa:language% %i18n:@lang% @@ -142,6 +148,11 @@ export default Vue.extend({ get() { return this.$store.state.device.lang; }, set(value) { this.$store.commit('device/set', { key: 'lang', value }); } }, + + enableSounds: { + get() { return this.$store.state.device.enableSounds; }, + set(value) { this.$store.commit('device/set', { key: 'enableSounds', value }); } + }, }, mounted() {