Skip to content

Commit 5561fca

Browse files
PIG208sm-sayedi
authored andcommitted
compose: Support images from keyboard for Android
Fixes: #419 Fixes: #1173 Signed-off-by: Zixuan James Li <[email protected]>
1 parent a0081bd commit 5561fca

17 files changed

+247
-0
lines changed

assets/l10n/app_en.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,14 @@
762762
"@topicValidationErrorMandatoryButEmpty": {
763763
"description": "Topic validation error when topic is required but was empty."
764764
},
765+
"errorContentNotInsertedTitle": "Content not inserted",
766+
"@errorContentNotInsertedTitle": {
767+
"description": "Title for error dialog when an attempt to insert rich content failed."
768+
},
769+
"errorContentToInsertIsEmpty": "The file to be inserted is empty or cannot be accessed.",
770+
"@errorContentToInsertIsEmpty": {
771+
"description": "Error message when the rich content to be inserted is empty or cannot be accessed."
772+
},
765773
"errorServerVersionUnsupportedMessage": "{url} is running Zulip Server {zulipVersion}, which is unsupported. The minimum supported version is Zulip Server {minSupportedZulipVersion}.",
766774
"@errorServerVersionUnsupportedMessage": {
767775
"description": "Error message in the dialog for when the Zulip Server version is unsupported.",

lib/generated/l10n/zulip_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1165,6 +1165,18 @@ abstract class ZulipLocalizations {
11651165
/// **'Topics are required in this organization.'**
11661166
String get topicValidationErrorMandatoryButEmpty;
11671167

1168+
/// Title for error dialog when an attempt to insert rich content failed.
1169+
///
1170+
/// In en, this message translates to:
1171+
/// **'Content not inserted'**
1172+
String get errorContentNotInsertedTitle;
1173+
1174+
/// Error message when the rich content to be inserted is empty or cannot be accessed.
1175+
///
1176+
/// In en, this message translates to:
1177+
/// **'The file to be inserted is empty or cannot be accessed.'**
1178+
String get errorContentToInsertIsEmpty;
1179+
11681180
/// Error message in the dialog for when the Zulip Server version is unsupported.
11691181
///
11701182
/// In en, this message translates to:

lib/generated/l10n/zulip_localizations_ar.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,13 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
625625
String get topicValidationErrorMandatoryButEmpty =>
626626
'Topics are required in this organization.';
627627

628+
@override
629+
String get errorContentNotInsertedTitle => 'Content not inserted';
630+
631+
@override
632+
String get errorContentToInsertIsEmpty =>
633+
'The file to be inserted is empty or cannot be accessed.';
634+
628635
@override
629636
String errorServerVersionUnsupportedMessage(
630637
String url,

lib/generated/l10n/zulip_localizations_de.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,13 @@ class ZulipLocalizationsDe extends ZulipLocalizations {
641641
String get topicValidationErrorMandatoryButEmpty =>
642642
'Themen sind in dieser Organisation erforderlich.';
643643

644+
@override
645+
String get errorContentNotInsertedTitle => 'Content not inserted';
646+
647+
@override
648+
String get errorContentToInsertIsEmpty =>
649+
'The file to be inserted is empty or cannot be accessed.';
650+
644651
@override
645652
String errorServerVersionUnsupportedMessage(
646653
String url,

lib/generated/l10n/zulip_localizations_en.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,13 @@ class ZulipLocalizationsEn extends ZulipLocalizations {
625625
String get topicValidationErrorMandatoryButEmpty =>
626626
'Topics are required in this organization.';
627627

628+
@override
629+
String get errorContentNotInsertedTitle => 'Content not inserted';
630+
631+
@override
632+
String get errorContentToInsertIsEmpty =>
633+
'The file to be inserted is empty or cannot be accessed.';
634+
628635
@override
629636
String errorServerVersionUnsupportedMessage(
630637
String url,

lib/generated/l10n/zulip_localizations_fr.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,13 @@ class ZulipLocalizationsFr extends ZulipLocalizations {
639639
String get topicValidationErrorMandatoryButEmpty =>
640640
'Topics are required in this organization.';
641641

642+
@override
643+
String get errorContentNotInsertedTitle => 'Content not inserted';
644+
645+
@override
646+
String get errorContentToInsertIsEmpty =>
647+
'The file to be inserted is empty or cannot be accessed.';
648+
642649
@override
643650
String errorServerVersionUnsupportedMessage(
644651
String url,

lib/generated/l10n/zulip_localizations_it.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,13 @@ class ZulipLocalizationsIt extends ZulipLocalizations {
636636
String get topicValidationErrorMandatoryButEmpty =>
637637
'In questa organizzazione sono richiesti degli argomenti.';
638638

639+
@override
640+
String get errorContentNotInsertedTitle => 'Content not inserted';
641+
642+
@override
643+
String get errorContentToInsertIsEmpty =>
644+
'The file to be inserted is empty or cannot be accessed.';
645+
639646
@override
640647
String errorServerVersionUnsupportedMessage(
641648
String url,

lib/generated/l10n/zulip_localizations_ja.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,13 @@ class ZulipLocalizationsJa extends ZulipLocalizations {
622622
String get topicValidationErrorMandatoryButEmpty =>
623623
'Topics are required in this organization.';
624624

625+
@override
626+
String get errorContentNotInsertedTitle => 'Content not inserted';
627+
628+
@override
629+
String get errorContentToInsertIsEmpty =>
630+
'The file to be inserted is empty or cannot be accessed.';
631+
625632
@override
626633
String errorServerVersionUnsupportedMessage(
627634
String url,

lib/generated/l10n/zulip_localizations_nb.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,13 @@ class ZulipLocalizationsNb extends ZulipLocalizations {
625625
String get topicValidationErrorMandatoryButEmpty =>
626626
'Topics are required in this organization.';
627627

628+
@override
629+
String get errorContentNotInsertedTitle => 'Content not inserted';
630+
631+
@override
632+
String get errorContentToInsertIsEmpty =>
633+
'The file to be inserted is empty or cannot be accessed.';
634+
628635
@override
629636
String errorServerVersionUnsupportedMessage(
630637
String url,

lib/generated/l10n/zulip_localizations_pl.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,13 @@ class ZulipLocalizationsPl extends ZulipLocalizations {
634634
String get topicValidationErrorMandatoryButEmpty =>
635635
'Wątki są wymagane przez tę organizację.';
636636

637+
@override
638+
String get errorContentNotInsertedTitle => 'Content not inserted';
639+
640+
@override
641+
String get errorContentToInsertIsEmpty =>
642+
'The file to be inserted is empty or cannot be accessed.';
643+
637644
@override
638645
String errorServerVersionUnsupportedMessage(
639646
String url,

0 commit comments

Comments
 (0)