Maybe approaching something?

This commit is contained in:
Rick Falkvinge
2021-07-01 21:17:27 +02:00
parent d56ec04606
commit 5620110bb1
+2 -2
View File
@@ -26,9 +26,9 @@ namespace Swarmops.Logic.Resources
path = HttpContext.Current.Server.MapPath("/bin/");
}
if (culture.IsNeutralCulture || culture.Name == "en-US")
if (culture.IsNeutralCulture || culture.Name == "en-US" || string.IsNullOrWhiteSpace(culture.Name))
{
return path + "Swarmops.Frontend." + this.BaseName + ".resources.dll";
return path + "Swarmops.Frontend." + this.BaseName + ".resources";
}
return path + "Swarmops.Frontend." + this.BaseName + "." + culture.Name + ".resources";