Page 2 of 2
Re: MX 3.5.0 windrose gauge
Posted: Tue 14 Apr 2020 12:16 pm
by mcrossley
It looks like your language.min.js file is out of date - it does not contain the distance values...
Code: Select all
miles : 'miles',
n_miles : 'n.miles',
km : 'km',
Re: MX 3.5.0 windrose gauge
Posted: Tue 14 Apr 2020 12:19 pm
by water01
Aha, lightbulb goes off, that is because the latest one didn't contain the Ozone headings I was using. Looks like I need to sort that file out.
Re: MX 3.5.0 windrose gauge
Posted: Tue 14 Apr 2020 12:44 pm
by water01
OK fixed it. I didn't update language.min.js because I use an Ozone gauge and the latest version had solar instead of ozone. So I have now edited the latest version of language.js to alter solar to ozone and altered gauges-ss.php to use language.js and it works fine.
http://www.dmjsystems.co.uk/weatherbos/gauges-ss.php
Re: MX 3.5.0 windrose gauge
Posted: Tue 14 Apr 2020 9:07 pm
by BCJKiwi
OK that fixed my odo undefined as well.
HOWEVER the versions in the MX distro and interface are ALL old.
Had to go to the v 2.7.3 package downloaded from GitHub to get a later version of language.min.js
/*! Version: 2.6.0 - Updated: 21 April 2017 (Added miles/km) */
Re: MX 3.5.0 windrose gauge
Posted: Tue 14 Apr 2020 9:15 pm
by mcrossley
BCJKiwi wrote: ↑Tue 14 Apr 2020 9:07 pm
HOWEVER the versions in the MX distro and interface are ALL old.
Had to go to the v 2.7.3 package downloaded from GitHub to get a later version of language.min.js
/*! Version: 2.6.0 - Updated: 21 April 2017 (Added miles/km) */
?
The version in the CMX distro is...
/*! Version: 2.7.0 - Updated: 28 March 2019 (Added Polish) */
Re: MX 3.5.0 windrose gauge
Posted: Tue 14 Apr 2020 9:32 pm
by BCJKiwi
OK my error!
Too many places to check for different versions!!
Re: MX 3.5.0 windrose gauge
Posted: Wed 15 Apr 2020 5:54 am
by HansR
@BCJkiwi: I did not check it yet but I assume the github has always the latest version?