From 8c2c335ae6852983cd21d55fce7fe743fd3e8d00 Mon Sep 17 00:00:00 2001 From: nathangray Date: Thu, 16 Apr 2020 09:19:10 -0600 Subject: [PATCH] Fix missing translation reported by Stefan Unverricht --- api/lang/egw_de.lang | 1 + api/lang/egw_en.lang | 2 ++ filemanager/js/app.js | 3 ++- filemanager/js/app.ts | 3 ++- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/api/lang/egw_de.lang b/api/lang/egw_de.lang index 2a30f709bc..11f42df9ff 100644 --- a/api/lang/egw_de.lang +++ b/api/lang/egw_de.lang @@ -1361,6 +1361,7 @@ the following document-types are supported: preferences de Im Moment werden die the mail server returned common de Der E-Mail-Server liefert zurück there already is a system-user with this name. user's should not have the same name as a systemuser common de Es gibt schon einen System Benutzer mit dem selben Namen. Die Benutzer sollten nicht die gleichen Namen haben, wie die Systembenutzer. they will be sub-folders in users home (%1 attribute). common de Diese werden Unterordner im Homeverzeichnis des Benutzers (%1 Attribute). +this feature is only available in epl version. common de diese Funktion ist nur in der EPL-Version verfügbar. this name has been used already common de Dieser Name ist bereits in Benutzung ! this text gets displayed if the input-field is empty and has no focus (blur) common de dieser Text wird im Eingabefeld angezeigt, wenn es leer ist und nicht im Fokus ist (engl. blur) this will reset toolbar preferences for all users and set them to configured default prefs. common de Hiermit werden die Toolbar-Einstellungen für alle Benutzer zurückgesetzt und auf die konfigurierten Standardeinstellungen gesetzt. diff --git a/api/lang/egw_en.lang b/api/lang/egw_en.lang index 012ffca9a6..f8b9223bef 100644 --- a/api/lang/egw_en.lang +++ b/api/lang/egw_en.lang @@ -555,6 +555,7 @@ file %1 has no content in physical filesystem %2 --> failed to remove file! admi file %1 has no content in physical filesystem %2 --> file removed! admin en File %1 has no content in physical filesystem %2 --> file removed! file %1 has no content in physical filesystem %2! admin en File %1 has no content in physical filesystem %2! file '%1' not found! common en File '%1' not found! +file a file common en File a file file contains more than one etemplate, last one is shown !!! common en File contains more than one eTemplate, last one is shown! file information common en File information file is of wrong type (%1 != %2)! common en File is wrong type (%1 != %2)! @@ -1365,6 +1366,7 @@ the following document-types are supported: preferences en The following documen the mail server returned common en The mail server returned there already is a system-user with this name. user's should not have the same name as a systemuser common en There already is a system user with this name. Please, select another name. they will be sub-folders in users home (%1 attribute). common en They will be sub-folders in users home (%1 attribute). +this feature is only available in epl version. common en This feature is only available in EPL version. this name has been used already common en This name has been used already! this text gets displayed if the input-field is empty and has no focus (blur) common en Text gets displayed if the input field is empty and has no focus (blur) this will reset toolbar preferences for all users and set them to configured default prefs. common en This will reset toolbar preferences for all users and set them to configured default prefs. diff --git a/filemanager/js/app.js b/filemanager/js/app.js index 970a86561e..57d9e0791d 100644 --- a/filemanager/js/app.js +++ b/filemanager/js/app.js @@ -991,11 +991,12 @@ var filemanagerAPP = /** @class */ (function (_super) { this.egw.open_link('/index.php?menuaction=stylite.stylite_filemanager.upload&path=' + this.get_path(), '_blank', '670x320'); } else { + // This is shown if stylite code is there, but the app is not available et2_dialog.show_dialog(function (_button) { if (_button == et2_dialog.YES_BUTTON) window.open('http://www.egroupware.org/EPL', '_blank'); return true; - }, this.egw.lang('File a file is only available with an EPL subscription.') + "\n\n" + + }, this.egw.lang('this feature is only available in epl version.') + "\n\n" + this.egw.lang('You can use regular upload [+] button to upload files.') + "\n\n" + this.egw.lang('Do you want more information about EPL subscription?'), this.egw.lang('File a file'), undefined, et2_dialog.BUTTONS_YES_NO, et2_dialog.QUESTION_MESSAGE); } diff --git a/filemanager/js/app.ts b/filemanager/js/app.ts index fff990729a..17ea053135 100644 --- a/filemanager/js/app.ts +++ b/filemanager/js/app.ts @@ -1197,11 +1197,12 @@ export class filemanagerAPP extends EgwApp } else { + // This is shown if stylite code is there, but the app is not available et2_dialog.show_dialog(function(_button) { if (_button == et2_dialog.YES_BUTTON) window.open('http://www.egroupware.org/EPL', '_blank'); return true; - }, this.egw.lang('File a file is only available with an EPL subscription.')+"\n\n"+ + }, this.egw.lang('this feature is only available in epl version.')+"\n\n"+ this.egw.lang('You can use regular upload [+] button to upload files.')+"\n\n"+ this.egw.lang('Do you want more information about EPL subscription?'), this.egw.lang('File a file'), undefined, et2_dialog.BUTTONS_YES_NO, et2_dialog.QUESTION_MESSAGE);