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 @@