mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-28 07:18:24 +00:00
* Simplify website rank badges to use semantic classes * Fix ambiguity between partial display types * Add profile vanity tags and needed migration * Make form field read only to non-administrators * Display lock icon if user is not admin to minimize confusion * Also display lock icon for username field since it's readonly * Fix up naming consistency issues and edit migration accordingly * Apply suggestions from code review * Add space between placeholder property and ternary operator
11 lines
No EOL
515 B
C#
11 lines
No EOL
515 B
C#
namespace LBPUnion.ProjectLighthouse.Localization.StringLists;
|
|
|
|
public static class ProfileStrings
|
|
{
|
|
public static readonly TranslatableString Title = create("title");
|
|
public static readonly TranslatableString Biography = create("biography");
|
|
public static readonly TranslatableString NoBiography = create("no_biography");
|
|
public static readonly TranslatableString ProfileTag = create("profile_tag");
|
|
|
|
private static TranslatableString create(string key) => new(TranslationAreas.Profile, key);
|
|
} |