Bug 365404 - Updater should use brand name string and not hardcode Sunbird. r=ctalbert
authorRobert Strong <robert.bugzilla@gmail.com>
Thu, 22 Jan 2009 09:12:46 -0800
changeset 1720 3f42754a51184416f5944ec07576e8a265105b68
parent 1719 3335d5d6ae7d73c7adeadd493c481c109c6c9052
child 1721 1a9b710f8ea632ad0220bcfd0fa5c1c60df2548b
push id1380
push userrstrong@mozilla.com
push dateThu, 22 Jan 2009 17:13:23 +0000
treeherdercomm-central@3f42754a5118 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersctalbert
bugs365404
Bug 365404 - Updater should use brand name string and not hardcode Sunbird. r=ctalbert
calendar/locales/en-US/updater/updater.ini
calendar/sunbird/locales/Makefile.in
--- a/calendar/locales/en-US/updater/updater.ini
+++ b/calendar/locales/en-US/updater/updater.ini
@@ -1,4 +1,4 @@
 ; This file is in the UTF-8 encoding
 [Strings]
 Title=Software Update
-Info=Sunbird is installing your updates and will start in a few moments…
+InfoText=%MOZ_APP_DISPLAYNAME% is installing your updates and will start in a few moments…
--- a/calendar/sunbird/locales/Makefile.in
+++ b/calendar/sunbird/locales/Makefile.in
@@ -70,14 +70,16 @@ ifeq ($(OS_ARCH),WINNT)
 else
 	$(INSTALL) $^ $(FINAL_TARGET)
 endif
 
 ifdef MOZ_UPDATER
 libs:: $(addprefix $(LOCALE_SRCDIR)/,updater/updater.ini)
 ifeq ($(OS_ARCH),WINNT)
 	cat $< $(srcdir)/updater_append.ini $(srcdir)/../../installer/windows/nsis/updater_append.ini | \
+	  sed -e "s/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" | \
 	  sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini
 else
 	cat $< $(srcdir)/updater_append.ini | \
+	  sed -e "s/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" | \
 	  sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini
 endif
 endif