Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as "Unknown" fix to SL#3097

2012-03-19 Thread Chris Leonard
After the crob job runs the POT updater script tonight and and updates Pootle's POT, I will update the language projects and land this in Pootle for L10n and commit. cjl On Mon, Mar 19, 2012 at 6:58 AM, Gonzalo Odiard wrote: > Pushed and the ticket closed. > Thanks again, and if is your first p

Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as "Unknown" fix to SL#3097

2012-03-19 Thread Kalpa Welivitigoda
On Mon, Mar 19, 2012 at 4:28 PM, Gonzalo Odiard wrote: > Pushed and the ticket closed. > Thanks again, and if is your first patch... welcome! > that's wow. yes it is my first to sugar. Thanks > Gonzalo > > > On Sat, Mar 17, 2012 at 5:16 PM, Kalpa Welivitigoda > wrote: >> >> On Sun, Mar 18, 2012

Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as "Unknown" fix to SL#3097

2012-03-19 Thread Gonzalo Odiard
Pushed and the ticket closed. Thanks again, and if is your first patch... welcome! Gonzalo On Sat, Mar 17, 2012 at 5:16 PM, Kalpa Welivitigoda wrote: > On Sun, Mar 18, 2012 at 1:06 AM, Gonzalo Odiard > wrote: > > Thanks Kalpa, > > What do you think about replacing: > > > > -catbox =

Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as "Unknown" fix to SL#3097

2012-03-17 Thread Kalpa Welivitigoda
On Sun, Mar 18, 2012 at 1:06 AM, Gonzalo Odiard wrote: > Thanks Kalpa, > What do you think about replacing: > > -            catbox = gtk.Label(c) > +            # If there is no category, display as Unknown > +            if c is '': > +                catbox = gtk.Label(_('Unknown')) > +        

Re: [Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as "Unknown" fix to SL#3097

2012-03-17 Thread Gonzalo Odiard
Thanks Kalpa, What do you think about replacing: -catbox = gtk.Label(c) +# If there is no category, display as Unknown +if c is '': +catbox = gtk.Label(_('Unknown')) +else: +catbox = gtk.Label(c) by: +# I

[Sugar-devel] [PATCH Finance] expenses with no category specified are displayed as "Unknown" fix to SL#3097

2012-03-17 Thread callkalpa
From: Kalpa Pathum Welivitigoda --- budgetscreen.py |6 +- chartscreen.py |7 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/budgetscreen.py b/budgetscreen.py index 0e2cd98..bcbceb5 100644 --- a/budgetscreen.py +++ b/budgetscreen.py @@ -96,7 +96,11 @@ class