diff --git a/data/locale/deutsch.locale b/data/locale/deutsch.locale index 70e5504d4..cf1ad78ed 100644 --- a/data/locale/deutsch.locale +++ b/data/locale/deutsch.locale @@ -2354,6 +2354,7 @@ timing.infobar_radio Infobar (Radiobetrieb) timing.menu Menü timing.numericzap Umschalten mit Zifferntasten timing.volumebar Lautstärkeanzeige +tmdb.read_data Suche TMDB Daten... unicable.lnb Unicable Eingang unicable.qrg Unicable Frequenz unicable.scr Unicable SCR diff --git a/data/locale/english.locale b/data/locale/english.locale index 9e5391b59..e60cf5a4c 100644 --- a/data/locale/english.locale +++ b/data/locale/english.locale @@ -2354,6 +2354,7 @@ timing.infobar_radio Infobar (radio mode) timing.menu Menu timing.numericzap Numeric Zap timing.volumebar Volume bar +tmdb.read_data Search TMDB Data... unicable.lnb Unicable Input unicable.qrg Unicable Frequency unicable.scr Unicable SCR diff --git a/data/locale/nederlands.locale b/data/locale/nederlands.locale index 3ba931bec..68dbea5bc 100644 --- a/data/locale/nederlands.locale +++ b/data/locale/nederlands.locale @@ -2196,6 +2196,7 @@ timing.infobar_radio Infobalk (radio modus) timing.menu Menu timing.numericzap Numeriek Zap timing.volumebar Volume balk +tmdb.read_data Zoeken TMDB data... unicable.lnb Invoer Unicable unicable.qrg Unicable Frequentie unicable.scr Unicable SCR diff --git a/data/locale/slovak.locale b/data/locale/slovak.locale index 9469975cd..9651642ef 100644 --- a/data/locale/slovak.locale +++ b/data/locale/slovak.locale @@ -2296,6 +2296,7 @@ timing.infobar_radio Stavový riadok (rádio mód) timing.menu Menu timing.numericzap Prepínanie číslami timing.volumebar Ukazovateľ hlasitosti +tmdb.read_data Hľadaj TMDB dáta... unicable.lnb Vstup Unicable unicable.qrg Kmitočet Unicable unicable.scr SCR Unicable diff --git a/src/gui/tmdb.cpp b/src/gui/tmdb.cpp index 05e08d722..f295d2dbe 100644 --- a/src/gui/tmdb.cpp +++ b/src/gui/tmdb.cpp @@ -36,6 +36,7 @@ #include "system/settings.h" #include "system/helpers.h" #include "system/set_threadname.h" +#include "gui/widget/hintbox.h" #include @@ -73,10 +74,18 @@ cTmdb::cTmdb(std::string epgtitle) key = g_settings.tmdb_api_key; #endif + CHintBox* box = new CHintBox(LOCALE_MESSAGEBOX_INFO, g_Locale->getText(LOCALE_TMDB_READ_DATA)); + box->paint(); + std::string lang = Lang2ISO639_1(g_settings.language); GetMovieDetails(lang); if ((minfo.result < 1 || minfo.overview.empty()) && lang != "en") GetMovieDetails("en"); + + if (box != NULL) { + box->hide(); + delete box; + } } cTmdb::~cTmdb() diff --git a/src/system/locals.h b/src/system/locals.h index 3bed3f77c..bd76e37d4 100644 --- a/src/system/locals.h +++ b/src/system/locals.h @@ -2381,6 +2381,7 @@ typedef enum LOCALE_TIMING_MENU, LOCALE_TIMING_NUMERICZAP, LOCALE_TIMING_VOLUMEBAR, + LOCALE_TMDB_READ_DATA, LOCALE_UNICABLE_LNB, LOCALE_UNICABLE_QRG, LOCALE_UNICABLE_SCR, diff --git a/src/system/locals_intern.h b/src/system/locals_intern.h index 24eb84ac0..320b7b794 100644 --- a/src/system/locals_intern.h +++ b/src/system/locals_intern.h @@ -2381,6 +2381,7 @@ const char * locale_real_names[] = "timing.menu", "timing.numericzap", "timing.volumebar", + "tmdb.read_data", "unicable.lnb", "unicable.qrg", "unicable.scr",