From 8b67a39bc70e6e21aff25e4a17896e4d9f3ea07c Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 24 Jan 2019 20:04:04 +0100 Subject: [PATCH] Dumbfix 98 --- Logic/Support/Formatting.cs | 12 ++++++++++++ Logic/Support/General.cs | 11 ----------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Logic/Support/Formatting.cs b/Logic/Support/Formatting.cs index 52c5359d..11929054 100644 --- a/Logic/Support/Formatting.cs +++ b/Logic/Support/Formatting.cs @@ -369,5 +369,17 @@ namespace Swarmops.Logic.Support return builder.ToString(); } + + public static string[] SupportedCultures + { + get + { + return new string[] { "ar-AE", "de-DE", "yo-Latn" /* Yoruba writes as Èbè */, "el" /* Greek writes as Ellenika */ , "es-ES", "fr-FR", "fil-Latn", "it-IT", "nl-NL", "pl-PL", "pt-PT", "ru-RU", "sr-Cyrl-RS", "sr-Latn-RS", "sv-SE", "tr-TR", "zh-CHS" }; + + // the above locales are sorted by the language NATIVE name, to make the list maximally useful + } + } + + } } \ No newline at end of file diff --git a/Logic/Support/General.cs b/Logic/Support/General.cs index 14e09c9c..86ada44b 100644 --- a/Logic/Support/General.cs +++ b/Logic/Support/General.cs @@ -99,17 +99,6 @@ namespace Swarmops.Logic.Support } - public static string[] SupportedCultures - { - get - { - return new string[] { "ar-AE", "de-DE", "yo-Latn" /* Yoruba writes as Èbè */, "el" /* Greek writes as Ellenika */ , "es-ES", "fr-FR", "fil-Latn", "it-IT", "nl-NL", "pl-PL", "pt-PT", "ru-RU", "sr-Cyrl-RS", "sr-Latn-RS", "sv-SE", "tr-TR", "zh-CHS" }; - - // the above locales are sorted by the language NATIVE name, to make the list maximally useful - } - } - - // ReSharper disable once InconsistentNaming -- IPAddress is the canonical writing public static string GetRemoteIPAddressChain() {