Remove XXXs related to translation keys

pull/1/head
David Benqué 4 years ago
parent f0eff12fa8
commit bb9ca3d598

@ -3309,12 +3309,6 @@ define([
return (pos.bottom < size) && (pos.y > 0);
};
Messages.snapshots_button = "Snapshots";
Messages.snapshots_new = "New snapshot"; // XXX
Messages.snapshots_placeholder = "Snapshot title"; // XXX
Messages.snapshots_open = "View";
Messages.snapshots_delete = "Delete";
Messages.snapshots_cantMake = "Disconnected. Can't create a new snapshot now.";
UIElements.openSnapshotsModal = function (common, load, make, remove) {
var modal;
var readOnly = common.getMetadataMgr().getPrivateData().readOnly;

@ -365,9 +365,6 @@ define([
}));
});
//Messages.share_bar = "Generate link"; // XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
Messages.share_bar = Messages.team_inviteLinkCreate; // XXX
var linkButtons = [
makeCancelButton(),
!opts.sharedFolder && {
@ -698,7 +695,6 @@ define([
// Add the versionHash warning if needed
if (opts.versionHash) {
Messages.share_versionHash = "You're going to share the selected history version of the document in read-only mode. This will also <b>give view access</b> to the recipients."; // XXX
$rights.after(h('div.alert.alert-warning', [
h('i.fa.fa-history'),
UI.setHTML(h('span'), Messages.share_versionHash)

@ -64,11 +64,6 @@ define([
});
};
Messages.snapshots_notFound = "This snapshot no longer exists. It has been deleted with the history of the pad.";
Messages.snapshots_restore = "Restore"; // XXX
Messages.snapshots_close = "Close";
Messages.snapshots_cantRestore = "Can't restore now. Disconnected...";
var display = function () {
var data = config.data || {};

@ -458,7 +458,6 @@ define([
common.getSframeChannel().on('EV_VERSION_TIME', function (time) {
if (!versionHashEl) { return; }
Messages.infobar_versionHash = "You're currently viewing an old version of this document ({0})."; // XXX
var vTime = time;
var vTimeStr = vTime ? new Date(vTime).toLocaleString()
: 'v' + privateDat.isHistoryVersion;

@ -247,7 +247,6 @@ define([
config.setHistory(false, true);
};
Messages.history_cantRestore = "Can't restore now. Disconnected."; // XXX
var onRevert = function () {
// Before we can restore the current version, we need to update metadataMgr
// so that it will uses the snapshots from the realtime version!
@ -413,11 +412,6 @@ define([
}
};
Messages.history_fastPrev = "Previous editing session"; // XXX
Messages.history_userPrev = "Previous user"; // XXX
Messages.history_fastNext = "Next editing session"; // XXX
Messages.history_userNext = "Next user"; // XXX
// Create the history toolbar
var display = function () {
$hist.html('');
@ -495,12 +489,6 @@ define([
])
]);
Messages.history_restore = "Restore";// XXX
Messages.history_close = "Close";// XXX
Messages.history_shareTitle = "Share a link to this version"; // XXX
Messages.history_restoreDriveTitle = "Restore the selected version of the DRIVE"; // XXX
Messages.history_restoreDrivePrompt = "Are you sure you want to replace the current version of the DRIVE by the displayed one?"; // XXX
Messages.history_restoreDriveDone = "DRIVE restored";
var snapshot = h('button', {
title: Messages.snapshots_new,
}, [

Loading…
Cancel
Save