[mythtv-commits] mythtv/master commit: d9c00bdf8 by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Tue Apr 26 01:18:04 UTC 2011


      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-04-25T18:12:50-07:00
   Push Date:  2011/04/25 18:18:02 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  d9c00bdf8a93d7973f7eac52ee20370e98736266
   Changeset:  https://github.com/MythTV/mythtv/commit/d9c00bdf8

Log:

Add support for <i18n> translation tag in .qsp and .qjs files.

Text between <i18n> and </i18n> will be run through QObject::tr()
before being processed by the scripting engine.  The values are
translated as the file is read in, so the translated values are
cached as part of the parsed script.

Translations are not yet enabled in mythbackend, and the HTML
setup webpages do not use the <i18n> tags yet, so there are not
yet any visible effects from this patch.

This modifies the binary API version, so make clean, etc..

Modified:

   mythtv/libs/libmythbase/mythversion.h
   mythtv/libs/libmythupnp/serverSideScripting.cpp
   mythtv/libs/libmythupnp/serverSideScripting.h



More information about the mythtv-commits mailing list