Pier Angelo Vendrame pushed to branch mullvad-browser-128.6.0esr-14.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
69adf7a7 by Henry Wilkes at 2025-01-22T18:27:21+01:00
fixup! BB 42305: Add script to combine translation files across versions.
MB 324: Make the added comments also work for Mullvad Browser.
- - - - -
1 changed file:
- tools/base-browser/l10n/combine-translation-versions.py
Changes:
=====================================
tools/base-browser/l10n/combine-translation-versions.py
=====================================
@@ -98,6 +98,10 @@ class BrowserBranch:
self.name = branch_name
self.prefix = version_match.group("prefix")
self.browser_version = version_match.group("browser")
+ # Convert tor-browser to "Tor Browser", and similar.
+ browser_name = self.prefix.replace("-", " ").title()
+ self.browser_version_name = f"{browser_name} {self.browser_version}"
+
self._is_head = is_head
self._ref = "HEAD" if is_head else f"origin/{branch_name}"
@@ -306,7 +310,7 @@ for file_dict in json.loads(args.files):
name,
None if current_file is None else current_file.content,
None if stable_file is None else stable_file.content,
- f"Will be unused in Tor Browser {current_branch.browser_version}!",
+ f"Will be unused in {current_branch.browser_version_name}!",
)
if legacy_branch and not file_dict.get("exclude-legacy", False):
@@ -330,7 +334,7 @@ for file_dict in json.loads(args.files):
name,
content,
legacy_file.content,
- f"Unused in Tor Browser {stable_branch.browser_version}!",
+ f"Unused in {stable_branch.browser_version_name}!",
)
elif legacy_branch:
logger.info(f"Excluding legacy branch for {name}")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/69a…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/69a…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch base-browser-128.6.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits:
f1e7068c by Henry Wilkes at 2025-01-22T18:26:42+01:00
fixup! BB 42305: Add script to combine translation files across versions.
MB 324: Make the added comments also work for Mullvad Browser.
- - - - -
1 changed file:
- tools/base-browser/l10n/combine-translation-versions.py
Changes:
=====================================
tools/base-browser/l10n/combine-translation-versions.py
=====================================
@@ -98,6 +98,10 @@ class BrowserBranch:
self.name = branch_name
self.prefix = version_match.group("prefix")
self.browser_version = version_match.group("browser")
+ # Convert tor-browser to "Tor Browser", and similar.
+ browser_name = self.prefix.replace("-", " ").title()
+ self.browser_version_name = f"{browser_name} {self.browser_version}"
+
self._is_head = is_head
self._ref = "HEAD" if is_head else f"origin/{branch_name}"
@@ -306,7 +310,7 @@ for file_dict in json.loads(args.files):
name,
None if current_file is None else current_file.content,
None if stable_file is None else stable_file.content,
- f"Will be unused in Tor Browser {current_branch.browser_version}!",
+ f"Will be unused in {current_branch.browser_version_name}!",
)
if legacy_branch and not file_dict.get("exclude-legacy", False):
@@ -330,7 +334,7 @@ for file_dict in json.loads(args.files):
name,
content,
legacy_file.content,
- f"Unused in Tor Browser {stable_branch.browser_version}!",
+ f"Unused in {stable_branch.browser_version_name}!",
)
elif legacy_branch:
logger.info(f"Excluding legacy branch for {name}")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f1e7068…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f1e7068…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch tor-browser-128.6.0esr-14.5-1 at The Tor Project / Applications / Tor Browser
Commits:
ed4f395b by Henry Wilkes at 2025-01-22T17:18:39+00:00
fixup! BB 42305: Add script to combine translation files across versions.
MB 324: Make the added comments also work for Mullvad Browser.
- - - - -
1 changed file:
- tools/base-browser/l10n/combine-translation-versions.py
Changes:
=====================================
tools/base-browser/l10n/combine-translation-versions.py
=====================================
@@ -98,6 +98,10 @@ class BrowserBranch:
self.name = branch_name
self.prefix = version_match.group("prefix")
self.browser_version = version_match.group("browser")
+ # Convert tor-browser to "Tor Browser", and similar.
+ browser_name = self.prefix.replace("-", " ").title()
+ self.browser_version_name = f"{browser_name} {self.browser_version}"
+
self._is_head = is_head
self._ref = "HEAD" if is_head else f"origin/{branch_name}"
@@ -306,7 +310,7 @@ for file_dict in json.loads(args.files):
name,
None if current_file is None else current_file.content,
None if stable_file is None else stable_file.content,
- f"Will be unused in Tor Browser {current_branch.browser_version}!",
+ f"Will be unused in {current_branch.browser_version_name}!",
)
if legacy_branch and not file_dict.get("exclude-legacy", False):
@@ -330,7 +334,7 @@ for file_dict in json.loads(args.files):
name,
content,
legacy_file.content,
- f"Unused in Tor Browser {stable_branch.browser_version}!",
+ f"Unused in {stable_branch.browser_version_name}!",
)
elif legacy_branch:
logger.info(f"Excluding legacy branch for {name}")
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ed4f395…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/ed4f395…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch mullvad-browser-128.6.0esr-14.5-1 at The Tor Project / Applications / Mullvad Browser
Commits:
98f5c475 by Henry Wilkes at 2025-01-22T16:26:59+00:00
fixup! Add CI for Mullvad Browser
MB 324: Remove trailing comma from translation JSON.
- - - - -
1 changed file:
- .gitlab/ci/jobs/update-translations.yml
Changes:
=====================================
.gitlab/ci/jobs/update-translations.yml
=====================================
@@ -54,7 +54,7 @@
"name": "mullvad-browser.ftl",
"branch": "mullvad-browser",
"directory": "toolkit/toolkit/global"
- },
+ }
]'
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/98f…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/98f…
You're receiving this email because of your account on gitlab.torproject.org.