Non ci sono argomenti recenti. Sii il primo a postare!

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 Mi Piace

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 Mi Piace

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 Mi Piace

Qualcuno sa – esiste un Plugin o un Theme Component o un’impostazione di configurazione per questo (già :pray: )?

In alternativa, può essere modificato in qualche modo tramite js.topics.none.latest o in config/locales/client.en.yml

2 Mi Piace

Basta visitare /admin/customize/site_texts e cercare “that’s sad”. Puoi cambiarlo in quello che vuoi.

MODIFICA: Anche se sembra che “that’s sad” sia stato cambiato nel core. Sembra che ora sia solo questo:

      bottom:
        latest: "Non ci sono più argomenti recenti."
        posted: "Non ci sono più argomenti pubblicati."
        read: "Non ci sono più argomenti letti."
        new: "Non ci sono più argomenti nuovi."
        unread: "Non ci sono più argomenti non letti."
        unseen: "Non ci sono più argomenti non visti."
        category: "Non ci sono più argomenti per la categoria %{category}."
        tag: "Non ci sono più argomenti per il tag %{tag}."
        top: "Non ci sono più argomenti in cima."
        bookmarks: "Non ci sono più argomenti salvati."
5 Mi Piace

Grazie mille @pfaffman – Sono anche molto felice di conoscere i tuoi Servizi di supporto per Discourse!

2 Mi Piace

Puoi anche cambiare il messaggio per adattarlo alla categoria con la pseudoclasse “after” :

.topic-list-bottom::after {
	content: 'Nessun evento al momento';
}
.category-next-events .topic-list-bottom .footer-message {
	display: none;
}

Puoi aggiungere la pseudoclasse linguistica se hai un sito multilingue.

1 Mi Piace