Remove temporary translation keys

pull/1/head
David Benqué 4 years ago
parent c3c3a7aecb
commit 602bd28428

@ -1647,13 +1647,12 @@ define([
paths = getSelectedPaths($element); paths = getSelectedPaths($element);
// Forms: change "Open (read-only)" to "Open (as participant)"
Messages.fc_open_formro = "Open (as participant)"; // XXX
$('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_ro); $('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_ro);
if (paths.length === 1) { if (paths.length === 1) {
var metadata = manager.getFileData(manager.find(paths[0].path)); var metadata = manager.getFileData(manager.find(paths[0].path));
if (metadata.roHref) { if (metadata.roHref) {
var parsed = Hash.parsePadUrl(metadata.roHref); var parsed = Hash.parsePadUrl(metadata.roHref);
// Forms: change "Open (read-only)" to "Open (as participant)"
if (parsed.type === "form") { if (parsed.type === "form") {
$('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_formro); $('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_formro);
} }

@ -906,7 +906,6 @@ define([
}, },
}; };
Messages.form_poll_hint = "<i></i>: Yes, <i></i>: No, <i></i>: Acceptable"; // XXX
var TYPES = { var TYPES = {
input: { input: {

Loading…
Cancel
Save