[tbb-commits] [torbutton/maint-1.9.6] Bug 21574.1: Add link for zh manual

gk at torproject.org gk at torproject.org
Wed Mar 1 20:48:50 UTC 2017


commit 6e601029d0e7768790ad01fd06dff61d5b14a50b
Author: Arthur Edelstein <arthuredelstein at gmail.com>
Date:   Mon Feb 27 08:39:06 2017 -0800

    Bug 21574.1: Add link for zh manual
---
 src/chrome/content/torbutton.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 0023390..26495a2 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -2411,7 +2411,7 @@ function torbutton_update_noscript_button()
 
 // Returns true if we should show the tor browser manual.
 function torbutton_show_torbrowser_manual() {
-  let availableLocales = ["en", "es", "fr", "pt"];
+  let availableLocales = ["en", "es", "fr", "pt", "zh"];
   let shortLocale = torbutton_get_general_useragent_locale().substring(0, 2);
   return availableLocales.indexOf(shortLocale) >= 0;
 }





More information about the tbb-commits mailing list