Temperature (#1332)

Add temp "es" string
@lang temp to widget wheather blade
This commit is contained in:
Toni Vicente 2021-10-21 18:28:58 +02:00 committed by GitHub
parent c65b5c1b05
commit 1e7e8cc5e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -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',

View File

@ -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>