Fix the notification bar messages that show up when you click 'Save Changes' button. It only works on Edit views right now.
Patch by: Madhusudan C.S
Reviewed by: Pawel Solyga
--- a/app/soc/views/helper/params.py Fri Jan 30 17:44:31 2009 +0000
+++ b/app/soc/views/helper/params.py Fri Jan 30 20:16:53 2009 +0000
@@ -170,7 +170,7 @@
}
new_params['list_description'] = DEF_LIST_DESCRIPTION_FMT % params
- new_params['save_message'] = [ugettext('Profile saved.')]
+ new_params['save_message'] = [ugettext('%(name)s saved.' % params)]
new_params['submit_msg_param_name'] = DEF_SUBMIT_MSG_PARAM_NAME
new_params['edit_params'] = {
DEF_SUBMIT_MSG_PARAM_NAME: DEF_SUBMIT_MSG_PROFILE_SAVED,