-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #3482 Internationalize Core, CmdLine, ConsoleUI, and AutoUpdater
- Loading branch information
Showing
254 changed files
with
8,680 additions
and
1,681 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,68 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Project> | ||
<PropertyGroup> | ||
<AssemblyName>AutoUpdater</AssemblyName> | ||
<AssemblyName>CKAN-AutoUpdateHelper</AssemblyName> | ||
<OutputPath>..\_build\out\$(AssemblyName)\$(Configuration)\bin\</OutputPath> | ||
<BaseIntermediateOutputPath>..\_build\out\$(AssemblyName)\$(Configuration)\obj\</BaseIntermediateOutputPath> | ||
</PropertyGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{E5B1C768-349E-4DAF-A134-56E4ECF1EEEF}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<RootNamespace>AutoUpdater</RootNamespace> | ||
<RootNamespace>CKAN.AutoUpdateHelper</RootNamespace> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<Deterministic>true</Deterministic> | ||
<Configurations>Debug;Release</Configurations> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<LangVersion>7</LangVersion> | ||
<ApplicationIcon>..\assets\ckan.ico</ApplicationIcon> | ||
<TargetFramework>net45</TargetFramework> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
<Deterministic>true</Deterministic> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<Prefer32Bit>false</Prefer32Bit> | ||
<LangVersion>7</LangVersion> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<DefineConstants>TRACE</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="System.Windows.Forms" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="ILRepack" Version="2.0.18" /> | ||
<PackageReference Include="ILRepack.MSBuild.Task" Version="2.0.13" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="..\_build\meta\GlobalAssemblyVersionInfo.cs"> | ||
<Link>Properties\GlobalAssemblyVersionInfo.cs</Link> | ||
</Compile> | ||
<Compile Include="..\GlobalAssemblyInfo.cs"> | ||
<Link>Properties\GlobalAssemblyInfo.cs</Link> | ||
</Compile> | ||
<Compile Include="Main.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="App.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" /> | ||
<Target Name="BeforeBuild"> | ||
<Exec Command="powershell ../build.ps1 Generate-GlobalAssemblyVersionInfo" Condition="!Exists('../_build/meta/GlobalAssemblyVersionInfo.cs') And '$(OS)' == 'Windows_NT'" /> | ||
<Exec Command="sh ../build Generate-GlobalAssemblyVersionInfo" Condition="!Exists('../_build/meta/GlobalAssemblyVersionInfo.cs') And '$(OS)' == 'Unix'" /> | ||
</Target> | ||
</Project> | ||
<Target Name="ILRepack" AfterTargets="Build"> | ||
<ItemGroup> | ||
<InputAssemblies Include="fr-FR\$(AssemblyName).resources.dll" /> | ||
<InputAssemblies Include="ru-RU\$(AssemblyName).resources.dll" /> | ||
</ItemGroup> | ||
<ILRepack OutputAssembly="AutoUpdater.exe" | ||
MainAssembly="$(AssemblyName).exe" | ||
InputAssemblies="@(InputAssemblies)" | ||
OutputType="$(OutputType)" | ||
WorkingDirectory="$(OutputPath)" | ||
Internalize="true" | ||
Parallel="true" /> | ||
<ItemGroup> | ||
<Repacked Include="$(OutputPath)AutoUpdater.*" /> | ||
</ItemGroup> | ||
<Copy SourceFiles="@(Repacked)" | ||
DestinationFolder="..\_build\repack\$(Configuration)" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
using System.Reflection; | ||
using System.Resources; | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
|
||
[assembly: AssemblyTitle("AutoUpdater")] | ||
[assembly: AssemblyTitle("CKAN-AutoUpdater")] | ||
[assembly: AssemblyDescription("CKAN Auto-update Executable")] | ||
[assembly: NeutralResourcesLanguage("en-GB")] | ||
|
||
[assembly: InternalsVisibleTo("Tests")] | ||
[assembly: InternalsVisibleTo("CKAN.Tests")] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.