mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
imdb: localize output
Origin commit data
------------------
Branch: ni/coolstream
Commit: 47d920a3e2
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-29 (Mon, 29 May 2017)
Origin message was:
------------------
- imdb: localize output
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -868,6 +868,20 @@ imageinfo.kernel Kernel:
|
|||||||
imageinfo.license Lizenz
|
imageinfo.license Lizenz
|
||||||
imageinfo.vcs Git:
|
imageinfo.vcs Git:
|
||||||
imageinfo.version Version:
|
imageinfo.version Version:
|
||||||
|
imdb.data_actors Darsteller
|
||||||
|
imdb.data_awards Awards
|
||||||
|
imdb.data_boxoffice Einspielergebnis
|
||||||
|
imdb.data_director Regisseur
|
||||||
|
imdb.data_failed Keine Daten gefunden
|
||||||
|
imdb.data_genre Genre
|
||||||
|
imdb.data_metascore Metascore
|
||||||
|
imdb.data_production Produktion
|
||||||
|
imdb.data_rating_failed Keine Bewertung
|
||||||
|
imdb.data_released Veröffentlicht
|
||||||
|
imdb.data_title Originaltitel
|
||||||
|
imdb.data_votes Stimmen
|
||||||
|
imdb.data_website Webseite
|
||||||
|
imdb.data_writer Drehbuchautor
|
||||||
imdb.info IMDb-Info
|
imdb.info IMDb-Info
|
||||||
imdb.info_save Bild speichern
|
imdb.info_save Bild speichern
|
||||||
inetradio.name Internetradio
|
inetradio.name Internetradio
|
||||||
|
@@ -868,6 +868,20 @@ imageinfo.kernel Kernel:
|
|||||||
imageinfo.license License
|
imageinfo.license License
|
||||||
imageinfo.vcs Git:
|
imageinfo.vcs Git:
|
||||||
imageinfo.version Version:
|
imageinfo.version Version:
|
||||||
|
imdb.data_actors Actors
|
||||||
|
imdb.data_awards Awards
|
||||||
|
imdb.data_boxoffice Boxoffice
|
||||||
|
imdb.data_director Director
|
||||||
|
imdb.data_failed No data found
|
||||||
|
imdb.data_genre Genre
|
||||||
|
imdb.data_metascore Metascore
|
||||||
|
imdb.data_production Production
|
||||||
|
imdb.data_rating_failed No rating
|
||||||
|
imdb.data_released Released
|
||||||
|
imdb.data_title Original title
|
||||||
|
imdb.data_votes Votes
|
||||||
|
imdb.data_website Website
|
||||||
|
imdb.data_writer Screenplay author
|
||||||
imdb.info IMDb-Info
|
imdb.info IMDb-Info
|
||||||
imdb.info_save save Cover
|
imdb.info_save save Cover
|
||||||
inetradio.name Internetradio
|
inetradio.name Internetradio
|
||||||
|
@@ -1668,7 +1668,7 @@ int CEpgData::showIMDb(bool splash)
|
|||||||
if (imdb_rating == "N/A")
|
if (imdb_rating == "N/A")
|
||||||
{
|
{
|
||||||
value = "0";
|
value = "0";
|
||||||
imdb_rating = "Keine Bewertung";
|
imdb_rating = g_Locale->getText(LOCALE_IMDB_DATA_RATING_FAILED);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
imdb_rating += "/10";
|
imdb_rating += "/10";
|
||||||
|
@@ -341,24 +341,23 @@ void CIMDB::getIMDbData(std::string& txt)
|
|||||||
{
|
{
|
||||||
if (m["imdbID"].empty() || m["Response"] != "True")
|
if (m["imdbID"].empty() || m["Response"] != "True")
|
||||||
{
|
{
|
||||||
txt = "Keine Daten gefunden";
|
txt = g_Locale->getText(LOCALE_IMDB_DATA_FAILED);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: localize
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_VOTES) + ": " + m["imdbVotes"] + "\n";
|
||||||
txt += "Stimmen: "+m["imdbVotes"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_METASCORE) + ": " + m["Metascore"] + (m["Metascore"] == "N/A" ? "\n" : "/100\n");
|
||||||
txt += "Metascore: "+m["Metascore"]+(m["Metascore"] == "N/A" ? "\n" : "/100\n");
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_TITLE) + ": " + m["Title"] + "\n";
|
||||||
txt += "Original-Titel: "+m["Title"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_RELEASED) + ": " + m["Released"] + " | " + m["Country"] + " | " + m["Runtime"] + "\n";
|
||||||
txt += "Datum: "+m["Released"]+" | "+m["Country"]+" | "+m["Runtime"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_GENRE) + ": " + m["Genre"] + "\n";
|
||||||
txt += "Genre: "+m["Genre"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_AWARDS) + ": " + m["Awards"] + "\n";
|
||||||
txt += "Awards: "+m["Awards"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_DIRECTOR) + ": " + m["Director"] + "\n";
|
||||||
txt += "Regisseur: "+m["Director"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_WRITER) + ": " + m["Writer"] + "\n";
|
||||||
txt += "Drehbuch: "+m["Writer"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_PRODUCTION) + ": " + m["Production"] + "\n";
|
||||||
txt += "Produktionsfirma: "+m["Production"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_WEBSITE) + ": " + m["Website"] + "\n";
|
||||||
txt += "Webseite: "+m["Website"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_BOXOFFICE) + ": " + m["BoxOffice"] + "\n";
|
||||||
txt += "Einspielergebnis: "+m["BoxOffice"]+"\n";
|
|
||||||
txt += "\n";
|
txt += "\n";
|
||||||
txt += "Darsteller: "+m["Actors"]+"\n";
|
txt += g_Locale->getString(LOCALE_IMDB_DATA_ACTORS) + ": " + m["Actors"] + "\n";
|
||||||
txt += "\n";
|
txt += "\n";
|
||||||
txt += m["Plot"];
|
txt += m["Plot"];
|
||||||
}
|
}
|
||||||
|
@@ -895,6 +895,20 @@ typedef enum
|
|||||||
LOCALE_IMAGEINFO_LICENSE,
|
LOCALE_IMAGEINFO_LICENSE,
|
||||||
LOCALE_IMAGEINFO_VCS,
|
LOCALE_IMAGEINFO_VCS,
|
||||||
LOCALE_IMAGEINFO_VERSION,
|
LOCALE_IMAGEINFO_VERSION,
|
||||||
|
LOCALE_IMDB_DATA_ACTORS,
|
||||||
|
LOCALE_IMDB_DATA_AWARDS,
|
||||||
|
LOCALE_IMDB_DATA_BOXOFFICE,
|
||||||
|
LOCALE_IMDB_DATA_DIRECTOR,
|
||||||
|
LOCALE_IMDB_DATA_FAILED,
|
||||||
|
LOCALE_IMDB_DATA_GENRE,
|
||||||
|
LOCALE_IMDB_DATA_METASCORE,
|
||||||
|
LOCALE_IMDB_DATA_PRODUCTION,
|
||||||
|
LOCALE_IMDB_DATA_RATING_FAILED,
|
||||||
|
LOCALE_IMDB_DATA_RELEASED,
|
||||||
|
LOCALE_IMDB_DATA_TITLE,
|
||||||
|
LOCALE_IMDB_DATA_VOTES,
|
||||||
|
LOCALE_IMDB_DATA_WEBSITE,
|
||||||
|
LOCALE_IMDB_DATA_WRITER,
|
||||||
LOCALE_IMDB_INFO,
|
LOCALE_IMDB_INFO,
|
||||||
LOCALE_IMDB_INFO_SAVE,
|
LOCALE_IMDB_INFO_SAVE,
|
||||||
LOCALE_INETRADIO_NAME,
|
LOCALE_INETRADIO_NAME,
|
||||||
|
@@ -895,6 +895,20 @@ const char * locale_real_names[] =
|
|||||||
"imageinfo.license",
|
"imageinfo.license",
|
||||||
"imageinfo.vcs",
|
"imageinfo.vcs",
|
||||||
"imageinfo.version",
|
"imageinfo.version",
|
||||||
|
"imdb.data_actors",
|
||||||
|
"imdb.data_awards",
|
||||||
|
"imdb.data_boxoffice",
|
||||||
|
"imdb.data_director",
|
||||||
|
"imdb.data_failed",
|
||||||
|
"imdb.data_genre",
|
||||||
|
"imdb.data_metascore",
|
||||||
|
"imdb.data_production",
|
||||||
|
"imdb.data_rating_failed",
|
||||||
|
"imdb.data_released",
|
||||||
|
"imdb.data_title",
|
||||||
|
"imdb.data_votes",
|
||||||
|
"imdb.data_website",
|
||||||
|
"imdb.data_writer",
|
||||||
"imdb.info",
|
"imdb.info",
|
||||||
"imdb.info_save",
|
"imdb.info_save",
|
||||||
"inetradio.name",
|
"inetradio.name",
|
||||||
|
Reference in New Issue
Block a user