add extra language as example

This commit is contained in:
Jack Baron 2020-02-01 20:31:56 +00:00
parent 9b8441c7ff
commit e6e32af20c
No known key found for this signature in database
GPG key ID: CD10BCEEC646C064
2 changed files with 171 additions and 157 deletions

View file

@ -0,0 +1,10 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:String x:Key="ResourceDictionaryName">i18n:en-GB</sys:String>
<sys:String x:Key="WindowTitle">ModAssistant</sys:String>
<sys:String x:Key="AgreeButton">I Agree</sys:String>
<sys:String x:Key="DisagreeButton">Disagree</sys:String>
</ResourceDictionary>

View file

@ -1,162 +1,166 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6A224B82-40DA-40B3-94DC-EFBEC2BDDA39}</ProjectGuid> <ProjectGuid>{6A224B82-40DA-40B3-94DC-EFBEC2BDDA39}</ProjectGuid>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<RootNamespace>ModAssistant</RootNamespace> <RootNamespace>ModAssistant</RootNamespace>
<AssemblyName>ModAssistant</AssemblyName> <AssemblyName>ModAssistant</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment> <FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath> <OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType> <DebugType>pdbonly</DebugType>
<Optimize>true</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath> <OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<PropertyGroup> <PropertyGroup>
<ApplicationIcon>Resources\icon.ico</ApplicationIcon> <ApplicationIcon>Resources\icon.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Data" /> <Reference Include="System.Data" />
<Reference Include="System.Drawing" /> <Reference Include="System.Drawing" />
<Reference Include="System.IO.Compression" /> <Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" /> <Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Management" /> <Reference Include="System.Management" />
<Reference Include="System.Web" /> <Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" /> <Reference Include="System.Web.Extensions" />
<Reference Include="System.Windows.Forms" /> <Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" /> <Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" /> <Reference Include="System.Net.Http" />
<Reference Include="System.Xaml"> <Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework> <RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference> </Reference>
<Reference Include="WindowsBase" /> <Reference Include="WindowsBase" />
<Reference Include="PresentationCore" /> <Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" /> <Reference Include="PresentationFramework" />
<Reference Include="WindowsFormsIntegration" /> <Reference Include="WindowsFormsIntegration" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ApplicationDefinition Include="App.xaml"> <ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</ApplicationDefinition> </ApplicationDefinition>
<Compile Include="Classes\Promotions.cs" /> <Compile Include="Classes\Promotions.cs" />
<Compile Include="Classes\Diagnostics.cs" /> <Compile Include="Classes\Diagnostics.cs" />
<Compile Include="Classes\Updater.cs" /> <Compile Include="Classes\Updater.cs" />
<Compile Include="Pages\Intro.xaml.cs"> <Compile Include="Pages\Intro.xaml.cs">
<DependentUpon>Intro.xaml</DependentUpon> <DependentUpon>Intro.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Classes\Mod.cs" /> <Compile Include="Classes\Mod.cs" />
<Compile Include="Pages\Invalid.xaml.cs"> <Compile Include="Pages\Invalid.xaml.cs">
<DependentUpon>Invalid.xaml</DependentUpon> <DependentUpon>Invalid.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Pages\Mods.xaml.cs"> <Compile Include="Pages\Mods.xaml.cs">
<DependentUpon>Mods.xaml</DependentUpon> <DependentUpon>Mods.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Pages\About.xaml.cs"> <Compile Include="Pages\About.xaml.cs">
<DependentUpon>About.xaml</DependentUpon> <DependentUpon>About.xaml</DependentUpon>
</Compile> </Compile>
<Compile Include="Classes\Utils.cs" /> <Compile Include="Classes\Utils.cs" />
<Page Include="Localisation\en-US.xaml"> <Page Include="Localisation\en-US.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="Pages\Intro.xaml"> <Page Include="Localisation\en-GB.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="MainWindow.xaml"> <Page Include="Pages\Intro.xaml">
<Generator>MSBuild:Compile</Generator> <SubType>Designer</SubType>
<SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Compile Include="App.xaml.cs"> <Page Include="MainWindow.xaml">
<DependentUpon>App.xaml</DependentUpon> <Generator>MSBuild:Compile</Generator>
<SubType>Code</SubType> <SubType>Designer</SubType>
</Compile> </Page>
<Compile Include="Classes\OneClickInstaller.cs" /> <Compile Include="App.xaml.cs">
<Compile Include="MainWindow.xaml.cs"> <DependentUpon>App.xaml</DependentUpon>
<DependentUpon>MainWindow.xaml</DependentUpon> <SubType>Code</SubType>
<SubType>Code</SubType> </Compile>
</Compile> <Compile Include="Classes\OneClickInstaller.cs" />
<Page Include="Pages\Invalid.xaml"> <Compile Include="MainWindow.xaml.cs">
<SubType>Designer</SubType> <DependentUpon>MainWindow.xaml</DependentUpon>
<Generator>MSBuild:Compile</Generator> <SubType>Code</SubType>
</Page> </Compile>
<Page Include="Pages\Mods.xaml"> <Page Include="Pages\Invalid.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="Pages\About.xaml"> <Page Include="Pages\Mods.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
<Page Include="Pages\Options.xaml"> <Page Include="Pages\About.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator> <Generator>MSBuild:Compile</Generator>
</Page> </Page>
</ItemGroup> <Page Include="Pages\Options.xaml">
<ItemGroup> <SubType>Designer</SubType>
<Compile Include="Pages\Options.xaml.cs"> <Generator>MSBuild:Compile</Generator>
<DependentUpon>Options.xaml</DependentUpon> </Page>
</Compile> </ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs"> <ItemGroup>
<SubType>Code</SubType> <Compile Include="Pages\Options.xaml.cs">
</Compile> <DependentUpon>Options.xaml</DependentUpon>
<Compile Include="Properties\Resources.Designer.cs"> </Compile>
<AutoGen>True</AutoGen> <Compile Include="Properties\AssemblyInfo.cs">
<DesignTime>True</DesignTime> <SubType>Code</SubType>
<DependentUpon>Resources.resx</DependentUpon> </Compile>
</Compile> <Compile Include="Properties\Resources.Designer.cs">
<Compile Include="Properties\Settings.Designer.cs"> <AutoGen>True</AutoGen>
<AutoGen>True</AutoGen> <DesignTime>True</DesignTime>
<DependentUpon>Settings.settings</DependentUpon> <DependentUpon>Resources.resx</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput> </Compile>
</Compile> <Compile Include="Properties\Settings.Designer.cs">
<EmbeddedResource Include="Properties\Resources.resx"> <AutoGen>True</AutoGen>
<Generator>ResXFileCodeGenerator</Generator> <DependentUpon>Settings.settings</DependentUpon>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <DesignTimeSharedInput>True</DesignTimeSharedInput>
</EmbeddedResource> </Compile>
<None Include="Properties\Settings.settings"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>PublicSettingsSingleFileGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
</None> </EmbeddedResource>
</ItemGroup> <None Include="Properties\Settings.settings">
<ItemGroup> <Generator>PublicSettingsSingleFileGenerator</Generator>
<None Include="App.config" /> <LastGenOutput>Settings.Designer.cs</LastGenOutput>
</ItemGroup> </None>
<ItemGroup> </ItemGroup>
<Resource Include="Resources\icon.ico" /> <ItemGroup>
</ItemGroup> <None Include="App.config" />
<ItemGroup> </ItemGroup>
<Resource Include="Resources\About.png" /> <ItemGroup>
<Resource Include="Resources\Intro.png" /> <Resource Include="Resources\icon.ico" />
<Resource Include="Resources\Mods.png" /> </ItemGroup>
<Resource Include="Resources\Options.png" /> <ItemGroup>
</ItemGroup> <Resource Include="Resources\About.png" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Resource Include="Resources\Intro.png" />
<Resource Include="Resources\Mods.png" />
<Resource Include="Resources\Options.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>