Fixed alpha sorting

This commit is contained in:
Rick Falkvinge
2019-01-24 13:23:00 +01:00
parent 8b863f0ef6
commit 457c1e2633
+2 -2
View File
@@ -32,7 +32,7 @@ namespace Swarmops.Frontend.Pages.v5.User
private void PopulateRepeater()
{
string[] availableCultures = {"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", "tr-TR", "sr-Cyrl-RS", "sr-Latn-RS", "sv-SE", "zh-CHS" };
string[] availableCultures = {"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
@@ -45,7 +45,7 @@ namespace Swarmops.Frontend.Pages.v5.User
if (cultureId == "sr-Latn-RS") // special case: Mono wants to write this in Cyrillic
{
newLanguage.DisplayName = "Srpska";
newLanguage.DisplayName = "Srpska (Latin)";
}
else
{