[frontend/core] Make Bcp47Languages readonly
This commit is contained in:
parent
70602a8934
commit
a3a0167288
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue