remove some hardcoded translations

pull/1/head
ansuz 4 years ago
parent 9dde46ef0d
commit 9b373488ea

@ -1069,7 +1069,6 @@ define([
editor.replaceSelections(newTexts, 'around'); editor.replaceSelections(newTexts, 'around');
editor.focus(); editor.focus();
}; };
Messages.mdToolbar_embed = "Embed file"; // XXX
for (var k in actions) { for (var k in actions) {
$('<button>', { $('<button>', {
'data-type': k, 'data-type': k,
@ -2661,7 +2660,6 @@ define([
$creation.focus(); $creation.focus();
}; };
Messages.restrictedLoginPrompt = "You are not authorized to access this document. <a>Log in</a> if you think your account should be able to access it."; // XXX
UIElements.loginErrorScreenContent = function (common) { UIElements.loginErrorScreenContent = function (common) {
var msg = Pages.setHTML(h('span'), Messages.restrictedLoginPrompt); var msg = Pages.setHTML(h('span'), Messages.restrictedLoginPrompt);
$(msg).find('a').attr({ $(msg).find('a').attr({

@ -287,7 +287,6 @@ define([
addReport('==================='); addReport('===================');
addReport('DONE'); addReport('DONE');
Messages.copyToClipboard = 'Copy report to clipboard'; // XXX
var copyButton = h('button.btn.btn-primary', Messages.copyToClipboard); var copyButton = h('button.btn.btn-primary', Messages.copyToClipboard);
copyButton.onclick = copyToClipboard; copyButton.onclick = copyToClipboard;
var buttonContainer = h('div#cp-report-ui', [ var buttonContainer = h('div#cp-report-ui', [

@ -844,10 +844,6 @@ define([
return $div; return $div;
}; };
Messages.settings_driveRedirectTitle = "Home page redirection"; // XXX redirect
Messages.settings_driveRedirectHint = "Automatic redirection from the home page to the drive when logged in is no longer enabled by default. Legacy behaviour can be enabled below."; // XXX redirect
Messages.settings_driveRedirect = "Automatically redirect me"; // XXX redirect
create['redirect'] = function () { create['redirect'] = function () {
if (!common.isLoggedIn()) { return; } if (!common.isLoggedIn()) { return; }
var $div = $('<div>', { 'class': 'cp-settings-redirect cp-sidebarlayout-element' }); var $div = $('<div>', { 'class': 'cp-settings-redirect cp-sidebarlayout-element' });

Loading…
Cancel
Save