This commit is contained in:
かっこかり 2025-09-14 05:53:41 +05:30 committed by GitHub
commit 13171d793a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 27 additions and 0 deletions

12
locales/index.d.ts vendored
View File

@ -5529,6 +5529,14 @@ export interface Locale extends ILocale {
*
*/
"thankYouForTestingBeta": string;
/**
* {here}
*/
"oldNotificationsWillBeDeleted": ParameterizedString<"here">;
/**
*
*/
"oldNotificationsWillBeDeletedPlaceholderHere": string;
"_order": {
/**
*
@ -6470,6 +6478,10 @@ export interface Locale extends ILocale {
* 稿
*/
"global": string;
/**
*
*/
"antenna": string;
};
"_serverRules": {
/**

View File

@ -1377,6 +1377,8 @@ pluginsAreDisabledBecauseSafeMode: "セーフモードが有効なため、プ
customCssIsDisabledBecauseSafeMode: "セーフモードが有効なため、カスタムCSSは適用されていません。"
themeIsDefaultBecauseSafeMode: "セーフモードが有効な間はデフォルトのテーマが使用されます。セーフモードをオフにすると元に戻ります。"
thankYouForTestingBeta: "ベータ版の検証にご協力いただきありがとうございます!"
oldNotificationsWillBeDeleted: "古い通知は自動的に削除されます。{here}から手動でリセットすることもできます。"
oldNotificationsWillBeDeletedPlaceholderHere: "こちら"
_order:
newest: "新しい順"
@ -1642,6 +1644,7 @@ _timelineDescription:
local: "ローカルタイムラインでは、このサーバーにいるユーザー全員の投稿を見られます。"
social: "ソーシャルタイムラインには、ホームタイムラインとローカルタイムラインの投稿が両方表示されます。"
global: "グローバルタイムラインでは、接続している他のすべてのサーバーからの投稿を見られます。"
antenna: "アンテナに保持されているノートは古いものから削除されていきます。必要に応じてクリップなどに移動させてください。"
_serverRules:
description: "新規登録前に表示する、サーバーの簡潔なルールを設定します。内容は利用規約の要約とすることを推奨します。"

View File

@ -6,6 +6,9 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<PageWithHeader :actions="headerActions" :tabs="headerTabs">
<div class="_spacer" style="--MI_SPACER-w: 800px;">
<MkTip k="antennas" style="margin-bottom: var(--MI-margin);">
{{ i18n.ts._timelineDescription.antenna }}
</MkTip>
<div :class="$style.tl">
<MkStreamingNotesTimeline
ref="tlEl" :key="antennaId"

View File

@ -7,6 +7,13 @@ SPDX-License-Identifier: AGPL-3.0-only
<PageWithHeader v-model:tab="tab" :actions="headerActions" :tabs="headerTabs" :swipable="true">
<div class="_spacer" style="--MI_SPACER-w: 800px;">
<div v-if="tab === 'all'">
<MkTip k="notifications" style="margin-bottom: var(--MI-margin);">
<I18n :src="i18n.ts.oldNotificationsWillBeDeleted" tag="span">
<template #here>
<MkA class="_link" to="/settings/notifications">{{ i18n.ts.oldNotificationsWillBeDeletedPlaceholderHere }}</MkA>
</template>
</I18n>
</MkTip>
<MkStreamingNotificationsTimeline :class="$style.notifications" :excludeTypes="excludeTypes"/>
</div>
<div v-else-if="tab === 'mentions'">

View File

@ -16,6 +16,8 @@ export const TIPS = [
'tl.social',
'tl.global',
'abuses',
'antennas',
'notifications',
] as const;
export function closeTip(tip: typeof TIPS[number]) {