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
c6888df4
Verified
Commit
c6888df4
authored
Aug 1, 2024
by
henry
Committed by
Pier Angelo Vendrame
Aug 26, 2024
Browse files
Options
Downloads
Patches
Plain Diff
fixup! Bug 41600: Add a tor circuit display panel.
Bug 42661: Rerun update_emojis.py for the circuit flags. Add missing locales.
parent
91e5a254
Loading
Loading
1 merge request
!1135
Bug 43084: Rebased stable onto 115.15.0esr
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
browser/components/torcircuit/content/tor-circuit-flags/README.txt
+1
-1
1 addition, 1 deletion
...omponents/torcircuit/content/tor-circuit-flags/README.txt
tools/torbrowser/update_emojis.py
+10
-3
10 additions, 3 deletions
tools/torbrowser/update_emojis.py
with
11 additions
and
4 deletions
browser/components/torcircuit/content/tor-circuit-flags/README.txt
+
1
−
1
View file @
c6888df4
Generated by tools/torbrowser/update_emojis.py on 2023-04-03
\ No newline at end of file
Generated by tools/torbrowser/update_emojis.py on 2024-08-06
This diff is collapsed.
Click to expand it.
tools/torbrowser/update_emojis.py
+
10
−
3
View file @
c6888df4
...
...
@@ -17,6 +17,8 @@ SCRIPT_PATH = Path(__file__).relative_to(FIREFOX_ROOT)
LANGS
=
[
"
ar
"
,
"
be
"
,
"
bg
"
,
"
ca
"
,
"
cs
"
,
"
da
"
,
...
...
@@ -25,6 +27,7 @@ LANGS = [
"
en
"
,
"
es
"
,
"
fa
"
,
"
fi
"
,
"
fr
"
,
"
ga
"
,
"
he
"
,
...
...
@@ -39,12 +42,13 @@ LANGS = [
"
mk
"
,
"
ms
"
,
"
my
"
,
#
"nb", #
Empty file, currently!!
"
nb
"
,
#
no
"
nl
"
,
"
pl
"
,
"
pt
"
,
"
ro
"
,
"
ru
"
,
"
sq
"
,
"
sv
"
,
"
th
"
,
"
tr
"
,
...
...
@@ -57,7 +61,7 @@ LANGS = [
def
generated_message
():
"""
Get the message describing the generation script and time.
"""
date
=
datetime
.
date
.
isoformat
(
datetime
.
datetime
.
utc
now
())
date
=
datetime
.
date
.
isoformat
(
datetime
.
datetime
.
now
(
datetime
.
UTC
))
return
f
"
Generated by
{
SCRIPT_PATH
}
on
{
date
}
"
...
...
@@ -83,7 +87,7 @@ def copy_emoji_svgs(emoji_codepoints, from_dir, to_dir):
file
.
unlink
()
with
open
(
to_dir
/
"
README.txt
"
,
"
w
"
,
encoding
=
"
utf8
"
)
as
file
:
file
.
write
(
generated_message
())
file
.
write
(
generated_message
()
+
"
\n
"
)
def
get_flag_codepoints
(
file
):
...
...
@@ -195,6 +199,8 @@ def save_bridge_emoji_descriptions(from_dir):
filename
=
"
zh
"
elif
lang
==
"
zh-TW
"
:
filename
=
"
zh_Hant
"
elif
lang
==
"
nb
"
:
filename
=
"
no
"
else
:
filename
=
lang
with
open
(
...
...
@@ -204,6 +210,7 @@ def save_bridge_emoji_descriptions(from_dir):
with
open
(
BRIDGE_DIR
/
"
annotations.json
"
,
"
w
"
,
encoding
=
"
utf8
"
)
as
file
:
json
.
dump
(
data
,
file
,
ensure_ascii
=
False
,
indent
=
2
)
file
.
write
(
"
\n
"
)
parser
=
argparse
.
ArgumentParser
(
...
...
...
...
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