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

/win32/wix/thg-i18n.wxs

https://bitbucket.org/tortoisehg/hgtk/
WiX source | 25 lines | 21 code | 4 blank | 0 comment | 0 complexity | 4a72e40250dd2053da15daa65b6e9843 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 thg_po_langs =
 8    cs;da;de;en_GB;es;fa;fr;he;hr;hu;it;ja;ko;nl;nn;oc;pl;pt;pt_BR;ru;sv;tr;uk;zh_CN;zh_TW
 9  ?>
10  <!-- lang 'ca' is used for key path -->
11
12  <Fragment>
13    <DirectoryRef Id="i18ndir" FileSource="$(var.SourceDir)">
14      <Directory Id="thgI18nFolder" Name="tortoisehg">
15        <Component Id="thgI18nFolder" Guid="$(var.thgI18nFolder.guid)" Win64='$(var.IsX64)'>
16          <File Id="thg.ca.po" Name="ca.po" KeyPath="yes" />
17          <?foreach LANG in $(var.thg_po_langs) ?>
18            <File Id="thg.$(var.LANG).po" Name="$(var.LANG).po" />
19          <?endforeach?>
20        </Component>
21      </Directory>
22    </DirectoryRef>
23  </Fragment>
24
25</Wix>