mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 00:18:39 +00:00
Add strings for entire baselayout
This commit is contained in:
parent
3e18d79fa5
commit
1b48a71062
3 changed files with 38 additions and 10 deletions
|
@ -25,22 +25,44 @@
|
|||
</resheader>
|
||||
|
||||
<data name="header_home" xml:space="preserve">
|
||||
<value>Home</value>
|
||||
<value>Home</value>
|
||||
<comment>A button on the header that takes you to the landing page.</comment>
|
||||
</data>
|
||||
|
||||
<data name="header_users" xml:space="preserve">
|
||||
<value>Users</value>
|
||||
<value>Users</value>
|
||||
<comment>A button on the header that takes you to the user listing.</comment>
|
||||
</data>
|
||||
|
||||
<data name="header_photos" xml:space="preserve">
|
||||
<value>Photos</value>
|
||||
<value>Photos</value>
|
||||
<comment>A button on the header that takes you to a list of user-uploaded photos.</comment>
|
||||
</data>
|
||||
|
||||
<data name="header_slots" xml:space="preserve">
|
||||
<value>Levels</value>
|
||||
<value>Levels</value>
|
||||
<comment>A button on the header that takes you to a list of user-uploaded levels. Levels are internally referred to as "slots".</comment>
|
||||
</data>
|
||||
|
||||
<data name="header_authentication" xml:space="preserve">
|
||||
<value>Authentication</value>
|
||||
<comment>A button on the header that takes you to a list of authentication attempts.</comment>
|
||||
</data>
|
||||
|
||||
<data name="header_loginRegister" xml:space="preserve">
|
||||
<value>Login / Register</value>
|
||||
<comment>A button on the header that lets you log in or register.</comment>
|
||||
</data>
|
||||
<data name="header_profile" xml:space="preserve">
|
||||
<value>Profile</value>
|
||||
<comment>A quick shortcut on the header to take you to your profile if logged in.</comment>
|
||||
</data>
|
||||
<data name="header_adminPanel" xml:space="preserve">
|
||||
<value>Admin Panel</value>
|
||||
<comment>A header link that takes you to the admin panel if available.</comment>
|
||||
</data>
|
||||
<data name="header_logout" xml:space="preserve">
|
||||
<value>Log out</value>
|
||||
<comment>A shortcut to log you out of your account.</comment>
|
||||
</data>
|
||||
</root>
|
|
@ -6,6 +6,12 @@ public static class BaseLayoutStrings
|
|||
public static readonly TranslatableString HeaderUsers = create("header_users");
|
||||
public static readonly TranslatableString HeaderPhotos = create("header_photos");
|
||||
public static readonly TranslatableString HeaderSlots = create("header_slots");
|
||||
public static readonly TranslatableString HeaderAuthentication = create("header_authentication");
|
||||
|
||||
public static readonly TranslatableString HeaderLoginRegister = create("header_loginRegister");
|
||||
public static readonly TranslatableString HeaderProfile = create("header_profile");
|
||||
public static readonly TranslatableString HeaderAdminPanel = create("header_adminPanel");
|
||||
public static readonly TranslatableString HeaderLogout = create("header_logout");
|
||||
|
||||
private static TranslatableString create(string key) => new(TranslationAreas.BaseLayout, key);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue