From 602bd284285174ed19d7e21a44ae3caaa850c57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 14 Jun 2021 13:18:00 +0100 Subject: [PATCH] Remove temporary translation keys --- www/common/drive-ui.js | 3 +-- www/form/inner.js | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index a06600e81..b897d75ae 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1647,13 +1647,12 @@ define([ 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); if (paths.length === 1) { var metadata = manager.getFileData(manager.find(paths[0].path)); if (metadata.roHref) { var parsed = Hash.parsePadUrl(metadata.roHref); + // Forms: change "Open (read-only)" to "Open (as participant)" if (parsed.type === "form") { $('.cp-app-drive-context-openro .cp-text').text(Messages.fc_open_formro); } diff --git a/www/form/inner.js b/www/form/inner.js index c52f6923d..113ebe4af 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -906,7 +906,6 @@ define([ }, }; - Messages.form_poll_hint = ": Yes, : No, : Acceptable"; // XXX var TYPES = { input: {