Do some level of local echo for widgets

* Show a spinner while we wait for widgets to be deleted
 * Hide widgets while they're pending deletion
 * Don't put another jitsi widget into the room if there's already
   one pending
This commit is contained in:
David Baker 2018-07-03 11:16:44 +01:00
parent 767e67dc70
commit 8b64ddcbe8
8 changed files with 237 additions and 82 deletions

View file

@ -40,14 +40,11 @@
"Failed to set up conference call": "Failed to set up conference call",
"Conference call failed.": "Conference call failed.",
"Call in Progress": "Call in Progress",
"A call is currently being placed!": "A call is currently being placed!",
"A call is already in progress!": "A call is already in progress!",
"The file '%(fileName)s' failed to upload": "The file '%(fileName)s' failed to upload",
"The file '%(fileName)s' exceeds this home server's size limit for uploads": "The file '%(fileName)s' exceeds this home server's size limit for uploads",
"Upload Failed": "Upload Failed",
"Failure to create room": "Failure to create room",
"Server may be unavailable, overloaded, or you hit a bug.": "Server may be unavailable, overloaded, or you hit a bug.",
"Send anyway": "Send anyway",
"Send": "Send",
"Sun": "Sun",
"Mon": "Mon",
"Tue": "Tue",
@ -87,7 +84,6 @@
"Failed to invite users to community": "Failed to invite users to community",
"Failed to invite users to %(groupId)s": "Failed to invite users to %(groupId)s",
"Failed to add the following rooms to %(groupId)s:": "Failed to add the following rooms to %(groupId)s:",
"Unnamed Room": "Unnamed Room",
"Riot does not have permission to send you notifications - please check your browser settings": "Riot does not have permission to send you notifications - please check your browser settings",
"Riot was not given permission to send notifications - please try again": "Riot was not given permission to send notifications - please try again",
"Unable to enable Notifications": "Unable to enable Notifications",
@ -153,18 +149,59 @@
"Displays action": "Displays action",
"Unrecognised command:": "Unrecognised command:",
"Reason": "Reason",
"<target> accepted the invitation for %(displayName)s.": "<target> accepted the invitation for %(displayName)s.",
"<target> accepted an invitation.": "<target> accepted an invitation.",
"<sender> requested a VoIP conference.": "<sender> requested a VoIP conference.",
"<sender> invited <target>.": "<sender> invited <target>.",
"<sender> banned <target>.": "<sender> banned <target>.",
"<oldDisplayName> changed their display name to <displayName>.": "<oldDisplayName> changed their display name to <displayName>.",
"<sender> set their display name to <displayName>.": "<sender> set their display name to <displayName>.",
"<sender> removed their display name (<oldDisplayName>).": "<sender> removed their display name (<oldDisplayName>).",
"<sender> removed their profile picture.": "<sender> removed their profile picture.",
"<sender> changed their profile picture.": "<sender> changed their profile picture.",
"<sender> set a profile picture.": "<sender> set a profile picture.",
"VoIP conference started.": "VoIP conference started.",
"<target> joined the room.": "<target> joined the room.",
"VoIP conference finished.": "VoIP conference finished.",
"%(senderDisplayName)s sent an image.": "%(senderDisplayName)s sent an image.",
"<target> rejected the invitation.": "<target> rejected the invitation.",
"<target> left the room.": "<target> left the room.",
"<sender> unbanned <target>.": "<sender> unbanned <target>.",
"<sender> kicked <target>.": "<sender> kicked <target>.",
"<sender> withdrew <target>'s invitation.": "<sender> withdrew <target>'s invitation.",
"<sender> changed the topic to \"%(topic)s\".": "<sender> changed the topic to \"%(topic)s\".",
"<sender> removed the room name.": "<sender> removed the room name.",
"<sender> changed the room name to %(roomName)s.": "<sender> changed the room name to %(roomName)s.",
"<sender> sent an image.": "<sender> sent an image.",
"Someone": "Someone",
"(not supported by this browser)": "(not supported by this browser)",
"<sender> answered the call.": "<sender> answered the call.",
"(could not connect media)": "(could not connect media)",
"(no answer)": "(no answer)",
"(unknown failure: %(reason)s)": "(unknown failure: %(reason)s)",
"<sender> ended the call.": "<sender> ended the call.",
"<sender> placed a %(callType)s call.": "<sender> placed a %(callType)s call.",
"<sender> sent an invitation to %(targetDisplayName)s to join the room.": "<sender> sent an invitation to %(targetDisplayName)s to join the room.",
"<sender> made future room history visible to all room members, from the point they are invited.": "<sender> made future room history visible to all room members, from the point they are invited.",
"<sender> made future room history visible to all room members, from the point they joined.": "<sender> made future room history visible to all room members, from the point they joined.",
"<sender> made future room history visible to all room members.": "<sender> made future room history visible to all room members.",
"<sender> made future room history visible to anyone.": "<sender> made future room history visible to anyone.",
"<sender> made future room history visible to unknown (%(visibility)s).": "<sender> made future room history visible to unknown (%(visibility)s).",
"<sender> turned on end-to-end encryption (algorithm %(algorithm)s).": "<sender> turned on end-to-end encryption (algorithm %(algorithm)s).",
"<user> from %(fromPowerLevel)s to %(toPowerLevel)s": "<user> from %(fromPowerLevel)s to %(toPowerLevel)s",
"<sender> changed the power level of %(powerLevelDiffText)s.": "<sender> changed the power level of %(powerLevelDiffText)s.",
"<sender> changed the pinned messages for the room.": "<sender> changed the pinned messages for the room.",
"%(widgetName)s widget modified by <sender>": "%(widgetName)s widget modified by <sender>",
"%(widgetName)s widget added by <sender>": "%(widgetName)s widget added by <sender>",
"%(widgetName)s widget removed by <sender>": "%(widgetName)s widget removed by <sender>",
"%(displayName)s is typing": "%(displayName)s is typing",
"%(names)s and %(count)s others are typing|other": "%(names)s and %(count)s others are typing",
"%(names)s and %(count)s others are typing|one": "%(names)s and one other is typing",
"%(names)s and %(lastPerson)s are typing": "%(names)s and %(lastPerson)s are typing",
"Failure to create room": "Failure to create room",
"Server may be unavailable, overloaded, or you hit a bug.": "Server may be unavailable, overloaded, or you hit a bug.",
"Send anyway": "Send anyway",
"Send": "Send",
"Unnamed Room": "Unnamed Room",
"Your browser does not support the required cryptography extensions": "Your browser does not support the required cryptography extensions",
"Not a valid Riot keyfile": "Not a valid Riot keyfile",
"Authentication check failed: incorrect password?": "Authentication check failed: incorrect password?",
@ -277,29 +314,6 @@
"Off": "Off",
"On": "On",
"Noisy": "Noisy",
"Invalid alias format": "Invalid alias format",
"'%(alias)s' is not a valid format for an alias": "'%(alias)s' is not a valid format for an alias",
"Invalid address format": "Invalid address format",
"'%(alias)s' is not a valid format for an address": "'%(alias)s' is not a valid format for an address",
"not specified": "not specified",
"not set": "not set",
"Remote addresses for this room:": "Remote addresses for this room:",
"Addresses": "Addresses",
"The main address for this room is": "The main address for this room is",
"Local addresses for this room:": "Local addresses for this room:",
"This room has no local addresses": "This room has no local addresses",
"New address (e.g. #foo:%(localDomain)s)": "New address (e.g. #foo:%(localDomain)s)",
"Invalid community ID": "Invalid community ID",
"'%(groupId)s' is not a valid community ID": "'%(groupId)s' is not a valid community ID",
"Flair": "Flair",
"Showing flair for these communities:": "Showing flair for these communities:",
"This room is not showing flair for any communities": "This room is not showing flair for any communities",
"New community ID (e.g. +foo:%(localDomain)s)": "New community ID (e.g. +foo:%(localDomain)s)",
"You have <a>enabled</a> URL previews by default.": "You have <a>enabled</a> URL previews by default.",
"You have <a>disabled</a> URL previews by default.": "You have <a>disabled</a> URL previews by default.",
"URL previews are enabled by default for participants in this room.": "URL previews are enabled by default for participants in this room.",
"URL previews are disabled by default for participants in this room.": "URL previews are disabled by default for participants in this room.",
"URL Previews": "URL Previews",
"Cannot add any more widgets": "Cannot add any more widgets",
"The maximum permitted number of widgets have already been added to this room.": "The maximum permitted number of widgets have already been added to this room.",
"Add a widget": "Add a widget",
@ -401,11 +415,11 @@
"numbullet": "numbullet",
"Markdown is disabled": "Markdown is disabled",
"Markdown is enabled": "Markdown is enabled",
"Unpin Message": "Unpin Message",
"Jump to message": "Jump to message",
"No pinned messages.": "No pinned messages.",
"Loading...": "Loading...",
"Pinned Messages": "Pinned Messages",
"Unpin Message": "Unpin Message",
"Jump to message": "Jump to message",
"%(duration)ss": "%(duration)ss",
"%(duration)sm": "%(duration)sm",
"%(duration)sh": "%(duration)sh",
@ -580,6 +594,9 @@
"Invalid file%(extra)s": "Invalid file%(extra)s",
"Error decrypting image": "Error decrypting image",
"Error decrypting video": "Error decrypting video",
"%(senderDisplayName)s changed the avatar for %(roomName)s": "%(senderDisplayName)s changed the avatar for %(roomName)s",
"%(senderDisplayName)s removed the room avatar.": "%(senderDisplayName)s removed the room avatar.",
"%(senderDisplayName)s changed the room avatar to <img/>": "%(senderDisplayName)s changed the room avatar to <img/>",
"Copied!": "Copied!",
"Failed to copy": "Failed to copy",
"Add an Integration": "Add an Integration",
@ -755,7 +772,6 @@
"Room directory": "Room directory",
"Start chat": "Start chat",
"And %(count)s more...|other": "And %(count)s more...",
"Share Link to User": "Share Link to User",
"ex. @bob:example.com": "ex. @bob:example.com",
"Add User": "Add User",
"Matrix ID": "Matrix ID",
@ -1193,44 +1209,5 @@
"Import": "Import",
"Failed to set direct chat tag": "Failed to set direct chat tag",
"Failed to remove tag %(tagName)s from room": "Failed to remove tag %(tagName)s from room",
"Failed to add tag %(tagName)s to room": "Failed to add tag %(tagName)s to room",
"<target> accepted the invitation for %(displayName)s.": "<target> accepted the invitation for %(displayName)s.",
"<target> accepted an invitation.": "<target> accepted an invitation.",
"<sender> requested a VoIP conference.": "<sender> requested a VoIP conference.",
"<sender> invited <target>.": "<sender> invited <target>.",
"<sender> banned <target>.": "<sender> banned <target>.",
"<oldDisplayName> changed their display name to <displayName>.": "<oldDisplayName> changed their display name to <displayName>.",
"<sender> set their display name to <displayName>.": "<sender> set their display name to <displayName>.",
"<sender> removed their display name (<oldDisplayName>).": "<sender> removed their display name (<oldDisplayName>).",
"<sender> removed their profile picture.": "<sender> removed their profile picture.",
"<sender> changed their profile picture.": "<sender> changed their profile picture.",
"<sender> set a profile picture.": "<sender> set a profile picture.",
"<target> joined the room.": "<target> joined the room.",
"<target> rejected the invitation.": "<target> rejected the invitation.",
"<target> left the room.": "<target> left the room.",
"<sender> unbanned <target>.": "<sender> unbanned <target>.",
"<sender> kicked <target>.": "<sender> kicked <target>.",
"<sender> withdrew <target>'s invitation.": "<sender> withdrew <target>'s invitation.",
"<sender> changed the topic to \"%(topic)s\".": "<sender> changed the topic to \"%(topic)s\".",
"<sender> changed the room name to %(roomName)s.": "<sender> changed the room name to %(roomName)s.",
"<sender> changed the avatar for %(roomName)s": "<sender> changed the avatar for %(roomName)s",
"<sender> changed the room avatar to <img/>": "<sender> changed the room avatar to <img/>",
"<sender> removed the room name.": "<sender> removed the room name.",
"<sender> removed the room avatar.": "<sender> removed the room avatar.",
"<sender> answered the call.": "<sender> answered the call.",
"<sender> ended the call.": "<sender> ended the call.",
"<sender> placed a %(callType)s call.": "<sender> placed a %(callType)s call.",
"<sender> sent an invitation to %(targetDisplayName)s to join the room.": "<sender> sent an invitation to %(targetDisplayName)s to join the room.",
"<sender> made future room history visible to all room members, from the point they are invited.": "<sender> made future room history visible to all room members, from the point they are invited.",
"<sender> made future room history visible to all room members, from the point they joined.": "<sender> made future room history visible to all room members, from the point they joined.",
"<sender> made future room history visible to all room members.": "<sender> made future room history visible to all room members.",
"<sender> made future room history visible to anyone.": "<sender> made future room history visible to anyone.",
"<sender> made future room history visible to unknown (%(visibility)s).": "<sender> made future room history visible to unknown (%(visibility)s).",
"<sender> turned on end-to-end encryption (algorithm %(algorithm)s).": "<sender> turned on end-to-end encryption (algorithm %(algorithm)s).",
"<user> from %(fromPowerLevel)s to %(toPowerLevel)s": "<user> from %(fromPowerLevel)s to %(toPowerLevel)s",
"<sender> changed the power level of %(powerLevelDiffText)s.": "<sender> changed the power level of %(powerLevelDiffText)s.",
"<sender> changed the pinned messages for the room.": "<sender> changed the pinned messages for the room.",
"%(widgetName)s widget modified by <sender>": "%(widgetName)s widget modified by <sender>",
"%(widgetName)s widget added by <sender>": "%(widgetName)s widget added by <sender>",
"%(widgetName)s widget removed by <sender>": "%(widgetName)s widget removed by <sender>"
"Failed to add tag %(tagName)s to room": "Failed to add tag %(tagName)s to room"
}