Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Tor Browser
Commits
11e289c3
Verified
Commit
11e289c3
authored
Jun 24, 2024
by
Pier Angelo Vendrame
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser
Update the comment.
parent
051896ef
Branches
Branches containing commit
No related tags found
1 merge request
!1043
Bug 42616: Rebased alpha onto Firefox 128.0b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
browser/components/about/AboutRedirector.cpp
+3
-4
3 additions, 4 deletions
browser/components/about/AboutRedirector.cpp
with
3 additions
and
4 deletions
browser/components/about/AboutRedirector.cpp
+
3
−
4
View file @
11e289c3
...
...
@@ -222,10 +222,9 @@ static nsAutoCString GetManualChromeURI() {
nsAutoCString
reqLocale
;
intl
::
LocaleService
::
GetInstance
()
->
GetAppLocaleAsBCP47
(
reqLocale
);
// Check every time the URL is needed in case the lang has been changed.
// We do not provide multi-language builds at the moment, so this should not
// happen, at least in Tor Browser desktop, but we prepared the patch to be
// ready also in such a case.
// Check every time the URL is needed in case the locale has changed.
// It might help also if we start allowing to change language, e.g., with a
// get parameter (see tor-browser#42675).
if
(
!
locales
.
Contains
(
reqLocale
)
&&
reqLocale
.
Length
()
>
2
&&
reqLocale
[
2
]
==
'-'
)
{
// At the moment, codes in our manual output are either 2 letters (en) or
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment