From f62ef33bb5f13b2fba7e7bcce960f4c36df6329a Mon Sep 17 00:00:00 2001 From: Robert Strong Date: Wed, 11 Feb 2009 11:22:51 -0800 Subject: [PATCH] Bug 476331 - Replace InfoText with Info in updater.ini using sed in locales Makefile.in. r=mschroeder --- calendar/locales/en-US/updater/updater.ini | 2 +- calendar/sunbird/locales/Makefile.in | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/calendar/locales/en-US/updater/updater.ini b/calendar/locales/en-US/updater/updater.ini index 04733ebf3c..dfa0257306 100644 --- 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 +TitleText=%MOZ_APP_DISPLAYNAME% Update InfoText=%MOZ_APP_DISPLAYNAME% is installing your updates and will start in a few moments… diff --git a/calendar/sunbird/locales/Makefile.in b/calendar/sunbird/locales/Makefile.in index e33cac2aac..2d4fd5294f 100644 --- a/calendar/sunbird/locales/Makefile.in +++ b/calendar/sunbird/locales/Makefile.in @@ -75,10 +75,12 @@ 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/^InfoText=/Info=/" -e "s/^TitleText=/Title=/" | \ 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/^InfoText=/Info=/" -e "s/^TitleText=/Title=/" | \ sed -e "s/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" | \ sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini endif