From 319e0c3e1eef6fa510a5906bf16e36b973ae68fa Mon Sep 17 00:00:00 2001 From: KMY Date: Wed, 8 Nov 2023 11:02:29 +0900 Subject: [PATCH] =?UTF-8?q?Add:=20#245=20=E6=A6=82=E8=A6=81=E7=94=BB?= =?UTF-8?q?=E9=9D=A2=E3=81=AB=E5=85=A8=E6=96=87=E6=A4=9C=E7=B4=A2=E3=81=AE?= =?UTF-8?q?=E9=A0=85=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/javascript/mastodon/features/about/index.jsx | 5 +++++ app/javascript/mastodon/locales/en.json | 1 + app/javascript/mastodon/locales/ja.json | 1 + 3 files changed, 7 insertions(+) diff --git a/app/javascript/mastodon/features/about/index.jsx b/app/javascript/mastodon/features/about/index.jsx index c2e5b2578bcef1..7603eb8ddd11da 100644 --- a/app/javascript/mastodon/features/about/index.jsx +++ b/app/javascript/mastodon/features/about/index.jsx @@ -27,6 +27,7 @@ const messages = defineMessages({ title: { id: 'column.about', defaultMessage: 'About' }, rules: { id: 'about.rules', defaultMessage: 'Server rules' }, blocks: { id: 'about.blocks', defaultMessage: 'Moderated servers' }, + fullTextSearch: { id: 'about.full_text_search', defaultMessage: 'Full text search' }, localTimeline: { id: 'column.community', defaultMessage: 'Local timeline' }, noop: { id: 'about.domain_blocks.noop.title', defaultMessage: 'Soft limited' }, noopExplanation: { id: 'about.domain_blocks.noop.explanation', defaultMessage: 'This server is limited partically.' }, @@ -159,6 +160,7 @@ class About extends PureComponent { const isPublicUnlistedVisibility = fedibirdCapabilities.includes('kmyblue_visibility_public_unlisted'); const isEmojiReaction = fedibirdCapabilities.includes('emoji_reaction'); const isLocalTimeline = !fedibirdCapabilities.includes('timeline_no_local'); + const isFullTextSearch = !fedibirdCapabilities.includes('profile_search'); return ( @@ -233,6 +235,9 @@ class About extends PureComponent {
  • {intl.formatMessage(messages.localTimeline)}:
  • +
  • + {intl.formatMessage(messages.fullTextSearch)}: +
  • )} diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index 5a4a508b253116..6cb956686df771 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -12,6 +12,7 @@ "about.domain_blocks.suspended.explanation": "No data from this server will be processed, stored or exchanged, making any interaction or communication with users from this server impossible.", "about.domain_blocks.suspended.title": "Suspended", "about.enabled": "Enabled", + "about.full_text_search": "Full text search", "about.kmyblue_capability": "This server is using kmyblue, a fork of Mastodon. On this server, kmyblues unique features are configured as follows.", "about.not_available": "This information has not been made available on this server.", "about.powered_by": "Decentralized social media powered by {mastodon}", diff --git a/app/javascript/mastodon/locales/ja.json b/app/javascript/mastodon/locales/ja.json index e6f3cb557ba4b8..46bafb30cf264f 100644 --- a/app/javascript/mastodon/locales/ja.json +++ b/app/javascript/mastodon/locales/ja.json @@ -12,6 +12,7 @@ "about.domain_blocks.suspended.explanation": "これらのサーバーからのデータは処理されず、保存や変換もされません。該当するユーザーとの交流もできません。", "about.domain_blocks.suspended.title": "停止中", "about.enabled": "有効", + "about.full_text_search": "全文検索", "about.kmyblue_capability": "このサーバーは、kmyblueというMastodonフォークを利用しています。kmyblue独自機能の一部は、サーバー管理者によって有効・無効を切り替えることができます。", "about.not_available": "この情報はこのサーバーでは利用できません。", "about.powered_by": "{mastodon}による分散型ソーシャルメディア",