Update of /cvsroot/freevo/freevo/src/www/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17370/src/www/htdocs
Modified Files: favorites.rpy Log Message: Add more i18n and fix bugs introduced by last i18n changes. Index: favorites.rpy =================================================================== RCS file: /cvsroot/freevo/freevo/src/www/htdocs/favorites.rpy,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** favorites.rpy 19 Feb 2004 04:57:59 -0000 1.11 --- favorites.rpy 22 Feb 2004 07:12:17 -0000 1.12 *************** *** 12,15 **** --- 12,18 ---- # ----------------------------------------------------------------------- # $Log$ + # Revision 1.12 2004/02/22 07:12:17 gsbarbieri + # Add more i18n and fix bugs introduced by last i18n changes. + # # Revision 1.11 2004/02/19 04:57:59 gsbarbieri # Support Web Interface i18n. *************** *** 170,178 **** for fav in favs: status = 'favorite' ! fv.tableRowOpen('class="chanrow"') fv.tableCell(fav.name, 'class="'+status+'" colspan="1"') fv.tableCell(fav.title, 'class="'+status+'" colspan="1"') ! fv.tableCell(fav.channel, 'class="'+status+'" colspan="1"') if fav.dow != 'ANY': --- 173,185 ---- for fav in favs: status = 'favorite' ! if fav.channel == 'ANY': ! fchan = _('ANY') ! else: ! fchan = fav.channel ! fv.tableRowOpen('class="chanrow"') fv.tableCell(fav.name, 'class="'+status+'" colspan="1"') fv.tableCell(fav.title, 'class="'+status+'" colspan="1"') ! fv.tableCell(fchan, 'class="'+status+'" colspan="1"') if fav.dow != 'ANY': *************** *** 191,196 **** # cell = '<input type="hidden" name="action" value="%s">' % action ! cell = '<a href="edit_favorite.rpy?action=edit&name=%s">Edit</a>, ' % fav.name.replace('&','%26') ! cell += '<a href="favorites.rpy?action=remove&name=%s">Remove</a>' % fav.name.replace('&','%26') fv.tableCell(cell, 'class="'+status+'" colspan="1"') --- 198,203 ---- # cell = '<input type="hidden" name="action" value="%s">' % action ! cell = ('<a href="edit_favorite.rpy?action=edit&name=%s">'+_('Edit')+'</a>, ') % fav.name.replace('&','%26') ! cell += ('<a href="favorites.rpy?action=remove&name=%s">'+_('Remove')+'</a>') % fav.name.replace('&','%26') fv.tableCell(cell, 'class="'+status+'" colspan="1"') *************** *** 199,203 **** if favs.index(fav) != 0: tmp_prio = int(fav.priority) - 1 ! cell += '<a href="favorites.rpy?action=bump&name=%s&priority=-1">'+_('Higher')+'</a>' % fav.name if favs.index(fav) != 0 and favs.index(fav) != len(favs)-1: --- 206,210 ---- if favs.index(fav) != 0: tmp_prio = int(fav.priority) - 1 ! cell += ('<a href="favorites.rpy?action=bump&name=%s&priority=-1">'+_('Higher')+'</a>') % fav.name if favs.index(fav) != 0 and favs.index(fav) != len(favs)-1: *************** *** 206,210 **** if favs.index(fav) != len(favs)-1: tmp_prio = int(fav.priority) + 1 ! cell += '<a href="favorites.rpy?action=bump&name=%s&priority=1">'+_('Lower')+'</a>' % fav.name fv.tableCell(cell, 'class="'+status+'" colspan="1"') --- 213,217 ---- if favs.index(fav) != len(favs)-1: tmp_prio = int(fav.priority) + 1 ! cell += ('<a href="favorites.rpy?action=bump&name=%s&priority=1">'+_('Lower')+'</a>') % fav.name fv.tableCell(cell, 'class="'+status+'" colspan="1"') ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Freevo-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-cvslog