Order the cultures alphabatically

This commit is contained in:
hishamco 2021-04-26 01:55:55 +03:00
parent 76c2a2f2f9
commit 55b69f0afc

View File

@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.Extensions.Options;
using Oqtane.Shared;
@ -32,7 +33,7 @@ namespace Oqtane.Infrastructure
cultures.Add(Path.GetFileName(Path.GetDirectoryName(file)));
}
return cultures.ToArray();
return cultures.OrderBy(c => c).ToArray();
}
}
}