remove hardcoded translations and invalid XXX notes

pull/1/head
ansuz 3 years ago
parent 01c96d668f
commit 3738ae9b99

@ -218,7 +218,7 @@
div.cp-form-section-sortable {
min-height: 300px;
border: 2px dashed @cryptpad_text_col; // XXX
border: 2px dashed @cryptpad_text_col;
padding: 20px;
margin-top: 20px;
background: @cp_app-bg;

@ -1404,7 +1404,7 @@ define([
rules.forEach(function (obj) {
getConditions($rulesC, false, rules, obj, $b);
});
$addC.before($rulesC); // XXX
$addC.before($rulesC);
});
};
redraw();
@ -3112,7 +3112,6 @@ define([
window.onbeforeunload = undefined;
$send.removeAttr('disabled');
//UI.alert(Messages.form_sent); // XXX not needed anymore?
$send.text(Messages.form_update);
APP.hasAnswered = true;
APP.answeredInForm = false;
@ -4090,7 +4089,6 @@ define([
};
refreshAnon();
// XXX UPDATE KEYS "form_anonyous_on", "form_anonymous_off" and "form_anonymous"
// Allow guest(anonymous) answers
var privacyContainer = h('div.cp-form-privacy-container');
var $privacy = $(privacyContainer);

@ -1,7 +1,6 @@
define([
'/customize/messages.js'
], function (Messages) {
Messages.form_template_poll = "Quick poll"; // XXX update key
var pollValues = [];
var d8 = new Date();
d8.setDate(d8.getDate() - d8.getDay() + 7); // set sunday

Loading…
Cancel
Save