contrib/wix/i18n.wxs
changeset 41920 c68a1df5c79a
parent 41919 3dbd3cdfe0d6
child 41921 4371f543efda
equal deleted inserted replaced
41919:3dbd3cdfe0d6 41920:c68a1df5c79a
     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 hg_po_langs =
       
     8     da;de;el;fr;it;ja;pt_BR;ro;ru;sv;zh_CN;zh_TW
       
     9   ?>
       
    10 
       
    11   <Fragment>
       
    12     <DirectoryRef Id="INSTALLDIR">
       
    13       <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)">
       
    14         <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)" Win64='$(var.IsX64)'>
       
    15           <File Name="hggettext" KeyPath="yes" />
       
    16           <?foreach LANG in $(var.hg_po_langs) ?>
       
    17             <File Id="hg.$(var.LANG).po"
       
    18                   Name="$(var.LANG).po"
       
    19             />
       
    20           <?endforeach?>
       
    21         </Component>
       
    22       </Directory>
       
    23     </DirectoryRef>
       
    24   </Fragment>
       
    25 
       
    26 </Wix>