From 6c4c42bcdeb81df5d99f55c608efe4f9a128a3de Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 12 Dec 2022 15:09:57 -0700 Subject: [PATCH] Translation of "on vacation" from Birgit --- api/js/etemplate/Layout/Et2Details/Et2Details.ts | 14 ++++++++++++++ mail/lang/egw_de.lang | 1 + mail/lang/egw_en.lang | 1 + 3 files changed, 16 insertions(+) diff --git a/api/js/etemplate/Layout/Et2Details/Et2Details.ts b/api/js/etemplate/Layout/Et2Details/Et2Details.ts index ca4fd4cb6d..fa7c75e416 100644 --- a/api/js/etemplate/Layout/Et2Details/Et2Details.ts +++ b/api/js/etemplate/Layout/Et2Details/Et2Details.ts @@ -95,6 +95,20 @@ export class Et2Details extends Et2Widget(SlDetails) } } + /** + * List of properties that get translated + * Done separately to not interfere with properties - if we re-define label property, + * labels go missing. + */ + static get translate() + { + return { + ...super.translate, + summary: true + } + } + + constructor(...args : any[]) { super(); diff --git a/mail/lang/egw_de.lang b/mail/lang/egw_de.lang index f20aa1c0a0..d4fb87db11 100644 --- a/mail/lang/egw_de.lang +++ b/mail/lang/egw_de.lang @@ -405,6 +405,7 @@ notify about new mail in this folders mail de Über neue E-Mails in diesem Ordne notify when new mails arrive in these folders mail de Benachrichtigung, sobald neue E-Mails in den folgenden Ordnern ankommen on mail de am on behalf of mail de Im Namen von +on vacation mail de Abwesenheit one address is not valid mail de Eine Adresse ist ungültig only if currently in an other app mail de Nur anzeigen wenn aktuell in einer anderen Anwendung only makes sense, if you transport password through a different channel / outside of this mail to recipients! mail de Macht nur dann Sinn, wenn das Passwort auf einem anderen Weg, außerhalb dieser Mail, den Empfängern mitgeteilt wird! diff --git a/mail/lang/egw_en.lang b/mail/lang/egw_en.lang index c636fd1d15..e601473996 100644 --- a/mail/lang/egw_en.lang +++ b/mail/lang/egw_en.lang @@ -405,6 +405,7 @@ notify about new mail in this folders mail en Notify about new mail in these fol notify when new mails arrive in these folders mail en notify when new mails arrive in these folders on mail en on on behalf of mail en On behalf of +on vacation mail en On vacation one address is not valid mail en One address is not valid only if currently in an other app mail en Only if currently in an other app only makes sense, if you transport password through a different channel / outside of this mail to recipients! mail en Only makes sense, if you transport password through a different channel / outside of this mail to recipients!