mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-27 23:08:27 +00:00
Add translation support to website, read user's language from settings
This commit is contained in:
parent
bfec7d788e
commit
3e18d79fa5
8 changed files with 103 additions and 33 deletions
|
@ -0,0 +1,11 @@
|
|||
namespace LBPUnion.ProjectLighthouse.Localization.StringLists;
|
||||
|
||||
public static class BaseLayoutStrings
|
||||
{
|
||||
public static readonly TranslatableString HeaderHome = create("header_home");
|
||||
public static readonly TranslatableString HeaderUsers = create("header_users");
|
||||
public static readonly TranslatableString HeaderPhotos = create("header_photos");
|
||||
public static readonly TranslatableString HeaderSlots = create("header_slots");
|
||||
|
||||
private static TranslatableString create(string key) => new(TranslationAreas.BaseLayout, key);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue