add basic emote picker

This commit is contained in:
Sorunome 2020-05-12 07:02:33 +00:00 committed by Christian Pauly
commit f3d3aeebd4
9 changed files with 570 additions and 3 deletions

View file

@ -424,6 +424,31 @@
"type": "text",
"placeholders": {}
},
"Emote Settings": "Emote Einstellungen",
"@Emote Settings": {
"type": "text",
"placeholders": {}
},
"Emote shortcode": "Emote kürzel",
"@Emote shortcode": {
"type": "text",
"placeholders": {}
},
"emoteWarnNeedToPick": "Wähle ein Emote-kürzel und ein Bild!",
"@emoteWarnNeedToPick": {
"type": "text",
"placeholders": {}
},
"emoteExists": "Emote existiert bereits!",
"@emoteExists": {
"type": "text",
"placeholders": {}
},
"emoteInvalid": "Ungültiges Emote-kürzel!",
"@emoteInvalid": {
"type": "text",
"placeholders": {}
},
"Empty chat": "Leerer Chat",
"@Empty chat": {
"type": "text",
@ -768,6 +793,11 @@
"type": "text",
"placeholders": {}
},
"No emotes found. 😕": "Keine Emotes gefunden. 😕",
"@No emotes found. 😕": {
"type": "text",
"placeholders": {}
},
"No permission": "Keine Berechtigung",
"@No permission": {
"type": "text",
@ -790,6 +820,11 @@
"number": {}
}
},
"ok": "ok",
"@ok": {
"type": "text",
"placeholders": {}
},
"Oops something went wrong...": "Hoppla! Da ist etwas schief gelaufen ...",
"@Oops something went wrong...": {
"type": "text",
@ -815,6 +850,11 @@
"type": "text",
"placeholders": {}
},
"Pick image": "Wähle Bild",
"@Pick image": {
"type": "text",
"placeholders": {}
},
"play": "Play {fileName}",
"@play": {
"type": "text",
@ -1327,4 +1367,4 @@
"type": "text",
"placeholders": {}
}
}
}

View file

@ -1,5 +1,5 @@
{
"@@last_modified": "2020-05-09T15:29:08.901368",
"@@last_modified": "2020-05-12T08:42:24.358124",
"About": "About",
"@About": {
"type": "text",
@ -424,6 +424,31 @@
"type": "text",
"placeholders": {}
},
"Emote Settings": "Emote Settings",
"@Emote Settings": {
"type": "text",
"placeholders": {}
},
"Emote shortcode": "Emote shortcode",
"@Emote shortcode": {
"type": "text",
"placeholders": {}
},
"emoteWarnNeedToPick": "You need to pick an emote shortcode and an image!",
"@emoteWarnNeedToPick": {
"type": "text",
"placeholders": {}
},
"emoteExists": "Emote already exists!",
"@emoteExists": {
"type": "text",
"placeholders": {}
},
"emoteInvalid": "Invalid emote shortcode!",
"@emoteInvalid": {
"type": "text",
"placeholders": {}
},
"Empty chat": "Empty chat",
"@Empty chat": {
"type": "text",
@ -768,6 +793,11 @@
"type": "text",
"placeholders": {}
},
"No emotes found. 😕": "No emotes found. 😕",
"@No emotes found. 😕": {
"type": "text",
"placeholders": {}
},
"No permission": "No permission",
"@No permission": {
"type": "text",
@ -790,6 +820,11 @@
"number": {}
}
},
"ok": "ok",
"@ok": {
"type": "text",
"placeholders": {}
},
"Oops something went wrong...": "Oops something went wrong...",
"@Oops something went wrong...": {
"type": "text",
@ -820,6 +855,11 @@
"type": "text",
"placeholders": {}
},
"Pick image": "Pick image",
"@Pick image": {
"type": "text",
"placeholders": {}
},
"play": "Play {fileName}",
"@play": {
"type": "text",

View file

@ -298,6 +298,20 @@ class L10n extends MatrixLocalizations {
String get editDisplayname => Intl.message("Edit displayname");
String get emoteSettings => Intl.message('Emote Settings');
String get emoteShortcode => Intl.message('Emote shortcode');
String get emoteWarnNeedToPick =>
Intl.message('You need to pick an emote shortcode and an image!',
name: 'emoteWarnNeedToPick');
String get emoteExists =>
Intl.message('Emote already exists!', name: 'emoteExists');
String get emoteInvalid =>
Intl.message('Invalid emote shortcode!', name: 'emoteInvalid');
String get emptyChat => Intl.message("Empty chat");
String get enableEncryptionWarning => Intl.message(
@ -482,6 +496,8 @@ class L10n extends MatrixLocalizations {
String get none => Intl.message("None");
String get noEmotesFound => Intl.message('No emotes found. 😕');
String get noPermission => Intl.message("No permission");
String get noRoomsFound => Intl.message("No rooms found...");
@ -491,6 +507,8 @@ class L10n extends MatrixLocalizations {
String numberSelected(String number) =>
Intl.message("$number selected", name: "numberSelected", args: [number]);
String get ok => Intl.message('ok');
String get oopsSomethingWentWrong =>
Intl.message("Oops something went wrong...");
@ -505,6 +523,8 @@ class L10n extends MatrixLocalizations {
String get password => Intl.message("Password");
String get pickImage => Intl.message('Pick image');
String play(String fileName) => Intl.message(
"Play $fileName",
name: "play",

View file

@ -193,6 +193,8 @@ class MessageLookup extends MessageLookupByLibrary {
"Download file" : MessageLookupByLibrary.simpleMessage("Datei herunterladen"),
"Edit Jitsi instance" : MessageLookupByLibrary.simpleMessage("Jitsi Instanz ändern"),
"Edit displayname" : MessageLookupByLibrary.simpleMessage("Anzeigename ändern"),
"Emote Settings" : MessageLookupByLibrary.simpleMessage("Emote Einstellungen"),
"Emote shortcode" : MessageLookupByLibrary.simpleMessage("Emote kürzel"),
"Empty chat" : MessageLookupByLibrary.simpleMessage("Leerer Chat"),
"Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Verschlüsselungsalgorithmus"),
"Encryption is not enabled" : MessageLookupByLibrary.simpleMessage("Verschlüsselung ist nicht aktiviert"),
@ -241,6 +243,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Mute chat" : MessageLookupByLibrary.simpleMessage("Stummschalten"),
"New message in FluffyChat" : MessageLookupByLibrary.simpleMessage("Neue Nachricht in FluffyChat"),
"New private chat" : MessageLookupByLibrary.simpleMessage("Neuer privater Chat"),
"No emotes found. 😕" : MessageLookupByLibrary.simpleMessage("Keine Emotes gefunden. 😕"),
"No permission" : MessageLookupByLibrary.simpleMessage("Keine Berechtigung"),
"No rooms found..." : MessageLookupByLibrary.simpleMessage("Keine Räume gefunden ..."),
"None" : MessageLookupByLibrary.simpleMessage("Keiner"),
@ -249,6 +252,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Open camera" : MessageLookupByLibrary.simpleMessage("Kamera öffnen"),
"Participating user devices" : MessageLookupByLibrary.simpleMessage("Teilnehmende Geräte"),
"Password" : MessageLookupByLibrary.simpleMessage("Passwort"),
"Pick image" : MessageLookupByLibrary.simpleMessage("Wähle Bild"),
"Please be aware that you need Pantalaimon to use end-to-end encryption for now." : MessageLookupByLibrary.simpleMessage("Bitte beachte, dass du Pantalaimon brauchst, um Ende-zu-Ende-Verschlüsselung benutzen zu können."),
"Please choose a username" : MessageLookupByLibrary.simpleMessage("Bitte wähle einen Benutzernamen"),
"Please enter a matrix identifier" : MessageLookupByLibrary.simpleMessage("Bitte eine Matrix ID eingeben"),
@ -339,6 +343,9 @@ class MessageLookup extends MessageLookupByLibrary {
"dateAndTimeOfDay" : m21,
"dateWithYear" : m22,
"dateWithoutYear" : m23,
"emoteExists" : MessageLookupByLibrary.simpleMessage("Emote existiert bereits!"),
"emoteInvalid" : MessageLookupByLibrary.simpleMessage("Ungültiges Emote-kürzel!"),
"emoteWarnNeedToPick" : MessageLookupByLibrary.simpleMessage("Wähle ein Emote-kürzel und ein Bild!"),
"groupWith" : m24,
"hasWithdrawnTheInvitationFor" : m25,
"inviteContactToGroup" : m26,
@ -352,6 +359,7 @@ class MessageLookup extends MessageLookupByLibrary {
"loadCountMoreParticipants" : m33,
"logInTo" : m34,
"numberSelected" : m35,
"ok" : MessageLookupByLibrary.simpleMessage("ok"),
"play" : m36,
"redactedAnEvent" : m37,
"rejectedTheInvitation" : m38,

View file

@ -193,6 +193,8 @@ class MessageLookup extends MessageLookupByLibrary {
"Download file" : MessageLookupByLibrary.simpleMessage("Download file"),
"Edit Jitsi instance" : MessageLookupByLibrary.simpleMessage("Edit Jitsi instance"),
"Edit displayname" : MessageLookupByLibrary.simpleMessage("Edit displayname"),
"Emote Settings" : MessageLookupByLibrary.simpleMessage("Emote Settings"),
"Emote shortcode" : MessageLookupByLibrary.simpleMessage("Emote shortcode"),
"Empty chat" : MessageLookupByLibrary.simpleMessage("Empty chat"),
"Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Encryption algorithm"),
"Encryption is not enabled" : MessageLookupByLibrary.simpleMessage("Encryption is not enabled"),
@ -242,6 +244,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Mute chat" : MessageLookupByLibrary.simpleMessage("Mute chat"),
"New message in FluffyChat" : MessageLookupByLibrary.simpleMessage("New message in FluffyChat"),
"New private chat" : MessageLookupByLibrary.simpleMessage("New private chat"),
"No emotes found. 😕" : MessageLookupByLibrary.simpleMessage("No emotes found. 😕"),
"No permission" : MessageLookupByLibrary.simpleMessage("No permission"),
"No rooms found..." : MessageLookupByLibrary.simpleMessage("No rooms found..."),
"None" : MessageLookupByLibrary.simpleMessage("None"),
@ -251,6 +254,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Open camera" : MessageLookupByLibrary.simpleMessage("Open camera"),
"Participating user devices" : MessageLookupByLibrary.simpleMessage("Participating user devices"),
"Password" : MessageLookupByLibrary.simpleMessage("Password"),
"Pick image" : MessageLookupByLibrary.simpleMessage("Pick image"),
"Please be aware that you need Pantalaimon to use end-to-end encryption for now." : MessageLookupByLibrary.simpleMessage("Please be aware that you need Pantalaimon to use end-to-end encryption for now."),
"Please choose a username" : MessageLookupByLibrary.simpleMessage("Please choose a username"),
"Please enter a matrix identifier" : MessageLookupByLibrary.simpleMessage("Please enter a matrix identifier"),
@ -341,6 +345,9 @@ class MessageLookup extends MessageLookupByLibrary {
"dateAndTimeOfDay" : m21,
"dateWithYear" : m22,
"dateWithoutYear" : m23,
"emoteExists" : MessageLookupByLibrary.simpleMessage("Emote already exists!"),
"emoteInvalid" : MessageLookupByLibrary.simpleMessage("Invalid emote shortcode!"),
"emoteWarnNeedToPick" : MessageLookupByLibrary.simpleMessage("You need to pick an emote shortcode and an image!"),
"groupWith" : m24,
"hasWithdrawnTheInvitationFor" : m25,
"inviteContactToGroup" : m26,
@ -354,6 +361,7 @@ class MessageLookup extends MessageLookupByLibrary {
"loadCountMoreParticipants" : m33,
"logInTo" : m34,
"numberSelected" : m35,
"ok" : MessageLookupByLibrary.simpleMessage("ok"),
"play" : m36,
"redactedAnEvent" : m37,
"rejectedTheInvitation" : m38,