I think there are two scenarios and they need different messages:
latest tab is empty (I think @justin suggestion of “You’re all caught up! Ready to [start a new conversation]?” is a good one here.
New category is empty (or site is brand new, etc). This one needs more of an exhortation to create some topics so people have something to talk about, and real actual topic examples of what the category is for (other than the category description)
「いいね!」 8
Mevo
2020 年 8 月 28 日午後 9:17
25
How would scenario 1 happen:
codinghorror:
latest tab is empty
out of scenario 2 cases ? (EDIT: Oh, maybe by selecting TAGS !?)
There also is the “show tracked or watched topics” talked about above, but is “you’re all caught up…” the right message for this case ? (scenario 3 ?)
「いいね!」 3
I put together a PR for this. The message is
You’re all caught up! Ready to start a new conversation?
https://github.com/discourse/discourse/pull/10740
「いいね!」 11
これに対するプラグイン、テーマコンポーネント、または設定は(まだ:pray:)ありますか?
あるいは、js.topics.none.latest または config/locales/client.en.yml で編集できますか?
「いいね!」 2
pfaffman
(Jay Pfaffman)
2022 年 7 月 19 日午後 7:27
30
/admin/customize/site_texts にアクセスして、「that’s sad」を検索してください。好きなように変更できます。
編集:ただし、「that’s sad」はコアで変更されたようです。現在は次のようになっているようです。
bottom:
latest: "これ以上最新トピックはありません。"
posted: "これ以上投稿されたトピックはありません。"
read: "これ以上既読トピックはありません。"
new: "これ以上新しいトピックはありません。"
unread: "これ以上未読トピックはありません。"
unseen: "これ以上未見トピックはありません。"
category: "%{category}のトピックはこれ以上ありません。"
tag: "%{tag}のトピックはこれ以上ありません。"
top: "これ以上トップトピックはありません。"
bookmarks: "これ以上ブックマークされたトピックはありません。"
「いいね!」 5
@pfaffman様 、ありがとうございます。また、Discourse Support Services についても学べて大変嬉しく思います!
「いいね!」 2
「after」擬似クラスを使用してメッセージをカテゴリに合わせて変更することもできます。
.topic-list-bottom::after {
content: 'No event for the moment';
}
.category-next-events .topic-list-bottom .footer-message {
display: none;
}
多言語サイトの場合は、言語擬似クラスを追加することもできます。
「いいね!」 1