未验证 提交 cf48f76a 编写于 作者: B Brett V. Forsgren 提交者: GitHub

Merge pull request #4047 from Microsoft/xliff

move all localization support to GitHub
......@@ -641,8 +641,8 @@ if "%BUILD_PROTO%" == "1" (
if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "1" (
echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto
%_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto
echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto /p:DisableLocalization=true
%_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto /p:DisableLocalization=true
@if ERRORLEVEL 1 echo Error: compiler proto build failed && goto :failure
)
......@@ -651,8 +651,8 @@ if "%BUILD_PROTO%" == "1" (
echo %_ngenexe% install packages\FSharp.Compiler.Tools.4.1.27\tools\fsc.exe /nologo
%_ngenexe% install packages\FSharp.Compiler.Tools.4.1.27\tools\fsc.exe /nologo
echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto
%_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto
echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto /p:DisableLocalization=true
%_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj /p:BUILD_PROTO_WITH_CORECLR_LKG=%BUILD_PROTO_WITH_CORECLR_LKG% /p:Configuration=Proto /p:DisableLocalization=true
@if ERRORLEVEL 1 echo Error: compiler proto build failed && goto :failure
)
......
......@@ -507,12 +507,12 @@ if [ "$BUILD_PROTO" = '1' ]; then
{ pushd ./lkg/fsc && eval "$_dotnetexe publish project.json --no-build -o ${_scriptdir}Tools/lkg -r $_architecture" && popd; } || failwith "dotnet publish failed"
{ pushd ./lkg/fsi && eval "$_dotnetexe publish project.json --no-build -o ${_scriptdir}Tools/lkg -r $_architecture" && popd; } || failwith "dotnet publish failed"
{ printeval "$_msbuildexe $msbuildflags src/fsharp-proto-build.proj /p:Configuration=Proto"; } || failwith "compiler proto build failed"
{ printeval "$_msbuildexe $msbuildflags src/fsharp-proto-build.proj /p:Configuration=Proto /p:DisableLocalization=true"; } || failwith "compiler proto build failed"
# { printeval "$_ngenexe install Proto/net40/bin/fsc-proto.exe /nologo"; } || failwith "NGen of proto failed"
else
# Build proto-compiler and libs
{ printeval "$_msbuildexe $msbuildflags src/fsharp-proto-build.proj /p:UseMonoPackaging=true /p:Configuration=Proto"; } || failwith "compiler proto build failed"
{ printeval "$_msbuildexe $msbuildflags src/fsharp-proto-build.proj /p:UseMonoPackaging=true /p:Configuration=Proto /p:DisableLocalization=true"; } || failwith "compiler proto build failed"
fi
fi
......
......@@ -68,4 +68,7 @@
<!-- Perl is used for the fsharpqa test suite -->
<package id="StrawberryPerl64" version="5.22.2.1" />
<!-- Xliff localization -->
<package id="XliffTasks" version="0.2.0-beta-000076" />
</packages>
......@@ -24,6 +24,7 @@
<PropertyGroup>
<DefineConstants>$(DefineConstants);LocaleCode=$(LocaleCode)</DefineConstants>
<DefineConstants>$(DefineConstants);LocaleId=$(LocaleId)</DefineConstants>
<DefineConstants>$(DefineConstants);LocaleParentId=$(LocaleParentId)</DefineConstants>
<DefineConstants>$(DefineConstants);LocaleParentCulture=$(LocaleParentCulture)</DefineConstants>
<DefineConstants>$(DefineConstants);LocaleSpecificCulture=$(LocaleSpecificCulture)</DefineConstants>
<DefineConstants>$(DefineConstants);IsLangPack=$(IsLangPack)</DefineConstants>
......
......@@ -7,34 +7,19 @@
<ComponentRef Id="Compiler_LangPack_FSharp.Core.dll_$(var.LocaleCode)" />
<ComponentRef Id="Compiler_LangPack_FSharp.Build.dll_$(var.LocaleCode)" />
<ComponentRef Id="Compiler_LangPack_FSharp.Compiler.Private.dll_$(var.LocaleCode)" />
<ComponentRef Id="Compiler_LangPack_fsc.exe_$(var.LocaleCode)" />
<ComponentRef Id="Compiler_LangPack_fsi.exe_$(var.LocaleCode)" />
<ComponentRef Id="Compiler_LangPack_fsiAnyCPU.exe_$(var.LocaleCode)" />
</ComponentGroup>
<DirectoryRef Id="MicrosoftSDKs_FS_4.1_Framework_v4.0_$(var.LocaleId)">
<Component Id="Compiler_LangPack_FSharp.Core.dll_$(var.LocaleCode)" Guid="$(fsharp.guid(Compiler_LangPack_FSharp.Core.dll_$(var.LocaleCode), $(var.LocaleCode)))">
<File Id="Compiler_LangPack_FSharp.Core.dll_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\FSharp.Core.resources.dll" KeyPath="yes" />
<File Id="Compiler_LangPack_FSharp.Core.dll_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\$(var.LocaleParentCulture)\FSharp.Core.resources.dll" KeyPath="yes" />
</Component>
<Component Id="Compiler_LangPack_FSharp.Build.dll_$(var.LocaleCode)" Guid="$(fsharp.guid(Compiler_LangPack_FSharp.Build.dll_$(var.LocaleCode), $(var.LocaleCode)))">
<File Id="Compiler_LangPack_FSharp.Build.dll_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\FSharp.Build.resources.dll" KeyPath="yes" />
<File Id="Compiler_LangPack_FSharp.Build.dll_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\$(var.LocaleParentCulture)\FSharp.Build.resources.dll" KeyPath="yes" />
</Component>
<Component Id="Compiler_LangPack_FSharp.Compiler.Private.dll_$(var.LocaleCode)" Guid="$(fsharp.guid(Compiler_LangPack_FSharp.Compiler.Private.dll_$(var.LocaleCode), $(var.LocaleCode)))">
<File Id="Compiler_LangPack_FSharp.Compiler.Private.dll_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\FSharp.Compiler.Private.resources.dll" KeyPath="yes" />
</Component>
<Component Id="Compiler_LangPack_fsc.exe_$(var.LocaleCode)" Guid="$(fsharp.guid(Compiler_LangPack_fsc.exe_$(var.LocaleCode), $(var.LocaleCode)))">
<File Id="Compiler_LangPack_fsc.exe_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\fsc.resources.dll" KeyPath="yes" />
</Component>
<Component Id="Compiler_LangPack_fsi.exe_$(var.LocaleCode)" Guid="$(fsharp.guid(Compiler_LangPack_fsi.exe_$(var.LocaleCode), $(var.LocaleCode)))">
<File Id="Compiler_LangPack_fsi.exe_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\fsi.resources.dll" KeyPath="yes"/>
</Component>
<Component Id="Compiler_LangPack_fsiAnyCPU.exe_$(var.LocaleCode)" Guid="$(fsharp.guid(Compiler_LangPack_fsiAnyCPU.exe_$(var.LocaleCode), $(var.LocaleCode)))">
<File Id="Compiler_LangPack_fsiAnyCPU.exe_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\fsiAnyCPU.resources.dll" KeyPath="yes" />
<File Id="Compiler_LangPack_FSharp.Compiler.Private.dll_$(var.LocaleCode)" Source="$(var.BinariesDir)\net40\bin\$(var.LocaleParentCulture)\FSharp.Compiler.Private.resources.dll" KeyPath="yes" />
</Component>
</DirectoryRef>
</Fragment>
......
......@@ -47,7 +47,7 @@
<DirectoryRef Id="ReferenceAssemblies_Microsoft_FSharp_NETFramework_4.0_4.4.1.0_$(var.LocaleId)">
<Component Id="Runtime_LangPack_4.4.1.0_FSharp.Core_LangPack" Transitive="yes" Guid="$(fsharp.guid(Runtime_LangPack_4.4.1.0_FSharp.Core_LangPack, $(var.LocaleCode)))">
<File Id="Runtime_LangPack_4.4.1.0_FSharp.Core.resources.dll" Source="$(var.BinariesDir)\net40\bin\localize\$(var.LocaleCode)\FSharp.Core.resources.dll" KeyPath="yes" />
<File Id="Runtime_LangPack_4.4.1.0_FSharp.Core.resources.dll" Source="$(var.BinariesDir)\net40\bin\$(var.LocaleParentCulture)\FSharp.Core.resources.dll" KeyPath="yes" />
</Component>
</DirectoryRef>
<DirectoryRef Id="ReferenceAssemblies_Microsoft_FSharp_NETPortable_3.47.41.0_$(var.LocaleId)">
......
......@@ -37,97 +37,111 @@
<SetupLanguages Include="ENU">
<LocaleCode>ENU</LocaleCode>
<LocaleId>1033</LocaleId>
<LocaleParentId>9</LocaleParentId>
<LocaleParentCulture>en</LocaleParentCulture>
<LocaleSpecificCulture>en-US</LocaleSpecificCulture>
<IsLangPack>false</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="CHT" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="CHT">
<LocaleCode>CHT</LocaleCode>
<LocaleId>1028</LocaleId>
<LocaleParentId>31748</LocaleParentId>
<LocaleParentCulture>zh-Hant</LocaleParentCulture>
<LocaleSpecificCulture>zh-TW</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="CSY" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="CSY">
<LocaleCode>CSY</LocaleCode>
<LocaleId>1029</LocaleId>
<LocaleParentId>5</LocaleParentId>
<LocaleParentCulture>cs</LocaleParentCulture>
<LocaleSpecificCulture>cs-CZ</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="DEU" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="DEU">
<LocaleCode>DEU</LocaleCode>
<LocaleId>1031</LocaleId>
<LocaleParentId>7</LocaleParentId>
<LocaleParentCulture>de</LocaleParentCulture>
<LocaleSpecificCulture>de-DE</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="FRA" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="FRA">
<LocaleCode>FRA</LocaleCode>
<LocaleId>1036</LocaleId>
<LocaleParentId>12</LocaleParentId>
<LocaleParentCulture>fr</LocaleParentCulture>
<LocaleSpecificCulture>fr-FR</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="ITA" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="ITA">
<LocaleCode>ITA</LocaleCode>
<LocaleId>1040</LocaleId>
<LocaleParentId>16</LocaleParentId>
<LocaleParentCulture>it</LocaleParentCulture>
<LocaleSpecificCulture>it-IT</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="JPN" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="JPN">
<LocaleCode>JPN</LocaleCode>
<LocaleId>1041</LocaleId>
<LocaleParentId>17</LocaleParentId>
<LocaleParentCulture>ja</LocaleParentCulture>
<LocaleSpecificCulture>ja-JP</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="KOR" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="KOR">
<LocaleCode>KOR</LocaleCode>
<LocaleId>1042</LocaleId>
<LocaleParentId>18</LocaleParentId>
<LocaleParentCulture>ko</LocaleParentCulture>
<LocaleSpecificCulture>ko-KR</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="PLK" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="PLK">
<LocaleCode>PLK</LocaleCode>
<LocaleId>1045</LocaleId>
<LocaleParentId>21</LocaleParentId>
<LocaleParentCulture>pl</LocaleParentCulture>
<LocaleSpecificCulture>pl-PL</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="PTB" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="PTB">
<LocaleCode>PTB</LocaleCode>
<LocaleId>1046</LocaleId>
<LocaleParentId>1046</LocaleParentId>
<LocaleParentCulture>pt-BR</LocaleParentCulture>
<LocaleSpecificCulture>pt-BR</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="RUS" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="RUS">
<LocaleCode>RUS</LocaleCode>
<LocaleId>1049</LocaleId>
<LocaleParentId>25</LocaleParentId>
<LocaleParentCulture>ru</LocaleParentCulture>
<LocaleSpecificCulture>ru-RU</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="TRK" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="TRK">
<LocaleCode>TRK</LocaleCode>
<LocaleId>1055</LocaleId>
<LocaleParentId>31</LocaleParentId>
<LocaleParentCulture>tr</LocaleParentCulture>
<LocaleSpecificCulture>tr-TR</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="CHS" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="CHS">
<LocaleCode>CHS</LocaleCode>
<LocaleId>2052</LocaleId>
<LocaleParentId>4</LocaleParentId>
<LocaleParentCulture>zh-Hans</LocaleParentCulture>
<LocaleSpecificCulture>zh-CN</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
</SetupLanguages>
<SetupLanguages Include="ESN" Condition="'$(LocLanguages)' != ''">
<SetupLanguages Include="ESN">
<LocaleCode>ESN</LocaleCode>
<LocaleId>3082</LocaleId>
<LocaleParentId>10</LocaleParentId>
<LocaleParentCulture>es</LocaleParentCulture>
<LocaleSpecificCulture>es-ES</LocaleSpecificCulture>
<IsLangPack>true</IsLangPack>
......
......@@ -32,7 +32,7 @@
<Error Condition="'$(FSharpPackageVersion)' == ''" Text="A 'FSharpPackageVersion' property must be passed to the project." />
</Target>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<!-- SWIX plugin adds the built vsix to signing automatically -->
</Target>
</Project>
......@@ -29,7 +29,7 @@
<Error Condition="'$(FSharpPackageVersion)' == ''" Text="A 'FSharpPackageVersion' property must be passed to the project." />
</Target>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<!-- MSI is already signed before wrapping it here -->
</Target>
</Project>
......@@ -21,7 +21,8 @@
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);BinariesFolder=$(BinariesFolder)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);FSharpPackageVersion=$(FSharpPackageVersion)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleCode=$(LocaleCode)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleId=$(LocaleId)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleId=$(LocaleId)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleParentId=$(LocaleParentId)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleParentCulture=$(LocaleParentCulture)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleSpecificCulture=$(LocaleSpecificCulture)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);IsLangPack=$(IsLangPack)</PackagePreprocessorDefinitions>
......@@ -35,7 +36,7 @@
<Package Include="Files.swr" />
</ItemGroup>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<!-- MSI is already signed before wrapping it here -->
</Target>
......
......@@ -5,16 +5,14 @@ package name=Microsoft.FSharp.VSIX.Full.Resources
vs.package.language=$(LocaleSpecificCulture)
folder "InstallDir:Common7\IDE\PublicAssemblies\$(LocaleParentCulture)"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.Core.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.Core.resources.dll" vs.file.ngen=yes
folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\$(LocaleParentCulture)"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.Compiler.Private.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.Core.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.LanguageService.Base.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.LanguageService.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.ProjectSystem.Base.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.ProjectSystem.FSharp.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.ProjectSystem.PropertyPages.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\FSharp.VS.FSI.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\fsi.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\fsiAnyCpu.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.Compiler.Private.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.Core.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.LanguageService.Base.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.LanguageService.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.ProjectSystem.Base.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.ProjectSystem.FSharp.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.ProjectSystem.PropertyPages.resources.dll" vs.file.ngen=yes
file source="$(BinariesFolder)\net40\bin\$(LocaleParentCulture)\FSharp.VS.FSI.resources.dll" vs.file.ngen=yes
......@@ -21,6 +21,7 @@
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);FSharpPackageVersion=$(FSharpPackageVersion)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleCode=$(LocaleCode)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleId=$(LocaleId)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleParentId=$(LocaleParentId)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleParentCulture=$(LocaleParentCulture)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);LocaleSpecificCulture=$(LocaleSpecificCulture)</PackagePreprocessorDefinitions>
<PackagePreprocessorDefinitions>$(PackagePreprocessorDefinitions);IsLangPack=$(IsLangPack)</PackagePreprocessorDefinitions>
......@@ -35,13 +36,14 @@
<Package Include="Templates.swr" />
</ItemGroup>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<!-- SWIX plugin adds the built vsix to signing automatically -->
</Target>
<Target Name="CheckPropertiesArePassed">
<Error Condition="'$(LocaleCode)' == ''" Text="A 'LocaleCode' property must be passed to the project." />
<Error Condition="'$(LocaleId)' == ''" Text="A 'LocaleId' property must be passed to the project." />
<Error Condition="'$(LocaleParentId)' == ''" Text="A 'LocaleParentId' property must be passed to the project." />
<Error Condition="'$(LocaleParentCulture)' == ''" Text="A 'LocaleParentCulture' property must be passed to the project." />
<Error Condition="'$(LocaleSpecificCulture)' == ''" Text="A 'LocaleSpecificCulture' property must be passed to the project." />
<Error Condition="'$(IsLangPack)' == ''" Text="A 'IsLangPack' property must be passed to the project." />
......
......@@ -4,21 +4,10 @@ package name=Microsoft.FSharp.VSIX.Full.Resources
version=$(FSharpPackageVersion)
vs.package.language=$(LocaleSpecificCulture)
folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\ProjectTemplates\FSharp\$(LocaleId)\ConsoleProject"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\ConsoleProject\App.config"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\ConsoleProject\AssemblyInfo.fs"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\ConsoleProject\ConsoleApplication.fsproj"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\ConsoleProject\ConsoleApplication.vstemplate"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\ConsoleProject\Program.fs"
folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\ProjectTemplates\FSharp\$(LocaleId)\LibraryProject"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\LibraryProject\AssemblyInfo.fs"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\Library.fsproj"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\Library.vstemplate"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\LibraryProject\Library1.fs"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\LibraryProject\Script.fsx"
folder "InstallDir:Common7\IDE\CommonExtensions\Microsoft\FSharp\ProjectTemplates\FSharp\$(LocaleId)\TutorialProject"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\TutorialProject\Tutorial.fsproj"
file source="$(BinariesFolder)\net40\bin\localize\$(LocaleCode)\ProjectTemplates\TutorialProject\Tutorial.fsx"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\TutorialProject\Tutorial.vstemplate"
folder "InstallDir:Common7\IDE\ProjectTemplates\FSharp\$(LocaleId)"
folder "ConsoleApplication"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\FSharp\$(LocaleParentId)\ConsoleApplication.zip"
folder "Library"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\FSharp\$(LocaleParentId)\Library.zip"
folder "Tutorial"
file source="$(BinariesFolder)\net40\bin\ProjectTemplates\FSharp\$(LocaleParentId)\Tutorial.zip"
......@@ -63,13 +63,13 @@
<!-- Wix targets files doesn't handle localization parameters correctly. Cleaning before building files accross languages -->
<MSBuild Projects="%(WixSetupProjects.ProjectPath)"
Targets="Clean;Build"
Properties="LocaleCode=%(WixSetupProjects.LocaleCode);LocaleId=%(WixSetupProjects.LocaleId);LocaleParentCulture=%(WixSetupProjects.LocaleParentCulture);LocaleSpecificCulture=%(WixSetupProjects.LocaleSpecificCulture);IsLangPack=%(WixSetupProjects.IsLangPack);FSharpPackageVersion=$(FSharpPackageVersion);$(CustomProps)" />
Properties="LocaleCode=%(WixSetupProjects.LocaleCode);LocaleId=%(WixSetupProjects.LocaleId);LocaleParentId=%(WixSetupProjects.LocaleParentId);LocaleParentCulture=%(WixSetupProjects.LocaleParentCulture);LocaleSpecificCulture=%(WixSetupProjects.LocaleSpecificCulture);IsLangPack=%(WixSetupProjects.IsLangPack);FSharpPackageVersion=$(FSharpPackageVersion);$(CustomProps)"/>
<MSBuild Projects="%(VsixProjects.ProjectPath)"
Targets="Build"
Properties="IsLangPack=%(VsixProjects.IsLangPack);FSharpPackageVersion=$(FSharpPackageVersion);OutputPath=$(InsertionDir);$(CustomProps)" />
<MSBuild Projects="%(SwixSetupProjects.ProjectPath)"
Targets="Build"
Properties="LocaleCode=%(SwixSetupProjects.LocaleCode);LocaleId=%(SwixSetupProjects.LocaleId);LocaleParentCulture=%(SwixSetupProjects.LocaleParentCulture);LocaleSpecificCulture=%(SwixSetupProjects.LocaleSpecificCulture);IsLangPack=%(SwixSetupProjects.IsLangPack);FSharpPackageVersion=$(FSharpPackageVersion);$(CustomProps)" />
Properties="LocaleCode=%(SwixSetupProjects.LocaleCode);LocaleId=%(SwixSetupProjects.LocaleId);LocaleParentId=%(SwixSetupProjects.LocaleParentId);LocaleParentCulture=%(SwixSetupProjects.LocaleParentCulture);LocaleSpecificCulture=%(SwixSetupProjects.LocaleSpecificCulture);IsLangPack=%(SwixSetupProjects.IsLangPack);FSharpPackageVersion=$(FSharpPackageVersion);$(CustomProps)"/>
<!-- copy json stuff -->
<Copy SourceFiles="@(InsertionItems)" DestinationFolder="$(InsertionDir)" />
......
......@@ -54,6 +54,10 @@
<NUnitFullVersion>3.5.0.0</NUnitFullVersion>
<NUnitLibDir>$(FSharpSourcesRoot)\..\packages\NUnit.$(NUnitVersion)\lib\net45</NUnitLibDir>
<NUnitToolsLibDir>$(FSharpSourcesRoot)\..\packages\NUnit.ConsoleRunner\$(NUnitVersion)\tools\</NUnitToolsLibDir>
<!-- Localization -->
<UpdateXlfOnBuild Condition="'$(CI)' != '1'">true</UpdateXlfOnBuild>
<XliffTasksVersion>0.2.0-beta-000076</XliffTasksVersion>
</PropertyGroup>
<PropertyGroup>
......@@ -151,6 +155,14 @@
<FsiToolPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.27\tools</FsiToolPath>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)..\packages\XliffTasks.$(XliffTasksVersion)\build\XliffTasks.props" Condition="'$(DisableLocalization)' != 'true'" />
<PropertyGroup>
<!-- in addition to the standard xlf languages, also provide a baseline en->en file -->
<XlfLanguages>en;$(XlfLanguages)</XlfLanguages>
</PropertyGroup>
<Import Project="$(RestorePackagesPath)\XliffTasks.$(XliffTasksVersion)\build\XliffTasks.targets" Condition="'$(DisableLocalization)' != 'true'" />
<Import Project="../Tools/Build.Common.props" Condition="'$(TargetDotnetProfile)'=='coreclr'"/>
<Import Project="$(BuildVersionFilePath)" Condition="Exists('$(BuildVersionFilePath)')" />
......
......@@ -350,7 +350,7 @@
Condition="'$(Configuration)' != 'Proto'" />
<Target Name="GenerateFSharpTextResources"
BeforeTargets="CoreResGen;PrepareForBuild"
BeforeTargets="GetXlfSources;CoreResGen;PrepareForBuild"
Condition="'$(Configuration)' != 'Proto'">
<MakeDir Directories="$(IntermediateOutputPath)" />
......
......@@ -4,104 +4,9 @@
<PropertyGroup>
<MicroBuildCoreVersion>0.2.0</MicroBuildCoreVersion>
</PropertyGroup>
<Import Project="..\packages\MicroBuild.Core.$(MicroBuildCoreVersion)\build\MicroBuild.Core.props" />
<UsingTask TaskName="LocalizeTemplateProjectsTask" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<OutDir ParameterType="System.String" Required="true" />
<TemplateCategory ParameterType="System.String" Required="true" />
<AssemblyName ParameterType="System.String" Required="true" />
<TemplateFiles ParameterType="System.String[]" Required="true" />
<LocalizedFiles ParameterType="System.String[]" Required="true" />
<LocLanguages ParameterType="System.String" Required="true" />
</ParameterGroup>
<Task>
<Reference Include="System.IO.Compression.FileSystem"/>
<Using Namespace="System"/>
<Using Namespace="System.IO"/>
<Using Namespace="System.IO.Compression"/>
<Code Type="Fragment" Language="cs">
<![CDATA[
Log.LogMessage("Localizing template: " + AssemblyName, MessageImportance.High);
Log.LogMessage(String.Empty, MessageImportance.High);
var absoluteOutDir = Path.GetFullPath(OutDir);
foreach (var lang in LocLanguages.Split(','))
{
var isDefaultLocale = lang.ToUpper() == "ENU";
Log.LogMessage("---------------------------------------------------", MessageImportance.High);
Log.LogMessage("Localizing template for language: " + lang, MessageImportance.High);
Log.LogMessage(String.Empty, MessageImportance.High);
var tempZipFolder = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString());
Log.LogMessage("Copying template files to: " + tempZipFolder, MessageImportance.High);
Directory.CreateDirectory(tempZipFolder);
foreach (var sourceFile in TemplateFiles)
{
var destinationFile = Path.Combine(tempZipFolder, new FileInfo(sourceFile).Name);
File.Copy(sourceFile, destinationFile);
Log.LogMessage(" > Copied: " + destinationFile, MessageImportance.High);
}
if (isDefaultLocale)
{
Log.LogMessage("Skipping localized files (default locale)", MessageImportance.High);
}
else
{
Log.LogMessage("Copying localized files", MessageImportance.High);
foreach (var localizedFileItem in LocalizedFiles)
{
var fileName = new FileInfo(localizedFileItem).Name;
var sourceFile = Path.Combine(absoluteOutDir, "localize", lang, TemplateCategory, AssemblyName, fileName);
var destinationFile = Path.Combine(tempZipFolder, fileName);
if (File.Exists(sourceFile) == false)
{
throw new FileNotFoundException("Localized file not found: " + sourceFile, sourceFile);
}
File.Delete(destinationFile);
File.Copy(sourceFile, destinationFile);
Log.LogMessage(" > Copied: " + destinationFile, MessageImportance.High);
}
}
var templateOutputPath = isDefaultLocale
? Path.Combine(absoluteOutDir, TemplateCategory, AssemblyName)
: Path.Combine(absoluteOutDir, "localize", lang, TemplateCategory, AssemblyName);
if (Directory.Exists(templateOutputPath) == false)
{
Directory.CreateDirectory(templateOutputPath);
}
var templateOutputFile = Path.Combine(templateOutputPath, AssemblyName + ".zip");
if (File.Exists(templateOutputFile))
{
File.Delete(templateOutputFile);
}
Log.LogMessage("Zipping template to: " + templateOutputFile, MessageImportance.High);
ZipFile.CreateFromDirectory(tempZipFolder, templateOutputFile);
Directory.Delete(tempZipFolder, true);
Log.LogMessage("---------------------------------------------------", MessageImportance.High);
Log.LogMessage(string.Empty, MessageImportance.High);
}
]]>
</Code>
</Task>
</UsingTask>
<UsingTask TaskName="GenerateAssemblyFileVersionTask" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
<ParameterGroup>
<Language ParameterType="System.String" Required="true" />
......@@ -172,33 +77,7 @@
</Code>
</Task>
</UsingTask>
<!-- In case of a microbuild, depend on 'Localize' target to use the localized resources -->
<Target Name="LocalizeTemplateProjectsInMicrobuild" AfterTargets="Localize" Condition="'$(GenerateLocalizedTemplates)' == 'true' and '$(Languages)' != '' and '@(FilesToLocalize)' != ''">
<LocalizeTemplateProjectsTask
OutDir="$(OutputPath)"
TemplateCategory="$(TemplateCategory)"
AssemblyName="$(AssemblyName)"
TemplateFiles="@(TemplateFiles)"
LocalizedFiles="@(FilesToLocalize)"
LocLanguages="$(Languages)" />
</Target>
<!-- In case of a local build, depend on the build target to use the native resources -->
<Target Name="LocalizeTemplateProjectsLocally" AfterTargets="Build" Condition="'$(GenerateLocalizedTemplates)' == 'true' and ('$(Languages)' == '' or '@(FilesToLocalize)' == '')">
<PropertyGroup>
<Languages Condition="'$(Languages)' == ''">ENU</Languages>
</PropertyGroup>
<LocalizeTemplateProjectsTask
OutDir="$(OutputPath)"
TemplateCategory="$(TemplateCategory)"
AssemblyName="$(AssemblyName)"
TemplateFiles="@(TemplateFiles)"
LocalizedFiles="@(FilesToLocalize)"
LocLanguages="$(Languages)" />
</Target>
<Target Name="GenerateAssemblyFileVersion" BeforeTargets="CoreCompile">
<!-- Put build number 0 and today's date if this was a local build -->
<PropertyGroup>
......
......@@ -14,12 +14,6 @@
<Import Project="..\BuildFromSource.targets" />
<ItemGroup>
<FilesToLocalize Include="$(OutDir)$(AssemblyName).dll">
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).dll.lcl</TranslationFile>
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(AssemblyName).dll.lci</LciCommentFile>
<HasLceComments>false</HasLceComments>
<InProject>false</InProject>
</FilesToLocalize>
<Compile Include="..\..\assemblyinfo\assemblyinfo.FSharp.Compiler.Private.dll.fs">
<Link>assemblyinfo.FSharp.Compiler.Private.dll.fs</Link>
</Compile>
......
......@@ -13,6 +13,7 @@
<AllowCrossTargeting>true</AllowCrossTargeting>
<ProjectGuid>{702A7979-BCF9-4C41-853E-3ADFC9897890}</ProjectGuid>
</PropertyGroup>
<ItemGroup>
<FilesToLocalize Include="$(OutDir)$(AssemblyName).dll">
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).dll.lcl</TranslationFile>
......@@ -80,10 +81,10 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(FSharpSourcesRoot)\FSharpSource.targets" />
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).dll" />
<BinariesToBeSigned Include="$(OutDir)localize\**\$(AssemblyName).resources.dll" />
<BinariesToBeSigned Include="$(OutDir)**\$(AssemblyName).resources.dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
<Authenticode>Microsoft</Authenticode>
<StrongName>StrongName</StrongName>
......
......@@ -354,7 +354,7 @@ open Printf
File.GetLastWriteTimeUtc(filename) <= File.GetLastWriteTimeUtc(outFilename) &&
File.GetLastWriteTimeUtc(filename) <= File.GetLastWriteTimeUtc(outXmlFilename) then
printMessage (sprintf "Skipping generation of %s and %s since up-to-date" outFilename outXmlFilename)
Some (outFilename, outXmlFilename)
Some (filename, outFilename, outXmlFilename)
else
printMessage (sprintf "Reading %s" filename)
......@@ -450,7 +450,7 @@ open Printf
use outXmlStream = File.Create outXmlFilename
xd.Save outXmlStream
printMessage (sprintf "Done %s" outFilename)
Some (outFilename, outXmlFilename)
Some (filename, outFilename, outXmlFilename)
with e ->
PrintErr(filename, 0, sprintf "An exception occurred when processing '%s'\n%s" filename (e.ToString()))
None
......@@ -487,7 +487,7 @@ open Printf
|> Array.choose (fun item -> generateResxAndSource item.ItemSpec)
let generatedSource, generatedResx =
[| for (source, resx) in generatedFiles do
[| for (textFile, source, resx) in generatedFiles do
let sourceItem =
let item = TaskItem(source)
item.SetMetadata("AutoGen", "true")
......@@ -497,6 +497,7 @@ open Printf
let resxItem =
let item = TaskItem(resx)
item.SetMetadata("ManifestResourceName", Path.GetFileNameWithoutExtension(resx))
item.SetMetadata("SourceDocumentPath", textFile)
item :> ITaskItem
yield (sourceItem, resxItem) |]
|> Array.unzip
......
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">Parametr ToolPath je neznámý; zadejte cestu k souboru fsc.exe jako vlastnost ToolPath.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath ist unbekannt. Geben Sie den Pfad zu "fsc.exe" als ToolPath-Eigenschaft an.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="en" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="new">ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="es" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath desconocido; especifique la ruta de acceso del archivo fsc.exe como propiedad ToolPath.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="fr" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath inconnu ; spécifiez le chemin d'accès de fsc.exe en tant que propriété ToolPath.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="it" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath sconosciuto. Specificare il percorso di fsc.exe come proprietà ToolPath.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ja" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath が不明です。fsc.exe へのパスを ToolPath プロパティとして指定してください。</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ko" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath를 알 수 없습니다. fsc.exe의 경로를 ToolPath 속성으로 지정하세요.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pl" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">Właściwość ToolPath jest nieznana. Określ ścieżkę do pliku fsc.exe jako właściwość ToolPath.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="pt-BR" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath é desconhecido; especifique o caminho para fsc.exe como propriedade de ToolPath.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="ru" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">Неизвестное значение свойства ToolPath; укажите в качестве значения свойства ToolPath путь к файлу fsc.exe.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="tr" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath bilinmiyor; fsc.exe yolunu ToolPath özelliği olarak belirtin.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hans" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">ToolPath 未知;将 fsc.exe 的路径指定为 ToolPath 属性。</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="zh-Hant" original="../FSBuild.resx">
<body>
<trans-unit id="toolpathUnknown">
<source>ToolPath is unknown; specify the path to fsc.exe as the ToolPath property.</source>
<target state="translated">未知的 ToolPath,請指定 fsc.exe 的路徑做為 ToolPath 屬性。</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
......@@ -44,9 +44,10 @@
<Name>FSharp.Core</Name>
</ProjectReference>
</ItemGroup>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).dll" />
<BinariesToBeSigned Include="$(OutDir)**\$(AssemblyName).resources.dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
<Authenticode>Microsoft</Authenticode>
<StrongName>StrongName</StrongName>
......
......@@ -37,10 +37,10 @@
<Import Project="$(FSharpSourcesRoot)\.nuget\NuGet.targets" Condition="Exists('$(FSharpSourcesRoot)\.nuget\NuGet.targets')" />
<Import Project="$(FSharpSourcesRoot)\FSharpSource.targets" />
<Import Project="$(FsLexToolPath)\FsLexYacc.targets" />
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).dll" />
<BinariesToBeSigned Include="$(OutDir)localize\**\$(AssemblyName).resources.dll" />
<BinariesToBeSigned Include="$(OutDir)**\$(AssemblyName).resources.dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
<Authenticode>Microsoft</Authenticode>
<StrongName>StrongName</StrongName>
......@@ -68,12 +68,6 @@
<InternalsVisibleTo Include="LanguageServiceProfiling" />
</ItemGroup>
<ItemGroup>
<FilesToLocalize Include="$(OutDir)$(AssemblyName).dll">
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).dll.lcl</TranslationFile>
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(AssemblyName).dll.lci</LciCommentFile>
<HasLceComments>false</HasLceComments>
<InProject>false</InProject>
</FilesToLocalize>
<Compile Include="..\..\assemblyinfo\assemblyinfo.FSharp.Compiler.Private.dll.fs">
<Link>assemblyinfo.FSharp.Compiler.Private.dll.fs</Link>
</Compile>
......
......@@ -39,7 +39,7 @@
</ItemGroup>
<Import Project="$(FSharpSourcesRoot)\FSharpSource.targets" />
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
......
......@@ -34,15 +34,6 @@
<None Include="FSharp.Core.runtimeconfig.json" Condition="'$(TargetDotnetProfile)' == 'coreclr'" ><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></None>
</ItemGroup>
<ItemGroup>
<FilesToLocalize Include="$(OutDir)$(AssemblyName).dll">
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).dll.lcl</TranslationFile>
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(AssemblyName).dll.lci</LciCommentFile>
<HasLceComments>false</HasLceComments>
<InProject>false</InProject>
</FilesToLocalize>
</ItemGroup>
<ItemGroup>
<CustomAdditionalCompileInputs Include="$(FSharpSourcesRoot)\..\Proto\$(ProtoFlavour)\bin\fsc-proto.exe">
<Visible>false</Visible>
......@@ -268,10 +259,10 @@
<Copy SourceFiles="$(IntermediateOutputPath)\FSharp.Core.optdata" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" />
</Target>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).dll" />
<BinariesToBeSigned Include="$(OutDir)localize\**\$(AssemblyName).resources.dll" />
<BinariesToBeSigned Include="$(OutDir)**\$(AssemblyName).resources.dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
<Authenticode>Microsoft</Authenticode>
<StrongName>StrongName</StrongName>
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
......@@ -22,14 +22,6 @@
<AllowCrossTargeting>true</AllowCrossTargeting>
<OtherFlags>$(OtherFlags) --warnon:1182</OtherFlags>
</PropertyGroup>
<ItemGroup>
<FilesToLocalize Include="$(OutDir)$(AssemblyName).exe">
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).exe.lcl</TranslationFile>
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(AssemblyName).exe.lci</LciCommentFile>
<HasLceComments>false</HasLceComments>
<InProject>false</InProject>
</FilesToLocalize>
</ItemGroup>
<ItemGroup>
<InternalsVisibleTo Include="VisualFSharp.Unittests" />
......@@ -70,10 +62,10 @@
</ProjectReference>
</ItemGroup>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).exe" />
<BinariesToBeSigned Include="$(OutDir)localize\**\$(AssemblyName).resources.dll" />
<BinariesToBeSigned Include="$(OutDir)**\$(AssemblyName).resources.dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
<Authenticode>Microsoft</Authenticode>
<StrongName>StrongName</StrongName>
......
......@@ -26,14 +26,6 @@
<Win32Resource>fsi.res</Win32Resource>
<TargetFrameworkVersion Condition="'$(TargetDotnetProfile)' != 'coreclr'">v4.6</TargetFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<FilesToLocalize Include="$(OutDir)$(AssemblyName).exe">
<TranslationFile>$(FSharpSourcesRoot)\..\loc\lcl\{Lang}\$(AssemblyName).exe.lcl</TranslationFile>
<LciCommentFile>$(FSharpSourcesRoot)\..\loc\lci\$(AssemblyName).exe.lci</LciCommentFile>
<HasLceComments>false</HasLceComments>
<InProject>false</InProject>
</FilesToLocalize>
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\assemblyinfo\assemblyinfo.fsi.exe.fs">
<Link>assemblyinfo.fsi.exe.fs</Link>
......@@ -80,10 +72,10 @@
<Private>True</Private>
</ProjectReference>
</ItemGroup>
<Target Name="GatherBinariesToBeSigned" AfterTargets="Localize" Condition="'$(UseGatherBinaries)' == 'true'">
<Target Name="GatherBinariesToBeSigned" AfterTargets="CopyFilesToOutputDirectory">
<ItemGroup>
<BinariesToBeSigned Include="$(OutDir)$(AssemblyName).exe" />
<BinariesToBeSigned Include="$(OutDir)localize\**\$(AssemblyName).resources.dll" />
<BinariesToBeSigned Include="$(OutDir)**\$(AssemblyName).resources.dll" />
<FilesToSign Include="@(BinariesToBeSigned)">
<Authenticode>Microsoft</Authenticode>
<StrongName>StrongName</StrongName>
......
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../FSIstrings.resx">
<body>
<trans-unit id="stoppedDueToError">
<source>Stopped due to error\n</source>
<target state="translated">Zastavilo se kvůli chybě.\n</target>
<note />
</trans-unit>
<trans-unit id="fsiUsage">
<source>Usage: {0} &lt;options&gt; [script.fsx [&lt;arguments&gt;]]</source>
<target state="translated">Použití: {0} &lt;parametry&gt; [skript.fsx [&lt;argumenty&gt;]]</target>
<note />
</trans-unit>
<trans-unit id="fsiInputFiles">
<source>- INPUT FILES -</source>
<target state="translated">- VSTUPNÍ SOUBORY -</target>
<note />
</trans-unit>
<trans-unit id="fsiCodeGeneration">
<source>- CODE GENERATION -</source>
<target state="translated">- GENEROVÁNÍ KÓDU -</target>
<note />
</trans-unit>
<trans-unit id="fsiErrorsAndWarnings">
<source>- ERRORS AND WARNINGS -</source>
<target state="translated">- CHYBY A UPOZORNĚNÍ -</target>
<note />
</trans-unit>
<trans-unit id="fsiLanguage">
<source>- LANGUAGE -</source>
<target state="translated">- JAZYK -</target>
<note />
</trans-unit>
<trans-unit id="fsiMiscellaneous">
<source>- MISCELLANEOUS -</source>
<target state="translated">- RŮZNÉ -</target>
<note />
</trans-unit>
<trans-unit id="fsiAdvanced">
<source>- ADVANCED -</source>
<target state="translated">- UPŘESNIT -</target>
<note />
</trans-unit>
<trans-unit id="fsiExceptionRaisedStartingServer">
<source>Exception raised when starting remoting server.\n{0}</source>
<target state="translated">Při spouštění serveru vzdálené komunikace se vyvolala výjimka.\n{0}</target>
<note />
</trans-unit>
<trans-unit id="fsiUse">
<source>Use the given file on startup as initial input</source>
<target state="translated">Použít při spuštění zadaný soubor jako počáteční vstup</target>
<note />
</trans-unit>
<trans-unit id="fsiLoad">
<source>#load the given file on startup</source>
<target state="translated">#load zadaného souboru při spuštění</target>
<note />
</trans-unit>
<trans-unit id="fsiRemaining">
<source>Treat remaining arguments as command line arguments, accessed using fsi.CommandLineArgs</source>
<target state="translated">Zpracovat zbývající argumenty jako argumenty příkazového řádku, ke kterým se přistupuje pomocí fsi.CommandLineArgs</target>
<note />
</trans-unit>
<trans-unit id="fsiHelp">
<source>Display this usage message (Short form: -?)</source>
<target state="translated">Zobrazí tuto zprávu o použití (krátký tvar: -?).</target>
<note />
</trans-unit>
<trans-unit id="fsiExec">
<source>Exit fsi after loading the files or running the .fsx script given on the command line</source>
<target state="translated">Ukončit soubor fsi po načtení souborů nebo spuštění skriptu .fsx zadaného na příkazovém řádku</target>
<note />
</trans-unit>
<trans-unit id="fsiGui">
<source>Execute interactions on a Windows Forms event loop (on by default)</source>
<target state="translated">Provést interakce u smyčky událostí modelu Windows Forms (ve výchozím nastavení zapnuté)</target>
<note />
</trans-unit>
<trans-unit id="fsiQuiet">
<source>Suppress fsi writing to stdout</source>
<target state="translated">Potlačit zapisování fsi do stdout</target>
<note />
</trans-unit>
<trans-unit id="fsiReadline">
<source>Support TAB completion in console (on by default)</source>
<target state="translated">Podpora dokončování pomocí tabulátorů v konzole (ve výchozím nastavení zapnuté)</target>
<note />
</trans-unit>
<trans-unit id="fsiEmitDebugInfoInQuotations">
<source>Emit debug information in quotations</source>
<target state="translated">Generovat ladicí informace v uvozovkách</target>
<note />
</trans-unit>
<trans-unit id="fsiBanner3">
<source>For help type #help;;</source>
<target state="translated">Nápovědu zobrazíte zadáním #help;;</target>
<note />
</trans-unit>
<trans-unit id="fsiConsoleProblem">
<source>A problem occurred starting the F# Interactive process. This may be due to a known problem with background process console support for Unicode-enabled applications on some Windows systems. Try selecting Tools-&gt;Options-&gt;F# Interactive for Visual Studio and enter '--fsi-server-no-unicode'.</source>
<target state="translated">Při spuštění procesu F# Interactive se vyskytl problém. Ten mohly způsobit známé potíže s podporou konzoly procesu na pozadí pro aplikace umožňující kódování Unicode v některých systémech Windows. V případě Visual Studia zkuste vybrat Nástroje-&gt;Možnosti-&gt;F# Interactive a zadat: --fsi-server-no-unicode.</target>
<note />
</trans-unit>
<trans-unit id="fsiInvalidAssembly">
<source>'{0}' is not a valid assembly name</source>
<target state="translated">{0} není platný název sestavení.</target>
<note />
</trans-unit>
<trans-unit id="fsiDirectoryDoesNotExist">
<source>Directory '{0}' doesn't exist</source>
<target state="translated">Adresář {0} neexistuje.</target>
<note />
</trans-unit>
<trans-unit id="fsiInvalidDirective">
<source>Invalid directive '#{0} {1}'</source>
<target state="translated">Neplatná direktiva #{0} {1}</target>
<note />
</trans-unit>
<trans-unit id="fsiLineTooLong">
<source>Warning: line too long, ignoring some characters\n</source>
<target state="translated">Upozornění: řádek je příliš dlouhý, některé znaky se ignorují.\n</target>
<note />
</trans-unit>
<trans-unit id="fsiTimeInfoMainString">
<source>Real: {0}, CPU: {1}, GC {2}</source>
<target state="translated">Real: {0}, CPU: {1}, GC {2}</target>
<note />
</trans-unit>
<trans-unit id="fsiTimeInfoGCGenerationLabelSomeShorthandForTheWordGeneration">
<source>gen</source>
<target state="translated">obec</target>
<note />
</trans-unit>
<trans-unit id="fsiExceptionDuringPrettyPrinting">
<source>\n\nException raised during pretty printing.\nPlease report this so it can be fixed.\nTrace: {0}\n</source>
<target state="translated">\n\nFunkce Pretty Printing vyvolala výjimku.\nNahlaste prosím tento problém, abychom ho mohli opravit.\nTrasování: {0}\n</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHeader1directives">
<source> F# Interactive directives:</source>
<target state="translated"> Direktivy F# Interactive:</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashrInfo">
<source>Reference (dynamically load) the given DLL</source>
<target state="translated">Odkazovat (dynamicky načíst) zadanou knihovnu DLL</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashIInfo">
<source>Add the given search path for referenced DLLs</source>
<target state="translated">Přidat zadanou cestu hledání pro odkazované knihovny DLL</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashloadInfo">
<source>Load the given file(s) as if compiled and referenced</source>
<target state="translated">Načíst zadané soubory, jako by byly zkompilované a odkazované</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashtimeInfo">
<source>Toggle timing on/off</source>
<target state="translated">Přepnout časování do polohy zapnuto nebo vypnuto</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashhelpInfo">
<source>Display help</source>
<target state="translated">Zobrazí nápovědu.</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashquitInfo">
<source>Exit</source>
<target state="translated">Ukončit</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHeader2commandLine">
<source> F# Interactive command line options:</source>
<target state="translated"> Možnosti příkazového řádku F# Interactive:</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHeader3">
<source> See '{0}' for options</source>
<target state="translated"> Možnosti viz {0}</target>
<note />
</trans-unit>
<trans-unit id="fsiLoadingFilesPrefixText">
<source>Loading</source>
<target state="translated">Načítání</target>
<note />
</trans-unit>
<trans-unit id="fsiInterrupt">
<source>\n- Interrupt\n</source>
<target state="translated">\n- Přerušit\n</target>
<note />
</trans-unit>
<trans-unit id="fsiExit">
<source>\n- Exit...\n</source>
<target state="translated">\n- Ukončit...\n</target>
<note />
</trans-unit>
<trans-unit id="fsiAbortingMainThread">
<source>- Aborting main thread...</source>
<target state="translated">– Ukončuje se hlavní vlákno...</target>
<note />
</trans-unit>
<trans-unit id="fsiCouldNotInstallCtrlCHandler">
<source>Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was:\n\t{0}</source>
<target state="translated">Nepovedlo se nainstalovat obslužnou rutinu ctrl-c. Obslužná rutina Ctrl-C nebude dostupná. Vyskytla se tato chyba:\n\t{0}</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashr">
<source>--&gt; Referenced '{0}'</source>
<target state="translated">--&gt; Odkazovaný soubor {0}</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashrWithLockWarning">
<source>--&gt; Referenced '{0}' (file may be locked by F# Interactive process)</source>
<target state="translated">--&gt; Odkazovaný soubor {0} (Soubor musí být procesem F# Interactive uzamčený.)</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashrWithStaleWarning">
<source>--&gt; Referenced '{0}' (an assembly with a different timestamp has already been referenced from this location, reset fsi to load the updated assembly)</source>
<target state="translated">--&gt; Odkazováno {0} (na sestavení s odlišným časovým razítkem se už z tohoto umístění odkazovalo, pro načtení aktualizovaného sestavení obnovte soubor fsi)</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashI">
<source>--&gt; Added '{0}' to library include path</source>
<target state="translated">--&gt; Soubory přidané do knihovny ({0}) zahrnují cestu.</target>
<note />
</trans-unit>
<trans-unit id="fsiTurnedTimingOn">
<source>--&gt; Timing now on</source>
<target state="translated">--&gt; Časování je teď zapnuté.</target>
<note />
</trans-unit>
<trans-unit id="fsiTurnedTimingOff">
<source>--&gt; Timing now off</source>
<target state="translated">--&gt; Časování je teď vypnuté.</target>
<note />
</trans-unit>
<trans-unit id="fsiUnexpectedThreadAbortException">
<source>- Unexpected ThreadAbortException (Ctrl-C) during event handling: Trying to restart...</source>
<target state="translated">- Při zpracování události se vyvolala neočekávaná výjimka ThreadAbortException (Ctrl-C): Pokus o restartování...</target>
<note />
</trans-unit>
<trans-unit id="fsiFailedToResolveAssembly">
<source>Failed to resolve assembly '{0}'</source>
<target state="translated">Nepovedlo se přeložit sestavení {0}.</target>
<note />
</trans-unit>
<trans-unit id="fsiBindingSessionTo">
<source>Binding session to '{0}'...</source>
<target state="translated">Relace se váže na {0}...</target>
<note />
</trans-unit>
<trans-unit id="fsiProductName">
<source>Microsoft (R) F# Interactive version {0}</source>
<target state="translated">Microsoft (R) F# Interactive verze {0}</target>
<note />
</trans-unit>
<trans-unit id="fsiProductNameCommunity">
<source>F# Interactive for F# {0}</source>
<target state="translated">F# Interactive pro F# {0}</target>
<note />
</trans-unit>
<trans-unit id="shadowCopyReferences">
<source>Prevents references from being locked by the F# Interactive process</source>
<target state="translated">Znemožňuje zamknutí referencí interaktivním procesem jazyka F#.</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="de" original="../FSIstrings.resx">
<body>
<trans-unit id="stoppedDueToError">
<source>Stopped due to error\n</source>
<target state="translated">Aufgrund eines Fehlers beendet\n</target>
<note />
</trans-unit>
<trans-unit id="fsiUsage">
<source>Usage: {0} &lt;options&gt; [script.fsx [&lt;arguments&gt;]]</source>
<target state="translated">Verwendung: {0} &lt;Optionen&gt; [script.fsx [&lt;Argumente&gt;]]</target>
<note />
</trans-unit>
<trans-unit id="fsiInputFiles">
<source>- INPUT FILES -</source>
<target state="translated">- EINGABEDATEIEN -</target>
<note />
</trans-unit>
<trans-unit id="fsiCodeGeneration">
<source>- CODE GENERATION -</source>
<target state="translated">- CODEGENERIERUNG -</target>
<note />
</trans-unit>
<trans-unit id="fsiErrorsAndWarnings">
<source>- ERRORS AND WARNINGS -</source>
<target state="translated">- FEHLER UND WARNUNGEN -</target>
<note />
</trans-unit>
<trans-unit id="fsiLanguage">
<source>- LANGUAGE -</source>
<target state="translated">- SPRACHE -</target>
<note />
</trans-unit>
<trans-unit id="fsiMiscellaneous">
<source>- MISCELLANEOUS -</source>
<target state="translated">- VERSCHIEDENES -</target>
<note />
</trans-unit>
<trans-unit id="fsiAdvanced">
<source>- ADVANCED -</source>
<target state="translated">- ERWEITERT -</target>
<note />
</trans-unit>
<trans-unit id="fsiExceptionRaisedStartingServer">
<source>Exception raised when starting remoting server.\n{0}</source>
<target state="translated">Ausnahme beim Starten des Remoteservers.\n{0}</target>
<note />
</trans-unit>
<trans-unit id="fsiUse">
<source>Use the given file on startup as initial input</source>
<target state="translated">Die angegebene Datei beim Start als ursprüngliche Eingabe verwenden</target>
<note />
</trans-unit>
<trans-unit id="fsiLoad">
<source>#load the given file on startup</source>
<target state="translated">#load der angegebenen Datei beim Start</target>
<note />
</trans-unit>
<trans-unit id="fsiRemaining">
<source>Treat remaining arguments as command line arguments, accessed using fsi.CommandLineArgs</source>
<target state="translated">Verbleibende Argumente als Befehlszeilenargumente (Zugriff mithilfe von fsi.CommandLineArgs) behandeln</target>
<note />
</trans-unit>
<trans-unit id="fsiHelp">
<source>Display this usage message (Short form: -?)</source>
<target state="translated">Diesen Hilfetext anzeigen (Kurzform: -?)</target>
<note />
</trans-unit>
<trans-unit id="fsiExec">
<source>Exit fsi after loading the files or running the .fsx script given on the command line</source>
<target state="translated">FSI nach Laden der Dateien oder Ausführen des in der Befehlszeile angegebenen .fsx-Skripts beenden</target>
<note />
</trans-unit>
<trans-unit id="fsiGui">
<source>Execute interactions on a Windows Forms event loop (on by default)</source>
<target state="translated">Interaktionen in einer Windows Forms-Ereignisschleife ausführen (standardmäßig aktiviert)</target>
<note />
</trans-unit>
<trans-unit id="fsiQuiet">
<source>Suppress fsi writing to stdout</source>
<target state="translated">Schreiben von FSI in stdout unterdrücken</target>
<note />
</trans-unit>
<trans-unit id="fsiReadline">
<source>Support TAB completion in console (on by default)</source>
<target state="translated">Vervollständigung mit der TAB-TASTE in der Konsole unterstützen (standardmäßig aktiviert)</target>
<note />
</trans-unit>
<trans-unit id="fsiEmitDebugInfoInQuotations">
<source>Emit debug information in quotations</source>
<target state="translated">Debugginginformationen in Anführungszeichen ausgeben</target>
<note />
</trans-unit>
<trans-unit id="fsiBanner3">
<source>For help type #help;;</source>
<target state="translated">Um Hilfe zu erhalten, geben Sie "#help;;" ein.</target>
<note />
</trans-unit>
<trans-unit id="fsiConsoleProblem">
<source>A problem occurred starting the F# Interactive process. This may be due to a known problem with background process console support for Unicode-enabled applications on some Windows systems. Try selecting Tools-&gt;Options-&gt;F# Interactive for Visual Studio and enter '--fsi-server-no-unicode'.</source>
<target state="translated">Beim Starten des F# Interactive-Prozesses ist ein Fehler aufgetreten. Ursache hierfür kann ein bekanntes Problem mit der Hintergrundprozess-Konsolenunterstützung für Unicode-aktivierte Anwendungen unter manchen Windows-Systemen sein. Wählen Sie "Tools" -&gt; "Optionen" -&gt; "F# Interactive für Visual Studio" aus, und geben Sie "--fsi-server-no-unicode" ein.</target>
<note />
</trans-unit>
<trans-unit id="fsiInvalidAssembly">
<source>'{0}' is not a valid assembly name</source>
<target state="translated">{0} ist kein gültiger Assemblyname.</target>
<note />
</trans-unit>
<trans-unit id="fsiDirectoryDoesNotExist">
<source>Directory '{0}' doesn't exist</source>
<target state="translated">Das Verzeichnis "{0}" ist nicht vorhanden.</target>
<note />
</trans-unit>
<trans-unit id="fsiInvalidDirective">
<source>Invalid directive '#{0} {1}'</source>
<target state="translated">Ungültige Direktive "#{0} {1}"</target>
<note />
</trans-unit>
<trans-unit id="fsiLineTooLong">
<source>Warning: line too long, ignoring some characters\n</source>
<target state="translated">Warnung: Die Zeile ist zu lang, einige Zeichen werden ignoriert.\n</target>
<note />
</trans-unit>
<trans-unit id="fsiTimeInfoMainString">
<source>Real: {0}, CPU: {1}, GC {2}</source>
<target state="translated">Real: {0}, CPU: {1}, GC {2}</target>
<note />
</trans-unit>
<trans-unit id="fsiTimeInfoGCGenerationLabelSomeShorthandForTheWordGeneration">
<source>gen</source>
<target state="translated">Gen</target>
<note />
</trans-unit>
<trans-unit id="fsiExceptionDuringPrettyPrinting">
<source>\n\nException raised during pretty printing.\nPlease report this so it can be fixed.\nTrace: {0}\n</source>
<target state="translated">\n\nAusnahme beim Schöndruck.\nMelden Sie dies, damit das Problem behoben werden kann.\nAblaufverfolgung: {0}\n</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHeader1directives">
<source> F# Interactive directives:</source>
<target state="translated"> F# Interactive-Direktiven:</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashrInfo">
<source>Reference (dynamically load) the given DLL</source>
<target state="translated">Auf die angegebene DLL verweisen (dynamisch laden)</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashIInfo">
<source>Add the given search path for referenced DLLs</source>
<target state="translated">Angegebenen Suchpfad für DLLs, auf die verwiesen wird, hinzufügen</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashloadInfo">
<source>Load the given file(s) as if compiled and referenced</source>
<target state="translated">Angegebene Datei(en) laden, als wären sie kompiliert und würden Verweise aufweisen</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashtimeInfo">
<source>Toggle timing on/off</source>
<target state="translated">Zeitliche Steuerung ein/aus</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashhelpInfo">
<source>Display help</source>
<target state="translated">Hilfe anzeigen</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHashquitInfo">
<source>Exit</source>
<target state="translated">Beenden</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHeader2commandLine">
<source> F# Interactive command line options:</source>
<target state="translated"> F# Interactive-Befehlszeilenoptionen:</target>
<note />
</trans-unit>
<trans-unit id="fsiIntroTextHeader3">
<source> See '{0}' for options</source>
<target state="translated"> Optionen finden Sie unter "{0}".</target>
<note />
</trans-unit>
<trans-unit id="fsiLoadingFilesPrefixText">
<source>Loading</source>
<target state="translated">Laden</target>
<note />
</trans-unit>
<trans-unit id="fsiInterrupt">
<source>\n- Interrupt\n</source>
<target state="translated">\n- Unterbrechen\n</target>
<note />
</trans-unit>
<trans-unit id="fsiExit">
<source>\n- Exit...\n</source>
<target state="translated">\n- Beenden...\n</target>
<note />
</trans-unit>
<trans-unit id="fsiAbortingMainThread">
<source>- Aborting main thread...</source>
<target state="translated">- Hauptthread wird abgebrochen...</target>
<note />
</trans-unit>
<trans-unit id="fsiCouldNotInstallCtrlCHandler">
<source>Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was:\n\t{0}</source>
<target state="translated">Fehler beim Installieren des STRG-C-Handlers. STRG-C-Behandlung ist nicht verfügbar. Fehler:\n\t{0}</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashr">
<source>--&gt; Referenced '{0}'</source>
<target state="translated">--&gt; Auf "{0}" wurde verwiesen</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashrWithLockWarning">
<source>--&gt; Referenced '{0}' (file may be locked by F# Interactive process)</source>
<target state="translated">--&gt; Auf "{0}" wurde verwiesen (die Datei wird möglicherweise vom F# Interactive-Prozess gesperrt)</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashrWithStaleWarning">
<source>--&gt; Referenced '{0}' (an assembly with a different timestamp has already been referenced from this location, reset fsi to load the updated assembly)</source>
<target state="translated">--&gt; Auf "{0}" wurde verwiesen (eine Assembly mit einem anderen Zeitstempel wurde bereits von diesem Ort verwiesen; stellen Sie fsi wieder her, um die aktualisierte Assembly zu laden)</target>
<note />
</trans-unit>
<trans-unit id="fsiDidAHashI">
<source>--&gt; Added '{0}' to library include path</source>
<target state="translated">--&gt; "{0}" wurde zum Bibliotheksincludepfad hinzugefügt</target>
<note />
</trans-unit>
<trans-unit id="fsiTurnedTimingOn">
<source>--&gt; Timing now on</source>
<target state="translated">--&gt; Zeitliche Steuerung jetzt ein</target>
<note />
</trans-unit>
<trans-unit id="fsiTurnedTimingOff">
<source>--&gt; Timing now off</source>
<target state="translated">--&gt; Zeitliche Steuerung jetzt aus</target>
<note />
</trans-unit>
<trans-unit id="fsiUnexpectedThreadAbortException">
<source>- Unexpected ThreadAbortException (Ctrl-C) during event handling: Trying to restart...</source>
<target state="translated">- Unerwartete ThreadAbortException (Ctrl-C) während der Ereignisbehandlung: Es wird versucht, neu zu starten...</target>
<note />
</trans-unit>
<trans-unit id="fsiFailedToResolveAssembly">
<source>Failed to resolve assembly '{0}'</source>
<target state="translated">Fehler beim Auflösen der Assembly "{0}"</target>
<note />
</trans-unit>
<trans-unit id="fsiBindingSessionTo">
<source>Binding session to '{0}'...</source>
<target state="translated">Sitzung wird an "{0}" gebunden...</target>
<note />
</trans-unit>
<trans-unit id="fsiProductName">
<source>Microsoft (R) F# Interactive version {0}</source>
<target state="translated">Microsoft (R) F# Interactive, Version {0}</target>
<note />
</trans-unit>
<trans-unit id="fsiProductNameCommunity">
<source>F# Interactive for F# {0}</source>
<target state="translated">F# Interactive für F# {0}</target>
<note />
</trans-unit>
<trans-unit id="shadowCopyReferences">
<source>Prevents references from being locked by the F# Interactive process</source>
<target state="translated">Verhindert, dass Verweise vom interaktiven Prozess F# gesperrt werden</target>
<note />
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd">
<file datatype="xml" source-language="en" target-language="cs" original="../FSInteractiveSettings.resx">
<body />
</file>
</xliff>
\ No newline at end of file
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册