PageRenderTime 18ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/win32/wix/cmenu-i18n.wxs

https://bitbucket.org/tortoisehg/hgtk/
WiX source | 25 lines | 21 code | 4 blank | 0 comment | 0 complexity | 359fddeec714b97f1d50e1fdaf4e7bc3 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
 3
 4  <?include guids.wxi ?>
 5  <?include defines.wxi ?>
 6
 7  <?define thgcmenulangs = 
 8    cs;da;de;en_GB;en_US;es;fa;fr;he;hr;it;ja;ko;nl;nn;pl;pt;pt_BR;ru;tr;uk;zh_CN;zh_TW
 9  ?>
10  <!-- lang 'ca' is used for key path -->
11
12  <Fragment>
13    <DirectoryRef Id="i18ndir">
14      <Directory Id="cmenuI18n" Name="cmenu" FileSource="$(var.SourceDir)">
15        <Component Id="cmenuI18n" Guid="$(var.cmenuI18n.guid)" Win64='$(var.IsX64)'>
16          <File Name="thg-cmenu-ca.reg" KeyPath="yes"/>
17          <?foreach LANG in $(var.thgcmenulangs) ?>
18            <File Name="thg-cmenu-$(var.LANG).reg" />
19          <?endforeach?>
20        </Component>
21      </Directory>
22    </DirectoryRef>
23  </Fragment>
24
25</Wix>