Skip to content

Commit

Permalink
translation - code note for future todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyedra committed Sep 30, 2023
1 parent be1bede commit 13ef4ae
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SS14.Launcher/Localization/LocalizationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ private bool LoadSystemDefault()

private void LoadTestCulture()
{
var sergalTextCultureInfo = new Language("sergal", "Sergal");
LoadLanguage(sergalTextCultureInfo);
var sergalLanguage = new Language("sergal", "Sergal");
LoadLanguage(sergalLanguage);
}

/// <summary>
Expand Down Expand Up @@ -253,6 +253,8 @@ private void UpdateCurrentLanguageDisplayString()
{
if (activeCatalog != null)
{
// TODO - replace with some kind of lookup or something, since this doesn't work for test languages
// (it shows Invariant culture)
currentLanguageDisplayString = activeCatalog.CultureInfo.DisplayName;
return;
}
Expand Down

0 comments on commit 13ef4ae

Please sign in to comment.