Mercurial > hg
view contrib/wix/locale.wxs @ 18586:40f9472f5737
byterange: remove old two-arg raise trick
We don't care about the original traceback, and this was frustrating
any efforts to make the code work on Python 3.3.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 08 Feb 2013 17:14:12 -0600 |
parents | bd9bc4123920 |
children | 14e8fef9158d |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <?include defines.wxi ?> <?define hglocales = da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW ?> <Fragment> <ComponentGroup Id="localeFolder"> <?foreach LOC in $(var.hglocales) ?> <ComponentRef Id="hg.locale.$(var.LOC)"/> <?endforeach?> </ComponentGroup> </Fragment> <Fragment> <DirectoryRef Id="INSTALLDIR"> <Directory Id="localedir" Name="locale" FileSource="$(var.SourceDir)"> <?foreach LOC in $(var.hglocales) ?> <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> <Component Id="hg.locale.$(var.LOC)" Guid="*" Win64='$(var.IsX64)'> <File Id="hg.mo.$(var.LOC)" Name="hg.mo" KeyPath="yes" /> </Component> </Directory> </Directory> <?endforeach?> </Directory> </DirectoryRef> </Fragment> </Wix>