Skip to content

Commit 1d89611

Browse files
committed
action_sheet: Add 'Channel feed' button to channel action sheet
Fixes zulip#1705.
1 parent 296e600 commit 1d89611

17 files changed

+141
-2
lines changed

assets/l10n/app_en.arb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,10 @@
116116
"@actionSheetOptionListOfTopics": {
117117
"description": "Label for navigating to a channel's topic-list page."
118118
},
119+
"actionSheetOptionChannelFeed": "Channel feed",
120+
"@actionSheetOptionChannelFeed": {
121+
"description": "Label for navigating to a channel's channel-feed page."
122+
},
119123
"actionSheetOptionUnsubscribe": "Unsubscribe",
120124
"@actionSheetOptionUnsubscribe": {
121125
"description": "Label in the channel action sheet for unsubscribing from the channel."

lib/generated/l10n/zulip_localizations.dart

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ abstract class ZulipLocalizations {
275275
/// **'To upload files, please grant Zulip additional permissions in Settings.'**
276276
String get permissionsDeniedReadExternalStorage;
277277

278-
/// Label in the channel context menu for subscribing to the channel.
278+
/// Label in the channel action sheet for subscribing to the channel.
279279
///
280280
/// In en, this message translates to:
281281
/// **'Subscribe'**
@@ -305,7 +305,13 @@ abstract class ZulipLocalizations {
305305
/// **'List of topics'**
306306
String get actionSheetOptionListOfTopics;
307307

308-
/// Label in the channel context menu for unsubscribing from the channel.
308+
/// Label for navigating to a channel's channel-feed page.
309+
///
310+
/// In en, this message translates to:
311+
/// **'Channel feed'**
312+
String get actionSheetOptionChannelFeed;
313+
314+
/// Label in the channel action sheet for unsubscribing from the channel.
309315
///
310316
/// In en, this message translates to:
311317
/// **'Unsubscribe'**

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
102102
@override
103103
String get actionSheetOptionListOfTopics => 'List of topics';
104104

105+
@override
106+
String get actionSheetOptionChannelFeed => 'Channel feed';
107+
105108
@override
106109
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
107110

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
104104
@override
105105
String get actionSheetOptionListOfTopics => 'Themenliste';
106106

107+
@override
108+
String get actionSheetOptionChannelFeed => 'Channel feed';
109+
107110
@override
108111
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
109112

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
102102
@override
103103
String get actionSheetOptionListOfTopics => 'List of topics';
104104

105+
@override
106+
String get actionSheetOptionChannelFeed => 'Channel feed';
107+
105108
@override
106109
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
107110

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
102102
@override
103103
String get actionSheetOptionListOfTopics => 'List of topics';
104104

105+
@override
106+
String get actionSheetOptionChannelFeed => 'Channel feed';
107+
105108
@override
106109
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
107110

lib/generated/l10n/zulip_localizations_it.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ class ZulipLocalizationsIt extends ZulipLocalizations {
103103
@override
104104
String get actionSheetOptionListOfTopics => 'Elenco degli argomenti';
105105

106+
@override
107+
String get actionSheetOptionChannelFeed => 'Channel feed';
108+
106109
@override
107110
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
108111

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
101101
@override
102102
String get actionSheetOptionListOfTopics => 'トピック一覧';
103103

104+
@override
105+
String get actionSheetOptionChannelFeed => 'Channel feed';
106+
104107
@override
105108
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
106109

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
102102
@override
103103
String get actionSheetOptionListOfTopics => 'List of topics';
104104

105+
@override
106+
String get actionSheetOptionChannelFeed => 'Channel feed';
107+
105108
@override
106109
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
107110

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
104104
@override
105105
String get actionSheetOptionListOfTopics => 'Lista wątków';
106106

107+
@override
108+
String get actionSheetOptionChannelFeed => 'Channel feed';
109+
107110
@override
108111
String get actionSheetOptionUnsubscribe => 'Unsubscribe';
109112

0 commit comments

Comments
 (0)