diff --git a/Copyright_Notice b/Copyright_Notice index f6cfe9f..ca107d9 100644 --- a/Copyright_Notice +++ b/Copyright_Notice @@ -2,7 +2,7 @@ This project uses third party libraries as its dependencies and includes them in Apache Commons Compress licensed under Apache License Version 2.0 which can be found at http://www.apache.org/licenses/ Cotton config, Cotton logging, and Jankson-Fabric all by Cotton team licensed under MIT license which can be found at https://github.com/CottonMC/Cotton XZ for Java by Tukaani released as public domain. https://tukaani.org/xz/java.html - parallelgzip by shevek under Apache 2.0 http://www.apache.org/licenses/ + parallelgzip by shevek (https://github.com/shevek/parallelgzip) under Apache 2.0 http://www.apache.org/licenses/ To save on space Parallel BZip2 was unpacked Parallel BZip2 compression by Karl Gustafsson at http://at4j.sourceforge.net/ under GPL v3 diff --git a/src/main/java/net/szum123321/textile_backup/core/create/BackupContext.java b/src/main/java/net/szum123321/textile_backup/core/create/BackupContext.java index 3455c4d..6ea7298 100644 --- a/src/main/java/net/szum123321/textile_backup/core/create/BackupContext.java +++ b/src/main/java/net/szum123321/textile_backup/core/create/BackupContext.java @@ -117,11 +117,10 @@ public record BackupContext(@NotNull MinecraftServer server, if (server == null) { if (commandSource != null) setServer(commandSource.getServer()); else - throw new RuntimeException("Both MinecraftServer and ServerCommandSource weren't provided!"); + throw new RuntimeException("Neither MinecraftServer or ServerCommandSource were provided!"); } return new BackupContext(server, commandSource, initiator, save, comment); } } - } diff --git a/src/main/java/net/szum123321/textile_backup/core/create/compressors/AbstractCompressor.java b/src/main/java/net/szum123321/textile_backup/core/create/compressors/AbstractCompressor.java index 21c19a2..4f7aacf 100644 --- a/src/main/java/net/szum123321/textile_backup/core/create/compressors/AbstractCompressor.java +++ b/src/main/java/net/szum123321/textile_backup/core/create/compressors/AbstractCompressor.java @@ -62,10 +62,10 @@ public abstract class AbstractCompressor { } catch(NoSpaceLeftOnDeviceException e) { log.error(""" CRITICAL ERROR OCCURRED! - The backup is corrupted.; + The backup is corrupt! Don't panic! This is a known issue! For help see: https://github.com/Szum123321/textile_backup/wiki/ZIP-Problems - In case this isn't it here's also the exception itself!""", e); + In case this isn't it here's also the exception itself""", e); if(ctx.getInitiator() == ActionInitiator.Player) { log.sendError(ctx, "Backup failed. The file is corrupt."); diff --git a/src/main/resources/assets/textile_backup/lang/en_us.json b/src/main/resources/assets/textile_backup/lang/en_us.json index 3ae07fe..0dc134f 100644 --- a/src/main/resources/assets/textile_backup/lang/en_us.json +++ b/src/main/resources/assets/textile_backup/lang/en_us.json @@ -21,7 +21,7 @@ "text.autoconfig.textile_backup.option.path": "Path to backup folder", - "text.autoconfig.textile_backup.option.fileBlacklist": "Blacklised files", + "text.autoconfig.textile_backup.option.fileBlacklist": "Blacklisted files", "text.autoconfig.textile_backup.option.deleteOldBackupAfterRestore": "Delete restored backup", @@ -39,7 +39,7 @@ "text.autoconfig.textile_backup.option.permissionLevel": "Min permission level required to run any command", - "text.autoconfig.textile_backup.option.alwaysSingleplayerAllowed": "Always allow on sigle-player", + "text.autoconfig.textile_backup.option.alwaysSingleplayerAllowed": "Always allow on single-player", "text.autoconfig.textile_backup.option.playerWhitelist": "Admin Whitelist",