Bug 476331 - Replace InfoText with Info in updater.ini using sed in locales Makefile.in. r=mschroeder

This commit is contained in:
Robert Strong 2009-02-11 11:22:51 -08:00
Родитель 4e3b368257
Коммит f62ef33bb5
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -1,4 +1,4 @@
; This file is in the UTF-8 encoding ; This file is in the UTF-8 encoding
[Strings] [Strings]
Title=Software Update TitleText=%MOZ_APP_DISPLAYNAME% Update
InfoText=%MOZ_APP_DISPLAYNAME% 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…

Просмотреть файл

@ -75,10 +75,12 @@ ifdef MOZ_UPDATER
libs:: $(addprefix $(LOCALE_SRCDIR)/,updater/updater.ini) libs:: $(addprefix $(LOCALE_SRCDIR)/,updater/updater.ini)
ifeq ($(OS_ARCH),WINNT) ifeq ($(OS_ARCH),WINNT)
cat $< $(srcdir)/updater_append.ini $(srcdir)/../../installer/windows/nsis/updater_append.ini | \ 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/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" | \
sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini
else else
cat $< $(srcdir)/updater_append.ini | \ 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/%MOZ_APP_DISPLAYNAME%/$(MOZ_APP_DISPLAYNAME)/" | \
sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/updater.ini
endif endif