Verified Commit 9cb8573b authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! Bug 4234: Use the Firefox Update Process for Base Browser.

Bug 41528: Localized the version string in the about dialog
parent c086e4fe
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -43,19 +43,12 @@ function init() {
  }

  // Include the build ID and display warning if this is an "a#" (nightly or aurora) build
  let versionId = "aboutDialog-version";
  let versionId = "basebrowser-about-dialog-version";
  let versionAttributes = {
    version: AppConstants.MOZ_APP_VERSION_DISPLAY,
    bits: Services.appinfo.is64Bit ? 64 : 32,
    version: AppConstants.BASE_BROWSER_VERSION,
    firefoxVersion: AppConstants.MOZ_APP_VERSION_DISPLAY,
  };

  // Adjust version text to show the fork version
  versionAttributes.version =
    AppConstants.BASE_BROWSER_VERSION +
    " (based on Mozilla Firefox " +
    AppConstants.MOZ_APP_VERSION_DISPLAY +
    ")";

  let version = Services.appinfo.version;
  if (/a\d+$/.test(version)) {
    document.getElementById("experimental").hidden = false;
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@
  <linkset>
    <html:link rel="localization" href="branding/brand.ftl"/>
    <html:link rel="localization" href="browser/aboutDialog.ftl"/>
    <html:link rel="localization" href="browser/base-browser.ftl"/>
  </linkset>

  <html:div id="aboutDialogContainer">