[Dextrose] [PATCH sugar] sl#2890: Changing to more user-friendly message.

Ajay Garg ajay at activitycentral.com
Mon Feb 20 01:01:40 EST 2012


Ahh.. Thanks for pointing (the mistake).

Floated version-2 patch, containing the secondary message as well.
The version-2 patch is available at
http://patchwork.sugarlabs.org/patch/1203/

Thanks and Regards,
Ajay

On Mon, Feb 20, 2012 at 10:20 AM, Bernie Innocenti <bernie at codewiz.org>wrote:

> On Sun, 2012-02-19 at 13:09 +0530, Ajay Garg wrote:
> > Earlier, the "Regsitration failed" message seemed more like a threat.
> > The new message sounds more like an information-conveying one.
> >
> > The new message is ::
> >
> > Primary (title) :
> > ------------------
> > No School Server found on the network
>
> Sounds much more helpful than the prevuos message.
>
>
> > Secondary (details) :
> > ----------------------
> > Please ensure that you are connected to the correct network and that the
> server is available.
>
> Also useful, but I don't see this in the code below.
>
>
> >  src/jarabe/desktop/favoritesview.py |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> >
> > diff --git a/src/jarabe/desktop/favoritesview.py
> b/src/jarabe/desktop/favoritesview.py
> > index 81e32c8..e9c87ea 100644
> > --- a/src/jarabe/desktop/favoritesview.py
> > +++ b/src/jarabe/desktop/favoritesview.py
> > @@ -337,7 +337,7 @@ class FavoritesView(hippo.Canvas):
> >          try:
> >              schoolserver.register_laptop()
> >          except RegisterError, e:
> > -            alert.props.title = _('Registration Failed')
> > +            alert.props.title = _('No School Server found on the
> network')
> >              alert.props.msg = _('%s') % e
> >          else:
> >              alert.props.title = _('Registration Successful')
>
> --
>  _ // Bernie Innocenti
>  \X/  http://codewiz.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20120220/b1903f8f/attachment.html>


More information about the Dextrose mailing list