remove a temporary comment and a hardcoded translation

pull/1/head
ansuz 3 years ago
parent 67303d6a92
commit 52b423e9ba

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

@ -523,7 +523,6 @@ define([
UI.openCustomModal(modal); 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) { UIElements.openDirectlyConfirmation = function (common, cb) {
cb = cb || Util.noop; cb = cb || Util.noop;
UI.confirm(h('p', Messages.ui_openDirectly), yes => { UI.confirm(h('p', Messages.ui_openDirectly), yes => {

Loading…
Cancel
Save