Commit 3a9ba9c6 authored by devyaniChoubey's avatar devyaniChoubey Committed by Diego Mello
Browse files

[FIX] "Following thread" and "Unfollowed Thread" is hardcoded and not translated (#1625)

parent 47cedc30
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment