remove some hardcoded translations

This commit is contained in:
ansuz 2021-06-11 14:51:51 +05:30
parent 9dde46ef0d
commit 9b373488ea
3 changed files with 0 additions and 7 deletions

View File

@ -1069,7 +1069,6 @@ define([
editor.replaceSelections(newTexts, 'around');
editor.focus();
};
Messages.mdToolbar_embed = "Embed file"; // XXX
for (var k in actions) {
$('<button>', {
'data-type': k,
@ -2661,7 +2660,6 @@ define([
$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) {
var msg = Pages.setHTML(h('span'), Messages.restrictedLoginPrompt);
$(msg).find('a').attr({

View File

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

View File

@ -844,10 +844,6 @@ define([
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 () {
if (!common.isLoggedIn()) { return; }
var $div = $('<div>', { 'class': 'cp-settings-redirect cp-sidebarlayout-element' });