From 3a9ba9c681b5032821d15926dde1f3e28ed48658 Mon Sep 17 00:00:00 2001 From: devyaniChoubey <52153085+devyaniChoubey@users.noreply.github.com> Date: Tue, 28 Jan 2020 18:55:28 +0530 Subject: [PATCH] [FIX] "Following thread" and "Unfollowed Thread" is hardcoded and not translated (#1625) --- app/views/RoomView/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/RoomView/index.js b/app/views/RoomView/index.js index 4d55a21f2..887f07e0e 100644 --- a/app/views/RoomView/index.js +++ b/app/views/RoomView/index.js @@ -640,7 +640,7 @@ class RoomView extends React.Component { toggleFollowThread = async(isFollowingThread) => { try { await RocketChat.toggleFollowMessage(this.tmid, !isFollowingThread); - EventEmitter.emit(LISTENER, { message: isFollowingThread ? 'Unfollowed thread' : 'Following thread' }); + EventEmitter.emit(LISTENER, { message: isFollowingThread ? I18n.t('Unfollowed_thread') : I18n.t('Following_thread') }); } catch (e) { log(e); }