Skip to content

compose_box: Wait for send message request to complete. #924

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

Closed
wants to merge 6 commits into from
Closed
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
Binary file modified assets/icons/ZulipIcons.ttf
Binary file not shown.
3 changes: 3 additions & 0 deletions assets/icons/remove.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@
"@errorQuotationFailed": {
"description": "Error message when quoting a message failed."
},
"errorSendMessageTimeout": "Your message was not sent. Check your connection.",
"@errorSendMessageTimeout": {
"description": "Error message when failed to send a message due to timeout."
},
"errorServerMessage": "The server said:\n\n{message}",
"@errorServerMessage": {
"description": "Error message that quotes an error from the server.",
Expand Down
6 changes: 6 additions & 0 deletions lib/generated/l10n/zulip_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,12 @@ abstract class ZulipLocalizations {
/// **'Quotation failed'**
String get errorQuotationFailed;

/// Error message when failed to send a message due to timeout.
///
/// In en, this message translates to:
/// **'Your message was not sent. Check your connection.'**
String get errorSendMessageTimeout;

/// Error message that quotes an error from the server.
///
/// In en, this message translates to:
Expand Down
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
@override
String get errorQuotationFailed => 'Quotation failed';

@override
String get errorSendMessageTimeout => 'Your message was not sent. Check your connection.';

@override
String errorServerMessage(String message) {
return 'The server said:\n\n$message';
Expand Down
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
@override
String get errorQuotationFailed => 'Quotation failed';

@override
String get errorSendMessageTimeout => 'Your message was not sent. Check your connection.';

@override
String errorServerMessage(String message) {
return 'The server said:\n\n$message';
Expand Down
3 changes: 3 additions & 0 deletions lib/generated/l10n/zulip_localizations_ja.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
@override
String get errorQuotationFailed => 'Quotation failed';

@override
String get errorSendMessageTimeout => 'Your message was not sent. Check your connection.';

@override
String errorServerMessage(String message) {
return 'The server said:\n\n$message';
Expand Down
Loading