From 757c9b6b49d949b5a090de0696c888ba8999c121 Mon Sep 17 00:00:00 2001 From: Risiko <> Date: Wed, 12 Apr 2017 21:02:36 +0000 Subject: [PATCH] 98_weekprofile: new attribute widgetTranslations for translations git-svn-id: https://svn.fhem.de/fhem/trunk@13978 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/98_weekprofile.pm | 10 +++++++++- fhem/www/pgm2/fhemweb_weekprofile.js | 26 ++++++++++++++++++++++++-- 3 files changed, 34 insertions(+), 3 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index cd24e9888..834ace0c1 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 98_weekprofile: new attribute widgetTranslations for translations - bugfix: 98_weekprofile: handle csrfToken - bugfix: 02_HTTPSRV: strip parameters from filename - bugfix: 88_HMCCURPC: fixed binary RPC init procedure diff --git a/fhem/FHEM/98_weekprofile.pm b/fhem/FHEM/98_weekprofile.pm index 746bb233e..a9151002b 100644 --- a/fhem/FHEM/98_weekprofile.pm +++ b/fhem/FHEM/98_weekprofile.pm @@ -422,7 +422,7 @@ sub weekprofile_Initialize($) $hash->{StateFn} = "weekprofile_State"; $hash->{NotifyFn} = "weekprofile_Notify"; $hash->{AttrFn} = "weekprofile_Attr"; - $hash->{AttrList} = "useTopics:0,1 widgetWeekdays widgetEditOnNewPage:0,1 widgetEditDaysInRow:1,2,3,4,5,6,7 tempON tempOFF configFile ".$readingFnAttributes; + $hash->{AttrList} = "useTopics:0,1 widgetTranslations widgetWeekdays widgetEditOnNewPage:0,1 widgetEditDaysInRow:1,2,3,4,5,6,7 tempON tempOFF configFile ".$readingFnAttributes; $hash->{FW_summaryFn} = "weekprofile_SummaryFn"; @@ -1296,6 +1296,10 @@ sub weekprofile_getEditLNK_MasterDev($$) Attributes