From aa0eac91102fecd84480c38614f0b6066b010ae8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 23 Apr 2021 13:01:52 +0900 Subject: [PATCH] Improve client --- locales/ja-JP.yml | 6 +- package.json | 2 +- src/client/pages/instance/index.vue | 8 +- src/client/pages/settings/accounts.vue | 148 +++++++++++++++++++++++++ src/client/pages/settings/index.vue | 20 ++++ src/client/ui/_common_/sidebar.vue | 8 +- src/client/ui/default.sidebar.vue | 8 +- 7 files changed, 187 insertions(+), 13 deletions(-) create mode 100644 src/client/pages/settings/accounts.vue diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index b557f8643..d20d72094 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -138,7 +138,7 @@ flagAsBotDescription: "このアカウントがプログラムによって運用 flagAsCat: "Catとして設定" flagAsCatDescription: "このアカウントが猫であることを示す場合は、このフラグをオンにします。" autoAcceptFollowed: "フォロー中ユーザーからのフォロリクを自動承認" -addAcount: "アカウント追加" +addAccount: "アカウントを追加" loginFailed: "ログインに失敗しました" showOnRemote: "リモートで表示" general: "全般" @@ -452,7 +452,7 @@ category: "カテゴリ" tags: "タグ" docSource: "このドキュメントのソース" createAccount: "アカウントを作成" -existingAcount: "既存のアカウント" +existingAccount: "既存のアカウント" regenerate: "再生成" fontSize: "フォントサイズ" noFollowRequests: "フォロー申請はありません" @@ -735,6 +735,8 @@ enabled: "有効" disabled: "無効" quickAction: "クイックアクション" user: "ユーザー" +administration: "管理" +accounts: "アカウント" _email: _follow: diff --git a/package.json b/package.json index 281bb67f3..fc53fc4dc 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "12.78.0-beta.4", + "version": "12.78.0-beta.5", "codename": "indigo", "repository": { "type": "git", diff --git a/src/client/pages/instance/index.vue b/src/client/pages/instance/index.vue index 10406f339..5972a02de 100644 --- a/src/client/pages/instance/index.vue +++ b/src/client/pages/instance/index.vue @@ -16,13 +16,13 @@ {{ $ts.invite }} + {{ $ts.users }} {{ $ts.customEmojis }} {{ $ts.federation }} {{ $ts.jobQueue }} {{ $ts.files }} {{ $ts.announcements }} - {{ $ts.database }} {{ $ts.abuseReports }} @@ -39,6 +39,10 @@ {{ $ts.proxyAccount }} {{ $ts.other }} + + + {{ $ts.database }} +
@@ -229,7 +233,7 @@ export default defineComponent({ .lxpfedzu { padding: 16px; - > img { + > .icon { display: block; margin: auto; height: 42px; diff --git a/src/client/pages/settings/accounts.vue b/src/client/pages/settings/accounts.vue new file mode 100644 index 000000000..a3fa0d4eb --- /dev/null +++ b/src/client/pages/settings/accounts.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/src/client/pages/settings/index.vue b/src/client/pages/settings/index.vue index ba4fc40ae..049e91289 100644 --- a/src/client/pages/settings/index.vue +++ b/src/client/pages/settings/index.vue @@ -2,6 +2,14 @@