From bceff56d0245a341de120c0107152c5ae654d33e Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 6 Jul 2021 15:00:54 +0530 Subject: [PATCH] remove hardcoded translation --- www/teams/inner.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/teams/inner.js b/www/teams/inner.js index 7a7cf9116..373a27998 100644 --- a/www/teams/inner.js +++ b/www/teams/inner.js @@ -904,7 +904,6 @@ define([ var leave = h('button.cp-online.btn.btn-danger', Messages.team_leaveButton); $(leave).click(function () { if (me && me.role === 'OWNER') { - Messages.team_leaveOwner = "Owners can't leave the team. You can demote yourself if there is at least one other owner."; // XXX return void UI.alert(Messages.team_leaveOwner); } UI.confirm(Messages.team_leaveConfirm, function (yes) {