Pier Angelo Vendrame pushed to branch tor-browser-115.2.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

3 changed files:

Changes:

  • browser/base/content/aboutDialog.js
    ... ... @@ -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;
    

  • browser/base/content/aboutDialog.xhtml
    ... ... @@ -36,6 +36,7 @@
    36 36
       <linkset>
    
    37 37
         <html:link rel="localization" href="branding/brand.ftl"/>
    
    38 38
         <html:link rel="localization" href="browser/aboutDialog.ftl"/>
    
    39
    +    <html:link rel="localization" href="browser/base-browser.ftl"/>
    
    39 40
       </linkset>
    
    40 41
     
    
    41 42
       <html:div id="aboutDialogContainer">
    

  • browser/locales/en-US/browser/base-browser.ftl
    ... ... @@ -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 })