Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
torbutton
Commits
87e57187
Commit
87e57187
authored
Oct 26, 2017
by
Arthur Edelstein
Browse files
Bug 23997: Add link to Tor Browser manual for de, nl, tr, vi
parent
7ed85fa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chrome/content/torbutton.js
View file @
87e57187
...
...
@@ -2357,7 +2357,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
"
,
"
zh
"
];
let
availableLocales
=
[
"
de
"
,
"
en
"
,
"
es
"
,
"
fr
"
,
"
nl
"
,
"
pt
"
,
"
tr
"
,
"
vi
"
,
"
zh
"
];
let
shortLocale
=
torbutton_get_general_useragent_locale
().
substring
(
0
,
2
);
return
availableLocales
.
indexOf
(
shortLocale
)
>=
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment