Skip to content

Commit

Permalink
Change translation key
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbsilva137 committed Dec 4, 2023
1 parent 848c89c commit 3425451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const EditRolePage = ({ role, isEnterprise }: { role?: IRole; isEnterprise: bool
}
};

const deleteRoleMessage = isEnterprise ? t('Delete_Role_Warning') : t('Delete_Role_Warning_Community_Edition');
const deleteRoleMessage = isEnterprise ? t('Delete_Role_Warning') : t('Delete_Role_Warning_Not_Enterprise');

setModal(
<GenericModal
Expand Down
2 changes: 1 addition & 1 deletion apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@
"Delete_message": "Delete message",
"Delete_my_account": "Delete my account",
"Delete_Role_Warning": "This cannot be undone",
"Delete_Role_Warning_Community_Edition": "This cannot be undone. You won't be able to create a new custom role, since that feature is no longer available for your current plan.",
"Delete_Role_Warning_Not_Enterprise": "This cannot be undone. You won't be able to create a new custom role, since that feature is no longer available for your current plan.",
"Delete_Room_Warning": "Deleting a room will delete all messages posted within the room. This cannot be undone.",
"Delete_User_Warning": "Deleting a user will delete all messages from that user as well. This cannot be undone.",
"Delete_User_Warning_Delete": "Deleting a user will delete all messages from that user as well. This cannot be undone.",
Expand Down

0 comments on commit 3425451

Please sign in to comment.