diff options
author | chriszero <zerov83@gmail.com> | 2015-02-28 13:23:18 +0100 |
---|---|---|
committer | chriszero <zerov83@gmail.com> | 2015-02-28 13:23:18 +0100 |
commit | 92613bd473ee262d157ce4d562a7c77ecf696daa (patch) | |
tree | 72edd0ac31ef4bd92001a43d99516f16e6f0718c /plex.cpp | |
parent | d6339ad957b31ec4810777ef4c63f6e42a66d2c2 (diff) | |
download | vdr-plugin-plex-92613bd473ee262d157ce4d562a7c77ecf696daa.tar.gz vdr-plugin-plex-92613bd473ee262d157ce4d562a7c77ecf696daa.tar.bz2 |
Added translation. de_DE
Diffstat (limited to 'plex.cpp')
-rw-r--r-- | plex.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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"); } |