Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.ReactNative
Commits
3a9ba9c6
Commit
3a9ba9c6
authored
Jan 28, 2020
by
devyaniChoubey
Committed by
Diego Mello
Jan 28, 2020
Browse files
[FIX] "Following thread" and "Unfollowed Thread" is hardcoded and not translated (#1625)
parent
47cedc30
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/views/RoomView/index.js
View file @
3a9ba9c6
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment