[tor-commits] [bridgedb/master] Add TRANSLATORS note on which strings should never be translated.

isis at torproject.org isis at torproject.org
Fri May 16 18:52:52 UTC 2014


commit b8d627c44fd7e3b25afb47977f490bd17b198c14
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon May 5 18:54:38 2014 +0000

    Add TRANSLATORS note on which strings should never be translated.
    
    I put it here because this is the first translated string which ends up
    in the gettext .pot template file, and thus it ends up being included
    before any of the strings to translate.
---
 lib/bridgedb/HTTPServer.py |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index dc38082..e11073e 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -103,6 +103,22 @@ def replaceErrorPage(error, template_name=None):
                   % (template_name or 'template',
                      mako.exceptions.text_error_template().render()))
 
+    # TRANSLATORS: Please DO NOT translate the following words and/or phrases in
+    # any string (regardless of capitalization and/or punctuation):
+    #
+    # "bridge"
+    # "bridges"
+    # "BridgeDB"
+    # "pluggable transport"
+    # "pluggable transports"
+    # "obfs2"
+    # "obfs3"
+    # "scramblesuit"
+    # "fte"
+    # "Tor"
+    # "Tor Browser"
+    # "TBB"
+    #
     errmsg = _("Sorry! Something went wrong with your request.")
     rendered = """<html>
                     <head>





More information about the tor-commits mailing list