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/69adf7a7a2fbef4ee3efdeafbb0d7406b0c2dae2
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/69adf7a7a2fbef4ee3efdeafbb0d7406b0c2dae2
You're receiving this email because of your account on gitlab.torproject.org.
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]