Skip to content

home: Add placeholder text for empty Inbox, Channels, and Direct messages #1552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions assets/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -781,6 +781,10 @@
"@inboxPageTitle": {
"description": "Title for the page with unreads."
},
"inboxEmptyPlaceholder": "There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.",
"@inboxEmptyPlaceholder": {
"description": "Centered text on the 'Inbox' page saying that there is no content to show."
},
"recentDmConversationsPageTitle": "Direct messages",
"@recentDmConversationsPageTitle": {
"description": "Title for the page with a list of DM conversations."
Expand All @@ -789,6 +793,10 @@
"@recentDmConversationsSectionHeader": {
"description": "Heading for direct messages section on the 'Inbox' message view."
},
"recentDmConversationsEmptyPlaceholder": "You have no direct messages yet! Why not start the conversation?",
"@recentDmConversationsEmptyPlaceholder": {
"description": "Centered text on the 'Direct messages' page saying that there is no content to show."
},
"combinedFeedPageTitle": "Combined feed",
"@combinedFeedPageTitle": {
"description": "Page title for the 'Combined feed' message view."
Expand All @@ -805,6 +813,10 @@
"@channelsPageTitle": {
"description": "Title for the page with a list of subscribed channels."
},
"channelsEmptyPlaceholder": "You are not subscribed to any channels yet.",
"@channelsEmptyPlaceholder": {
"description": "Centered text on the 'Channels' page saying that there is no content to show."
},
"mainMenuMyProfile": "My profile",
"@mainMenuMyProfile": {
"description": "Label for main-menu button leading to the user's own profile."
Expand Down Expand Up @@ -833,10 +845,6 @@
"@unpinnedSubscriptionsLabel": {
"description": "Label for the list of unpinned subscribed channels."
},
"subscriptionListNoChannels": "No channels found",
"@subscriptionListNoChannels": {
"description": "Text to display on subscribed-channels page when there are no subscribed channels."
},
"notifSelfUser": "You",
"@notifSelfUser": {
"description": "Display name for the user themself, to show after replying in an Android notification"
Expand Down
24 changes: 18 additions & 6 deletions lib/generated/l10n/zulip_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,12 @@ abstract class ZulipLocalizations {
/// **'Inbox'**
String get inboxPageTitle;

/// Centered text on the 'Inbox' page saying that there is no content to show.
///
/// In en, this message translates to:
/// **'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.'**
String get inboxEmptyPlaceholder;

/// Title for the page with a list of DM conversations.
///
/// In en, this message translates to:
Expand All @@ -1193,6 +1199,12 @@ abstract class ZulipLocalizations {
/// **'Direct messages'**
String get recentDmConversationsSectionHeader;

/// Centered text on the 'Direct messages' page saying that there is no content to show.
///
/// In en, this message translates to:
/// **'You have no direct messages yet! Why not start the conversation?'**
String get recentDmConversationsEmptyPlaceholder;

/// Page title for the 'Combined feed' message view.
///
/// In en, this message translates to:
Expand All @@ -1217,6 +1229,12 @@ abstract class ZulipLocalizations {
/// **'Channels'**
String get channelsPageTitle;

/// Centered text on the 'Channels' page saying that there is no content to show.
///
/// In en, this message translates to:
/// **'You are not subscribed to any channels yet.'**
String get channelsEmptyPlaceholder;

/// Label for main-menu button leading to the user's own profile.
///
/// In en, this message translates to:
Expand Down Expand Up @@ -1253,12 +1271,6 @@ abstract class ZulipLocalizations {
/// **'Unpinned'**
String get unpinnedSubscriptionsLabel;

/// Text to display on subscribed-channels page when there are no subscribed channels.
///
/// In en, this message translates to:
/// **'No channels found'**
String get subscriptionListNoChannels;

/// Display name for the user themself, to show after replying in an Android notification
///
/// In en, this message translates to:
Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,20 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Inbox';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Direct messages';

@override
String get recentDmConversationsSectionHeader => 'Direct messages';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Combined feed';

Expand All @@ -657,6 +665,10 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Channels';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'My profile';

Expand All @@ -683,9 +695,6 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Unpinned';

@override
String get subscriptionListNoChannels => 'No channels found';

@override
String get notifSelfUser => 'You';

Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,20 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Inbox';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Direct messages';

@override
String get recentDmConversationsSectionHeader => 'Direct messages';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Combined feed';

Expand All @@ -657,6 +665,10 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Channels';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'My profile';

Expand All @@ -683,9 +695,6 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Unpinned';

@override
String get subscriptionListNoChannels => 'No channels found';

@override
String get notifSelfUser => 'You';

Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,20 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Inbox';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Direct messages';

@override
String get recentDmConversationsSectionHeader => 'Direct messages';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Combined feed';

Expand All @@ -657,6 +665,10 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Channels';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'My profile';

Expand All @@ -683,9 +695,6 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Unpinned';

@override
String get subscriptionListNoChannels => 'No channels found';

@override
String get notifSelfUser => 'You';

Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,20 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Inbox';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Direct messages';

@override
String get recentDmConversationsSectionHeader => 'Direct messages';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Combined feed';

Expand All @@ -657,6 +665,10 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Channels';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'My profile';

Expand All @@ -683,9 +695,6 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Unpinned';

@override
String get subscriptionListNoChannels => 'No channels found';

@override
String get notifSelfUser => 'You';

Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_nb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,20 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Inbox';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Direct messages';

@override
String get recentDmConversationsSectionHeader => 'Direct messages';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Combined feed';

Expand All @@ -657,6 +665,10 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Channels';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'My profile';

Expand All @@ -683,9 +695,6 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Unpinned';

@override
String get subscriptionListNoChannels => 'No channels found';

@override
String get notifSelfUser => 'You';

Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_pl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -648,12 +648,20 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Odebrane';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Wiadomości bezpośrednie';

@override
String get recentDmConversationsSectionHeader => 'Wiadomości bezpośrednie';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Mieszany widok';

Expand All @@ -666,6 +674,10 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Kanały';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'Mój profil';

Expand All @@ -692,9 +704,6 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Odpięte';

@override
String get subscriptionListNoChannels => 'Nie odnaleziono kanałów';

@override
String get notifSelfUser => 'Ty';

Expand Down
15 changes: 12 additions & 3 deletions lib/generated/l10n/zulip_localizations_ru.dart
Original file line number Diff line number Diff line change
Expand Up @@ -652,12 +652,20 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
@override
String get inboxPageTitle => 'Входящие';

@override
String get inboxEmptyPlaceholder =>
'There are no unread messages in your inbox. Use the buttons below to view the combined feed or list of channels.';

@override
String get recentDmConversationsPageTitle => 'Личные сообщения';

@override
String get recentDmConversationsSectionHeader => 'Личные сообщения';

@override
String get recentDmConversationsEmptyPlaceholder =>
'You have no direct messages yet! Why not start the conversation?';

@override
String get combinedFeedPageTitle => 'Объединенная лента';

Expand All @@ -670,6 +678,10 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
@override
String get channelsPageTitle => 'Каналы';

@override
String get channelsEmptyPlaceholder =>
'You are not subscribed to any channels yet.';

@override
String get mainMenuMyProfile => 'Мой профиль';

Expand All @@ -696,9 +708,6 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
@override
String get unpinnedSubscriptionsLabel => 'Откреплены';

@override
String get subscriptionListNoChannels => 'Каналы не найдены';

@override
String get notifSelfUser => 'Вы';

Expand Down
Loading