mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-13 08:41:27 +00:00
Improve website tests (#842)
* Improve website tests * Use DefaultLang instead of hard coding English
This commit is contained in:
parent
17022c36b8
commit
65f317d9bd
9 changed files with 65 additions and 27 deletions
|
@ -11,8 +11,6 @@ public static class LocalizationManager
|
|||
|
||||
public static string GetLocalizedString(TranslationAreas translationArea, string language, string key)
|
||||
{
|
||||
// return $"{translationArea.ToString()}.{language}.{key}";
|
||||
|
||||
// ASP.NET requires specific names for certain languages (like ja for japanese as opposed to the standard ja-JP)
|
||||
// We map that value back here.
|
||||
language = mapLanguageBack(language);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue