Skip to content

Commit

Permalink
Fixed translate variable in ArchiveRoom Modal (RocketChat#16310)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwaniYDV authored Mar 21, 2020
1 parent cf69e43 commit 2858376
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/channel-settings/client/views/channelSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ Template.channelSettingsEditing.onCreated(function() {
const action = value ? 'archiveRoom' : 'unarchiveRoom';
return resolve(call(action, room._id).then(() => {
modal.open({
title: value ? t('Room_archived') : t('Room_has_been_archived'),
title: value ? t('Room_archived') : t('Room_unarchived'),
text: value ? t('Room_has_been_archived') : t('Room_has_been_unarchived'),
type: 'success',
timer: 2000,
Expand Down

0 comments on commit 2858376

Please sign in to comment.