diff --git a/locales/index.d.ts b/locales/index.d.ts index 4e26d5406b..e4cd346ed3 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -5254,6 +5254,14 @@ export interface Locale extends ILocale { * このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。 */ "federationDisabled": string; + /** + * 古い通知は自動的に削除されます。{here}から手動でリセットすることもできます。 + */ + "oldNotificationsWillBeDeleted": ParameterizedString<"here">; + /** + * こちら + */ + "oldNotificationsWillBeDeletedPlaceholderHere": string; "_accountSettings": { /** * コンテンツの表示にログインを必須にする @@ -5766,6 +5774,10 @@ export interface Locale extends ILocale { * グローバルタイムラインでは、接続している他のすべてのサーバーからの投稿を見られます。 */ "global": string; + /** + * アンテナに保存されている投稿は古いものから削除されていきます。必要に応じてクリップなどに移動させてください。 + */ + "antenna": string; }; "_serverRules": { /** diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 13d8aec9b8..0424542f9d 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1309,6 +1309,8 @@ availableRoles: "利用可能なロール" acknowledgeNotesAndEnable: "注意事項を理解した上でオンにします。" federationSpecified: "このサーバーはホワイトリスト連合で運用されています。管理者が指定したサーバー以外とやり取りすることはできません。" federationDisabled: "このサーバーは連合が無効化されています。他のサーバーのユーザーとやり取りすることはできません。" +oldNotificationsWillBeDeleted: "古い通知は自動的に削除されます。{here}から手動でリセットすることもできます。" +oldNotificationsWillBeDeletedPlaceholderHere: "こちら" _accountSettings: requireSigninToViewContents: "コンテンツの表示にログインを必須にする" @@ -1456,6 +1458,7 @@ _timelineDescription: local: "ローカルタイムラインでは、このサーバーにいるユーザー全員の投稿を見られます。" social: "ソーシャルタイムラインには、ホームタイムラインとローカルタイムラインの投稿が両方表示されます。" global: "グローバルタイムラインでは、接続している他のすべてのサーバーからの投稿を見られます。" + antenna: "アンテナに保存されている投稿は古いものから削除されていきます。必要に応じてクリップなどに移動させてください。" _serverRules: description: "新規登録前に表示する、サーバーの簡潔なルールを設定します。内容は利用規約の要約とすることを推奨します。" diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue index 5a6ada474a..9c3da38a21 100644 --- a/packages/frontend/src/components/MkNotifications.vue +++ b/packages/frontend/src/components/MkNotifications.vue @@ -38,7 +38,7 @@ import MkPullToRefresh from '@/components/MkPullToRefresh.vue'; import * as Misskey from 'misskey-js'; const props = defineProps<{ - excludeTypes?: typeof notificationTypes[number][]; + excludeTypes?: typeof notificationTypes[number][] | null; }>(); const pagingComponent = shallowRef>(); diff --git a/packages/frontend/src/pages/antenna-timeline.vue b/packages/frontend/src/pages/antenna-timeline.vue index a01bafd996..4f79fbb9a2 100644 --- a/packages/frontend/src/pages/antenna-timeline.vue +++ b/packages/frontend/src/pages/antenna-timeline.vue @@ -8,6 +8,9 @@ SPDX-License-Identifier: AGPL-3.0-only
+ + {{ i18n.ts._timelineDescription.antenna }} +
(); const tlEl = shallowRef>(); +function closeTutorial() { + defaultStore.set('timelineTutorials', { + ...defaultStore.state.timelineTutorials, + antenna: false, + }); +} + function queueUpdated(q) { queue.value = q; } diff --git a/packages/frontend/src/pages/notifications.vue b/packages/frontend/src/pages/notifications.vue index 46ee501c76..5c1ab7ccfa 100644 --- a/packages/frontend/src/pages/notifications.vue +++ b/packages/frontend/src/pages/notifications.vue @@ -9,6 +9,14 @@ SPDX-License-Identifier: AGPL-3.0-only
+ + + + + +
@@ -25,17 +33,24 @@ SPDX-License-Identifier: AGPL-3.0-only