Temperature (#1332)

Add temp "es" string
@lang temp to widget wheather blade
pull/1334/head
Toni Vicente 3 years ago committed by GitHub
parent c65b5c1b05
commit 1e7e8cc5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -18,9 +18,10 @@ return [
'weather' => [
'nometar' => 'No se han encontrado datos METAR/TAF',
'conditions' => 'Condiciones',
'visibility' => 'visibilidad',
'humidity' => 'humedad',
'dewpoint' => 'punto de rocío',
'visibility' => 'Visibilidad',
'temp' => 'Temperatura',
'humidity' => 'Humedad',
'dewpoint' => 'Punto de rocío',
'barometer' => 'Barometro',
'clouds' => 'Nubes',
'wind' => 'Viento',

@ -51,7 +51,7 @@ https://api.checkwx.com/#metar-decoded
<tr>
<td>Temperature</td>
<td>
@if($metar['temperature'][$unit_temp]) {{ $metar['temperature'][$unit_temp] }} @else 0 @endif °{{strtoupper($unit_temp)}}
@if($metar['temperature'][$unit_temp]), @lang('widgets.weather.temp') {{ $metar['temperature'][$unit_temp] }} @else 0 @endif °{{strtoupper($unit_temp)}}
@if($metar['dew_point']), @lang('widgets.weather.dewpoint') @if($metar['dew_point'][$unit_temp]) {{ $metar['dew_point'][$unit_temp] }} @else 0 @endif °{{strtoupper($unit_temp)}} @endif
@if($metar['humidity']), @lang('widgets.weather.humidity') {{ $metar['humidity'] }}% @endif
</td>

Loading…
Cancel
Save