From b654446f937531f1d635da44397f11c507b4da69 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 21 Sep 2023 15:14:08 +0900 Subject: [PATCH] enhance(frontend): tweak ui --- locales/index.d.ts | 1 + locales/ja-JP.yml | 1 + packages/frontend/src/pages/settings/profile.vue | 3 +++ 3 files changed, 5 insertions(+) diff --git a/locales/index.d.ts b/locales/index.d.ts index bd1f10d86e..c4379409fd 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2021,6 +2021,7 @@ export interface Locale { "metadataContent": string; "changeAvatar": string; "changeBanner": string; + "verifiedLinkDescription": string; }; "_exportOrImport": { "allNotes": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 8e684111fd..f39bc52822 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1936,6 +1936,7 @@ _profile: metadataContent: "内容" changeAvatar: "アイコン画像を変更" changeBanner: "バナー画像を変更" + verifiedLinkDescription: "内容にURLを設定すると、リンク先のWebサイトに自分のプロフィールへのリンクが含まれている場合に所有者確認済みアイコンを表示させることができます。" _exportOrImport: allNotes: "全てのノート" diff --git a/packages/frontend/src/pages/settings/profile.vue b/packages/frontend/src/pages/settings/profile.vue index e045009c1b..5e4889f61c 100644 --- a/packages/frontend/src/pages/settings/profile.vue +++ b/packages/frontend/src/pages/settings/profile.vue @@ -76,6 +76,8 @@ SPDX-License-Identifier: AGPL-3.0-only + + {{ i18n.ts._profile.verifiedLinkDescription }} @@ -119,6 +121,7 @@ import { langmap } from '@/scripts/langmap.js'; import { definePageMetadata } from '@/scripts/page-metadata.js'; import { claimAchievement } from '@/scripts/achievements.js'; import { defaultStore } from '@/store.js'; +import MkInfo from '@/components/MkInfo.vue'; const Sortable = defineAsyncComponent(() => import('vuedraggable').then(x => x.default));