Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fenix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
The Tor Project
Applications
fenix
Commits
460d5891
"README.md" did not exist on "base-browser-115.11.0esr-13.0-1-build1"
Unverified
Commit
460d5891
authored
4 years ago
by
Matthew Finkel
Browse files
Options
Downloads
Patches
Plain Diff
Bug 40071: Show only supported locales
parent
4a7a5f7b
No related branches found
Branches containing commit
No related tags found
1 merge request
!42
Bug 40071: Show only supported locales
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/build.gradle
+1
-1
1 addition, 1 deletion
app/build.gradle
with
1 addition
and
1 deletion
app/build.gradle
+
1
−
1
View file @
460d5891
...
...
@@ -589,7 +589,7 @@ task buildTranslationArray {
foundLocales
.
append
(
"new String[]{"
)
fileTree
(
"src/main/res"
).
visit
{
FileVisitDetails
details
->
if
(
details
.
file
.
path
.
endsWith
(
"/strings.xml"
)){
if
(
details
.
file
.
path
.
endsWith
(
"/
torbrowser_
strings.xml"
)){
def
languageCode
=
details
.
file
.
parent
.
tokenize
(
'/'
).
last
().
replaceAll
(
'values-'
,
''
).
replaceAll
(
'-r'
,
'-'
)
languageCode
=
(
languageCode
==
"values"
)
?
"en-US"
:
languageCode
languageCodes
.
add
(
languageCode
)
...
...
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
register
or
sign in
to comment