lang update

This commit is contained in:
Szum123321 2021-08-03 23:19:02 +02:00
parent a6881b68cd
commit 50db7efe08
2 changed files with 14 additions and 8 deletions

View File

@ -43,7 +43,7 @@ public class ConfigPOJO implements ConfigData {
public long backupInterval = 3600;
@Comment("\nDelay in seconds between typing-in /backup restore and it actually starting\n")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Tooltip()
@ConfigEntry.Category("Restore")
public int restoreDelay = 30;
@ -91,11 +91,11 @@ public class ConfigPOJO implements ConfigData {
\nMaximum size of backup folder in kilo bytes (1024).
If set to 0 then backups will not be deleted
""")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Tooltip()
public int maxSize = 0;
@Comment("\nCompression level \n0 - 9\n Only affects zip compression.\n")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Tooltip()
@ConfigEntry.BoundedDiscrete(max = 9)
@ConfigEntry.Category("Create")
public int compression = 7;
@ -104,7 +104,7 @@ public class ConfigPOJO implements ConfigData {
\nLimit how many cores can be used for compression.
0 means that all available cores will be used
""")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Tooltip()
@ConfigEntry.Category("Create")
public int compressionCoreCountLimit = 0;
@ -116,7 +116,7 @@ public class ConfigPOJO implements ConfigData {
LZMA - tar.xz using lzma compression
TAR - .tar with no compression
""")
@ConfigEntry.Gui.NoTooltip()
@ConfigEntry.Gui.Tooltip()
@ConfigEntry.Category("Create")
@ConfigEntry.Gui.EnumHandler(option = ConfigEntry.Gui.EnumHandler.EnumDisplayOption.BUTTON)
public ArchiveFormat format = ArchiveFormat.ZIP;

View File

@ -10,8 +10,9 @@
"text.autoconfig.textile_backup.option.backupInterval.@Tooltip": "Time between each automatic backup (in seconds)",
"text.autoconfig.textile_backup.option.restoreDelay": "Restore Delay",
"text.autoconfig.textile_backup.option.restoreDelay.@Tooltip": "In seconds",
"text.autoconfig.textile_backup.option.doBackupsOnEmptyServer": "Do backups on empty server",
"text.autoconfig.textile_backup.option.doBackupsOnEmptyServer": "Make automatic backups on empty server",
"text.autoconfig.textile_backup.option.shutdownBackup": "Make a backup on shutdown",
@ -28,16 +29,21 @@
"text.autoconfig.textile_backup.option.backupsToKeep": "Number of backups to keep",
"text.autoconfig.textile_backup.option.maxAge": "Max age of backup",
"text.autoconfig.textile_backup.option.maxAge.@Tooltip": "In seconds since creation",
"text.autoconfig.textile_backup.option.maxSize": "Max size of backup folder",
"text.autoconfig.textile_backup.option.maxSize.@Tooltip": "In KBytes",
"text.autoconfig.textile_backup.option.compression": "Compression level (Zip only)",
"text.autoconfig.textile_backup.option.compression": "Compression level",
"text.autoconfig.textile_backup.option.compression.@Tooltip": "Only affects zip",
"text.autoconfig.textile_backup.option.compressionCoreCountLimit": "Max number of cores used for compression",
"text.autoconfig.textile_backup.option.compressionCoreCountLimit.@Tooltip": "Set to 0 to use all available cores",
"text.autoconfig.textile_backup.option.format": "Archive and compression format",
"text.autoconfig.textile_backup.option.format.@Tooltip": "See: https://github.com/Szum123321/textile_backup/wiki/Configuration#format",
"text.autoconfig.textile_backup.option.permissionLevel": "Min permission level required to run any command",
"text.autoconfig.textile_backup.option.permissionLevel": "Min permission level",
"text.autoconfig.textile_backup.option.alwaysSingleplayerAllowed": "Always allow on single-player",