Skip to content

Commit 4df9f93

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 90e125f commit 4df9f93

17 files changed

+249
-0
lines changed

assets/l10n/app_en.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -739,6 +739,14 @@
739739
"@topicValidationErrorMandatoryButEmpty": {
740740
"description": "Topic validation error when topic is required but was empty."
741741
},
742+
"errorContentNotInsertedTitle": "Content not inserted",
743+
"@errorContentNotInsertedTitle": {
744+
"description": "Title for error dialog when an attempt to insert rich content failed."
745+
},
746+
"errorContentToInsertIsEmpty": "The file to be inserted is empty or cannot be accessed.",
747+
"@errorContentToInsertIsEmpty": {
748+
"description": "Error message when the rich content to be inserted is empty or cannot be accessed."
749+
},
742750
"errorServerVersionUnsupportedMessage": "{url} is running Zulip Server {zulipVersion}, which is unsupported. The minimum supported version is Zulip Server {minSupportedZulipVersion}.",
743751
"@errorServerVersionUnsupportedMessage": {
744752
"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
@@ -1135,6 +1135,18 @@ abstract class ZulipLocalizations {
11351135
/// **'Topics are required in this organization.'**
11361136
String get topicValidationErrorMandatoryButEmpty;
11371137

1138+
/// Title for error dialog when an attempt to insert rich content failed.
1139+
///
1140+
/// In en, this message translates to:
1141+
/// **'Content not inserted'**
1142+
String get errorContentNotInsertedTitle;
1143+
1144+
/// Error message when the rich content to be inserted is empty or cannot be accessed.
1145+
///
1146+
/// In en, this message translates to:
1147+
/// **'The file to be inserted is empty or cannot be accessed.'**
1148+
String get errorContentToInsertIsEmpty;
1149+
11381150
/// Error message in the dialog for when the Zulip Server version is unsupported.
11391151
///
11401152
/// 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
@@ -600,6 +600,13 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
600600
String get topicValidationErrorMandatoryButEmpty =>
601601
'Topics are required in this organization.';
602602

603+
@override
604+
String get errorContentNotInsertedTitle => 'Content not inserted';
605+
606+
@override
607+
String get errorContentToInsertIsEmpty =>
608+
'The file to be inserted is empty or cannot be accessed.';
609+
603610
@override
604611
String errorServerVersionUnsupportedMessage(
605612
String url,

lib/generated/l10n/zulip_localizations_de.dart

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

618+
@override
619+
String get errorContentNotInsertedTitle => 'Content not inserted';
620+
621+
@override
622+
String get errorContentToInsertIsEmpty =>
623+
'The file to be inserted is empty or cannot be accessed.';
624+
618625
@override
619626
String errorServerVersionUnsupportedMessage(
620627
String url,

lib/generated/l10n/zulip_localizations_en.dart

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

603+
@override
604+
String get errorContentNotInsertedTitle => 'Content not inserted';
605+
606+
@override
607+
String get errorContentToInsertIsEmpty =>
608+
'The file to be inserted is empty or cannot be accessed.';
609+
603610
@override
604611
String errorServerVersionUnsupportedMessage(
605612
String url,

lib/generated/l10n/zulip_localizations_fr.dart

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

603+
@override
604+
String get errorContentNotInsertedTitle => 'Content not inserted';
605+
606+
@override
607+
String get errorContentToInsertIsEmpty =>
608+
'The file to be inserted is empty or cannot be accessed.';
609+
603610
@override
604611
String errorServerVersionUnsupportedMessage(
605612
String url,

lib/generated/l10n/zulip_localizations_it.dart

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

614+
@override
615+
String get errorContentNotInsertedTitle => 'Content not inserted';
616+
617+
@override
618+
String get errorContentToInsertIsEmpty =>
619+
'The file to be inserted is empty or cannot be accessed.';
620+
614621
@override
615622
String errorServerVersionUnsupportedMessage(
616623
String url,

lib/generated/l10n/zulip_localizations_ja.dart

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

600+
@override
601+
String get errorContentNotInsertedTitle => 'Content not inserted';
602+
603+
@override
604+
String get errorContentToInsertIsEmpty =>
605+
'The file to be inserted is empty or cannot be accessed.';
606+
600607
@override
601608
String errorServerVersionUnsupportedMessage(
602609
String url,

lib/generated/l10n/zulip_localizations_nb.dart

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

603+
@override
604+
String get errorContentNotInsertedTitle => 'Content not inserted';
605+
606+
@override
607+
String get errorContentToInsertIsEmpty =>
608+
'The file to be inserted is empty or cannot be accessed.';
609+
603610
@override
604611
String errorServerVersionUnsupportedMessage(
605612
String url,

lib/generated/l10n/zulip_localizations_pl.dart

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

612+
@override
613+
String get errorContentNotInsertedTitle => 'Content not inserted';
614+
615+
@override
616+
String get errorContentToInsertIsEmpty =>
617+
'The file to be inserted is empty or cannot be accessed.';
618+
612619
@override
613620
String errorServerVersionUnsupportedMessage(
614621
String url,

0 commit comments

Comments
 (0)