# HG changeset patch # User Goffi # Date 1402583354 -7200 # Node ID 647b293fae0623d77b203a9159e58d5fa822b1a6 # Parent 6700386291f1229848d348b2241b8496498a7093 server side: restore forgotten i18n diff -r 6700386291f1 -r 647b293fae06 src/server/server.py --- 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