Remove XXX related to translation keys

This commit is contained in:
David Benqué 2020-12-04 13:54:17 +00:00
parent cf93fa5d3a
commit f816a54cd4
5 changed files with 1 additions and 13 deletions

View file

@ -22,8 +22,6 @@ define([
MediaTag.setDefaultConfig('pdf', {
viewer: '/common/pdfjs/web/viewer.html'
});
Messages.mediatag_saveButton = "Save"; // XXX
Messages.mediatag_loadButton = "Load attachment"; // XXX
MediaTag.setDefaultConfig('download', {
text: Messages.mediatag_saveButton,
textDl: Messages.mediatag_loadButton,
@ -373,10 +371,6 @@ define([
});
};
Messages.pad_mediatagShare = "Share file"; // XXX
Messages.pad_mediatagOpen = "Open file"; // XXX
Messages.mediatag_notReady = "Not ready"; // XXX
var mediatagContextMenu;
MT.importMediaTagMenu = function (common) {
if (mediatagContextMenu) { return mediatagContextMenu; }

View file

@ -47,7 +47,6 @@ define([
return 'cp-fileupload-element-' + String(Math.random()).substring(2);
};
Messages.fileTableHeader = "Downloads and uploads"; // XXX
var tableHeader = h('div.cp-fileupload-header', [
h('div.cp-fileupload-header-title', h('span', Messages.fileTableHeader)),
h('div.cp-fileupload-header-close', h('span.fa.fa-times')),
@ -626,8 +625,6 @@ define([
* As updateDLProgress but for folders
* @param {number} progressValue Progression of download, between 0 and 1
*/
Messages.download_zip = "Building ZIP file..."; // XXX
Messages.download_zip_file = "File {0}/{1}"; // XXX
var updateProgress = function (progressValue) {
var text = Math.round(progressValue*100) + '%';
if (Array.isArray(data.list)) {

View file

@ -1394,7 +1394,6 @@ MessengerUI, Messages) {
toolbar.isErrorState = bool; // Stop kickSpinner
toolbar.title.toggleClass('cp-toolbar-unsync', bool); // "read only" next to the title
if (bool && toolbar.spinner) {
Messages.offline = "OFFLINE"; // XXX
toolbar.spinner.text(Messages.offline);
} else {
kickSpinner(toolbar, config);

View file

@ -577,8 +577,6 @@ define([
cb(form);
}, true);
Messages.settings_mediatagSizeTitle = "Autodownload size in MegaBytes (MB)"; // XXX
Messages.settings_mediatagSizeHint = 'Maximum size for automatically loading media elements (images, videos, pdf) embedded into the pads. Elements bigger than the specified size can be loaded manually. Use "-1" to always load the media elements automatically.'; // XXX
makeBlock('mediatag-size', function(cb) {
var $inputBlock = $('<div>', {
'class': 'cp-sidebarlayout-input-block',

View file

@ -335,7 +335,7 @@ define([
var maxSizeStr = Messages._getKey('formattedMB', [Util.bytesToMegabytes(MAX_IMAGE_SIZE)]);
var addImageToCanvas = function (img) {
if (img.src && img.src.length > MAX_IMAGE_SIZE) {
UI.warn(Messages._getKey('upload_tooLargeBrief', [maxSizeStr])); // XXX update key
UI.warn(Messages._getKey('upload_tooLargeBrief', [maxSizeStr]));
return;
}
var w = img.width;