[mythtv-commits] Ticket #13126: 'Listings' not showing movie rating for non-English languages

MythTV noreply at mythtv.org
Sun Sep 17 23:30:19 UTC 2017


#13126: 'Listings' not showing movie rating for non-English languages
---------------------------------------------+--------------------------
     Reporter:  Francois Gouget <fgouget@…>  |      Owner:  stuartm
         Type:  Patch - Bug Fix              |     Status:  new
     Priority:  minor                        |  Milestone:  needs_triage
    Component:  MythTV - Web Frontend        |    Version:  Master Head
     Severity:  medium                       |   Keywords:  patch
Ticket locked:  0                            |
---------------------------------------------+--------------------------
 Following bug 13125 I switched my session language from English to French.
 This allowed me to recover the right category markup on the 'Listings'
 page.

 However I immediately lost the star rating information for movies. For
 instance with my session language set to English I had:

     Daredevil (2003, ★★½)

 But as soon as I switched to French all I had left was:

     Daredevil

 Win some, lose some :-(

 At least the fix for this one is easy: $program->category_type is not
 localized so it should be compared to 'movie' not t('movie') in
 modules/tv/tmpl/default/list_cell_program.php.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13126>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list