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
1 changed file:
Changes:
... | ... | @@ -98,6 +98,10 @@ class BrowserBranch: |
98 | 98 | self.name = branch_name
|
99 | 99 | self.prefix = version_match.group("prefix")
|
100 | 100 | self.browser_version = version_match.group("browser")
|
101 | + # Convert tor-browser to "Tor Browser", and similar.
|
|
102 | + browser_name = self.prefix.replace("-", " ").title()
|
|
103 | + self.browser_version_name = f"{browser_name} {self.browser_version}"
|
|
104 | + |
|
101 | 105 | self._is_head = is_head
|
102 | 106 | self._ref = "HEAD" if is_head else f"origin/{branch_name}"
|
103 | 107 | |
... | ... | @@ -306,7 +310,7 @@ for file_dict in json.loads(args.files): |
306 | 310 | name,
|
307 | 311 | None if current_file is None else current_file.content,
|
308 | 312 | None if stable_file is None else stable_file.content,
|
309 | - f"Will be unused in Tor Browser {current_branch.browser_version}!",
|
|
313 | + f"Will be unused in {current_branch.browser_version_name}!",
|
|
310 | 314 | )
|
311 | 315 | |
312 | 316 | if legacy_branch and not file_dict.get("exclude-legacy", False):
|
... | ... | @@ -330,7 +334,7 @@ for file_dict in json.loads(args.files): |
330 | 334 | name,
|
331 | 335 | content,
|
332 | 336 | legacy_file.content,
|
333 | - f"Unused in Tor Browser {stable_branch.browser_version}!",
|
|
337 | + f"Unused in {stable_branch.browser_version_name}!",
|
|
334 | 338 | )
|
335 | 339 | elif legacy_branch:
|
336 | 340 | logger.info(f"Excluding legacy branch for {name}")
|