add spanish to list of languages

This commit is contained in:
Jack Baron 2021-05-08 09:53:18 +01:00
parent 0dd0ea278a
commit e03f30f975
No known key found for this signature in database
GPG key ID: CD10BCEEC646C064
2 changed files with 6 additions and 2 deletions

View file

@ -13,7 +13,7 @@ namespace ModAssistant
public static string LoadedLanguage { get; private set; }
public static List<CultureInfo> LoadedLanguages { get => availableCultures.ToList(); }
public static bool FirstRun = true;
private static readonly string[] availableLanguageCodes = { "de", "en", "fr", "it", "ko", "nb", "nl", "ru", "sv", "zh" };
private static readonly string[] availableLanguageCodes = { "de", "en", "es", "fr", "it", "ko", "nb", "nl", "ru", "sv", "zh" };
private static IEnumerable<CultureInfo> availableCultures;
public static void LoadLanguages()

View file

@ -1,4 +1,4 @@
<?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">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
@ -111,6 +111,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Localisation\es.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Localisation\fr.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>