From 9450b271f139c8fe0470811da4c5cf4b1c8030d3 Mon Sep 17 00:00:00 2001 From: chriszero Date: Sat, 28 Feb 2015 14:41:21 +0100 Subject: Correct titles in Plex-Browser --- plex.cpp | 5 ++++- po/de_DE.po | 8 ++++++-- 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: \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 \n" "Language-Team: LANGUAGE \n" "Language: de\n" @@ -56,6 +56,10 @@ msgstr "Untertitelspuren" msgid "None" msgstr "Leer" +#, c-format +msgid "Browse Plex - %s" +msgstr "Durchsuche Plex - %s" + #, c-format msgid "%s - Library" msgstr "%s - Bilbliotek" -- cgit v1.2.3