[tor-commits] [check/master] Translate JS strings

arlo at torproject.org arlo at torproject.org
Tue Dec 3 07:30:48 UTC 2013


commit 566ee1e00fd571f8e5495e925a1b3a5367146385
Author: Arlo Breault <arlolra at gmail.com>
Date:   Mon Dec 2 23:29:18 2013 -0800

    Translate JS strings
    
    Should have been part of the previous commit b0f9013.
---
 public/index.html |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/index.html b/public/index.html
index 7441f94..e95846a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -51,8 +51,8 @@
 {{ end }}
 {{ define "foot" }}
 <p id="js">
-  <script>document.getElementById("js").textContent = "JavaScript is enabled.";</script>
-  <noscript>JavaScript is disabled.</noscript>
+  <script>document.getElementById("js").textContent = "{{ GetText .Lang "JavaScript is enabled." }}";</script>
+  <noscript>{{ GetText .Lang "JavaScript is disabled." }}</noscript>
 </p>
 <script>
   document.getElementById("cl").addEventListener("change", function () {



More information about the tor-commits mailing list