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

Ajay Garg ajay at activitycentral.com
Sun Feb 19 02:39:28 EST 2012


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



Secondary (details) :
----------------------
Please ensure that you are connected to the correct network and that the server is available.

 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')
-- 
1.7.4.4



More information about the Dextrose mailing list