Skip to content

Commit

Permalink
Fix i18n string with embedded newline.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Aug 24, 2011
1 parent 55eb681 commit f3a8bfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythplugins/mythzoneminder/mythzoneminder/zmliveplayer.cpp
Expand Up @@ -118,10 +118,11 @@ bool ZMLivePlayer::hideAll(void)
bool ZMLivePlayer::initMonitorLayout()
{
// if we haven't got any monitors there's not much we can do so bail out!
if (m_monitors->size() == 0)
if (m_monitors->empty())
{
LOG(VB_GENERAL, LOG_ERR, "Cannot find any monitors. Bailing out!");
ShowOkPopup(tr("Can't show live view.\nYou don't have any monitors defined!"));
ShowOkPopup(tr("Can't show live view.") + "\n" +
tr("You don't have any monitors defined!"));
return false;
}

Expand Down

0 comments on commit f3a8bfb

Please sign in to comment.