Browse Source

Bug 16940: After update, load local change notes.

Include the localizable strings for the about:tbupdate page
in Torbutton.
Kathy Brade 4 years ago
parent
commit
9b800ffc66

+ 3 - 0
src/chrome.manifest

@@ -12,6 +12,9 @@ override chrome://branding/locale/brand.dtd chrome://torbutton/locale/brand.dtd
 override chrome://branding/locale/brand.properties chrome://torbutton/locale/brand.properties
 overlay chrome://browser/content/aboutDialog.xul chrome://torbutton/content/aboutDialog.xul
 
+# Strings for the about:tbupdate page
+override chrome://browser/locale/aboutTBUpdate.dtd chrome://torbutton/locale/aboutTBUpdate.dtd
+
 locale torbutton af chrome/locale/af/
 locale torbutton ak chrome/locale/ak/
 locale torbutton am chrome/locale/am/

+ 6 - 0
src/chrome/locale/en/aboutTBUpdate.dtd

@@ -0,0 +1,6 @@
+<!ENTITY aboutTBUpdate.title "Tor Browser Update">
+<!ENTITY aboutTBUpdate.updated "Tor Browser has been updated.">
+<!ENTITY aboutTBUpdate.linkPrefix "For the most up-to-date information about this release, ">
+<!ENTITY aboutTBUpdate.linkLabel  "visit our website">
+<!ENTITY aboutTBUpdate.linkSuffix ".">
+<!ENTITY aboutTBUpdate.changeLogHeading "Changelog:">

+ 1 - 0
trans_tools/import-translations.sh

@@ -17,6 +17,7 @@ LOCALE_DIR=../src/chrome/locale
 FILEMAP=( "aboutDialog.dtd:torbutton-aboutdialogdtd"
           "aboutTor.dtd:abouttor-homepage"
           "aboutTor.properties:torbutton-abouttorproperties"
+          "aboutTBUpdate.dtd:torbutton-abouttbupdatedtd"
           "brand.dtd:torbutton-branddtd"
           "brand.properties:torbutton-brandproperties"
           "torbutton.dtd:torbutton-torbuttondtd"