view contrib/wix/i18n.wxs @ 21722:ee29b0bb1619

status: document the content of the returned tuple in the docstring The ``status`` function returns a lot of information. We document it.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Sat, 31 May 2014 17:26:15 -0700
parents 86531a7038ed
children
line wrap: on
line source

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

  <?include guids.wxi ?>
  <?include defines.wxi ?>

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

  <Fragment>
    <DirectoryRef Id="INSTALLDIR">
      <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)">
        <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)" Win64='$(var.IsX64)'>
          <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>