diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 5b8b0feab..df68c1400 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -1940,6 +1940,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_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_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_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 diff --git a/data/locale/english.locale b/data/locale/english.locale index b7e41ae4a..997a7ba33 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -1940,6 +1940,7 @@ menu.hint_volume_digits Numeric display of the volumebar on/off menu.hint_volume_pos Select volume indicator position 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_version Select OpenWeather API version menu.hint_weather_enabled Enable or disable Weather support (openweathermap.org) menu.hint_weather_location Select your weather location menu.hint_weather_postalcode Select your weather location by postal code diff --git a/src/gui/weather_setup.cpp b/src/gui/weather_setup.cpp index 86c2e8356..9e83b636f 100644 --- a/src/gui/weather_setup.cpp +++ b/src/gui/weather_setup.cpp @@ -107,6 +107,7 @@ int CWeatherSetup::showWeatherSetup() #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); + mf_we->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_WEATHER_API_VERSION); ms_oservices->addItem(weather_api); CMenuForwarder *mf_wl = new CMenuForwarder(LOCALE_WEATHER_LOCATION, g_settings.weather_enabled, g_settings.weather_city, this, "select_location"); diff --git a/src/system/locals.h b/src/system/locals.h index 056901134..1284ece01 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -1967,6 +1967,7 @@ typedef enum LOCALE_MENU_HINT_VOLUME_POS, LOCALE_MENU_HINT_VOLUME_SIZE, LOCALE_MENU_HINT_WEATHER_API_KEY, + LOCALE_MENU_HINT_WEATHER_API_VERSION, LOCALE_MENU_HINT_WEATHER_ENABLED, LOCALE_MENU_HINT_WEATHER_LOCATION, LOCALE_MENU_HINT_WEATHER_POSTALCODE, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index fcbd3b1a7..028202794 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -1967,6 +1967,7 @@ const char * locale_real_names[] = "menu.hint_volume_pos", "menu.hint_volume_size", "menu.hint_weather_api_key", + "menu.hint_weather_api_version", "menu.hint_weather_enabled", "menu.hint_weather_location", "menu.hint_weather_postalcode",