Skip to content

Commit 60c73d1

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 2aae200 commit 60c73d1

16 files changed

+242
-0
lines changed

assets/l10n/app_en.arb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -661,6 +661,14 @@
661661
"@topicValidationErrorMandatoryButEmpty": {
662662
"description": "Topic validation error when topic is required but was empty."
663663
},
664+
"errorContentNotInsertedTitle": "Content not inserted",
665+
"@errorContentNotInsertedTitle": {
666+
"description": "Title for error dialog when an attempt to insert rich content failed."
667+
},
668+
"errorContentToInsertIsEmpty": "The file to be inserted is empty or cannot be accessed.",
669+
"@errorContentToInsertIsEmpty": {
670+
"description": "Error message when the rich content to be inserted is empty or cannot be accessed."
671+
},
664672
"errorServerVersionUnsupportedMessage": "{url} is running Zulip Server {zulipVersion}, which is unsupported. The minimum supported version is Zulip Server {minSupportedZulipVersion}.",
665673
"@errorServerVersionUnsupportedMessage": {
666674
"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
@@ -1037,6 +1037,18 @@ abstract class ZulipLocalizations {
10371037
/// **'Topics are required in this organization.'**
10381038
String get topicValidationErrorMandatoryButEmpty;
10391039

1040+
/// Title for error dialog when an attempt to insert rich content failed.
1041+
///
1042+
/// In en, this message translates to:
1043+
/// **'Content not inserted'**
1044+
String get errorContentNotInsertedTitle;
1045+
1046+
/// Error message when the rich content to be inserted is empty or cannot be accessed.
1047+
///
1048+
/// In en, this message translates to:
1049+
/// **'The file to be inserted is empty or cannot be accessed.'**
1050+
String get errorContentToInsertIsEmpty;
1051+
10401052
/// Error message in the dialog for when the Zulip Server version is unsupported.
10411053
///
10421054
/// 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
@@ -537,6 +537,13 @@ class ZulipLocalizationsAr extends ZulipLocalizations {
537537
String get topicValidationErrorMandatoryButEmpty =>
538538
'Topics are required in this organization.';
539539

540+
@override
541+
String get errorContentNotInsertedTitle => 'Content not inserted';
542+
543+
@override
544+
String get errorContentToInsertIsEmpty =>
545+
'The file to be inserted is empty or cannot be accessed.';
546+
540547
@override
541548
String errorServerVersionUnsupportedMessage(
542549
String url,

lib/generated/l10n/zulip_localizations_de.dart

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

555+
@override
556+
String get errorContentNotInsertedTitle => 'Content not inserted';
557+
558+
@override
559+
String get errorContentToInsertIsEmpty =>
560+
'The file to be inserted is empty or cannot be accessed.';
561+
555562
@override
556563
String errorServerVersionUnsupportedMessage(
557564
String url,

lib/generated/l10n/zulip_localizations_en.dart

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

540+
@override
541+
String get errorContentNotInsertedTitle => 'Content not inserted';
542+
543+
@override
544+
String get errorContentToInsertIsEmpty =>
545+
'The file to be inserted is empty or cannot be accessed.';
546+
540547
@override
541548
String errorServerVersionUnsupportedMessage(
542549
String url,

lib/generated/l10n/zulip_localizations_it.dart

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

551+
@override
552+
String get errorContentNotInsertedTitle => 'Content not inserted';
553+
554+
@override
555+
String get errorContentToInsertIsEmpty =>
556+
'The file to be inserted is empty or cannot be accessed.';
557+
551558
@override
552559
String errorServerVersionUnsupportedMessage(
553560
String url,

lib/generated/l10n/zulip_localizations_ja.dart

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

540+
@override
541+
String get errorContentNotInsertedTitle => 'Content not inserted';
542+
543+
@override
544+
String get errorContentToInsertIsEmpty =>
545+
'The file to be inserted is empty or cannot be accessed.';
546+
540547
@override
541548
String errorServerVersionUnsupportedMessage(
542549
String url,

lib/generated/l10n/zulip_localizations_nb.dart

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

540+
@override
541+
String get errorContentNotInsertedTitle => 'Content not inserted';
542+
543+
@override
544+
String get errorContentToInsertIsEmpty =>
545+
'The file to be inserted is empty or cannot be accessed.';
546+
540547
@override
541548
String errorServerVersionUnsupportedMessage(
542549
String url,

lib/generated/l10n/zulip_localizations_pl.dart

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

549+
@override
550+
String get errorContentNotInsertedTitle => 'Content not inserted';
551+
552+
@override
553+
String get errorContentToInsertIsEmpty =>
554+
'The file to be inserted is empty or cannot be accessed.';
555+
549556
@override
550557
String errorServerVersionUnsupportedMessage(
551558
String url,

lib/generated/l10n/zulip_localizations_ru.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,13 @@ class ZulipLocalizationsRu extends ZulipLocalizations {
548548
String get topicValidationErrorMandatoryButEmpty =>
549549
'Темы обязательны в этой организации.';
550550

551+
@override
552+
String get errorContentNotInsertedTitle => 'Content not inserted';
553+
554+
@override
555+
String get errorContentToInsertIsEmpty =>
556+
'The file to be inserted is empty or cannot be accessed.';
557+
551558
@override
552559
String errorServerVersionUnsupportedMessage(
553560
String url,

0 commit comments

Comments
 (0)