mirror of https://github.com/mue/mue.git
feat(translations): added translation support to weather visibility
This commit is contained in:
parent
b0da5cfa75
commit
cad3f53140
|
@ -170,7 +170,7 @@ export default class Weather extends React.PureComponent {
|
|||
{enabled('humidity') ? <span className='loc'><br/><WiHumidity/>{this.state.weather.humidity}%</span> : null}
|
||||
{enabled('windspeed') ? <span className='loc'><br/><WiWindy/>{this.state.weather.wind_speed}<span className='minmax'> m/s</span> {enabled('windDirection') ? <WindDirectionIcon degrees={this.state.weather.wind_degrees}/> : null}</span> : null}
|
||||
{enabled('cloudiness') ? <span className='loc'><br/><WiCloud/>{this.state.weather.cloudiness}%</span> : null}
|
||||
{enabled('visibility') ? <span className='loc'><br/>{this.state.weather.visibility} meters</span> : null}
|
||||
{enabled('visibility') ? <span className='loc'><br/>{this.state.weather.visibility} {window.language.widgets.weather.meters}</span> : null}
|
||||
{enabled('atmosphericpressure') ? <span className='loc'><br/><WiBarometer/>{this.state.weather.pressure}<span className='minmax'> hPa</span></span> : null}
|
||||
<br/>
|
||||
{enabled('showlocation') ? <span className='loc'>{this.state.location}</span> : null}
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Kalenderwoche"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Nicht gefunden"
|
||||
"not_found": "Nicht gefunden",
|
||||
"meters": "Meter"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Week"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Not Found"
|
||||
"not_found": "Not Found",
|
||||
"meters": "metres"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Week"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Not Found"
|
||||
"not_found": "Not Found",
|
||||
"meters": "meters"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Semana"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "No encontrado"
|
||||
"not_found": "No encontrado",
|
||||
"meters": "metros"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Semaine"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Pas trouvé"
|
||||
"not_found": "Pas trouvé",
|
||||
"meters": "mètres"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Week"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Not Found"
|
||||
"not_found": "Not Found",
|
||||
"meters": "meter"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Week"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Not Found"
|
||||
"not_found": "Not Found",
|
||||
"meters": "meter"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Week"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Not Found"
|
||||
"not_found": "Not Found",
|
||||
"meters": "метры"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
"week": "Week"
|
||||
},
|
||||
"weather": {
|
||||
"not_found": "Not Found"
|
||||
"not_found": "Not Found",
|
||||
"meters": "meters"
|
||||
},
|
||||
"navbar": {
|
||||
"tooltips": {
|
||||
|
|
Loading…
Reference in New Issue