Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.1, 1.1.1, and 1.1.2

wix: use FileSource in thg-i18n.wxs and thg-locale.wxs

Changeset 1f6ed7f04f15

Parent 70395d283d3b

by Adrian Buehlmann

Changes to 2 files · Browse files at 1f6ed7f04f15 Showing diff from parent 70395d283d3b Diff from another changeset...

 
9
10
11
12
 
13
14
15
 
16
17
18
19
 
20
21
22
 
9
10
11
 
12
13
14
 
15
16
 
 
 
17
18
19
20
@@ -9,14 +9,12 @@
  <!-- lang 'ca' is used for key path -->     <Fragment> - <DirectoryRef Id="i18ndir"> + <DirectoryRef Id="i18ndir" FileSource="$(var.SourceDir)">   <Directory Id="thgI18nFolder" Name="tortoisehg">   <Component Id="thgI18nFolder" Guid="$(var.thgI18nFolder.guid)"> - <File Id="thg.ca.po" Source="$(var.SourceDir)\tortoisehg\ca.po" KeyPath="yes" /> + <File Id="thg.ca.po" Name="ca.po" KeyPath="yes" />   <?foreach LANG in $(var.thg_po_langs) ?> - <File Id="thg.$(var.LANG).po" - Source="$(var.SourceDir)\tortoisehg\$(var.LANG).po" - /> + <File Id="thg.$(var.LANG).po" Name="$(var.LANG).po" />   <?endforeach?>   </Component>   </Directory>
 
15
16
17
18
 
19
20
21
22
23
24
 
25
26
27
 
15
16
17
 
18
19
20
21
 
 
 
22
23
24
25
@@ -15,13 +15,11 @@
    <?foreach LOC in $(var.thglocales) ?>   <Fragment> - <DirectoryRef Id="localedir"> + <DirectoryRef Id="localedir" FileSource="$(var.SourceDir)">   <Directory Id="thg.locale.$(var.LOC)" Name="$(var.LOC)">   <Directory Id="thg.locale.$(var.LOC).LC_MESSAGES" Name="LC_MESSAGES">   <Component Id="thg.locale.$(var.LOC)" Guid="*"> - <File Id="tortoisehg.mo.$(var.LOC)" KeyPath="yes" - Source="$(var.SourceDir)\$(var.LOC)\LC_MESSAGES\tortoisehg.mo" - /> + <File Id="tortoisehg.mo.$(var.LOC)" Name="tortoisehg.mo" KeyPath="yes" />   </Component>   </Directory>   </Directory>