Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
f838e9ef
Commit
f838e9ef
authored
9 years ago
by
Matthias Brun
Browse files
Options
Downloads
Patches
Plain Diff
Add localization for archived/unarchived messages
parent
801864c2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
i18n/en.i18n.json
+2
-0
2 additions, 0 deletions
i18n/en.i18n.json
packages/rocketchat-channel-settings/client/views/channelSettings.coffee
+2
-2
2 additions, 2 deletions
...chat-channel-settings/client/views/channelSettings.coffee
with
4 additions
and
2 deletions
i18n/en.i18n.json
+
2
−
0
View file @
f838e9ef
...
@@ -366,6 +366,8 @@
...
@@ -366,6 +366,8 @@
"Restart"
:
"Restart"
,
"Restart"
:
"Restart"
,
"Restart_the_server"
:
"Restart the server"
,
"Restart_the_server"
:
"Restart the server"
,
"Room"
:
"Room"
,
"Room"
:
"Room"
,
"Room_archived"
:
"Room archived"
,
"Room_unarchived"
:
"Room unarchived"
,
"Room_name_changed"
:
"Room name changed to: <em>__room_name__</em> by <em>__user_by__</em>"
,
"Room_name_changed"
:
"Room name changed to: <em>__room_name__</em> by <em>__user_by__</em>"
,
"Room_name_changed_successfully"
:
"Room name changed successfully"
,
"Room_name_changed_successfully"
:
"Room name changed successfully"
,
"Room_not_found"
:
"Room not found"
,
"Room_not_found"
:
"Room not found"
,
...
...
This diff is collapsed.
Click to expand it.
packages/rocketchat-channel-settings/client/views/channelSettings.coffee
+
2
−
2
View file @
f838e9ef
...
@@ -22,14 +22,14 @@ Template.channelSettings.events
...
@@ -22,14 +22,14 @@ Template.channelSettings.events
Meteor
.
call
'archiveRoom'
,
t
.
data
.
rid
,
true
,
(
err
,
results
)
->
Meteor
.
call
'archiveRoom'
,
t
.
data
.
rid
,
true
,
(
err
,
results
)
->
return
toastr
.
error
err
.
reason
if
err
return
toastr
.
error
err
.
reason
if
err
toastr
.
success
'Channel
archived'
toastr
.
success
TAPi18n
.
__
'Room_
archived'
'click .unarchive'
:
(
e
,
t
)
->
'click .unarchive'
:
(
e
,
t
)
->
e
.
preventDefault
()
e
.
preventDefault
()
Meteor
.
call
'unarchiveRoom'
,
t
.
data
.
rid
,
true
,
(
err
,
results
)
->
Meteor
.
call
'unarchiveRoom'
,
t
.
data
.
rid
,
true
,
(
err
,
results
)
->
return
toastr
.
error
err
.
reason
if
err
return
toastr
.
error
err
.
reason
if
err
toastr
.
success
'Channel
unarchived'
toastr
.
success
TAPi18n
.
__
'Room_
unarchived'
# switch room.t
# switch room.t
# when 'c'
# when 'c'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment