weather: add getDirectionString() function

Origin commit data
------------------
Commit: 4a53e91c48
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-01-23 (Sun, 23 Jan 2022)

Origin message was:
------------------
- weather: add getDirectionString() function
This commit is contained in:
vanhofen
2022-01-23 23:59:08 +01:00
parent a4e325df8d
commit faee8c2a22
6 changed files with 103 additions and 0 deletions

View File

@@ -3064,6 +3064,22 @@ typedef enum
LOCALE_VIDEOMENU_ZAPPINGMODE_MUTE,
LOCALE_VIDEOMENU_ZAPPINGMODE_HOLD,
LOCALE_WEATHER_API_KEY,
LOCALE_WEATHER_DIRECTION_E,
LOCALE_WEATHER_DIRECTION_ENE,
LOCALE_WEATHER_DIRECTION_ESE,
LOCALE_WEATHER_DIRECTION_N,
LOCALE_WEATHER_DIRECTION_NE,
LOCALE_WEATHER_DIRECTION_NNE,
LOCALE_WEATHER_DIRECTION_NNW,
LOCALE_WEATHER_DIRECTION_NW,
LOCALE_WEATHER_DIRECTION_S,
LOCALE_WEATHER_DIRECTION_SE,
LOCALE_WEATHER_DIRECTION_SSE,
LOCALE_WEATHER_DIRECTION_SSW,
LOCALE_WEATHER_DIRECTION_SW,
LOCALE_WEATHER_DIRECTION_W,
LOCALE_WEATHER_DIRECTION_WNW,
LOCALE_WEATHER_DIRECTION_WSW,
LOCALE_WEATHER_ENABLED,
LOCALE_WEATHER_LOCATION,
LOCALE_WEATHER_POSTALCODE,

View File

@@ -3064,6 +3064,22 @@ const char * locale_real_names[] =
"videomenu.zappingmode_mute",
"videomenu.zappingmode_hold",
"weather.api_key",
"weather.direction_e",
"weather.direction_ene",
"weather.direction_ese",
"weather.direction_n",
"weather.direction_ne",
"weather.direction_nne",
"weather.direction_nnw",
"weather.direction_nw",
"weather.direction_s",
"weather.direction_se",
"weather.direction_sse",
"weather.direction_ssw",
"weather.direction_sw",
"weather.direction_w",
"weather.direction_wnw",
"weather.direction_wsw",
"weather.enabled",
"weather.location",
"weather.postalcode",