summaryrefslogtreecommitdiff
path: root/build/prepare-install-package.targets
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-10-01 21:27:49 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2019-10-01 21:27:49 -0400
commit845deb43d60147603ec31fe4ae5fd7d747556d8c (patch)
tree2d96293aef515147b5ca1cd2440f268f886ae6be /build/prepare-install-package.targets
parent673510b3941dd35a127e4f4a8a406f34b72b6a66 (diff)
downloadSMAPI-845deb43d60147603ec31fe4ae5fd7d747556d8c.tar.gz
SMAPI-845deb43d60147603ec31fe4ae5fd7d747556d8c.tar.bz2
SMAPI-845deb43d60147603ec31fe4ae5fd7d747556d8c.zip
add support for core translation files
Diffstat (limited to 'build/prepare-install-package.targets')
-rw-r--r--build/prepare-install-package.targets4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/prepare-install-package.targets b/build/prepare-install-package.targets
index 18a69a24..e5286bf5 100644
--- a/build/prepare-install-package.targets
+++ b/build/prepare-install-package.targets
@@ -17,6 +17,9 @@
<PlatformName>windows</PlatformName>
<PlatformName Condition="$(OS) != 'Windows_NT'">unix</PlatformName>
</PropertyGroup>
+ <ItemGroup>
+ <TranslationFiles Include="$(CompiledSmapiPath)\i18n\*.json" />
+ </ItemGroup>
<!-- reset package directory -->
<RemoveDir Directories="$(PackagePath)" />
@@ -46,6 +49,7 @@
<Copy SourceFiles="$(CompiledToolkitPath)\SMAPI.Toolkit.CoreInterfaces.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
<Copy SourceFiles="$(CompiledToolkitPath)\SMAPI.Toolkit.CoreInterfaces.pdb" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
<Copy SourceFiles="$(CompiledToolkitPath)\SMAPI.Toolkit.CoreInterfaces.xml" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
+ <Copy SourceFiles="@(TranslationFiles)" DestinationFolder="$(PackagePath)\bundle\smapi-internal\i18n" />
<Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(TargetDir)\unix-launcher.sh" DestinationFiles="$(PackagePath)\bundle\StardewModdingAPI" />
<Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\System.Numerics.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />
<Copy Condition="$(OS) != 'Windows_NT'" SourceFiles="$(CompiledSmapiPath)\System.Runtime.Caching.dll" DestinationFolder="$(PackagePath)\bundle\smapi-internal" />