From c00d295466e8437801d58b9367109285d30cd2fd Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 15 Sep 2017 17:33:36 +0200 Subject: [PATCH] Add missing translations --- customize.dist/translations/messages.fr.js | 6 +++++- customize.dist/translations/messages.js | 6 +++++- www/drive/main.js | 2 +- www/pad/inner.js | 6 +++--- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/customize.dist/translations/messages.fr.js b/customize.dist/translations/messages.fr.js index db0ebbf9f..71f61d1fb 100644 --- a/customize.dist/translations/messages.fr.js +++ b/customize.dist/translations/messages.fr.js @@ -204,8 +204,11 @@ define(function () { out.history_restoreDone = "Document restauré"; out.history_version = "Version :"; - // Ckeditor links + // Ckeditor out.openLinkInNewTab = "Ouvrir le lien dans un nouvel onglet"; + out.pad_mediatagTitle = "Options du Media-Tag"; + out.pad_mediatagWidth = "Largeur (px)"; + out.pad_mediatagHeight = "Hauteur (px)"; // Polls @@ -363,6 +366,7 @@ define(function () { out.fm_error_cantPin = "Erreur interne du serveur. Veuillez recharger la page et essayer de nouveau."; out.fm_viewListButton = "Liste"; out.fm_viewGridButton = "Grille"; + out.fm_renamedPad = "Vous avez renommé ce pad dans votre Drive. Son titre est:
{0}"; // File - Context menu out.fc_newfolder = "Nouveau dossier"; out.fc_rename = "Renommer"; diff --git a/customize.dist/translations/messages.js b/customize.dist/translations/messages.js index 6a6becf5b..7ca854c93 100644 --- a/customize.dist/translations/messages.js +++ b/customize.dist/translations/messages.js @@ -206,8 +206,11 @@ define(function () { out.history_restoreDone = "Document restored"; out.history_version = "Version:"; - // Ckeditor links + // Ckeditor out.openLinkInNewTab = "Open Link in New Tab"; + out.pad_mediatagTitle = "Media-Tag settings"; + out.pad_mediatagWidth = "Width (px)"; + out.pad_mediatagHeight = "Height (px)"; // Polls @@ -364,6 +367,7 @@ define(function () { out.fm_error_cantPin = "Internal server error. Please reload the page and try again."; out.fm_viewListButton = "List view"; out.fm_viewGridButton = "Grid view"; + out.fm_renamedPad = "You've set a custom name for this pad. Its shared title is:
{0}"; // File - Context menu out.fc_newfolder = "New folder"; out.fc_rename = "Rename"; diff --git a/www/drive/main.js b/www/drive/main.js index a57c0687c..0b137c23d 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -1129,7 +1129,7 @@ define([ } if (data.filename && data.filename !== data.title) { var $renamed = $renamedIcon.clone().appendTo($state); - $renamed.attr('title', "TODO: you've set a custom name for this pad. Its shared title is:\n{0}"); + $renamed.attr('title', Messages._getKey('fm_renamedPad', [data.title])); } var name = filesOp.getTitle(element); diff --git a/www/pad/inner.js b/www/pad/inner.js index 5b6c93982..e4c3f3975 100644 --- a/www/pad/inner.js +++ b/www/pad/inner.js @@ -881,9 +881,9 @@ define([ editor.on('instanceReady', waitFor()); }).nThen(function (/*waitFor*/) { editor.plugins.mediatag.translations = { - title: 'TODO: TITLE', - width: 'TODO: width', - height: 'TODO: height' + title: Messages.pad_mediatagTitle, + width: Messages.pad_mediatagWidth, + height: Messages.pad_mediatagHeight }; /*if (Ckeditor.env.safari) { var fixIframe = function () {