mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
update loading of translation file
This commit is contained in:
parent
91be73cbff
commit
e3abfad19d
@ -20,7 +20,7 @@ public static class QSBLocalisation
|
||||
var files = directory.GetFiles("*.json");
|
||||
foreach (var file in files)
|
||||
{
|
||||
var translation = QSBCore.Helper.Storage.Load<Translation>($"Translations\\{file.Name}");
|
||||
var translation = QSBCore.Helper.Storage.Load<Translation>($"Translations\\{file.Name}", false);
|
||||
_translations.Add(translation);
|
||||
DebugLog.DebugWrite($"- Added translation for language {translation.Language}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user