Skip to content

Commit 27dd265

Browse files
committed
msglist: Support viewing who reacted to a message
Fixes #740.
1 parent e2d95b4 commit 27dd265

18 files changed

+525
-1
lines changed

assets/l10n/app_en.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,14 @@
136136
"@errorUnresolveTopicFailedTitle": {
137137
"description": "Error title when marking a topic as unresolved failed."
138138
},
139+
"actionSheetOptionSeeWhoReacted": "See who reacted",
140+
"@actionSheetOptionSeeWhoReacted": {
141+
"description": "Label for the 'See who reacted' button in the message action sheet."
142+
},
143+
"seeWhoReactedSheetNoReactions": "This message has no reactions.",
144+
"@seeWhoReactedSheetNoReactions": {
145+
"description": "Explanation on the 'See who reacted' sheet when the message has no reactions (because they were removed after the sheet was opened)."
146+
},
139147
"actionSheetOptionCopyMessageText": "Copy message text",
140148
"@actionSheetOptionCopyMessageText": {
141149
"description": "Label for copy message text button on action sheet."

lib/generated/l10n/zulip_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,18 @@ abstract class ZulipLocalizations {
333333
/// **'Failed to mark topic as unresolved'**
334334
String get errorUnresolveTopicFailedTitle;
335335

336+
/// Label for the 'See who reacted' button in the message action sheet.
337+
///
338+
/// In en, this message translates to:
339+
/// **'See who reacted'**
340+
String get actionSheetOptionSeeWhoReacted;
341+
342+
/// Explanation on the 'See who reacted' sheet when the message has no reactions (because they were removed after the sheet was opened).
343+
///
344+
/// In en, this message translates to:
345+
/// **'This message has no reactions.'**
346+
String get seeWhoReactedSheetNoReactions;
347+
336348
/// Label for copy message text button on action sheet.
337349
///
338350
/// In en, this message translates to:

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
118118
String get errorUnresolveTopicFailedTitle =>
119119
'Failed to mark topic as unresolved';
120120

121+
@override
122+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
123+
124+
@override
125+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
126+
121127
@override
122128
String get actionSheetOptionCopyMessageText => 'Copy message text';
123129

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
121121
String get errorUnresolveTopicFailedTitle =>
122122
'Thema konnte nicht als ungelöst markiert werden';
123123

124+
@override
125+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
126+
127+
@override
128+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
129+
124130
@override
125131
String get actionSheetOptionCopyMessageText => 'Nachrichtentext kopieren';
126132

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
118118
String get errorUnresolveTopicFailedTitle =>
119119
'Failed to mark topic as unresolved';
120120

121+
@override
122+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
123+
124+
@override
125+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
126+
121127
@override
122128
String get actionSheetOptionCopyMessageText => 'Copy message text';
123129

lib/generated/l10n/zulip_localizations_it.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ class ZulipLocalizationsIt extends ZulipLocalizations {
120120
String get errorUnresolveTopicFailedTitle =>
121121
'Impossibile contrassegnare l\'argomento come irrisolto';
122122

123+
@override
124+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
125+
126+
@override
127+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
128+
123129
@override
124130
String get actionSheetOptionCopyMessageText => 'Copia il testo del messaggio';
125131

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
118118
String get errorUnresolveTopicFailedTitle =>
119119
'Failed to mark topic as unresolved';
120120

121+
@override
122+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
123+
124+
@override
125+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
126+
121127
@override
122128
String get actionSheetOptionCopyMessageText => 'Copy message text';
123129

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,12 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
118118
String get errorUnresolveTopicFailedTitle =>
119119
'Failed to mark topic as unresolved';
120120

121+
@override
122+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
123+
124+
@override
125+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
126+
121127
@override
122128
String get actionSheetOptionCopyMessageText => 'Copy message text';
123129

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
121121
String get errorUnresolveTopicFailedTitle =>
122122
'Nie udało się oznaczyć brak rozwiązania';
123123

124+
@override
125+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
126+
127+
@override
128+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
129+
124130
@override
125131
String get actionSheetOptionCopyMessageText => 'Skopiuj tekst wiadomości';
126132

lib/generated/l10n/zulip_localizations_ru.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,12 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
121121
String get errorUnresolveTopicFailedTitle =>
122122
'Не удалось отметить тему как нерешенную';
123123

124+
@override
125+
String get actionSheetOptionSeeWhoReacted => 'See who reacted';
126+
127+
@override
128+
String get seeWhoReactedSheetNoReactions => 'This message has no reactions.';
129+
124130
@override
125131
String get actionSheetOptionCopyMessageText => 'Скопировать текст сообщения';
126132

0 commit comments

Comments
 (0)