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

Bernie Innocenti bernie at codewiz.org
Sun Feb 19 23:50:17 EST 2012


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



More information about the Dextrose mailing list