Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
Thanks.
var measurement = 'cel';
$measurement = 'cel';
And change them to 'far' as well. Either should work.
Look for the following line:
$('#forecast').append(inCel(data.list .temp.max)+"<br/>");
Add this next line just above it:
$measurement='far';
When the first line is called, since measurment is set to far, it will calculate in fahrenheit instead of celcius. This allows the toggle button to continue to work as well (for those who want to be able to switch still).
Hope this helps.
can someone please help me with that?
Seems to work.
Thanks,
To override the city arguement you can look for the following line in the index.js file:
$city = data.city+','+data.countryCode;
Underneath this line add a line that includes the city and the country code you need, such as:
$city = 'Palmdale,US'
If you live in a city that has multiple instances nationwide, you may have to use another means of selecting your city.