From a2bef1fa5207523126d4f26fd3039cb63f050193 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Jan 2021 16:51:52 +0900 Subject: [PATCH 01/10] :art: --- src/client/themes/l-apricot.json5 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/themes/l-apricot.json5 b/src/client/themes/l-apricot.json5 index 4bdeea21a5..5e98d79492 100644 --- a/src/client/themes/l-apricot.json5 +++ b/src/client/themes/l-apricot.json5 @@ -16,5 +16,6 @@ mention: '@accent', hashtag: '@accent', inputBorder: 'rgba(0, 0, 0, 0.1)', + infoBg: 'rgb(226, 235, 241)', }, } From 82207598f0be8d55e7df373e6e4540c9852cf025 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Jan 2021 16:52:45 +0900 Subject: [PATCH 02/10] Add misskey update page --- locales/ja-JP.yml | 4 ++ src/client/pages/settings/index.vue | 1 + src/client/pages/settings/other.vue | 2 + src/client/pages/settings/update.vue | 94 ++++++++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 src/client/pages/settings/update.vue diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index d451ad72b7..145fa65644 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -692,6 +692,10 @@ deleteConfirm: "削除しますか?" invalidValue: "有効な値ではありません。" registry: "レジストリ" closeAccount: "アカウントを閉鎖する" +currentVersion: "現在のバージョン" +latestVersion: "最新のバージョン" +youAreRunningUpToDateClient: "お使いのクライアントは最新です。" +newVersionOfClientAvailable: "新しいバージョンのクライアントが利用可能です。" _registry: scope: "スコープ" diff --git a/src/client/pages/settings/index.vue b/src/client/pages/settings/index.vue index 0f95a76f11..bacce6e3f7 100644 --- a/src/client/pages/settings/index.vue +++ b/src/client/pages/settings/index.vue @@ -106,6 +106,7 @@ export default defineComponent({ case 'plugins': return defineAsyncComponent(() => import('./plugins.vue')); case 'import-export': return defineAsyncComponent(() => import('./import-export.vue')); case 'account-info': return defineAsyncComponent(() => import('./account-info.vue')); + case 'update': return defineAsyncComponent(() => import('./update.vue')); case 'registry': return defineAsyncComponent(() => import('./registry.vue')); case 'experimental-features': return defineAsyncComponent(() => import('./experimental-features.vue')); } diff --git a/src/client/pages/settings/other.vue b/src/client/pages/settings/other.vue index 426d91ba01..c6ec9f6c0a 100644 --- a/src/client/pages/settings/other.vue +++ b/src/client/pages/settings/other.vue @@ -1,5 +1,7 @@