Schirrms wrote: > Hi, > > Some field weren't translated in Freevo 1.7.2. I found at least three of > these :
Tricky to add patches when they are in line in an email. :( Would you please use the tracker for these and please use the svn diff command. Thanks Duncan > > 'This one in the idlebar plugin, to translate 'Encoding server has no > job' :-) ) > ----------------------------------------------------------------------------------------------------- > --- plugins/idlebar/encoding.py.ori 2007-02-19 21:25:07.000000000 > +0100 > +++ plugins/idlebar/encoding.py 2007-03-31 21:07:32.000000000 +0200 > @@ -171,13 +171,13 @@ > (status, jobs) = self.listjobs() > if not status: > self.state = 'noserver' > - self.jobs = 'encoding server not running' > + self.jobs = _('encoding server not running') > self.draw_interval = 5000 > self.running = False > return 0; > if not jobs: > self.state = 'nojobs' > - self.jobs = 'encoding server has no jobs' > + self.jobs = _('encoding server has no jobs') > self.draw_interval = 5000 > self.running = False > return 0; > --------------------------------------------------------------------------------------------------- > > (This one, because selecting favorite through the TV, ANY TIME and ANY > DAY weren't translated in the choice list - they were translated in the > result, after programming) > ------------------------------------------------------------------------------------------------ > --- tv/program_display.py.ori 2007-03-16 13:14:36.000000000 +0100 > +++ tv/program_display.py 2007-05-07 11:27:47.000000000 +0200 > @@ -472,7 +472,7 @@ > """ > items = [] > > - items.append(menu.MenuItem('ANY DAY', action=self.alter_prop, > + items.append(menu.MenuItem(_('ANY DAY'), action=self.alter_prop, > arg=('dow', 'ANY'))) > > for i in range(len(self.week_days)): > @@ -493,7 +493,7 @@ > """ > items = [] > > - items.append(menu.MenuItem('ANY TIME', action=self.alter_prop, > + items.append(menu.MenuItem(_('ANY TIME'), action=self.alter_prop, > arg=('mod', 'ANY'))) > > for i in range(48): > ---------------------------------------------------------------------------------------------------- > > And a small one in the 'cd_burn' plugin : > -------------------------------------------------------------------------------------------------- > --- ./plugins/cd_burn.py~ 2007-02-20 21:10:05.000000000 +0100 > +++ ./plugins/cd_burn.py 2007-05-07 21:52:53.000000000 +0200 > @@ -779,7 +779,7 @@ > _debug_(_('Should show the menu? %i' % show_burn_menu), 2) > > if show_burn_menu: > - return [ (self.fill_menu, ('Burn CD')) ] > + return [ (self.fill_menu, _('Burn CD')) ] > else: > return [] > ----------------------------------------------------------------------------------------------------- > > Also, a typo in this one : > ------------------------------------------------------------------------------------------------------- > --- ./plugins/mpd.py~ 2007-01-06 10:37:02.000000000 +0100 > +++ ./plugins/mpd.py 2007-03-31 21:05:08.000000000 +0200 > @@ -96,7 +96,7 @@ > > def actions(self): > # return a list of actions for this item > - return [ ( self.start_detailed_interface, _('not sure waht to > do whit this') ) ] > + return [ ( self.start_detailed_interface, _('not sure what to > do with this') ) ] > > class MpdMainMenu(Item): > """ > --------------------------------------------------------------------------------------------------------- > (By the way, what is this plugin for ? mpd don't tell me a lot...) > > > Hope this can be useful, > -- > Pascal SCHIRRMANN > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel