Add banned users and hidden levels page to mod panel

This commit is contained in:
jvyden 2022-08-14 18:39:19 -04:00
parent 4be8efc244
commit 67bad4fd1e
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
8 changed files with 178 additions and 3 deletions

View file

@ -24,4 +24,10 @@
<data name="greeting" xml:space="preserve">
<value>Welcome to the moderation panel, {0}!</value>
</data>
<data name="banned_users" xml:space="preserve">
<value>Banned Users</value>
</data>
<data name="hidden_levels" xml:space="preserve">
<value>Hidden Levels</value>
</data>
</root>

View file

@ -4,6 +4,8 @@ public static class ModPanelStrings
{
public static readonly TranslatableString ModPanelTitle = create("mod_panel_title");
public static readonly TranslatableString Greeting = create("greeting");
public static readonly TranslatableString BannedUsers = create("banned_users");
public static readonly TranslatableString HiddenLevels = create("hidden_levels");
private static TranslatableString create(string key) => new(TranslationAreas.ModPanel, key);
}