[mythtv-commits] Ticket #3406: MythWeb Host Name (Singular / Plural)

MythTV mythtv at cvs.mythtv.org
Fri May 4 14:23:39 UTC 2007


#3406: MythWeb Host Name (Singular / Plural)
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |       Owner:  xris   
     Type:  patch      |      Status:  new    
 Priority:  minor      |   Milestone:  unknown
Component:  mythweb    |     Version:  unknown
 Severity:  medium     |  
-----------------------+----------------------------------------------------
 In the weather display on MythWeb I am seeing an error when I have
 multiple backends (Master + Slave) that have the same weather area
 defined.  The weather.php module looks  at the number of backends with the
 same site, if more then one it states "Hosts", if only one it states
 "Host".

 File in SVN:
 trunk  /  mythplugins  /  mythweb  /  modules  /  weather  /  tmpl  /
 default  /  weather.php

 Line of the code in question: 29

 Code in question: tn('Host', 'Hosts', count($site->hosts)

 Resulting Error: !!NoTrans: Hosts!!: mythtv, mythtv-bedroom

 I have attached a patch that fixes the error for me.

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


More information about the mythtv-commits mailing list