feat(ui): messages for empty usercards (#7947)

Show a message about list being empty, so the page doesn't look broken-ish empty.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7947
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
0ko 2025-05-23 23:34:40 +02:00 committed by Otto
parent 2b30c83a0c
commit 765e7bd1b6
6 changed files with 74 additions and 30 deletions

View file

@ -4,6 +4,12 @@
"home.explore_repos": "Explore repositories",
"home.explore_users": "Explore users",
"home.explore_orgs": "Explore organizations",
"stars.list.none": "No one starred this repo.",
"watch.list.none": "No one is watching this repo.",
"followers.incoming.list.self.none": "No one is following your profile.",
"followers.incoming.list.none": "No one is following this user.",
"followers.outgoing.list.self.none": "You are not following anyone.",
"followers.outgoing.list.none": "%s isn't following anyone.",
"relativetime.now": "now",
"relativetime.future": "in future",
"relativetime.mins": {