Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix translation of <template> in <clock> markup.

  • Loading branch information...
commit c49b78049f5846e5f78b9037b5f04ccbb7c014b0 1 parent fe354d9
Stuart Morgan stuartm authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  mythtv/libs/libmythui/mythuiclock.cpp
2  mythtv/libs/libmythui/mythuiclock.cpp
@@ -86,6 +86,8 @@ bool MythUIClock::ParseElement(
element.tagName() == "template")
QString format = parseText(element);
+ format = qApp->translate("ThemeUI", format.toUtf8(), NULL,
+ QCoreApplication::UnicodeUTF8);
format.replace("%TIME%", m_TimeFormat, Qt::CaseInsensitive);
format.replace("%DATE%", m_DateFormat, Qt::CaseInsensitive);
format.replace("%SHORTDATE%", m_ShortDateFormat, Qt::CaseInsensitive);
Please sign in to comment.
Something went wrong with that request. Please try again.