Show More
@@ -1,34 +1,34 | |||||
1 | <?xml version="1.0" encoding="utf-8"?> |
|
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
|
2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | |
3 |
|
3 | |||
4 | <?include defines.wxi ?> |
|
4 | <?include defines.wxi ?> | |
5 |
|
5 | |||
6 | <?define hglocales = |
|
6 | <?define hglocales = | |
7 | da;de;el;fr;it;ja;pt_BR;sv;zh_CN;zh_TW |
|
7 | da;de;el;fr;it;ja;pt_BR;ro;ru;sv;zh_CN;zh_TW | |
8 | ?> |
|
8 | ?> | |
9 |
|
9 | |||
10 | <Fragment> |
|
10 | <Fragment> | |
11 | <ComponentGroup Id="localeFolder"> |
|
11 | <ComponentGroup Id="localeFolder"> | |
12 | <?foreach LOC in $(var.hglocales) ?> |
|
12 | <?foreach LOC in $(var.hglocales) ?> | |
13 | <ComponentRef Id="hg.locale.$(var.LOC)"/> |
|
13 | <ComponentRef Id="hg.locale.$(var.LOC)"/> | |
14 | <?endforeach?> |
|
14 | <?endforeach?> | |
15 | </ComponentGroup> |
|
15 | </ComponentGroup> | |
16 | </Fragment> |
|
16 | </Fragment> | |
17 |
|
17 | |||
18 | <Fragment> |
|
18 | <Fragment> | |
19 | <DirectoryRef Id="INSTALLDIR"> |
|
19 | <DirectoryRef Id="INSTALLDIR"> | |
20 | <Directory Id="localedir" Name="locale" FileSource="$(var.SourceDir)"> |
|
20 | <Directory Id="localedir" Name="locale" FileSource="$(var.SourceDir)"> | |
21 | <?foreach LOC in $(var.hglocales) ?> |
|
21 | <?foreach LOC in $(var.hglocales) ?> | |
22 | <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> |
|
22 | <Directory Id="hg.locale.$(var.LOC)" Name="$(var.LOC)"> | |
23 | <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> |
|
23 | <Directory Id="hg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES"> | |
24 | <Component Id="hg.locale.$(var.LOC)" Guid="*" Win64='$(var.IsX64)'> |
|
24 | <Component Id="hg.locale.$(var.LOC)" Guid="*" Win64='$(var.IsX64)'> | |
25 | <File Id="hg.mo.$(var.LOC)" Name="hg.mo" KeyPath="yes" /> |
|
25 | <File Id="hg.mo.$(var.LOC)" Name="hg.mo" KeyPath="yes" /> | |
26 | </Component> |
|
26 | </Component> | |
27 | </Directory> |
|
27 | </Directory> | |
28 | </Directory> |
|
28 | </Directory> | |
29 | <?endforeach?> |
|
29 | <?endforeach?> | |
30 | </Directory> |
|
30 | </Directory> | |
31 | </DirectoryRef> |
|
31 | </DirectoryRef> | |
32 | </Fragment> |
|
32 | </Fragment> | |
33 |
|
33 | |||
34 | </Wix> |
|
34 | </Wix> |
General Comments 0
You need to be logged in to leave comments.
Login now