From 3c8475e5ac217f055eab0f6d0aedcbbcb2a2f27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Thu, 7 Mar 2024 07:28:55 +0900 Subject: [PATCH] =?UTF-8?q?enhance(frontend):=20=E3=83=AA=E3=83=97?= =?UTF-8?q?=E3=83=A9=E3=82=A4=E3=83=BB=E3=83=AA=E3=83=8E=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=83=BB=E3=83=AA=E3=82=A2=E3=82=AF=E3=82=B7=E3=83=A7=E3=83=B3?= =?UTF-8?q?=E3=81=AE=E7=B7=8F=E6=95=B0=E3=82=92=E8=A1=A8=E7=A4=BA=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=81=8B=E8=A8=AD=E5=AE=9A=E3=81=A7=E9=81=B8=E3=81=B9?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=20(MisskeyIO#512)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en-US.yml | 3 +++ locales/index.d.ts | 12 ++++++++++++ locales/ja-JP.yml | 3 +++ locales/ko-KR.yml | 3 +++ packages/frontend/src/components/MkNote.vue | 6 +++--- .../frontend/src/components/MkNoteDetailed.vue | 6 +++--- packages/frontend/src/pages/settings/general.vue | 8 +++++++- .../src/pages/settings/preferences-backups.vue | 4 ++++ packages/frontend/src/store.ts | 16 ++++++++++++++-- 9 files changed, 52 insertions(+), 9 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 49688d24ea..772f002e07 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -500,6 +500,9 @@ emojiStyle: "Emoji style" native: "Native" disableDrawer: "Don't use drawer-style menus" showNoteActionsOnlyHover: "Only show note actions on hover" +showRepliesCount: "Show note's count of replies" +showRenotesCount: "Show note's count of renotes" +showReactionsCount: "Show note's count of reactions" noHistory: "No history available" signinHistory: "Login history" enableAdvancedMfm: "Enable advanced MFM" diff --git a/locales/index.d.ts b/locales/index.d.ts index ac4cae7845..f97061437e 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2016,6 +2016,18 @@ export interface Locale extends ILocale { * ノートのアクションをホバー時のみ表示する */ "showNoteActionsOnlyHover": string; + /** + * ノートの返信数を表示する + */ + "showRepliesCount": string; + /** + * ノートのリノート数を表示する + */ + "showRenotesCount": string; + /** + * ノートのリアクション数を表示する + */ + "showReactionsCount": string; /** * 履歴はありません */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 978f4b6403..d5969082d4 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -500,6 +500,9 @@ emojiStyle: "絵文字のスタイル" native: "ネイティブ" disableDrawer: "メニューをドロワーで表示しない" showNoteActionsOnlyHover: "ノートのアクションをホバー時のみ表示する" +showRepliesCount: "ノートの返信数を表示する" +showRenotesCount: "ノートのリノート数を表示する" +showReactionsCount: "ノートのリアクション数を表示する" noHistory: "履歴はありません" signinHistory: "ログイン履歴" enableAdvancedMfm: "高度なMFMを有効にする" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 75578750ce..955d7c3c76 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -499,6 +499,9 @@ emojiStyle: "이모지 스타일" native: "기본" disableDrawer: "드로어 메뉴를 사용하지 않기" showNoteActionsOnlyHover: "노트 액션 버튼을 마우스를 올렸을 때에만 표시" +showRepliesCount: "노트의 답글 수를 표시" +showRenotesCount: "노트의 리노트 수를 표시" +showReactionsCount: "노트의 리액션 수를 표시" noHistory: "기록이 없습니다" signinHistory: "로그인 기록" enableAdvancedMfm: "고급 MFM을 활성화" diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 746753cf68..11dfb1eb1a 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -101,7 +101,7 @@ SPDX-License-Identifier: AGPL-3.0-only