diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index bc7559b14b..bb3a151add 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -832,7 +832,8 @@ desktop/views/components/settings.vue: profile: "プロフィール" notification: "通知" apps: "アプリ" - mute: "ミュート" + mute-and-block: "ミュート/ブロック" + blocking: "ブロック" security: "セキュリティ" signin: "サインイン履歴" password: "パスワード" @@ -973,8 +974,12 @@ common/views/components/drive-settings.vue: in-use: "使用中" stats: "統計" -desktop/views/components/settings.mute.vue: - no-users: "ミュートしているユーザーはいません" +common/views/components/mute-and-block.vue: + mute-and-block: "ミュートとブロック" + mute: "ミュート" + block: "ブロック" + no-muted-users: "ミュートしているユーザーはいません" + no-blocked-users: "ブロックしているユーザーはいません" desktop/views/components/settings.password.vue: reset: "パスワードを変更する" diff --git a/src/client/app/common/views/components/index.ts b/src/client/app/common/views/components/index.ts index 33216e459d..2f2217f8d2 100644 --- a/src/client/app/common/views/components/index.ts +++ b/src/client/app/common/views/components/index.ts @@ -1,5 +1,6 @@ import Vue from 'vue'; +import muteAndBlock from './mute-and-block.vue'; import error from './error.vue'; import apiSettings from './api-settings.vue'; import driveSettings from './drive-settings.vue'; @@ -50,6 +51,7 @@ import uiInfo from './ui/info.vue'; import formButton from './ui/form/button.vue'; import formRadio from './ui/form/radio.vue'; +Vue.component('mk-mute-and-block', muteAndBlock); Vue.component('mk-error', error); Vue.component('mk-api-settings', apiSettings); Vue.component('mk-drive-settings', driveSettings); diff --git a/src/client/app/common/views/components/mute-and-block.vue b/src/client/app/common/views/components/mute-and-block.vue new file mode 100644 index 0000000000..b244f975bb --- /dev/null +++ b/src/client/app/common/views/components/mute-and-block.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/client/app/desktop/views/components/settings.mute.vue b/src/client/app/desktop/views/components/settings.mute.vue deleted file mode 100644 index 792afa923f..0000000000 --- a/src/client/app/desktop/views/components/settings.mute.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index b5c02e486e..74cedf9ecc 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -7,7 +7,7 @@

%fa:R bell .fw%%i18n:@notification%

%fa:cloud .fw%%i18n:common.drive%

%fa:hashtag .fw%%i18n:@tags%

-

%fa:ban .fw%%i18n:@mute%

+

%fa:ban .fw%%i18n:@mute-and-block%

%fa:puzzle-piece .fw%%i18n:@apps%

%fa:unlock-alt .fw%%i18n:@security%

%fa:key .fw%API

@@ -200,12 +200,9 @@ - -
%fa:ban% %i18n:@mute%
-
- -
-
+
+ +
%fa:puzzle-piece% %i18n:@apps%
@@ -289,7 +286,6 @@