changeset 475:647b293fae06

server side: restore forgotten i18n
author Goffi <goffi@goffi.org>
date Thu, 12 Jun 2014 16:29:14 +0200
parents 6700386291f1
children d6daa00ba564
files src/server/server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/server/server.py	Thu Jun 12 16:27:10 2014 +0200
+++ b/src/server/server.py	Thu Jun 12 16:29:14 2014 +0200
@@ -1013,7 +1013,7 @@
                            ['ssl_certificate', 'c', 'libervia.pem', _(u'PEM certificate with both private and public parts.').encode('utf-8'), str],
                            ['redirect_to_https', 'r', 1, _(u'Automatically redirect from HTTP to HTTPS.').encode('utf-8'), int],
                            ['security_warning', 'w', 1, _(u'Warn user that he is about to connect on HTTP.').encode('utf-8'), int],
-                           ['passphrase', 'k', '', (u"Passphrase for the SàT profile named '%s'" % C.SERVICE_PROFILE).encode('utf-8'), str],
+                           ['passphrase', 'k', '', _(u"Passphrase for the SàT profile named '%s'" % C.SERVICE_PROFILE).encode('utf-8'), str],
                            ['data_dir', 'd', DATA_DIR_DEFAULT, _(u'Data directory for Libervia').encode('utf-8'), coerceDataDir],
                           ] # options which are in sat.conf and on command line, see https://twistedmatrix.com/documents/current/api/twisted.python.usage.Options.html
     OPT_PARAMETERS_CFG = [['empty_password_allowed_warning_dangerous_list', None, '', None]] # Options which are in sat.conf only