From 6c1f1ffdb1f0af467def794025f09eb5b75b2546 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 19 Oct 2018 06:47:55 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=83=E3=82=AD=E3=81=AE=E3=82=AB?= =?UTF-8?q?=E3=83=A9=E3=83=A0=E3=82=92=E5=B7=A6=E6=8F=83=E3=81=88=E3=81=8B?= =?UTF-8?q?=E4=B8=AD=E5=A4=AE=E6=8F=83=E3=81=88=E3=81=8B=E9=81=B8=E3=81=B9?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/ja-JP.yml | 3 +++ .../app/desktop/views/components/settings.vue | 10 ++++++++++ src/client/app/desktop/views/pages/deck/deck.vue | 13 +++++++------ src/client/app/store.ts | 1 + 4 files changed, 21 insertions(+), 6 deletions(-) diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index f7028a67d..e5ab80c2f 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -855,6 +855,9 @@ desktop/views/components/settings.vue: show-renoted-my-notes: "自分の投稿のRenoteをタイムラインに表示する" show-local-renotes: "ローカルの投稿のRenoteをタイムラインに表示する" show-maps: "マップの自動展開" + deck-column-align: "デッキのカラムの位置" + deck-column-align-center: "中央" + deck-column-align-left: "左" sound: "サウンド" enable-sounds: "サウンドを有効にする" diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index 50582b352..09e681c9b 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -113,6 +113,11 @@ %i18n:common.show-reversi-board-labels% %i18n:common.use-contrast-reversi-stones% +
+
%i18n:@deck-column-align%
+ %i18n:@deck-column-align-center% + %i18n:@deck-column-align-left% +
@@ -350,6 +355,11 @@ export default Vue.extend({ set(value) { this.$store.commit('device/set', { key: 'navbar', value }); } }, + deckColumnAlign: { + get() { return this.$store.state.device.deckColumnAlign; }, + set(value) { this.$store.commit('device/set', { key: 'deckColumnAlign', value }); } + }, + enableSounds: { get() { return this.$store.state.device.enableSounds; }, set(value) { this.$store.commit('device/set', { key: 'enableSounds', value }); } diff --git a/src/client/app/desktop/views/pages/deck/deck.vue b/src/client/app/desktop/views/pages/deck/deck.vue index 2ff3d68a9..787402fd0 100644 --- a/src/client/app/desktop/views/pages/deck/deck.vue +++ b/src/client/app/desktop/views/pages/deck/deck.vue @@ -1,6 +1,6 @@