remove a temporary comment and a hardcoded translation

This commit is contained in:
ansuz 2022-03-15 16:20:22 +05:30
parent 67303d6a92
commit 52b423e9ba
2 changed files with 1 additions and 2 deletions

View File

@ -331,7 +331,7 @@ define([
};
// Msg.admin_registrationHint, .admin_registrationTitle
create['registration'] = makeAdminCheckbox({ // XXX
create['registration'] = makeAdminCheckbox({
key: 'registration',
getState: function () {
return APP.instanceStatus.restrictRegistration;

View File

@ -523,7 +523,6 @@ define([
UI.openCustomModal(modal);
};
Messages.ui_openDirectly = "This functionality is not available when CryptPad is embedded in another site. Open this pad in its own window?";// XXX
UIElements.openDirectlyConfirmation = function (common, cb) {
cb = cb || Util.noop;
UI.confirm(h('p', Messages.ui_openDirectly), yes => {