[FIX] "Following thread" and "Unfollowed Thread" is hardcoded and not translated (#1625)
This commit is contained in:
parent
47cedc3075
commit
3a9ba9c681
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue