From 422757832b7fbfac45f98e989f89e850fc2376e2 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 6 May 2018 11:55:22 +0200 Subject: [PATCH] Remove order constraint in chat_status message. --- src/converse-chatview.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/converse-chatview.js b/src/converse-chatview.js index 9ec24f4cd..77bdfb63c 100644 --- a/src/converse-chatview.js +++ b/src/converse-chatview.js @@ -1071,13 +1071,13 @@ let text; if (u.isVisible(this.el)) { if (show === 'offline') { - text = fullname+' '+__('has gone offline'); + text = __('%1$s has gone offline', fullname); } else if (show === 'away') { - text = fullname+' '+__('has gone away'); + text = __('%1$s has gone away', fullname); } else if ((show === 'dnd')) { - text = fullname+' '+__('is busy'); + text = __('%1$s is busy', fullname); } else if (show === 'online') { - text = fullname+' '+__('is online'); + text = __('%1$s is online', fullname); } if (text) { this.content.insertAdjacentHTML(