feat: Send image / video / file dialog

This commit is contained in:
Sorunome 2020-09-04 12:56:25 +02:00
commit e9d806c844
11 changed files with 245 additions and 45 deletions

View file

@ -1,5 +1,5 @@
{
"@@last_modified": "2020-08-16T12:43:17.825046",
"@@last_modified": "2020-09-04T14:58:35.809079",
"About": "About",
"@About": {
"type": "text",
@ -1184,6 +1184,11 @@
"type": "text",
"placeholders": {}
},
"Send audio": "Send audio",
"@Send audio": {
"type": "text",
"placeholders": {}
},
"Send file": "Send file",
"@Send file": {
"type": "text",
@ -1194,6 +1199,16 @@
"type": "text",
"placeholders": {}
},
"Send original": "Send original",
"@Send original": {
"type": "text",
"placeholders": {}
},
"Send video": "Send video",
"@Send video": {
"type": "text",
"placeholders": {}
},
"sentAFile": "{username} sent a file",
"@sentAFile": {
"type": "text",

View file

@ -735,10 +735,16 @@ class L10n extends MatrixLocalizations {
String get sendAMessage => Intl.message("Send a message");
String get sendAudio => Intl.message('Send audio');
String get sendFile => Intl.message('Send file');
String get sendImage => Intl.message('Send image');
String get sendOriginal => Intl.message('Send original');
String get sendVideo => Intl.message('Send video');
String sentAFile(String username) => Intl.message(
"$username sent a file",
name: "sentAFile",

View file

@ -394,8 +394,11 @@ class MessageLookup extends MessageLookupByLibrary {
"Send": MessageLookupByLibrary.simpleMessage("Send"),
"Send a message":
MessageLookupByLibrary.simpleMessage("Send a message"),
"Send audio": MessageLookupByLibrary.simpleMessage("Send audio"),
"Send file": MessageLookupByLibrary.simpleMessage("Send file"),
"Send image": MessageLookupByLibrary.simpleMessage("Send image"),
"Send original": MessageLookupByLibrary.simpleMessage("Send original"),
"Send video": MessageLookupByLibrary.simpleMessage("Send video"),
"Set a profile picture":
MessageLookupByLibrary.simpleMessage("Set a profile picture"),
"Set group description":