Mercurial > hg
view contrib/wix/i18n.wxs @ 41534:47c92f8ed128
patch: properly escape \ in string literals
Python 3.8 will emit a SyntaxWarning for str/bytes with invalid
escapes. This commit addresses 4 occurrences where we had a bare
\ in a str/bytes.
Differential Revision: https://phab.mercurial-scm.org/D5818
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 08:59:11 -0800 |
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>