contrib/wix/i18n.wxs
changeset 19023 86531a7038ed
parent 16220 939f043ab5ed
equal deleted inserted replaced
19022:cba222f01056 19023:86531a7038ed
     2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
     2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
     3 
     3 
     4   <?include guids.wxi ?>
     4   <?include guids.wxi ?>
     5   <?include defines.wxi ?>
     5   <?include defines.wxi ?>
     6 
     6 
     7   <?define hg_po_langs = 
     7   <?define hg_po_langs =
     8     da;de;el;fr;it;ja;pt_BR;ro;ru;sv;zh_CN;zh_TW
     8     da;de;el;fr;it;ja;pt_BR;ro;ru;sv;zh_CN;zh_TW
     9   ?>
     9   ?>
    10 
    10 
    11   <Fragment>
    11   <Fragment>
    12     <DirectoryRef Id="INSTALLDIR">
    12     <DirectoryRef Id="INSTALLDIR">
    13       <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)">
    13       <Directory Id="i18ndir" Name="i18n" FileSource="$(var.SourceDir)">
    14         <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)" Win64='$(var.IsX64)'>
    14         <Component Id="i18nFolder" Guid="$(var.i18nFolder.guid)" Win64='$(var.IsX64)'>
    15           <File Name="hggettext" KeyPath="yes" />
    15           <File Name="hggettext" KeyPath="yes" />
    16           <?foreach LANG in $(var.hg_po_langs) ?>
    16           <?foreach LANG in $(var.hg_po_langs) ?>
    17             <File Id="hg.$(var.LANG).po" 
    17             <File Id="hg.$(var.LANG).po"
    18                   Name="$(var.LANG).po" 
    18                   Name="$(var.LANG).po"
    19             />
    19             />
    20           <?endforeach?>
    20           <?endforeach?>
    21         </Component>
    21         </Component>
    22       </Directory>
    22       </Directory>
    23     </DirectoryRef>
    23     </DirectoryRef>