Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
#security update
#update to v1.4
  • Loading branch information
jhonatasrm committed Jan 18, 2019
1 parent 1e69f34 commit 177c4c2
Show file tree
Hide file tree
Showing 10 changed files with 10,393 additions and 22 deletions.
8 changes: 7 additions & 1 deletion src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,16 @@
"release3d": {
"message": "v1.3 (January 17, 2019)"
},
"release4": {
"message": "Security update"
},
"release4d": {
"message": "v1.4 (January 18, 2019)"
},
"settings": {
"message": "Configurações"
},
"bugs": {
"message": "If you find any bugs, have any suggestions or some ideas for this add-on. Please create a new <a href='https://www.github.com/jhonatasrm/toolbar-weather/issues'>issue</a>."
}
}
}
8 changes: 7 additions & 1 deletion src/_locales/pt-BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,16 @@
"release3d": {
"message": "v1.3 (17 de Janeiro de 2019)"
},
"release4": {
"message": "Atualização de segurança"
},
"release4d": {
"message": "v1.4 (18 de Janeiro de 2019)"
},
"settings": {
"message": "Configurações"
},
"bugs": {
"message": "Se você encontrar algum bug, tiver sugestões ou algumas idéias para esta extensão. Por favor, crie uma nova <a href='https://www.github.com/jhonatasrm/toolbar-weather/issues'>issue</a>."
}
}
}
4 changes: 4 additions & 0 deletions src/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
<div class="changelogPanel" id='changelogPanel' style="background-color:white; margin-top:-1%;text-align:justify;">
<h3 id="changelog" data-i18n="changelog"></h3>
<ul style="text-align:justify;">
<li>
<strong id="release4d" data-i18n="release4d"></strong><br/>
<p id="release4" data-i18n="release4"></p>
</li>
<li>
<strong id="release3d" data-i18n="release3d"></strong><br/>
<p id="release3" data-i18n="release3"></p>
Expand Down
2 changes: 1 addition & 1 deletion src/html/preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="icon" href="../res/icons/favicon.ico" type="image/x-icon"/>
<link href="../css/bootstrap.min.css" rel="stylesheet"/>
<link href="../css/style.css" rel="stylesheet"/>
<script src="../js/jquery.js"></script>
<script src="../js/jquery-3.3.1.js"></script>
<script src="../js/background.js"></script>
</head>

Expand Down
4 changes: 0 additions & 4 deletions src/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ request.onload = function() {
imageWeather.src = "../res/icons/weather_popup/"+toolbarWeather.list[0].weather[0].icon+".png";
imageWeatherTomorrow.src = "../res/icons/weather_popup/"+toolbarWeather.list[8].weather[0].icon+".png";
imageWeatherAfterTomorrow.src = "../res/icons/weather_popup/"+toolbarWeather.list[16].weather[0].icon+".png";
tempMinTomorrow.textContent = toolbarWeather.list[8].main.temp_min + "°C";
tempMaxTomorrow.textContent = toolbarWeather.list[8].main.temp_max + "°C";
tempMinAfterTomorrow.textContent = toolbarWeather.list[16].main.temp_min + "°C";
tempMaxAfterTomorrow.textContent = toolbarWeather.list[16].main.temp_max + "°C";

if(localStorage.getItem("speedRadio") == "mph"){
wind.textContent = (toolbarWeather.list[0].wind.speed).toFixed(2) + " mph";
Expand Down
Loading

0 comments on commit 177c4c2

Please sign in to comment.