Bug 286108 - build Thunderbird locales from CVS: repackaging and installer changes to match the Firefox packaging process r=gandalf+mscott a=asa

This commit is contained in:
bsmedberg%covad.net 2005-05-13 19:54:01 +00:00
Родитель 5bc7b6cdd9
Коммит ad657e7507
14 изменённых файлов: 470 добавлений и 395 удалений

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

@ -298,10 +298,7 @@ clean clobber::
rm -rf $(DIST)/$(APP_NAME).app rm -rf $(DIST)/$(APP_NAME).app
endif endif
README_FILE = $(srcdir)/README.txt
libs:: libs::
$(INSTALL) $(README_FILE) $(DIST)/bin
$(INSTALL) $(topsrcdir)/mail/LICENSE.txt $(DIST)/bin $(INSTALL) $(topsrcdir)/mail/LICENSE.txt $(DIST)/bin
libs:: $(srcdir)/profile/prefs.js libs:: $(srcdir)/profile/prefs.js

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

@ -43,17 +43,56 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
CONFIG_DIR=$(shell cygpath -a $(srcdir)) include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
CONFIG_DIR=$(shell cygpath -a instgen)
OBJ_DIR=$(shell cygpath -a $(DEPTH)) OBJ_DIR=$(shell cygpath -a $(DEPTH))
SRC_DIR=$(shell cygpath -a $(topsrcdir)) SRC_DIR=$(shell cygpath -a $(topsrcdir))
ifeq (,$(INSTALLER_URL)) PP_LOCALIZED_FILES = \
INSTALLER_URL = "http://ftp.mozilla.org/pub/mozilla.org/pub/thunderbird/nightly/latest-trunk/windows-xpi" basemail-win \
endif uninstall.it \
installer.cfg \
$(NULL)
INSTALLER_FILES = \
config.it \
app.tag \
adt.jst \
mail.jst \
newsblog.jst \
offline.jst \
talkback.jst \
xpcom.jst \
7zip.bat \
$(NULL)
DEFINES += -DAB_CD=$(AB_CD) -DPKG_BASENAME=$(PKG_BASENAME) -DMOZ_APP_VERSION=$(MOZ_APP_VERSION)
include $(topsrcdir)/config/config.mk
include $(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/installer/windows/charset.mk
installer: installer:
cd $(topsrcdir)/toolkit/mozapps/installer && perl build_static.pl -config "$(CONFIG_DIR)" -srcDir "$(SRC_DIR)" -objDir "$(OBJ_DIR)" -aurl "$(INSTALLER_URL)" $(NSINSTALL) -D instgen
cd $(topsrcdir)/toolkit/mozapps/installer/windows/msi && perl make-msi.pl -config "$(CONFIG_DIR)" -srcDir "$(SRC_DIR)" -objDir "$(OBJ_DIR)" -project thunderbird $(INSTALL) $(addprefix $(srcdir)/,$(INSTALLER_FILES)) instgen
iconv -f UTF-8 -t $(WIN_INSTALLER_CHARSET) $(call EXPAND_LOCALE_SRCDIR,mail/locales)/installer/installer.inc > instgen/installer.inc
$(EXIT_ON_ERROR) \
for i in $(PP_LOCALIZED_FILES); do \
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) \
$(srcdir)/$$i > instgen/$$i; \
done
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) \
$(srcdir)/ab-CD.jst > instgen/$(AB_CD).jst
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) \
-I$(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/installer/windows/install.it \
$(srcdir)/install.it instgen/installer.inc > instgen/install.it
cd $(topsrcdir)/toolkit/mozapps/installer && \
perl build_static.pl -config "$(CONFIG_DIR)" -srcDir "$(SRC_DIR)" \
-objDir "$(OBJ_DIR)"
cd $(topsrcdir)/toolkit/mozapps/installer/windows/msi && \
perl make-msi.pl -config "$(CONFIG_DIR)" -srcDir "$(SRC_DIR)" \
-objDir "$(OBJ_DIR)" -project thunderbird
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk

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

@ -1,3 +1,5 @@
#filter substitution
// main // main
var srDest; var srDest;
var err; var err;
@ -7,16 +9,8 @@ logComment("initInstall");
// end // end
// end - OS type detection // end - OS type detection
// ----LOCALIZATION NOTE: translate only these ------
var prettyName = "English (US) Language Pack";
var chromeNode = "en-US";
// --- END CHANGABLE STUFF ---
var regName = "locales/mozilla/" + chromeNode;
var chromeName = chromeNode + "-mail.jar";
var localeName = "locale/" + chromeNode + "/";
srDest = $SpaceRequired$:bin; srDest = $SpaceRequired$:bin;
err = initInstall(prettyName, chromeNode, "$Version$"); err = initInstall("@AB_CD@ Langpack", "@AB_CD@", "$Version$");
logComment("initInstall: " + err); logComment("initInstall: " + err);
fProgram = getFolder("Program"); fProgram = getFolder("Program");

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

@ -1,22 +1,14 @@
#filter substitution
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Base Thunderbird Package File for Win32 ; Base Thunderbird Package File for Win32
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[langenus] [@AB_CD@]
bin\chrome\en-US.jar bin\chrome\@AB_CD@.jar
bin\chrome\en-win.jar bin\chrome\@AB_CD@.manifest
bin\chrome\en-US.manifest
bin\chrome\mail-locales.manifest bin\chrome\mail-locales.manifest
[regus]
bin\defaults\profile\US\localstore.rdf
bin\defaults\profile\US\mimeTypes.rdf
[deflenus]
bin\defaults\messenger\mailViews.dat bin\defaults\messenger\mailViews.dat
bin\defaults\profile\localstore.rdf
bin\defaults\profile\prefs.js
bin\defaults\profile\mimeTypes.rdf
[xpcom] [xpcom]
bin\xpcom.dll bin\xpcom.dll
@ -70,6 +62,10 @@ bin\README.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Mail Specific Files ; Mail Specific Files
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
bin\defaults\profile\localstore.rdf
bin\defaults\profile\prefs.js
bin\defaults\profile\mimeTypes.rdf
bin\components\addrbook.xpt bin\components\addrbook.xpt
bin\components\mime.xpt bin\components\mime.xpt
bin\components\mailnews.xpt bin\components\mailnews.xpt

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

@ -182,49 +182,33 @@ Verify Existence=
[Dialog Welcome] [Dialog Welcome]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Welcome_Title}
Title=$ProductName$ Setup MessageWelcome={Welcome_MessageWelcome}
;*** LOCALIZE ME BABY *** Message0={Welcome_Message0}
MessageWelcome=Welcome to %s! Message1={Welcome_Message1}
;*** LOCALIZE ME BABY *** Message2={Welcome_Message2}
Message0=You are about to install %s $Version$. Message3={Welcome_Message3}
;*** LOCALIZE ME BABY ***
Message1=It is strongly recommended that you exit all Windows programs before running this Setup program.
;*** LOCALIZE ME BABY ***
Message2=Click Cancel to quit Setup and then close any programs you have running. Click Next to continue the Setup program.
;*** LOCALIZE ME BABY ***
Message3=Click Next to continue installing %s $Version$.
[Dialog License] [Dialog License]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={License_Title}
Title=Software License Agreement Sub Title={License_SubTitle}
;*** LOCALIZE ME BABY ***
Sub Title=Terms and conditions for using this software.
License File=license.txt License File=license.txt
;*** LOCALIZE ME BABY *** Message0={License_Message0}
Message0=Please read the following license agreement. Use the scroll bar to view the rest of this agreement. RadioAccept={License_Accept}
;*** LOCALIZE ME BABY *** RadioDecline={License_Decline}
RadioAccept=I &Accept the terms of the License Agreement
;*** LOCALIZE ME BABY ***
RadioDecline=I do NO&T Accept the terms of the License Agreement
[Dialog Setup Type] [Dialog Setup Type]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Type_Title}
Title=Setup Type Sub Title={Type_SubTitle}
;*** LOCALIZE ME BABY *** Message0={Type_Message0}
Sub Title=Choose setup options.
;*** LOCALIZE ME BABY ***
Message0=Choose the type of Setup you prefer, then click Next.
; at least one Setup Type needs to be set, and up to 4 can be ; at least one Setup Type needs to be set, and up to 4 can be
; set (Setup Type0, Setup Type1, Setup Type2, Setup Type3). ; set (Setup Type0, Setup Type1, Setup Type2, Setup Type3).
[Setup Type0] [Setup Type0]
;*** LOCALIZE ME BABY *** Description Short={Standard_Short}
Description Short=&Standard Description Long={Standard_Long}
;*** LOCALIZE ME BABY ***
Description Long=Thunderbird will be installed with the most common options.
; List of components to install/enable for this Setup Type. ; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if ; All other components not listed here will be disabled if
@ -232,19 +216,16 @@ Description Long=Thunderbird will be installed with the most common options.
C0=Component XPCOM C0=Component XPCOM
C1=Component Mail C1=Component Mail
C2=Component Uninstaller C2=Component Uninstaller
C3=Component US English Profile Defaults C3=Component Langpack
C4=Component En US lang pack C4=Component Offline
C5=Component Offline C5=Component RSS
C6=Component RSS
; Make sure Component QFA is LAST so 3rd party developers who might not want ; Make sure Component QFA is LAST so 3rd party developers who might not want
; this component can easily remove it. ; this component can easily remove it.
C7=Component QFA C6=Component QFA
[Setup Type1] [Setup Type1]
;*** LOCALIZE ME BABY *** Description Short={Custom_Short}
Description Short=&Custom Description Long={Custom_Long}
;*** LOCALIZE ME BABY ***
Description Long=You may choose individual options to be installed. Recommended for experienced users.
; List of components to install/enable for this Setup Type. ; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if ; All other components not listed here will be disabled if
@ -252,32 +233,25 @@ Description Long=You may choose individual options to be installed. Recommended
C0=Component XPCOM C0=Component XPCOM
C1=Component Mail C1=Component Mail
C2=Component Uninstaller C2=Component Uninstaller
C3=Component US English Profile Defaults C3=Component Langpack
C4=Component En US lang pack C4=Component Offline
C5=Component Offline C5=Component RSS
C6=Component RSS
;C7=Component ADT ;C7=Component ADT
; Make sure Component QFA is LAST so 3rd party developers who might not want ; Make sure Component QFA is LAST so 3rd party developers who might not want
; this component can easily remove it. ; this component can easily remove it.
C7=Component QFA C6=Component QFA
[Dialog Select Components] [Dialog Select Components]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Select_Title}
Title=Select Components Sub Title={Select_SubTitle}
;*** LOCALIZE ME BABY *** Message0={Select_Message0}
Sub Title=Additional components that enhance $ProductName$.
;*** LOCALIZE ME BABY ***
Message0=Choose additional components you want to install, then click Next.
[Dialog Select Install Path] [Dialog Select Install Path]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Path_Title}
Title=Install Folder Sub Title={Path_SubTitle}
;*** LOCALIZE ME BABY *** Message0={Path_Message0}
Sub Title=Where $ProductName$ will be installed.
;*** LOCALIZE ME BABY ***
Message0=$ProductName$ will be installed into the following folder:
[Dialog Upgrade] [Dialog Upgrade]
Show Dialog=FALSE Show Dialog=FALSE
@ -312,40 +286,31 @@ Message0=Select or clear the additional components you want to install.
; Note - this dialog isn't actually used yet! ; Note - this dialog isn't actually used yet!
Show Dialog=TRUE Show Dialog=TRUE
Registry Key=SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main Registry Key=SOFTWARE\\$CompanyName$\\$ProductName$\\$UserAgent$\\Main
;*** LOCALIZE ME BABY *** Title={Integration_Title}
Title=Set Up Shortcuts Sub Title={Integration_SubTitle}
;*** LOCALIZE ME BABY *** Message0={Integration_Message0}
Sub Title=Creates Program Icons
;*** LOCALIZE ME BABY ***
Message0=Create icons for $ProductShortName$:
; Only a maximum of 3 "Windows Integration-Item"s are allowded. Each Item ; Only a maximum of 3 "Windows Integration-Item"s are allowded. Each Item
; shows up as a checkbox in the Windows Integration dialog. ; shows up as a checkbox in the Windows Integration dialog.
[Windows Integration-Item0] [Windows Integration-Item0]
CheckBoxState=FALSE CheckBoxState=FALSE
;*** LOCALIZE ME BABY *** Description={Integration_Desktop}
Description=On my Desktop
Archive= Archive=
[Windows Integration-Item1] [Windows Integration-Item1]
CheckBoxState=TRUE CheckBoxState=TRUE
;*** LOCALIZE ME BABY *** Description={Integration_StartMenu}
Description=In my Start Menu Programs folder
Archive= Archive=
[Windows Integration-Item2] [Windows Integration-Item2]
CheckBoxState=TRUE CheckBoxState=TRUE
;*** LOCALIZE ME BABY *** Description={Integration_QuickLaunch}
Description=In my Quick Launch bar
Archive= Archive=
[Dialog Program Folder] [Dialog Program Folder]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={SelectFolder_Title}
Title=$ProductName$ Setup - Select Program Folder Message0={SelectFolder_Message0}
;*** LOCALIZE ME BABY ***
Message0=Setup will add program icons to the Program Folder listed below. You may type a new folder name, or select one from the Existing Folders list. Click Next to continue.
[Dialog Additional Options] [Dialog Additional Options]
Show Dialog=TRUE Show Dialog=TRUE
@ -364,10 +329,8 @@ Recapture Homepage=FALSE
[Dialog Advanced Settings] [Dialog Advanced Settings]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Advanced_Title}
Title=$ProductName$ Setup - Advanced Settings Message0={Advanced_Message0}
;*** LOCALIZE ME BABY ***
Message0=If your Internet connection requires a proxy server, enter your server name and port information. If your Internet connection doesn't require a proxy server, leave the fields blank.
Proxy Server= Proxy Server=
Proxy Port= Proxy Port=
Proxy User= Proxy User=
@ -406,55 +369,35 @@ Turbo Mode Enabled=TRUE
[Dialog Start Install] [Dialog Start Install]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Install_Title}
Title=Summary Sub Title={Install_SubTitle}
;*** LOCALIZE ME BABY *** Message Install={Install_MessageInstall}
Sub Title=Ready to start installing $ProductName$. Message Download={Install_MessageDownload}
;*** LOCALIZE ME BABY *** Message0={Install_Message0}
Message Install=Setup will now install the following components:
;*** LOCALIZE ME BABY ***
Message Download=Setup will now download and install the following components:
;*** LOCALIZE ME BABY ***
Message0=Click Next to continue.
[Dialog Downloading] [Dialog Downloading]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Downloading_Title}
Title=Downloading Sub Title={Downloading_SubTitle}
;*** LOCALIZE ME BABY *** Blurb={Downloading_Blurb}
Sub Title=Downloading required components... File Name={Downloading_FileName}
;*** LOCALIZE ME BABY *** Time Remaining={Downloading_Time}
Blurb=Setup is downloading the files required to install $ProductName$.
;*** LOCALIZE ME BABY ***
File Name=Currently Downloading:
;*** LOCALIZE ME BABY ***
Time Remaining=Time Remaining:
[Dialog Installing] [Dialog Installing]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Installing_Title}
Title=Installing Sub Title={Installing_SubTitle}
;*** LOCALIZE ME BABY *** Blurb={Installing_Blurb}
Sub Title=Installing $ProductName$... Status File={Installing_Status}
;*** LOCALIZE ME BABY *** Status Component={Installing_Component}
Blurb=Setup is installing application files.
;*** LOCALIZE ME BABY ***
Status File=Preparing File:
;*** LOCALIZE ME BABY ***
Status Component=Currently Installing:
[Dialog Install Successful] [Dialog Install Successful]
Show Dialog=TRUE Show Dialog=TRUE
;*** LOCALIZE ME BABY *** Title={Success_Title}
Title=Install Complete MessageHeader={Success_Header}
;*** LOCALIZE ME BABY *** Message0={Success_Message0}
MessageHeader=Install Complete Message1={Success_Message1}
;*** LOCALIZE ME BABY *** Launch App={Success_Launch}
Message0=%s $Version$ was successfully installed.
;*** LOCALIZE ME BABY ***
Message1=Click Finish to complete Setup.
;*** LOCALIZE ME BABY ***
Launch App=Launch %s $Version$ now.
Launch App Checked=TRUE Launch App Checked=TRUE
[Dialog Download] [Dialog Download]
@ -482,12 +425,9 @@ Class Name=ThunderbirdMessageWindow
Window Name= Window Name=
Process Name=$MainExeFile$ Process Name=$MainExeFile$
Pretty Name=$ProductNameInternal$ Pretty Name=$ProductNameInternal$
;*** LOCALIZE ME BABY *** Message={Check_Message}
Message=Download of $ProductName$ was successful. $ProductNameInternal$ must be closed to proceed with installation. Click OK to exit $ProductNameInternal$ automatically and to begin installation. Message Full Installer={Check_FullMessage}
;*** LOCALIZE ME BABY *** Message wait={Check_Wait}
Message Full Installer=$ProductNameInternal$ must be closed to proceed with installation. Click OK to exit $ProductNameInternal$ automatically and to begin installation.
;*** LOCALIZE ME BABY ***
Message wait=Shutting down $ProductNameInternal$. Please wait...
; This key indicates whether or not to close all the windows associated with ; This key indicates whether or not to close all the windows associated with
; the process id of this app instance window found. ; the process id of this app instance window found.
@ -595,9 +535,8 @@ Extra Cmd0 Parameter=-kill
;for it's xpinstall engine from the TEMP dir. The files that ;for it's xpinstall engine from the TEMP dir. The files that
;this component has are already in Component GRE. ;this component has are already in Component GRE.
[Component XPCOM] [Component XPCOM]
Description Short=Cross Platform COM Description Short={Component_XPCOM}
;*** LOCALIZE ME BABY *** Description Long={Component_XPCOM}
Description Long=Cross Platform COM
Archive=xpcom.xpi Archive=xpcom.xpi
$InstallSize$:xpcom $InstallSize$:xpcom
$InstallSizeSystem$ $InstallSizeSystem$
@ -606,9 +545,8 @@ Attributes=SELECTED|INVISIBLE
FileCount=$FileCount$ FileCount=$FileCount$
[Component Mail] [Component Mail]
Description Short=$ProductName$ Mail Description Short={Component_Mail}
;*** LOCALIZE ME BABY *** Description Long={Component_Mail}
Description Long=The $ProductName$ Mail
Archive=mail.xpi Archive=mail.xpi
$InstallSize$:mail $InstallSize$:mail
$InstallSizeSystem$ $InstallSizeSystem$
@ -618,9 +556,8 @@ Force Upgrade File0=[SETUP PATH]\$MainExeFile$
FileCount=$FileCount$ FileCount=$FileCount$
[Component Offline] [Component Offline]
Description Short=Offline Support Description Short={Component_Offline}
;*** LOCALIZE ME BABY *** Description Long={Component_Offline_Long}
Description Long=Adds Offline support to $ProductName$ Mail.
Archive=offline.xpi Archive=offline.xpi
$InstallSize$:offline $InstallSize$:offline
$InstallSizeArchive$:offline.xpi $InstallSizeArchive$:offline.xpi
@ -629,9 +566,8 @@ Force Upgrade File0=[SETUP PATH]\chrome\offline.jar
FileCount=$FileCount$ FileCount=$FileCount$
[Component RSS] [Component RSS]
Description Short=RSS Support Description Short={Component_RSS}
;*** LOCALIZE ME BABY *** Description Long={Component_RSS_Long}
Description Long=Adds RSS support to $ProductName$ Mail.
Archive=newsblog.xpi Archive=newsblog.xpi
$InstallSize$:newsblog $InstallSize$:newsblog
$InstallSizeArchive$:newsblog.xpi $InstallSizeArchive$:newsblog.xpi
@ -652,8 +588,7 @@ FileCount=$FileCount$
[Component Uninstaller] [Component Uninstaller]
Description Short=$CompanyName$ Uninstaller Description Short=$CompanyName$ Uninstaller
;*** LOCALIZE ME BABY *** Description Long=$CompanyName$ Uninstaller
Description Long=Uninstaller for $ProductName$
Archive=$UninstallFileZip$ Archive=$UninstallFileZip$
$InstallSize$:$UninstallFileZip$ $InstallSize$:$UninstallFileZip$
$InstallSizeSystem$ $InstallSizeSystem$
@ -667,35 +602,20 @@ FileCount=$FileCount$
[Component Uninstaller-Destination Path0] [Component Uninstaller-Destination Path0]
Path=[WINDIR] Path=[WINDIR]
[Component US English Profile Defaults] [Component Langpack]
Description Short=US English Defaults Description Short={AB_CD} {LANGPACK_TITLE}
;*** LOCALIZE ME BABY *** Description Long={AB_CD} {LANGPACK_TITLE}
Description Long=US English Default Profile Data Archive={AB_CD}.xpi
Archive=deflenus.xpi Install Size=512
$InstallSize$:deflenus Install Size System=1
$InstallSizeSystem$ Install Size Archive=512
$InstallSizeArchive$:deflenus.xpi
Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\defaults\profile\bookmarks.html Force Upgrade File0=[SETUP PATH]\chrome\{AB_CD}.jar
FileCount=$FileCount$
[Component En US lang pack]
;*** LOCALIZE ME BABY ***
Description Short=English (US) Language Pack
;*** LOCALIZE ME BABY ***
Description Long=English (US) Language Pack
Archive=langenus.xpi
$InstallSize$:langenus
$InstallSizeSystem$
$InstallSizeArchive$:langenus.xpi
Attributes=SELECTED|INVISIBLE|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\chrome\en-US.jar
FileCount=$FileCount$ FileCount=$FileCount$
[Component QFA] [Component QFA]
Description Short=Quality Feedback Agent Description Short={Component_QFA}
;*** LOCALIZE ME BABY *** Description Long={Component_QFA_Long}
Description Long=for reporting $ProductName$ crash information
Archive=talkback.xpi Archive=talkback.xpi
$InstallSize$:talkback $InstallSize$:talkback
$InstallSizeSystem$ $InstallSizeSystem$
@ -882,7 +802,6 @@ Condition=RecaptureHPChecked
[Windows Registry0] [Windows Registry0]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$ Key=Software\$CompanyName$
Name= Name=
Name Value= Name Value=
@ -896,7 +815,6 @@ Timing=pre smartupdate
[Windows Registry1] [Windows Registry1]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$ Key=Software\$CompanyName$\$ProductName$
Name= Name=
Name Value= Name Value=
@ -910,7 +828,6 @@ Timing=pre smartupdate
[Windows Registry2] [Windows Registry2]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$ Key=Software\$CompanyName$\$ProductName$\$UserAgent$
Name= Name=
Name Value= Name Value=
@ -924,7 +841,6 @@ Timing=pre smartupdate
[Windows Registry3] [Windows Registry3]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main
Name=Program Folder Path Name=Program Folder Path
Name Value=[Default Folder] Name Value=[Default Folder]
@ -938,7 +854,6 @@ Timing=pre smartupdate
[Windows Registry4] [Windows Registry4]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall
Name=Description Name=Description
Name Value=$ProductName$ ($UserAgentShort$) Name Value=$ProductName$ ($UserAgentShort$)
@ -952,7 +867,6 @@ Timing=pre smartupdate
[Windows Registry5] [Windows Registry5]
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall
Name=Uninstall Log Folder Name=Uninstall Log Folder
Name Value=[SETUP PATH]\uninstall Name Value=[SETUP PATH]\uninstall
@ -966,7 +880,6 @@ Timing=pre smartupdate
[Windows Registry6] [Windows Registry6]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$ Key=Software\$CompanyName$
Name= Name=
Name Value= Name Value=
@ -980,7 +893,6 @@ Timing=pre smartupdate
[Windows Registry7] [Windows Registry7]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$ Key=Software\$CompanyName$\$ProductName$
Name= Name=
Name Value= Name Value=
@ -994,7 +906,6 @@ Timing=pre smartupdate
[Windows Registry8] [Windows Registry8]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$ Key=Software\$CompanyName$\$ProductName$\$UserAgent$
Name= Name=
Name Value= Name Value=
@ -1008,7 +919,6 @@ Timing=pre smartupdate
[Windows Registry9] [Windows Registry9]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Main
Name=Program Folder Path Name=Program Folder Path
Name Value=[Default Folder] Name Value=[Default Folder]
@ -1022,7 +932,6 @@ Timing=pre smartupdate
[Windows Registry10] [Windows Registry10]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall
Name=Description Name=Description
Name Value=$ProductName$ ($UserAgentShort$) Name Value=$ProductName$ ($UserAgentShort$)
@ -1036,7 +945,6 @@ Timing=pre smartupdate
[Windows Registry11] [Windows Registry11]
Root Key=HKEY_CURRENT_USER Root Key=HKEY_CURRENT_USER
;*** LOCALIZE ME BABY ***
Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall Key=Software\$CompanyName$\$ProductName$\$UserAgent$\Uninstall
Name=Uninstall Log Folder Name=Uninstall Log Folder
Name Value=[SETUP PATH]\uninstall Name Value=[SETUP PATH]\uninstall
@ -1065,7 +973,6 @@ Timing=post smartupdate
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$) Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
Name=UninstallString Name=UninstallString
;*** LOCALIZE ME BABY ***
Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$" Name Value=[WINDIR]\$UninstallFile$ /ua "$UserAgent$"
Type=REG_SZ Type=REG_SZ
Decrypt Key=FALSE Decrypt Key=FALSE
@ -1170,7 +1077,6 @@ Timing=post smartupdate
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$) Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
Name=URLInfoAbout Name=URLInfoAbout
;*** LOCALIZE ME BABY ***
Name Value=http://www.mozilla.org/ Name Value=http://www.mozilla.org/
Type=REG_SZ Type=REG_SZ
Decrypt Key=FALSE Decrypt Key=FALSE
@ -1184,7 +1090,6 @@ Timing=post smartupdate
Root Key=HKEY_LOCAL_MACHINE Root Key=HKEY_LOCAL_MACHINE
Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$) Key=Software\Microsoft\Windows\CurrentVersion\Uninstall\$ProductName$ ($UserAgentShort$)
Name=URLUpdateInfo Name=URLUpdateInfo
;*** LOCALIZE ME BABY ***
Name Value=http://www.mozilla.org/products/thunderbird/ Name Value=http://www.mozilla.org/products/thunderbird/
Type=REG_SZ Type=REG_SZ
Decrypt Key=FALSE Decrypt Key=FALSE

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

@ -1,42 +0,0 @@
// main
var srDest;
var err;
var fProgram;
// ----LOCALIZATION NOTE: translate only these ------
var prettyName = "US English profile default";
var regName = "defaults/mozilla/en-US";
// --- END CHANGABLE STUFF ---
srDest = $SpaceRequired$:bin;
err = initInstall(prettyName, regName, "$Version$");
logComment("initInstall: " + err);
fProgram = getFolder("Program");
logComment("fProgram: " + fProgram);
if(verifyDiskSpace(fProgram, srDest))
{
setPackageFolder(fProgram);
err = addDirectory("",
"$Version$",
"bin", // dir name in jar to extract
fProgram, // Where to put this file (Returned from GetFolder)
"", // subdir name to create relative to fProgram
true); // Force Flag
logComment("addDirectory() returned: " + err);
// check return value
if(err == SUCCESS)
{
err = performInstall();
logComment("performInstall() returned: " + err);
}
else
cancelInstall(err);
}
else
cancelInstall(INSUFFICIENT_DISK_SPACE);
// end main

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

@ -1,137 +1,3 @@
[General] #filter substitution
FONTNAME=MS Sans Serif AB_CD=@AB_CD@
FONTSIZE=8 LANGPACK_TITLE=Language Pack
CHARSET=0
;Here is a partial list CHAR_SETS
; ANSI_CHARSET = 0
; DEFAULT_CHARSET = 1
; SYMBOL_CHARSET = 2
; SHIFTJIS_CHARSET = 128
; GB2312_CHARSET = 134
; HANGEUL_CHARSET = 129
; CHINESEBIG5_CHARSET = 136
; OEM_CHARSET 255
OK_=&OK
OK=OK
CANCEL=Cancel
CANCEL_=&Cancel
NEXT_=&Next >
BACK_=< &Back
IGNORE_=&Ignore
PROXY_MESSAGE=To configure a Proxy server for this download, click the Connection... button.
PROXY_BUTTON=&Connection...
PROXYSETTINGS=Proxy Settings:
PROXYSETTINGS_=&Proxy Settings
SERVER=Server:
PORT=Port:
USERID=User id:
PASSWORD=Password:
SELECTDIRECTORY=Select a directory
DIRECTORIES_=&Directories:
DRIVES_=Dri&ves:
STATUS=Remaining:
FILE=File:
URL=URL:
TO=To Path:
ACCEPT_=&Accept
DECLINE_=&Decline
PROGRAMFOLDER_=&Program Folder:
EXISTINGFOLDERS_=E&xisting Folders:
SETUPMESSAGE=Setup has finished copying files to your computer. Before you can use $ProductNameInternal$, you must restart Windows or your computer. Choose one of the following options and click OK to finish setup.
RESTART=Restart
YESRESTART=Yes, I want to restart my computer now.
NORESTART=No, I will restart my computer later.
ADDITIONALCOMPONENTS_=&Additional Components:
DESCRIPTION=Description
TOTALDOWNLOADSIZE=Total download size:
SPACEAVAILABLE=Space Available:
COMPONENTS_=C&omponents:
BROWSEINFO=Choose a Folder to install $ProductName$ into:
DESTINATIONDIRECTORY=Install Folder
BROWSE_=B&rowse...
DOWNLOADSIZE=Download Size: %u KB
CURRENTSETTINGS=Current Settings:
INSTALLFOLDER=...to the following location:
ADDTLCOMPWRAPPER=- %s
PRIMCOMPOTHERS=%s and:
PRIMCOMPNOOTHERS=%s
INSTALL_=&Install
DELETE_=&Delete
CONTINUE_=&Continue
SKIP_=&Skip
README=Re&ad Me
PAUSE_=&Pause
RESUME_=&Resume
CHECKED=Checked
UNCHECKED=Unchecked
EXTRACTING=Extracting...
[Messages]
ERROR_DIALOG_CREATE=Could not create %s dialog.
ERROR_FAILED=%s failed.
ERROR_FILE_NOT_FOUND=File not found: %s
ERROR_GET_SYSTEM_DIRECTORY_FAILED=GetSystemDirectory() failed.
ERROR_GET_WINDOWS_DIRECTORY_FAILED =GetWindowsDirectory() failed.
DLGQUITTITLE=Exit Setup
DLGQUITMSG=You have not finished installing $ProductName$. If you exit Setup now, $ProductName$ will not be installed. Are you sure you want to cancel Setup?
DLG_REBOOT_TITLE=Restarting Windows
ERROR_GETPROCADDRESS=GetProcAddress() of %s failed.
ERROR_WRITEPRIVATEPROFILESTRING=WritePrivateProfileString() failed for file %s
MSG_RETRIEVE_CONFIGINI=Please wait while Setup retrieves its configuration script from the web...
ERROR_CREATE_TEMP_DIR=Setup was unable to create the TEMP directory: %s
DLGBROWSETITLE=Select a directory
ERROR_DETERMINING_DISK_SPACE=Could not determine available disk space for: %s
DLG_DISK_SPACE_CHECK_TITLE=Disk space check
DLG_DISK_SPACE_CHECK_CRUTIAL_MSG=Setup has detected insufficient disk space to continue with installation on %s for the path: %sRequired: %sAvailable: %sClick Retry if more disk space has been made available, or click Cancel to cancel Setup.
DLG_DISK_SPACE_CHECK_MSG=Setup has detected insufficient disk space to continue with installation process on %s for the path: %sRequired: %sAvailable: %sClick OK to go back and choose a different destination path.
ERROR_CREATE_DIRECTORY=Could not create folder: %sMake sure you have access to create the folder.
ERROR_MESSAGE_TITLE=$ProductNameInternal$ Setup Error
STR_FILE_NUMBER=File count:
STR_FILENAME=Filename:
MSG_SMARTUPDATE_START=Preparing Install, please wait...
MSG_CONFIGURING=Configuring %s, please wait...
ERROR_XPI_INSTALL=Error occurred during installation
ERROR_SETUP_REQUIREMENT=$ProductName$ can only run on Windows 95 or newer. Setup will now exit.
DLG_EXTRACTING_TITLE=$ProductName$ Setup - Install Progress
STR_PROCESSINGFILE=Preparing file: %s
STR_INSTALLING=Currently installing %s
STR_COPYINGFILE=Copying file: %s
MB_WARNING_STR=Warning
MB_MESSAGE_STR=Message
MB_ATTENTION_STR=Attention
MSG_CREATE_DIRECTORY=The following directory does not exist:%sWould you like to create it?
STR_CREATE_DIRECTORY=Create Directory?
ERROR_PROGRAM_FOLDER_NAME=Invalid Program folder name entered.
CB_DEFAULT=Default
ERROR_DESTINATION_PATH=Invalid path entered.
STR_SETUP_TYPE=Setup Type:
STR_SELECTED_COMPONENTS=Selected Components:
STR_DESTINATION_DIRECTORY=Destination Directory:
STR_PROGRAM_FOLDER=Program Folder:
STR_DELETING_DESTINATION_DIR=Deleting destination directory to be able to upgrade, please wait...
STR_SETUP=Setup
STR_DOWNLOAD_SITE=Download Site:
STR_SAVE_INSTALLER_FILES=Save downloaded and Setup program files to:
MSG_INIT_SETUP=Initializing Setup, please wait...
STR_MESSAGEBOX_TITLE=%s Setup
ERROR_GETVERSION=GetVersionEx() failed!
DLG_USAGE_TITLE=Usage
STATUS_EXTRACTING=Extracting %s
STATUS_LAUNCHING_SETUP=Launching Setup...
ERROR_FILE_WRITE=Unable to write file %s
TITLE=Installation
ERROR_OUT_OF_MEMORY=Out of memory!
ERROR_DLL_LOAD=Could not load %s
ERROR_STRING_LOAD=Could not load string resource ID %d
ERROR_STRING_NULL=Null pointer encountered.
ERROR_GLOBALALLOC=Memory allocation error.
MSG_FORCE_QUIT_PROCESS=Setup has detected that %s (%s) is still running. Click OK to quit %s and proceed with installation. Alternatively, use the Windows Task Manager to quit %s, and then click OK to continue with installation.
MSG_FORCE_QUIT_PROCESS_FAILED=Setup will now exit. Setup could not continue because %s (%s) is still running. Try manually quitting %s using Windows Task Manager, and then run Setup again.
ERROR_PATH_WITHIN_WINDIR=$ProductName$ cannot be installed into a folder that is inside the Windows folder. Please choose a different folder.

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

@ -1,4 +1,5 @@
VersionLanguage = en #filter substitution
VersionLanguage = @AB_CD@
NameCompany = Mozilla NameCompany = Mozilla
NameProduct = Mozilla Thunderbird NameProduct = Mozilla Thunderbird
NameProductInternal = Mozilla Thunderbird NameProductInternal = Mozilla Thunderbird
@ -6,12 +7,12 @@ ShortNameProduct = Thunderbird
VersionProduct = 1.0.0+ VersionProduct = 1.0.0+
DistSubdir = bin DistSubdir = bin
packagesFile = basemail-win packagesFile = basemail-win
FileInstallerEXE = ThunderbirdSetup.exe FileInstallerEXE = @PKG_BASENAME@.installer.exe
FileInstallerMSI = ThunderbirdSetup.msi FileInstallerMSI = @PKG_BASENAME@.installer.msi
FileMainEXE = thunderbird.exe FileMainEXE = thunderbird.exe
FileUninstall = UninstallThunderbird.exe FileUninstall = UninstallThunderbird.exe
FileUninstallZIP = UninstallThunderbird.zip FileUninstallZIP = UninstallThunderbird.zip
FileInstallerNETRoot = ThunderbirdNetSetup FileInstallerNETRoot = @PKG_BASENAME@.net-installer
ComponentList = xpcom,mail,talkback,deflenus,langenus,offline,newsblog ComponentList = xpcom,mail,talkback,@AB_CD@,offline,newsblog
LicenseFile = mail/LICENSE.txt LicenseFile = mail/LICENSE.txt
7ZipSFXModule = other-licenses/7zstub/thunderbird/7zSD.sfx 7ZipSFXModule = other-licenses/7zstub/thunderbird/7zSD.sfx

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

@ -42,12 +42,138 @@ relativesrcdir = mail/locales
include $(DEPTH)/config/autoconf.mk include $(DEPTH)/config/autoconf.mk
_ABS_DIST := $(shell cd $(DIST) && pwd)
# This makefile uses variable overrides from the libs-% target to
# build non-default locales to non-default dist/ locations. Be aware!
AB = $(firstword $(subst -, ,$(AB_CD)))
APP_VERSION = $(shell cat $(srcdir)/../config/version.txt) APP_VERSION = $(shell cat $(srcdir)/../config/version.txt)
DEFINES += -DAB_CD=$(AB_CD) -DAPP_VERSION=$(APP_VERSION) DEFINES += \
-DAB_CD=$(AB_CD) \
-DAPP_VERSION=$(APP_VERSION) \
-DLOCALE_SRCDIR=$(LOCALE_SRCDIR) \
$(NULL)
ifdef MOZ_USE_OFFICIAL_BRANDING ifdef MOZ_USE_OFFICIAL_BRANDING
DEFINES += -DMOZ_USE_OFFICIAL_BRANDING DEFINES += -DMOZ_USE_OFFICIAL_BRANDING
endif endif
PREF_JS_EXPORTS = $(LOCALE_SRCDIR)/all-l10n.js
include $(topsrcdir)/config/rules.mk include $(topsrcdir)/config/rules.mk
README_FILES = \
README.txt \
$(NULL)
libs:: $(addprefix $(LOCALE_SRCDIR)/,$(README_FILES))
$(INSTALL) $^ $(FINAL_TARGET)
libs-%:
@$(MAKE) -C ../../toolkit/locales libs-$*
@$(MAKE) libs AB_CD=$* XPI_NAME=locale-$* PREF_DIR=defaults/pref
ifdef MOZ_USE_OFFICIAL_BRANDING
@$(MAKE) -C ../../other-licenses/branding/thunderbird/locales AB_CD=$* XPI_NAME=locale-$*
endif
PACKAGER_NO_LIBS = 1
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
include $(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/installer/windows/charset.mk
repackage-win32-installer: WIN32_INSTALLER_OUT=$(_ABS_DIST)/install/sea/$(PKG_BASENAME).installer.exe
repackage-win32-installer: $(WIN32_INSTALLER_IN)
@echo "Repackaging $(WIN32_INSTALLER_IN) into $(WIN32_INSTALLER_OUT)."
$(RM) -rf $(DIST)/l10n-stage
mkdir $(DIST)/l10n-stage
cd $(DIST)/l10n-stage &&
$(CYGWIN_WRAPPER) 7z e $(WIN32_INSTALLER_IN)
$(RM) $(DIST)/l10n-stage/en-US.xpi
$(RM) -rf $(DIST)/xpi-stage/locale-$(AB_CD)
$(MAKE) libs-$(AB_CD)
$(RM) -rf $(DIST)/l10n-temp-stage
mkdir $(DIST)/l10n-temp-stage
mv $(DIST)/xpi-stage/locale-$(AB_CD) $(DIST)/l10n-temp-stage/bin
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) \
-I$(topsrcdir)/xpinstall/packager/common/share.t $(topsrcdir)/mail/installer/windows/ab-CD.jst | \
sed -e 's/$$SpaceRequired\$$:bin/50/' > $(DIST)/l10n-temp-stage/install.js
cd $(DIST)/l10n-temp-stage && \
$(ZIP) -D -0 -r ../l10n-stage/$(AB_CD).xpi .
iconv -f UTF-8 -t $(WIN_INSTALLER_CHARSET) $(call EXPAND_LOCALE_SRCDIR,mail/locales)/installer/installer.inc > \
$(DIST)/l10n-temp-stage/installer.inc
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) \
-I$(DIST)/l10n-temp-stage/installer.inc \
-I$(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/installer/windows/install.in \
$(topsrcdir)/browser/installer/windows/install.it > $(DIST)/l10n-stage/install.ini
cd $(DIST)/l10n-stage && \
$(CYGWIN_WRAPPER) 7z a -tz7 ../l10n-temp-stage/app.7z *.* -mx -m0=BCJ2 -m1=LZMA:d24 -m2=LZMA:d19 -m3=LZMA:d19 -mb0:1 -mb0s1:2 -mb0s2:3
$(CYGWIN_WRAPPER) upx -9 -o $(DIST)/l10n-temp-stage/7zSD.sfxc $(topsrcdir)/other-licenses/7zstub/firefox/7zSD.sfx
$(INSTALL) $(topsrcdir)/mail/installer/windows/app.tag $(DIST)/l10n-temp-stage
cd $(DIST)/l10n-temp-stage &&
$(CYGWIN_WRAPPER) cmd /C copy /b 7zSD.sfxc+app.tag+app.7z firefox-installer.exe
mv -f $(DIST)/l10n-temp-stage/firefox-installer.exe $(WIN32_INSTALLER_OUT)
repackage-win32-installer-%: WIN32_INSTALLER_IN=$(_ABS_DIST)/install/sea/$(PKG_BASENAME).installer.exe
repackage-win32-installer-%: $(WIN32_INSTALLER_IN)
@$(MAKE) repackage-win32-installer AB_CD=$* WIN32_INSTALLER_IN=$(WIN32_INSTALLER_IN)
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
STAGEDIST = $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/MacOS
else
STAGEDIST = $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)
endif
repackage-zip: ZIP_OUT=$(_ABS_DIST)/$(PACKAGE)
repackage-zip: UNPACKAGE=$(ZIP_IN)
repackage-zip: $(ZIP_IN)
$(RM) -r $(DIST)/l10n-stage
mkdir $(DIST)/l10n-stage
cd $(DIST)/l10n-stage && \
$(UNMAKE_PACKAGE)
$(RM) $(STAGEDIR)/chrome/en-US.jar \
$(STAGEDIST)/chrome/en-US.manifest \
$(STAGEDIST)/defaults/pref/all-l10n.js
$(RM) -r $(STAGEDIST)/searchplugins \
$(STAGEDIST)/chrome/en-US
$(RM) -rf $(DIST)/xpi-stage/locale-$(AB_CD)
$(MAKE) libs-$(AB_CD)
$(RM) -r $(DIST)/xpi-stage/locale-$(AB_CD)/chrome/$(AB_CD)
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
tar $(TAR_CREATE_FLAGS) - * | ( cd $(STAGEDIST) && tar -xf - )
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
mv $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/en.lproj $(_ABS_DIST)/l10n-stage/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/Resources/$(AB).lproj
endif
cd $(DIST)/l10n-stage; \
$(MAKE_PACKAGE)
mv -f $(DIST)/l10n-stage/$(PACKAGE) $(DIST)
repackage-zip-%: ZIP_IN=$(_ABS_DIST)/$(PACKAGE)
repackage-zip-%: $(ZIP_IN)
@$(MAKE) repackage-zip AB_CD=$* ZIP=IN=$(ZIP_IN)
langpack-%: LANGPACK_FILE=$(_ABS_DIST)/install/firefox-$(MOZ_APP_VERSION).$(AB_CD).langpack.xpi
langpack-%: AB_CD=%*
langpack-%: XPI_NAME=locale-$*
langpack-%:
@echo "Making langpack $(LANGPACK_FILE)"
@$(RM) -rf $(DIST)/xpi-stage/locale-$(AB_CD)
@$(MAKE) libs-$(AB_CD)
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) \
-I$(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/defines.inc \
-I$(LOCALE_SRCDIR)/defines.inc $(srcdir)/generic/install.rdf >
$(FINAL_TARGET)/install.rdf
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome
# This is a generic target that will make a langpack, repack ZIP (tarball)
# builds, and repack and installer if applicable. It is called from the
# tinderbox scripts. Alter it with caution.
installers-%:
@$(MAKE) langpack-$*
@$(MAKE) repackage-zip-$*
ifeq (WINNT,$(OS_ARCH))
@$(MAKE) repackage-win32-installer-$*
endif

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

39
mail/locales/en-US/all-l10n.js Executable file
Просмотреть файл

@ -0,0 +1,39 @@
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Firefox browser.
#
# The Initial Developer of the Original Code is
# Benjamin Smedberg <bsmedberg@covad.net>
# Portions created by the Initial Developer are Copyright (C) 2004
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#filter substitution
pref("general.useragent.locale", "@AB_CD@");

10
mail/locales/en-US/defines.inc Executable file
Просмотреть файл

@ -0,0 +1,10 @@
#filter emptyLines
#define MOZ_LANGPACK_EID {fc121405-5aef-4291-86c6-8b43b04194b7}
#define MOZ_LANGPACK_CREATOR mozilla.org
# If non-English locales wish to credit multiple contributors, uncomment this
# variable definition and use the format specified.
# #define MOZ_LANGPACK_CONTRIBUTORS <em:contributor>Joe Solon</em:contributor> <em:contributor>Suzy Solon</em:contributor>
#unfilter emptyLines

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

@ -0,0 +1,84 @@
# This file is in the UTF-8 encoding. It is *not*
# a Java .properties file and does *not* use \escapes
Welcome_Title=$ProductName$ Setup
Welcome_MessageWelcome=Welcome to %s!
Welcome_Message0=You are about to install %s $Version$.
Welcome_Message1=It is strongly recommended that you exit all Windows programs before running this Setup program.
Welcome_Message2=Click Cancel to quit Setup and then close any programs you have running. Click Next to continue the Setup program.
Welcome_Message3=Click Next to continue installing %s $Version$.
License_Title=Software License Agreement
License_SubTitle=Terms and conditions for using this software.
License_Message0=Please read the following license agreement. Use the scroll bar to view the rest of this agreement.
License_Accept=I &Accept the terms of the License Agreement
License_Decline=I do NO&T Accept the terms of the License Agreement
Type_Title=Setup Type
Type_SubTitle=Choose setup options.
Type_Message0=Choose the type of Setup you prefer, then click Next.
Standard_Short=&Standard
Standard_Long=Thunderbird will be installed with the most common options.
Custom_Short=&Custom
Custom_Long=You may choose individual options to be installed. Recommended for experienced users.
Select_Title=Select Components
Select_SubTitle=Additional components that enhance $ProductName$.
Select_Message0=Choose additional components you want to install, then click Next.
Path_Title=Install Folder
Path_SubTitle=Where $ProductName$ will be installed.
Path_Message0=$ProductName$ will be installed into the following folder:
Integration_Title=Set Up Shortcuts
Integration_SubTitle=Creates Program Icons
Integration_Message0=Create icons for $ProductShortName$:
Integration_Desktop=On my Desktop
Integration_StartMenu=In my Start Menu Programs folder
Integration_QuickLaunch=In my Quick Launch bar
SelectFolder_Title=$ProductName$ Setup - Select Program Folder
SelectFolder_Message0=Setup will add program icons to the Program Folder listed below. You may type a new folder name, or select one from the Existing Folders list. Click Next to continue.
Advanced_Title=$ProductName$ Setup - Advanced Settings
Advanced_Message0=If your Internet connection requires a proxy server, enter your server name and port information. If your Internet connection doesn't require a proxy server, leave the fields blank.
Install_Title=Summary
Install_SubTitle=Ready to start installing $ProductName$.
Install_MessageInstall=Setup will now install the following components:
Install_MessageDownload=Setup will now download and install the following components:
Install_Message0=Click Next to continue.
Downloading_Title=Downloading
Downloading_SubTitle=Downloading required components...
Downloading_Blurb=Setup is downloading the files required to install $ProductName$.
Downloading_FileName=Currently Downloading:
Downloading_Time=Time Remaining:
Installing_Title=Installing
Installing_SubTitle=Installing $ProductName$...
Installing_Blurb=Setup is installing application files.
Installing_Status=Preparing File:
Installing_Component=Currently Installing:
Success_Title=Install Complete
Success_Header=Install Complete
Success_Message0=%s $Version$ was successfully installed.
Success_Message1=Click Finish to complete Setup.
Success_Launch=Launch %s $Version$ now.
Check_Message=Download of $ProductName$ was successful. $ProductNameInternal$ must be closed to proceed with installation. Click OK to exit $ProductNameInternal$ automatically and to begin installation.
Check_FullMessage=$ProductNameInternal$ must be closed to proceed with installation. Click OK to exit $ProductNameInternal$ automatically and to begin installation.
Check_Wait=Shutting down $ProductNameInternal$. Please wait...
Component_XPCOM=Cross Platform COM
Component_Mail=$ProductName$
Component_Offline=Offline Support
Component_Offline_Long=Adds Offline support to $ProductName$ Mail.
Component_RSS=RSS Support
Component_RSS_Long=Adds RSS support to $ProductName$.
Component_QFA=Quality Feedback Agent
Component_QFA_Long=for reporting $ProductName$ crash information

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

@ -0,0 +1,60 @@
<?xml version="1.0"?>
<!--
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla Firefox localization support scripts.
#
# The Initial Developer of the Original Code is
# Benjamin Smedberg <bsmedberg@covad.net>
# Portions created by the Initial Developer are Copyright (C) 2004
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#filter substitution
-->
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest"
em:id="@MOZ_LANGPACK_EID@"
em:name="@MOZ_LANG_TITLE@ Language Pack"
em:version="@APP_VERSION@"
em:creator="@MOZ_LANGPACK_CREATOR@">
#ifdef MOZ_LANGPACK_CONTRIBUTORS
@MOZ_LANGPACK_CONTRIBUTORS@
#endif
<em:targetApplication>
<Description>
<em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id>
<em:minVersion>1.0+</em:minVersion>
<em:maxVersion>1.1</em:maxVersion>
</Description>
</em:targetApplication>
</Description>
</RDF>