Order the cultures alphabatically
This commit is contained in:
parent
76c2a2f2f9
commit
55b69f0afc
@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Microsoft.Extensions.Options;
|
using Microsoft.Extensions.Options;
|
||||||
using Oqtane.Shared;
|
using Oqtane.Shared;
|
||||||
@ -32,7 +33,7 @@ namespace Oqtane.Infrastructure
|
|||||||
cultures.Add(Path.GetFileName(Path.GetDirectoryName(file)));
|
cultures.Add(Path.GetFileName(Path.GetDirectoryName(file)));
|
||||||
}
|
}
|
||||||
|
|
||||||
return cultures.ToArray();
|
return cultures.OrderBy(c => c).ToArray();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user