Pier Angelo Vendrame pushed to branch base-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
36d58583
by Pier Angelo Vendrame at 2023-08-30T11:56:14+02:00
-
22073ee8
by Pier Angelo Vendrame at 2023-08-30T11:56:20+02:00
3 changed files:
- browser/base/content/aboutDialog.js
- browser/base/content/aboutDialog.xhtml
- browser/locales/en-US/browser/base-browser.ftl
Changes:
... | ... | @@ -43,19 +43,12 @@ function init() { |
43 | 43 | }
|
44 | 44 | |
45 | 45 | // Include the build ID and display warning if this is an "a#" (nightly or aurora) build
|
46 | - let versionId = "aboutDialog-version";
|
|
46 | + let versionId = "basebrowser-about-dialog-version";
|
|
47 | 47 | let versionAttributes = {
|
48 | - version: AppConstants.MOZ_APP_VERSION_DISPLAY,
|
|
49 | - bits: Services.appinfo.is64Bit ? 64 : 32,
|
|
48 | + version: AppConstants.BASE_BROWSER_VERSION,
|
|
49 | + firefoxVersion: AppConstants.MOZ_APP_VERSION_DISPLAY,
|
|
50 | 50 | };
|
51 | 51 | |
52 | - // Adjust version text to show the fork version
|
|
53 | - versionAttributes.version =
|
|
54 | - AppConstants.BASE_BROWSER_VERSION +
|
|
55 | - " (based on Mozilla Firefox " +
|
|
56 | - AppConstants.MOZ_APP_VERSION_DISPLAY +
|
|
57 | - ")";
|
|
58 | - |
|
59 | 52 | let version = Services.appinfo.version;
|
60 | 53 | if (/a\d+$/.test(version)) {
|
61 | 54 | document.getElementById("experimental").hidden = false;
|
... | ... | @@ -30,6 +30,7 @@ |
30 | 30 | <linkset>
|
31 | 31 | <html:link rel="localization" href="branding/brand.ftl"/>
|
32 | 32 | <html:link rel="localization" href="browser/aboutDialog.ftl"/>
|
33 | + <html:link rel="localization" href="browser/base-browser.ftl"/>
|
|
33 | 34 | </linkset>
|
34 | 35 | |
35 | 36 | <html:div id="aboutDialogContainer">
|
... | ... | @@ -23,3 +23,10 @@ basebrowser-rfp-restore-window-size-button-ak = R |
23 | 23 | |
24 | 24 | basebrowser-addon-badge-recommended = Mozilla only recommends extensions that meet their standards for security and performance
|
25 | 25 | basebrowser-addon-badge-verified = Mozilla has reviewed this extension to meet their standards for security and performance
|
26 | + |
|
27 | +## About dialog
|
|
28 | + |
|
29 | +# "Mozilla Firefox" should be treated like a brand and it should be neither translated nor transliterated.
|
|
30 | +# $version (String) - The current browser version. E.g. "12.5.3".
|
|
31 | +# $firefoxVersion (String) - The version number of Firefox the current browser is based on. E.g. "102.15.0esr".
|
|
32 | +basebrowser-about-dialog-version = { $version } (based on Mozilla Firefox { $firefoxVersion }) |