view contrib/wix/i18n.wxs @ 12920:1fab4970354e

keyword: function to look up changectx for expansion Similarly rename variable in kwtemplater.overwrite().
author Christian Ebert <blacktrash@gmx.net>
date Wed, 03 Nov 2010 14:37:41 +0100
parents 1aa9464ce9ae
children bd9bc4123920
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <?include guids.wxi ?>

  <?define hg_po_langs = 
    da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW
  ?>

  <Fragment>
    <DirectoryRef Id="INSTALLDIR">
      <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)">
        <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)">
          <File Name="hggettext" KeyPath="yes" />
          <?foreach LANG in $(var.hg_po_langs) ?>
            <File Id="hg.$(var.LANG).po" 
                  Name="$(var.LANG).po" 
            />
          <?endforeach?>
        </Component>
      </Directory>
    </DirectoryRef>
  </Fragment>

</Wix>