[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 566ee1e00fd571f8e5495e925a1b3a5367146385
Author: Arlo Breault <arlolra@xxxxxxxxx>
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 () {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits