diff mercurial/hgweb/server.py @ 6953:63b5f4c73c98

i18n: mark strings for translation in Mercurial
author Martin Geisler <mg@daimi.au.dk>
date Sun, 31 Aug 2008 16:12:02 +0200
parents 18c429ea3a0e
children 59b4ae211584
line wrap: on
line diff
--- a/mercurial/hgweb/server.py	Sun Aug 31 16:12:02 2008 +0200
+++ b/mercurial/hgweb/server.py	Sun Aug 31 16:12:02 2008 +0200
@@ -259,7 +259,7 @@
                     from OpenSSL import SSL
                     ctx = SSL.Context(SSL.SSLv23_METHOD)
                 except ImportError:
-                    raise util.Abort("SSL support is unavailable")
+                    raise util.Abort(_("SSL support is unavailable"))
                 ctx.use_privatekey_file(ssl_cert)
                 ctx.use_certificate_file(ssl_cert)
                 sock = socket.socket(self.address_family, self.socket_type)