[mythtv-commits] Ticket #1675: Recgroup Default saved translated instead of untranslated

MythTV mythtv at cvs.mythtv.org
Wed Apr 12 18:50:46 UTC 2006


#1675: Recgroup Default saved translated instead of untranslated
--------------------+-------------------------------------------------------
 Reporter:  oscar   |       Owner:  oscar
     Type:  defect  |      Status:  new  
 Priority:  minor   |   Milestone:  0.20 
Component:  mythtv  |     Version:  head 
 Severity:  medium  |  
--------------------+-------------------------------------------------------
 When selecting the default recording group in the recording settings,
 ManagedListItem::getValue() returns the translation for "Default" instead
 of the untranslated string, which results in all sorts of oddness.

 One possible solution would be something like this:

 {{{
         virtual const QString& getValue() const
         {
             if (valueText == tr("Default"))
                 return "Default";

             return valueText;
         }
 }}}

 but I'm not sure what else would be affected by that. Another solution
 would be to class SRRecGroup (and others) store the display value and the
 real value seperately.

 Fixing this should also include fixing the database, searching record and
 records for tr("Default").

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


More information about the mythtv-commits mailing list