From bea212a8d1fbf314b5a40e8828d17ab9d0bec27a Mon Sep 17 00:00:00 2001 From: shortcutme Date: Sat, 7 Jan 2017 01:09:05 +0100 Subject: [PATCH] Fix certAdd error --- src/Ui/UiWebsocket.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ui/UiWebsocket.py b/src/Ui/UiWebsocket.py index 2aab28ac..b2717b27 100644 --- a/src/Ui/UiWebsocket.py +++ b/src/Ui/UiWebsocket.py @@ -518,13 +518,13 @@ class UiWebsocket(object): if res is True: self.cmd( "notification", - ["done", _("{_[New certificate added:]} {auth_type}/{auth_user_name}@{domain}.")] + ["done", _("{_[New certificate added]:} {auth_type}/{auth_user_name}@{domain}.")] ) self.response(to, "ok") elif res is False: # Display confirmation of change cert_current = self.user.certs[domain] - body = _("{_[You current certificate:]} {cert_current[auth_type]}/{cert_current[auth_user_name]}@{domain}") + body = _("{_[Your current certificate]:} {cert_current[auth_type]}/{cert_current[auth_user_name]}@{domain}") self.cmd( "confirm", [body, _("Change it to {auth_type}/{auth_user_name}@{domain}")],