aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input
diff options
context:
space:
mode:
authorTranslations <translations@dino.im>2020-05-17 20:07:48 +0200
committerfiaxh <git@lightrise.org>2020-05-17 20:07:48 +0200
commit82ce2426c14d05b1f6b8b5863f50651a21deb10c (patch)
treea406229e8995a0efb2c2c1b080afeaa6da42135a /main/src/ui/chat_input
parentc6cf90a923027f4fed734b85356fa7e21c2d3896 (diff)
downloaddino-82ce2426c14d05b1f6b8b5863f50651a21deb10c.tar.gz
dino-82ce2426c14d05b1f6b8b5863f50651a21deb10c.zip
Update translations
Diffstat (limited to 'main/src/ui/chat_input')
-rw-r--r--main/src/ui/chat_input/chat_input_controller.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/chat_input/chat_input_controller.vala b/main/src/ui/chat_input/chat_input_controller.vala
index aca47470..1ec7f3f8 100644
--- a/main/src/ui/chat_input/chat_input_controller.vala
+++ b/main/src/ui/chat_input/chat_input_controller.vala
@@ -172,8 +172,8 @@ public class ChatInputController : Object {
if (own_jid == null) return;
if (stream_interactor.get_module(MucManager.IDENTITY).is_moderated_room(conversation.account, conversation.counterpart) &&
stream_interactor.get_module(MucManager.IDENTITY).get_role(own_jid, conversation.account) == Xmpp.Xep.Muc.Role.VISITOR) {
- set_input_field_status(new Plugins.InputFieldStatus(_("This conference does not allow you to send messages. %s").printf("<a href=\"" + OPEN_CONVERSATION_DETAILS_URI + "\">" + _("Request permission") + "</a>"),
- Plugins.InputFieldStatus.MessageType.ERROR, Plugins.InputFieldStatus.InputState.NO_SEND, true));
+ string msg_str = _("This conference does not allow you to send messages.") + " <a href=\"" + OPEN_CONVERSATION_DETAILS_URI + "\">" + _("Request permission") + "</a>";
+ set_input_field_status(new Plugins.InputFieldStatus(msg_str, Plugins.InputFieldStatus.MessageType.ERROR, Plugins.InputFieldStatus.InputState.NO_SEND, true));
} else {
reset_input_field_status();
}