ProjectLighthouse/ProjectLighthouse.Localization/StringLists/ModerationStrings.cs
koko 21dbdff20a
Add proper ban page when logging in (#773)
* Add proper ban page upon logging in

* Remove two extra line break tags that don't need to be there

* Fix timestamp formatting

* Properly display timestamps in correct timezone

* Fix formatting issues with ban page

* Remove extra parenthesis which would be rendered on-page

* Add to redirect middleware to prevent navigating to other pages

* Small nitpick, renaming UserBannedPage to BannedUserPage

* Resolve nitpicks from reviewers

* Remove un-necessary log message in LoginForm

* Fix ban reason translatable string argument

* Word choice nitpick ("Ban Created" -> "Ban Issued")

* Final adjustments and nitpicks, visual and grammatical

* Resolve requested changes from reviewers
2023-05-30 19:25:31 +00:00

22 lines
No EOL
1.3 KiB
C#

namespace LBPUnion.ProjectLighthouse.Localization.StringLists;
public static class ModerationStrings
{
// Main page strings
public static readonly TranslatableString SuspensionHeading = create("suspension_heading");
public static readonly TranslatableString SuspensionExplanation = create("suspension_explanation");
public static readonly TranslatableString SuspensionExpiration = create("suspension_expiration");
public static readonly TranslatableString SuspensionReason = create("suspension_reason");
public static readonly TranslatableString SuspensionCircumventWarning = create("suspension_circumvent_warning");
// Translatable string in case a ban doesn't expire
public static readonly TranslatableString DoesNotExpire = create("does_not_expire");
// Restricted features strings
public static readonly TranslatableString LbpOnlineMultiplayer = create("lbp_online_multiplayer");
public static readonly TranslatableString WebsiteInteractions = create("website_interactions");
public static readonly TranslatableString ProfileVisibility = create("profile_visibility");
public static readonly TranslatableString AccountProfileManagement = create("account_profile_management");
private static TranslatableString create(string key) => new(TranslationAreas.Moderation, key);
}