From 1614c8c3c3aa2422cd745f598b23522dc90b6e25 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 20 Sep 2018 13:01:54 -0600 Subject: [PATCH] Some missed translations reported by Stefan Unverricht --- filemanager/js/app.js | 5 +++-- filemanager/lang/egw_de.lang | 1 + filemanager/lang/egw_en.lang | 1 + mail/lang/egw_de.lang | 1 + mail/lang/egw_en.lang | 1 + 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 4b4bcc8c7b..7d7e5c1a1d 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -1192,6 +1192,7 @@ app.classes.filemanager = AppJS.extend( console.log("_data", _data); var copy_link_to_clipboard = null; + var app = this; var copy_link_to_clipboard = function(evt){ var $target = jQuery(evt.target); @@ -1200,7 +1201,7 @@ app.classes.filemanager = AppJS.extend( var successful = document.execCommand('copy'); if (successful) { - egw.message('Share link copied into clipboard'); + egw.message(app.egw.lang('Share link copied into clipboard')); return true; } } @@ -1213,7 +1214,7 @@ app.classes.filemanager = AppJS.extend( jQuery("body").off("click", "[name=share_link]", copy_link_to_clipboard); return true; }, - title: _data.title ? _data.title : egw.lang("%1 Share Link", _data.action ==='shareWritableLink'? "Writable": "Readonly"), + title: _data.title ? _data.title : this.egw.lang((_data.action ==='shareWritableLink'? "Writable": "Readonly") +" Share Link"), template: _data.template, width: 450, value: {content:{ "share_link": _data.share_link }} diff --git a/filemanager/lang/egw_de.lang b/filemanager/lang/egw_de.lang index 5290b4d912..ee83c4a506 100644 --- a/filemanager/lang/egw_de.lang +++ b/filemanager/lang/egw_de.lang @@ -249,6 +249,7 @@ select file to upload in current directory filemanager de Datei(en) zum hochlade select file(s) from vfs common de Datei(en) aus dem EGroupware Dateimanager auswählen setting for document merge saved. filemanager de Einstellungen für Serienbriefe gespeichert share files filemanager de Dateien freigeben +share link copied into clipboard filemanager de Link in die Zwischenablage kopiert shared files filemanager de Freigegebene Dateien shared with filemanager de Geteilt mit show filemanager de Zeige diff --git a/filemanager/lang/egw_en.lang b/filemanager/lang/egw_en.lang index ab749afcfb..717ad9cefd 100644 --- a/filemanager/lang/egw_en.lang +++ b/filemanager/lang/egw_en.lang @@ -249,6 +249,7 @@ select file to upload in current directory filemanager en Select file to upload select file(s) from vfs common en Select file(s) from VFS setting for document merge saved. filemanager en Setting for document merge saved. share files filemanager en Share files +share link copied into clipboard filemanager en Share link copied into clipboard shared files filemanager en Shared files shared with filemanager en Shared with show filemanager en Show diff --git a/mail/lang/egw_de.lang b/mail/lang/egw_de.lang index cb41af8e44..50abd861b7 100644 --- a/mail/lang/egw_de.lang +++ b/mail/lang/egw_de.lang @@ -63,6 +63,7 @@ are you sure you want to delete all selected folders? mail de Sollen alle selekt are you sure you want to move folder %1 to folder %2? mail de Soll der Ordner %1 in den Ordner %2 verschoben werden? arrival mail de Empfangsdatum ask for permission mail de Immer nachfragen +attach files mail de Dateien anhängen attach users vcard at compose to every new mail mail de Füge die vCard des aktiven Benutzers an jede neue E-Mail an attach vcard mail de vCard hinzufügen attachment mail de Anhang diff --git a/mail/lang/egw_en.lang b/mail/lang/egw_en.lang index 6f5eb18053..87a1bb359e 100644 --- a/mail/lang/egw_en.lang +++ b/mail/lang/egw_en.lang @@ -63,6 +63,7 @@ are you sure you want to delete all selected folders? mail en Are you sure you w are you sure you want to move folder %1 to folder %2? mail en Are you sure you want to move folder %1 to folder %2? arrival mail en Recieved ask for permission mail en Ask for permission +attach files mail en Attach files attach users vcard at compose to every new mail mail en attach users VCard at compose to every new mail attach vcard mail en Attach vCard attachment mail en Attachment