[mythtv-commits] Ticket #5913: Enabling translation of screen names in mythweather

MythTV mythtv at cvs.mythtv.org
Sun Nov 16 17:20:43 UTC 2008


#5913: Enabling translation of screen names in mythweather
---------------------------------------------------+------------------------
 Reporter:  meik <meik.piepmeyer.lists at online.de>  |       Owner:  ijr 
     Type:  enhancement                            |      Status:  new 
 Priority:  minor                                  |   Milestone:  0.22
Component:  mythweather                            |     Version:  head
 Severity:  low                                    |     Mlocked:  0   
---------------------------------------------------+------------------------
 Currently, the screen names are not translated (e.g."current conditions").
 This patch enables the translation of that name, both when viewing the
 weather screens and when setting up the screens.

 The struct {{{ScreenListInfo}}} stores a field {{{name}}}. This is
 currently used as an identifier for the type of screen and as the
 displayed name. Te patch adds the field {{{title}}} which will hold the
 translated name to be displayed. The {{{name}}} field will only be used as
 an identifier.

 Now {{{ScreenListInfo}}} holds the translated {{{title}}}, so there is no
 need to pass the name of the screen to the constuctors of the
 {{{WeatherScreen}}}s anymore.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5913>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list