summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-28 14:41:21 +0100
committerchriszero <zerov83@gmail.com>2015-02-28 14:41:21 +0100
commit9450b271f139c8fe0470811da4c5cf4b1c8030d3 (patch)
tree9cf9a2c17ef778dacd3309a771cd8af2f5cf9bb2
parent92613bd473ee262d157ce4d562a7c77ecf696daa (diff)
downloadvdr-plugin-plex-9450b271f139c8fe0470811da4c5cf4b1c8030d3.tar.gz
vdr-plugin-plex-9450b271f139c8fe0470811da4c5cf4b1c8030d3.tar.bz2
Correct titles in Plex-Browser
-rw-r--r--plex.cpp5
-rw-r--r--po/de_DE.po8
2 files changed, 10 insertions, 3 deletions
diff --git a/plex.cpp b/plex.cpp
index e34cd0e..da51bed 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -108,6 +108,8 @@ eOSState cPlexBrowser::LevelUp()
ShowBrowser = 0;
return osEnd;
}
+ cString title = cString::sprintf(tr("Browse Plex - %s"), tr(pCont->m_sTitle1.c_str()));
+ SetTitle(title);
CreateMenu();
return osContinue;
}
@@ -128,7 +130,8 @@ eOSState cPlexBrowser::ProcessSelected()
if(item->IsDir()) {
plexclient::Directory* pDir = item->GetAttachedDirectory();
pCont = pService->GetSection(pDir->m_sKey);
- //SetTitle(pDir->m_sTitle);
+ cString title = cString::sprintf(tr("Browse Plex - %s"), tr(pDir->m_sTitle.c_str()));
+ SetTitle(title);
CreateMenu();
return osContinue;
}
diff --git a/po/de_DE.po b/po/de_DE.po
index 082b262..d226e16 100644
--- a/po/de_DE.po
+++ b/po/de_DE.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: vdr-plex 0.1.0\n"
"Report-Msgid-Bugs-To: <see README>\n"
-"POT-Creation-Date: 2015-02-28 13:12+0100\n"
-"PO-Revision-Date: 2015-02-28 12:58+0200\n"
+"POT-Creation-Date: 2015-02-28 14:37+0100\n"
+"PO-Revision-Date: 2015-02-28 14:39+0200\n"
"Last-Translator: Chris <zerov83@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
@@ -57,6 +57,10 @@ msgid "None"
msgstr "Leer"
#, c-format
+msgid "Browse Plex - %s"
+msgstr "Durchsuche Plex - %s"
+
+#, c-format
msgid "%s - Library"
msgstr "%s - Bilbliotek"