File tree 2 files changed +12
-1
lines changed
buildroot-external/patches/occu
0143-WebUI-Fix-Translation/occu/WebUI/www/rega/esp/controls
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ --- occu/WebUI/www/rega/esp/controls/weather_sensor.fn.orig
2
+ +++ occu/WebUI/www/rega/esp/controls/weather_sensor.fn
3
+ @@ -98,7 +98,7 @@
4
+ if (bErrorWindNorth) {
5
+ WriteLine("<br/><span "#errorWindNorth#">${stringTableWeatherWindDir}: </span><img src='/ise/img/help.png' alt='help' style='cursor: pointer; width:18px; height:18px; vertical-align:middle;' onclick=alert(translateKey('stringTableErrorWindNorthTrue'));> ");
6
+ } else {
7
+ - WriteLine("<br/><span "#errorWindNorth#">${stringTableWeatherWindDir}: </span><span class='CLASS02535A' style='color:white'>"#sValueh#" "#oActualWindDirection.Value().ToString(0)#oActualWindDirection.ValueUnit()#"</span>");
8
+ + WriteLine("<br/><span "#errorWindNorth#">${stringTableWeatherWindDir}: </span><span class='CLASS02535A j_translate' style='color:white'>${"#sValueh#"} "#oActualWindDirection.Value().ToString(0)#oActualWindDirection.ValueUnit()#"</span>");
9
+ }
10
+ }
11
+
1
12
--- occu/WebUI/www/rega/esp/datapointconfigurator.fn.orig
2
13
+++ occu/WebUI/www/rega/esp/datapointconfigurator.fn
3
14
@@ -1643,16 +1643,20 @@
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ function ::CreateWeatherSensor() {
98
98
if (bErrorWindNorth) {
99
99
WriteLine("<br/><span "#errorWindNorth#">${stringTableWeatherWindDir}: </span><img src='/ise/img/help.png' alt='help' style='cursor: pointer; width:18px; height:18px; vertical-align:middle;' onclick=alert(translateKey('stringTableErrorWindNorthTrue'));> ");
100
100
} else {
101
- WriteLine("<br/><span "#errorWindNorth#">${stringTableWeatherWindDir}: </span><span class='CLASS02535A' style='color:white'>"#sValueh#" "#oActualWindDirection.Value().ToString(0)#oActualWindDirection.ValueUnit()#"</span>");
101
+ WriteLine("<br/><span "#errorWindNorth#">${stringTableWeatherWindDir}: </span><span class='CLASS02535A j_translate ' style='color:white'>${ "#sValueh#"} "#oActualWindDirection.Value().ToString(0)#oActualWindDirection.ValueUnit()#"</span>");
102
102
}
103
103
}
104
104
You can’t perform that action at this time.
0 commit comments