Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Aptivi/NitrocidKS
Browse files Browse the repository at this point in the history
  • Loading branch information
AptiviCEO committed Jun 22, 2024
2 parents af35444 + 8dc0b13 commit 2d50ceb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions public/Nitrocid/Kernel/Exceptions/KernelExceptionMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ internal static class KernelExceptionMessages
internal static Dictionary<KernelExceptionType, string> Messages =>
new()
{
{ KernelExceptionType.Unknown, Translate.DoTranslation("Unknown kernel error.") },
{ KernelExceptionType.Unknown, Translate.DoTranslation("There was an unknown kernel error, possibly due to either the kernel exception type not being specified or something was wrong.") },
{ KernelExceptionType.AliasAlreadyExists, Translate.DoTranslation("The specified alias already exists. Make sure that you select a different alias.") },
{ KernelExceptionType.AliasInvalidOperation, Translate.DoTranslation("The alias system encountered an invalid operation trying to process your request.") },
{ KernelExceptionType.AliasNoSuchAlias, Translate.DoTranslation("The specified alias isn't found.") },
Expand All @@ -45,12 +45,12 @@ internal static class KernelExceptionMessages
{ KernelExceptionType.FTPNetwork, Translate.DoTranslation("A general FTP network error occurred. Check to make sure that your internet connection is working.") },
{ KernelExceptionType.FTPShell, Translate.DoTranslation("A general FTP shell error occurred.") },
{ KernelExceptionType.GroupManagement, Translate.DoTranslation("A group management error occurred.") },
{ KernelExceptionType.Hostname, Translate.DoTranslation("Hostname error.") },
{ KernelExceptionType.Hostname, Translate.DoTranslation("The kernel networking has reported an error for the hostname component.") },
{ KernelExceptionType.HTTPShell, Translate.DoTranslation("A general HTTP shell error occurred.") },
{ KernelExceptionType.InsaneConsoleDetected, Translate.DoTranslation("Insane console has been detected. Nitrocid KS can't continue running, because your console is incompatible with our requirements.") },
{ KernelExceptionType.InvalidFeed, Translate.DoTranslation("Invalid RSS feed.") },
{ KernelExceptionType.InvalidFeedLink, Translate.DoTranslation("Invalid RSS feed link.") },
{ KernelExceptionType.InvalidFeedType, Translate.DoTranslation("Invalid RSS feed type.") },
{ KernelExceptionType.InvalidFeed, Translate.DoTranslation("Invalid RSS feed. Ensure that you've referenced the feed correctly and try again.") },
{ KernelExceptionType.InvalidFeedLink, Translate.DoTranslation("Invalid RSS feed link. Ensure that you've entered the link correctly and try again.") },
{ KernelExceptionType.InvalidFeedType, Translate.DoTranslation("Invalid RSS feed type. Ensure that you've entered the feed type correctly and try again.") },
{ KernelExceptionType.InvalidHashAlgorithm, Translate.DoTranslation("Invalid hash algorithm. If you're using a custom hash sum driver, check to make sure that the driver is loaded.") },
{ KernelExceptionType.InvalidHash, Translate.DoTranslation("Invalid hash sum. Check to make sure that you copied and pasted the hash sum correctly. If you're using a custom hash sum driver, check to make sure that the driver is loaded and that it works as expected.") },
{ KernelExceptionType.InvalidKernelPath, Translate.DoTranslation("Invalid kernel path.") },
Expand Down Expand Up @@ -94,7 +94,7 @@ internal static class KernelExceptionMessages
{ KernelExceptionType.UnsupportedConsole, Translate.DoTranslation("An unsupported console has been detected.") },
{ KernelExceptionType.AssertionFailure, Translate.DoTranslation("An assertion failure has been detected in the kernel! This is most likely a bug in the kernel module that should be fixed on our end.") },
{ KernelExceptionType.NetworkOffline, Translate.DoTranslation("Your network needs to be online before being able to perform operations related to networking. Connect your network adapter and try again.") },
{ KernelExceptionType.PermissionDenied, Translate.DoTranslation("Permission denied trying to perform an operation.") },
{ KernelExceptionType.PermissionDenied, Translate.DoTranslation("Permission denied trying to perform an operation. You'll need to log in as a user that has the necessary permissions in order to be able to perform this operation.") },
{ KernelExceptionType.NoSuchUser, Translate.DoTranslation("User doesn't exist. Check to make sure that you've written the user correctly.") },
{ KernelExceptionType.NoSuchDriver, Translate.DoTranslation("Driver doesn't exist. Check to make sure that you've written the driver name correctly, and that the driver is registered properly.") },
{ KernelExceptionType.ThreadNotReadyYet, Translate.DoTranslation("The thread is not ready yet. The user code might have forgotten to regenerate the kernel thread after stopping it manually.") },
Expand Down
12 changes: 6 additions & 6 deletions public/Nitrocid/Kernel/Exceptions/KernelExceptionType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Nitrocid.Kernel.Exceptions
public enum KernelExceptionType
{
/// <summary>
/// Unknown kernel error.
/// There was an unknown kernel error, possibly due to either the kernel exception type not being specified or something was wrong.
/// </summary>
Unknown,
/// <summary>
Expand Down Expand Up @@ -81,7 +81,7 @@ public enum KernelExceptionType
/// </summary>
GroupManagement,
/// <summary>
/// Hostname error.
/// The kernel networking has reported an error for the hostname component.
/// </summary>
Hostname,
/// <summary>
Expand All @@ -93,15 +93,15 @@ public enum KernelExceptionType
/// </summary>
InsaneConsoleDetected,
/// <summary>
/// Invalid RSS feed.
/// Invalid RSS feed. Ensure that you've referenced the feed correctly and try again.
/// </summary>
InvalidFeed,
/// <summary>
/// Invalid RSS feed link.
/// Invalid RSS feed link. Ensure that you've entered the link correctly and try again.
/// </summary>
InvalidFeedLink,
/// <summary>
/// Invalid RSS feed type.
/// Invalid RSS feed type. Ensure that you've entered the feed type correctly and try again.
/// </summary>
InvalidFeedType,
/// <summary>
Expand Down Expand Up @@ -277,7 +277,7 @@ public enum KernelExceptionType
/// </summary>
NetworkOffline,
/// <summary>
/// Permission denied trying to perform an operation.
/// Permission denied trying to perform an operation. You'll need to log in as a user that has the necessary permissions in order to be able to perform this operation.
/// </summary>
PermissionDenied,
/// <summary>
Expand Down

0 comments on commit 2d50ceb

Please sign in to comment.