From 05166f79e119023420d5f77720defaf07a9c2000 Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Thu, 7 Dec 2023 16:54:31 +0300 Subject: [PATCH 1/2] upd: add option for reply depth --- locales/en-US.yml | 2 ++ locales/index.d.ts | 2 ++ locales/ja-JP.yml | 2 ++ packages/frontend/src/components/MkNoteSub.vue | 5 +++-- packages/frontend/src/components/SkNoteSub.vue | 5 +++-- packages/frontend/src/pages/settings/general.vue | 6 ++++++ .../frontend/src/pages/settings/preferences-backups.vue | 1 + packages/frontend/src/store.ts | 4 ++++ 8 files changed, 23 insertions(+), 4 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 6a8227511..b9017317e 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -944,6 +944,8 @@ approvalStatus: "Approval Status" document: "Documentation" numberOfPageCache: "Number of cached pages" numberOfPageCacheDescription: "Increasing this number will improve convenience for but cause more load as more memory usage on the user's device." +numberOfReplies: "Number of replies in a thread" +numberOfRepliesDescription: "Increasing this number will display more replies. Setting this too high can cause replies to be cramped and unreadable." logoutConfirm: "Really log out?" lastActiveDate: "Last used at" statusbar: "Status bar" diff --git a/locales/index.d.ts b/locales/index.d.ts index 98ab44dd4..6181e08b5 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -947,6 +947,8 @@ export interface Locale { "document": string; "numberOfPageCache": string; "numberOfPageCacheDescription": string; + "numberOfReplies": string; + "numberOfRepliesDescription": string; "logoutConfirm": string; "lastActiveDate": string; "statusbar": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0af37e041..5fd94e534 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -944,6 +944,8 @@ approvalStatus: "承認状況" document: "ドキュメント" numberOfPageCache: "ページキャッシュ数" numberOfPageCacheDescription: "多くすると利便性が向上しますが、負荷とメモリ使用量が増えます。" +numberOfReplies: "" +numberOfRepliesDescription: "" logoutConfirm: "ログアウトしますか?" lastActiveDate: "最終利用日時" statusbar: "ステータスバー" diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index 384a85e54..5b1e1af30 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -64,7 +64,7 @@ SPDX-License-Identifier: AGPL-3.0-only -