Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change severity explanation text #2460

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@ private void InitializeData(IDiagnosticDetailsViewModel vm)
case DiagnosticSeverity.Suggestion:
SeverityTitleTextBlock.Text = Language.DiagnosticDetailsView_SeverityTitle_SUGGESTION;
SeverityTitleTextBlock.Classes.Add("ForegroundInfoStrong");
SeverityExplanationTextBlock.Text = "Something that doesn't indicate a problem and offers improvements to the user.";
SeverityExplanationTextBlock.Text = "Suggestions may offer improvements to your experience.";
MarkdownWrapperBorder.Background = SolidColorBrush.Parse("#0D93C5FD");
MarkdownWrapperBorder.BorderBrush = SolidColorBrush.Parse("#6693C5FD");
break;
case DiagnosticSeverity.Warning:
SeverityTitleTextBlock.Text = Language.DiagnosticDetailsView_SeverityTitle_WARNING;
SeverityExplanationTextBlock.Text = "Something that has an unintended adverse effect on any part of the game.";
SeverityTitleTextBlock.Classes.Add("ForegroundWarningStrong");
SeverityExplanationTextBlock.Text = "Warnings may negatively impact your experience.";
MarkdownWrapperBorder.Background = SolidColorBrush.Parse("#0DFEF08A");
MarkdownWrapperBorder.BorderBrush = SolidColorBrush.Parse("#66FEF08A");
break;
case DiagnosticSeverity.Critical:
SeverityTitleTextBlock.Text = Language.DiagnosticDetailsView_SeverityTitle_CRITICAL_ERROR;
SeverityExplanationTextBlock.Text = "Something that will make the game unplayable.";
SeverityExplanationTextBlock.Text = "Critical errors make the game unplayable.";
SeverityTitleTextBlock.Classes.Add("ForegroundDangerStrong");
MarkdownWrapperBorder.Background = SolidColorBrush.Parse("#0DF87171");
MarkdownWrapperBorder.BorderBrush = SolidColorBrush.Parse("#66F87171");
Expand Down
Loading