diff options
Diffstat (limited to 'ogcp')
-rw-r--r-- | ogcp/views.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ogcp/views.py b/ogcp/views.py index 9868e78..93514a3 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -2923,7 +2923,7 @@ def server_delete_post(): server = get_server_from_ip_port(ip_port_str) return delete_server(server) except Exception: - flash(_('Server {} do not exists').format(ip_port_str), + flash(_('Server {} does not exist').format(ip_port_str), category='error') return redirect(url_for('manage_servers')) @@ -3140,7 +3140,7 @@ def user_edit_get(): username = username_set.pop() user = get_user(username) if not user: - flash(_('User {} do not exists').format(username), category='error') + flash(_('User {} does not exist').format(username), category='error') return redirect(url_for('users')) form = EditUserForm() @@ -3193,7 +3193,7 @@ def user_edit_post(): username = form.username.data old_user_data = get_user(username) if not old_user_data: - flash(_('User {} do not exists').format(username), category='error') + flash(_('User {} does not exist').format(username), category='error') return redirect(url_for('users')) preserve_pwd = (not form.pwd.data and not form.pwd_confirm.data) @@ -3213,7 +3213,7 @@ def user_delete_get(): username = username_set.pop() user = get_user(username) if not user: - flash(_('User {} do not exists').format(username), category='error') + flash(_('User {} does not exist').format(username), category='error') return redirect(url_for('users')) form = DeleteUserForm() @@ -3266,7 +3266,7 @@ def user_delete_post(): username = form.username.data if not get_user(username): - flash(_('User {} do not exists').format(username), category='error') + flash(_('User {} does not exist').format(username), category='error') return redirect(url_for('users')) delete_user(username) |