Bug 1011226 - Implement setting the topic in XMPP MUCs. r=aleth
authorAbdelrhman Ahmed <a.ahmed1026@gmail.com>
Sun, 07 Jun 2015 16:44:00 +0200
changeset 8474 00a21f42daf60fe6331f32a4c5e8d042c7eb5845
parent 8473 7d3ad595bfb05f8ef93b9a04d91b87e36aa4ffc9
child 8475 c234f20fbb3eb840d209015899cb60d957c52b9e
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
reviewersaleth
bugs1011226
Bug 1011226 - Implement setting the topic in XMPP MUCs. r=aleth X-Channel-Repo: comm-central X-Channel-Converted-Revision: 9615c8997cba8053beb736c320324a18248fba7f
chat/xmpp.properties
--- a/chat/xmpp.properties
+++ b/chat/xmpp.properties
@@ -49,16 +49,17 @@ conversation.error.joinFailed=Could not 
 #   %S is the name of the MUC room.
 conversation.error.joinForbidden=Couldn't join %S as you are banned from this room.
 conversation.error.joinFailedNotAuthorized=Registration required: You are not authorized to join this room.
 conversation.error.creationFailedNotAllowed=Access restricted: You are not allowed to create rooms.
 #   This is displayed in a conversation as an error message when remote server
 #   is not found.
 #   %S is the name of MUC room.
 conversation.error.joinFailedRemoteServerNotFound=Could not join the room %S as the server the room is hosted on could not be reached.
+conversation.error.changeTopicFailedNotAuthorized=You are not authorized to set the topic of this room.
 #   This is displayed in a conversation as an error message when the user sends
 #   a message to a room that he is not in.
 #   %1$S is the name of MUC room.
 #   %2$S is the text of the message that wasn't delivered.
 conversation.error.sendFailedAsNotInRoom=Message could not be sent to %1$S as you are no longer in the room: %2$S
 #   These are displayed in a conversation as a system error message.
 conversation.error.remoteServerNotFound=Could not reach the recipient's server
 conversation.error.unknownError=Unknown error
@@ -122,8 +123,9 @@ gtalk.usernameHint=email address
 #  string defined in imAccounts.properties when the user is
 #  configuring a Odnoklassniki account.
 odnoklassniki.usernameHint=Profile ID
 
 # LOCALZIATION NOTE (command.*):
 #  These are the help messages for each command.
 command.join=join [&lt;room@server&gt;][/&lt;nick&gt;] [&lt;password&gt;]: Join a room, optionally providing a different nickname, or the room password.
 command.part=part [&lt;message&gt;]: Leave the current room with an optional message.
+command.topic=%S [&lt;new topic&gt;]: Set this room's topic.