[frontend/core] Make Bcp47Languages readonly

This commit is contained in:
pancakes 2025-03-29 21:56:13 +10:00
parent 70602a8934
commit a3a0167288
No known key found for this signature in database

View file

@ -138,6 +138,6 @@ public static class LanguageHelper
"zu" "zu"
]; ];
public static Dictionary<string, string> Bcp47Languages => public static readonly Dictionary<string, string> Bcp47Languages =
Bcp47.ToDictionary(c => c, c => CultureInfo.GetCultureInfo(c).NativeName); Bcp47.ToDictionary(c => c, c => CultureInfo.GetCultureInfo(c).NativeName);
} }