[mythtv-commits] mythtv commit: r8620 - in trunk/mythtv/libs by danielk

mythtv@cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jan 15 22:10:13 UTC 2006


      Author: danielk
        Date: 2006-01-15 22:10:11 +0000 (Sun, 15 Jan 2006)
New Revision: 8620
   Changeset: http://cvs.mythtv.org/trac/changeset/8620

Modified:

   trunk/mythtv/libs/libmyth/mythcontext.cpp
   trunk/mythtv/libs/libmyth/mythcontext.h
   trunk/mythtv/libs/libmyth/themedmenu.cpp
   trunk/mythtv/libs/libmyth/virtualkeyboard.cpp
   trunk/mythtv/libs/libmyth/xmlparse.cpp
   trunk/mythtv/libs/libmythui/themedmenu.cpp

Log:

Closes #919, by applying patch.

The intent of the patch is to make it easier to translate variants of a language. If MythTV can't find a translation in pt_BR, it can pick up the pt_PT string instead. MythContext now returns the language and it's variant when you call GetLanguageAndVariant() and it returns just the language when you call GetLanguage(). I looked over the changed code and grep'ed for other uses of GetLanguage(), but if anyone sees a translation from a different variant than expected anywhere please reopen #919 with an error report.






More information about the mythtv-commits mailing list