“최신 주제가 없습니다. 슬프네요.”를 덜 우울한 메시지로 변경

I think there are two scenarios and they need different messages:

  1. 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.

  2. 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개의 좋아요

How would scenario 1 happen:

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개의 좋아요

Does anyone know – is there a Plugin or Theme Component or config setting for this (yet :pray: )?

Alternatively, can it be edited somehow through js.topics.none.latest or in the config/locales/client.en.yml

2개의 좋아요

Just visit /admin/customize/site_texts and search for “that’s sad”. You can change it to whatever you want.

EDIT: Though it looks like “that’s sad” has been changed in core. Looks like it’s just this now:

      bottom:
        latest: "There are no more latest topics."
        posted: "There are no more posted topics."
        read: "There are no more read topics."
        new: "There are no more new topics."
        unread: "There are no more unread topics."
        unseen: "There are no more unseen topics."
        category: "There are no more %{category} topics."
        tag: "There are no more %{tag} topics."
        top: "There are no more top topics."
        bookmarks: "There are no more bookmarked topics."
5개의 좋아요

Thank you so much @pfaffman – I am also very glad to learn about your Discourse Support Services!

2개의 좋아요

또한 :after 의사 클래스를 사용하여 범주에 맞게 메시지를 변경할 수도 있습니다:

.category-next-events .topic-list-bottom::after {
content: ‘No event for the moment’;
}

.category-next-events .topic-list-bottom .footer-message {
display: none;
}

다국어 사이트를 운영 중이라면 언어 의사 클래스를 추가할 수 있습니다.

1개의 좋아요