diff --git a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod index 8e4cb1c48024fd95b702cdd2c6bae3b9ec1b07fd..a4ef21da2a39128c59d9a9b82e1e5d15bed65e37 100644 --- a/language/_____LANGUAGE_de/_____LANGUAGE_de.aod +++ b/language/_____LANGUAGE_de/_____LANGUAGE_de.aod @@ -247,7 +247,7 @@ <value>Newsletterversand</value> </entry> <entry> - <key>We received data from </key> + <key>We received data from</key> <value>Wir haben Daten erhalten von</value> </entry> <entry> @@ -6018,6 +6018,7 @@ </entry> <entry> <key>Extension letter date</key> + <value>Beantragung Fristverlängerung</value> </entry> <entry> <key>Namen</key> diff --git a/process/DataPrivacy_lib/process.js b/process/DataPrivacy_lib/process.js index 315b7f9df0abe35d37aaeda67683a9481c367ed6..bc35005d9320d22dd5fe6920b0bcb6750e6a3adc 100644 --- a/process/DataPrivacy_lib/process.js +++ b/process/DataPrivacy_lib/process.js @@ -415,6 +415,9 @@ DataPrivacyUtils.checkAllFilled = function(pContactId) DataPrivacyUtils.openReport = function(pContactId, pReportName, pDSGVOInfo, pLocale) { + if (pLocale == undefined) + pLocale = vars.get("$sys.clientlocale"); + var DSGVOReport = new Report(pReportName); // TODO: get Images implementieren ( address am besten eine andere Lösung!) @@ -440,7 +443,7 @@ DataPrivacyUtils.openReport = function(pContactId, pReportName, pDSGVOInfo, pLoc var datasource = ""; if (pDSGVOInfo.datasource) { - datasource = translate.text("We received data from " + pDSGVOInfo.datasource + ".", pLocale); + datasource = translate.text("We received data from", pLocale) + " " + pDSGVOInfo.datasource + "."; } // text for deadline @@ -463,7 +466,7 @@ DataPrivacyUtils.openReport = function(pContactId, pReportName, pDSGVOInfo, pLoc .buildSql("select max(VALID_TO) from DSGVO", "1=2")), translate.text("dd.MM.yyyy", pLocale), "UTC"); - saveTill = translate.text("We save your data until " + saveTill + "."); + saveTill = translate.text("We save your data until ", pLocale) + saveTill + "."; var addrObject = new AddrObject(pContactId); var fakeDataProtectionOfficerId = "57d524f6-ad66-4550-be83-fee6e31b7a52"