Fixed outbound mail culture

This commit is contained in:
Rick Falkvinge
2015-12-01 16:03:04 +01:00
parent 0062961ddf
commit 18ab499b5b
@@ -110,7 +110,7 @@ namespace Swarmops.Logic.Communications.Payload
public RenderedComm RenderComm (Person person)
{
string culture = person.PreferredCulture;
if (string.IsNullOrEmpty (culture))
if (string.IsNullOrEmpty (culture) || culture == "af-ZA") // the af-ZA is the virtual in-place translator code, which is gibberish
{
culture = "en-US";
}