summaryrefslogtreecommitdiff
path: root/plex.cpp
diff options
context:
space:
mode:
authorchriszero <zerov83@gmail.com>2015-02-28 13:23:18 +0100
committerchriszero <zerov83@gmail.com>2015-02-28 13:23:18 +0100
commit92613bd473ee262d157ce4d562a7c77ecf696daa (patch)
tree72edd0ac31ef4bd92001a43d99516f16e6f0718c /plex.cpp
parentd6339ad957b31ec4810777ef4c63f6e42a66d2c2 (diff)
downloadvdr-plugin-plex-92613bd473ee262d157ce4d562a7c77ecf696daa.tar.gz
vdr-plugin-plex-92613bd473ee262d157ce4d562a7c77ecf696daa.tar.bz2
Added translation. de_DE
Diffstat (limited to 'plex.cpp')
-rw-r--r--plex.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plex.cpp b/plex.cpp
index a8ad435..e34cd0e 100644
--- a/plex.cpp
+++ b/plex.cpp
@@ -46,7 +46,7 @@ void cPlexBrowser::CreateMenu()
for(std::vector<plexclient::Directory>::iterator it = pCont->m_vDirectories.begin(); it != pCont->m_vDirectories.end(); ++it) {
plexclient::Directory *pDir = &(*it);
- Add(new cPlexOsdItem( pDir->GetTitle().c_str(), pDir) );
+ Add(new cPlexOsdItem( tr(pDir->GetTitle().c_str()), pDir) );
}
}
@@ -196,15 +196,15 @@ cPlayMenu::cPlayMenu(const char *title, int c0, int c1, int c2, int c3, int c4)
//&(*it)
auto s1 = std::make_shared<plexclient::Plexservice>( &(*it) );
s1->StartUri = "/library/sections";
- Add(new cPlexOsdItem(Poco::format("%s - Library", it->GetServerName()).c_str(), s1));
+ Add(new cPlexOsdItem(Poco::format(tr("%s - Library"), it->GetServerName()).c_str(), s1));
auto s2 = std::make_shared<plexclient::Plexservice>( &(*it) );
s2->StartUri = "/video";
- Add(new cPlexOsdItem(Poco::format("%s - Video Channels", it->GetServerName()).c_str(), s2 ));
+ Add(new cPlexOsdItem(Poco::format(tr("%s - Video Channels"), it->GetServerName()).c_str(), s2 ));
}
if(Count() < 1) {
- Add(new cPlexOsdItem("No Plex Media Server found."), false);
+ Add(new cPlexOsdItem(tr("No Plex Media Server found.")), false);
}
}
@@ -332,7 +332,7 @@ cOsdObject *cMyPlugin::MainMenuAction(void)
}
if (ShowBrowser) {
- return new cPlexBrowser("Browse Plex", pPlexService);
+ return new cPlexBrowser(tr("Browse Plex"), pPlexService);
}
return new cPlayMenu("Plex");
}