locale: add LOCALE_MENU_HINT_WEATHER_API_VERSION

Origin commit data
------------------
Commit: 4bb0243934
Author: vanhofen <vanhofen@gmx.de>
Date: 2024-05-03 (Fri, 03 May 2024)

Origin message was:
------------------
- locale: add LOCALE_MENU_HINT_WEATHER_API_VERSION

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2024-05-03 22:24:51 +02:00
committed by Thilo Graf
parent aa95a4338d
commit c3db7b4847
5 changed files with 5 additions and 0 deletions

View File

@@ -1827,6 +1827,7 @@ menu.hint_volume_digits Zifferndarstellung der Lautstärkeanzeige ein- oder auss
menu.hint_volume_pos Wählen Sie die Position der Lautstärkeanzeige aus menu.hint_volume_pos Wählen Sie die Position der Lautstärkeanzeige aus
menu.hint_volume_size Wählen Sie die Höhe der Lautstärkeanzeige menu.hint_volume_size Wählen Sie die Höhe der Lautstärkeanzeige
menu.hint_weather_api_key Geben Sie den OpenWeather API Schlüssel ein. Eine leere Eingabe schaltet die Wetter-Unterstützung aus menu.hint_weather_api_key Geben Sie den OpenWeather API Schlüssel ein. Eine leere Eingabe schaltet die Wetter-Unterstützung aus
menu.hint_weather_api_version Wählen Sie die OpenWeather API Version
menu.hint_weather_enabled Schaltet die Wetter-Unterstützung (openweathermap.org) ein bzw. aus menu.hint_weather_enabled Schaltet die Wetter-Unterstützung (openweathermap.org) ein bzw. aus
menu.hint_weather_location Wählen Sie eine Stadt in ihrer Nähe zur Anzeige der Wetterdaten aus menu.hint_weather_location Wählen Sie eine Stadt in ihrer Nähe zur Anzeige der Wetterdaten aus
menu.hint_weather_postalcode Geben Sie ihre Postleitzahl zur Anzeige der Wetterdaten an menu.hint_weather_postalcode Geben Sie ihre Postleitzahl zur Anzeige der Wetterdaten an

View File

@@ -1827,6 +1827,7 @@ menu.hint_volume_digits Numeric display of the volumebar on/off
menu.hint_volume_pos Select volume indicator position menu.hint_volume_pos Select volume indicator position
menu.hint_volume_size Select volume indicator height menu.hint_volume_size Select volume indicator height
menu.hint_weather_api_key Type your OpenWeather API key. An empty input disables Weather support menu.hint_weather_api_key Type your OpenWeather API key. An empty input disables Weather support
menu.hint_weather_api_version Select OpenWeather API version
menu.hint_weather_enabled Enable or disable Weather support (openweathermap.org) menu.hint_weather_enabled Enable or disable Weather support (openweathermap.org)
menu.hint_weather_location Select your weather location menu.hint_weather_location Select your weather location
menu.hint_weather_postalcode Select your weather location by postal code menu.hint_weather_postalcode Select your weather location by postal code

View File

@@ -107,6 +107,7 @@ int CWeatherSetup::showWeatherSetup()
#endif #endif
weather_api = new CMenuOptionChooser(LOCALE_WEATHER_API_VERSION, &weather_api_version, WEATHER_API_OPTIONS, WEATHER_API_OPTION_COUNT, CApiKey::check_weather_api_key(), this); weather_api = new CMenuOptionChooser(LOCALE_WEATHER_API_VERSION, &weather_api_version, WEATHER_API_OPTIONS, WEATHER_API_OPTION_COUNT, CApiKey::check_weather_api_key(), this);
mf_we->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_API_VERSION);
ms_oservices->addItem(weather_api); ms_oservices->addItem(weather_api);
CMenuForwarder *mf_wl = new CMenuForwarder(LOCALE_WEATHER_LOCATION, g_settings.weather_enabled, g_settings.weather_city, this, "select_location"); CMenuForwarder *mf_wl = new CMenuForwarder(LOCALE_WEATHER_LOCATION, g_settings.weather_enabled, g_settings.weather_city, this, "select_location");

View File

@@ -1854,6 +1854,7 @@ typedef enum
LOCALE_MENU_HINT_VOLUME_POS, LOCALE_MENU_HINT_VOLUME_POS,
LOCALE_MENU_HINT_VOLUME_SIZE, LOCALE_MENU_HINT_VOLUME_SIZE,
LOCALE_MENU_HINT_WEATHER_API_KEY, LOCALE_MENU_HINT_WEATHER_API_KEY,
LOCALE_MENU_HINT_WEATHER_API_VERSION,
LOCALE_MENU_HINT_WEATHER_ENABLED, LOCALE_MENU_HINT_WEATHER_ENABLED,
LOCALE_MENU_HINT_WEATHER_LOCATION, LOCALE_MENU_HINT_WEATHER_LOCATION,
LOCALE_MENU_HINT_WEATHER_POSTALCODE, LOCALE_MENU_HINT_WEATHER_POSTALCODE,

View File

@@ -1854,6 +1854,7 @@ const char * locale_real_names[] =
"menu.hint_volume_pos", "menu.hint_volume_pos",
"menu.hint_volume_size", "menu.hint_volume_size",
"menu.hint_weather_api_key", "menu.hint_weather_api_key",
"menu.hint_weather_api_version",
"menu.hint_weather_enabled", "menu.hint_weather_enabled",
"menu.hint_weather_location", "menu.hint_weather_location",
"menu.hint_weather_postalcode", "menu.hint_weather_postalcode",