Skip to content

Commit

Permalink
imp - Developer acknowledgement message extended
Browse files Browse the repository at this point in the history
---

We have extended the developer warning acknowledgement message to be more clear.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 9, 2024
1 parent 2b5fbd4 commit c251ca0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ internal static void ShowDevelopmentDisclaimer()
Translate.DoTranslation("We recommend against running this version of the kernel, because it is unsupported. If you have downloaded this kernel from unknown sources, this message may appear. Please download from our official downloads page.")
#endif
;
string tip = Translate.DoTranslation("To dismiss forever, either press ENTER on the \"Acknowledged\" button here by highlighting it using the left arrow on your keyboard, or enable \"Development notice acknowledged\" in the kernel settings.");

// Show development disclaimer
if (SplashManager.EnableSplash)
Expand All @@ -167,14 +168,14 @@ internal static void ShowDevelopmentDisclaimer()
int answer = InfoBoxButtonsColor.WriteInfoBoxButtonsColor(
Translate.DoTranslation("Development notice"),
answers,
$"{message}\n\n" + Translate.DoTranslation("To dismiss forever, press ENTER on \"Acknowledged\" or enable \"Development notice acknowledged\" in the kernel settings."),
$"{message}\n\n{tip}",
KernelColorTools.GetColor(KernelColorType.DevelopmentWarning)
);
if (answer == 1)
Config.MainConfig.DevNoticeConsented = true;
}
else
TextWriters.Write($"* {message}", true, KernelColorType.DevelopmentWarning);
TextWriters.Write($"* {message}\n* {tip}", true, KernelColorType.DevelopmentWarning);
#endif
}

Expand Down

0 comments on commit c251ca0

Please sign in to comment.