Skip to content

Commit

Permalink
include and fix language files
Browse files Browse the repository at this point in the history
  • Loading branch information
luludotdev committed Jun 23, 2022
1 parent 0b7623e commit 791bd90
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ModAssistant/Classes/Languages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ internal class Languages
public static string LoadedLanguage { get; private set; }
public static List<CultureInfo> LoadedLanguages => availableCultures.ToList();
public static bool FirstRun = true;
private static readonly string[] availableLanguageCodes = { "de", "en", "es", "fr", "it", "ja", "ko", "nb", "nl", "pl","pt", "ru", "sv", "th", "zh" };
private static readonly string[] availableLanguageCodes = { "de", "en", "es", "fr", "it", "ja", "ko", "nb", "nl", "pl", "pt", "ru", "sv", "th", "zh" };
private static IEnumerable<CultureInfo> availableCultures;

public static void LoadLanguages()
Expand Down
2 changes: 1 addition & 1 deletion ModAssistant/Localisation/pt.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ModAssistant"
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:String x:Key="ResourceDictionaryName">i18n:en-US</sys:String>
<sys:String x:Key="ResourceDictionaryName">i18n:pt-PT</sys:String>

<!-- App -->
<sys:String x:Key="App:InstallDirDialog:Title">Não foi possível encontrar a pasta de instalação do Beat Saber!</sys:String>
Expand Down
4 changes: 4 additions & 0 deletions ModAssistant/ModAssistant.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Localisation\pt.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Localisation\sv.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
Expand Down

0 comments on commit 791bd90

Please sign in to comment.