Mercurial > hg
view contrib/wix/i18n.wxs @ 36971:ff9cb7067329
test-template-engine: do not evaluate unused keywords by custom engine
If the custom engine, "mytemplater", were installed as the default, it would
enter to an infinite recursion at stringify(v) because template keywords may
generate a nested mapping containing the same keywords.
Spotted by a future patch which will replace context.resource('templ')(...)
with context.process(...).
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Mar 2018 00:06:14 +0900 |
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>