diff options
author | wjan <wim.jansen@gmail.com> | 2018-01-11 14:50:23 +0300 |
---|---|---|
committer | wjan <wim.jansen@gmail.com> | 2018-01-11 14:50:23 +0300 |
commit | 20d42549e3e566e48c448068f5ec25baea60d7c8 (patch) | |
tree | 8e715e95d49c9f1a98782f2791ed4fd6fb0d7ab4 /Duplicati/Library/Backend/Rclone | |
parent | 7ecf6ed89f5a2a5102f1142733c844475f56d221 (diff) |
adds option to provide location of rclone-executable and provides long descriptions for the options
Diffstat (limited to 'Duplicati/Library/Backend/Rclone')
-rw-r--r-- | Duplicati/Library/Backend/Rclone/Rclone.cs | 1 | ||||
-rw-r--r-- | Duplicati/Library/Backend/Rclone/Strings.cs | 12 |
2 files changed, 8 insertions, 5 deletions
diff --git a/Duplicati/Library/Backend/Rclone/Rclone.cs b/Duplicati/Library/Backend/Rclone/Rclone.cs index 27414fe49..c178296eb 100644 --- a/Duplicati/Library/Backend/Rclone/Rclone.cs +++ b/Duplicati/Library/Backend/Rclone/Rclone.cs @@ -199,6 +199,7 @@ namespace Duplicati.Library.Backend new CommandLineArgument(OPTION_REMOTE_REPO, CommandLineArgument.ArgumentType.String, Strings.Rclone.RcloneRemoteRepoShort, Strings.Rclone.RcloneRemoteRepoLong, "remote"), new CommandLineArgument(OPTION_REMOTE_PATH, CommandLineArgument.ArgumentType.String, Strings.Rclone.RcloneRemotePathShort, Strings.Rclone.RcloneRemotePathLong, "backup"), new CommandLineArgument(OPTION_RCLONE, CommandLineArgument.ArgumentType.String, Strings.Rclone.RcloneOptionRcloneShort, Strings.Rclone.RcloneOptionRcloneLong, ""), + new CommandLineArgument(OPTION_RCLONE_EXECUTABLE, CommandLineArgument.ArgumentType.String, Strings.Rclone.RcloneExecutableShort, Strings.Rclone.RcloneExecutableLong, "rclone") }); } diff --git a/Duplicati/Library/Backend/Rclone/Strings.cs b/Duplicati/Library/Backend/Rclone/Strings.cs index a10e29347..0c5f4f9f0 100644 --- a/Duplicati/Library/Backend/Rclone/Strings.cs +++ b/Duplicati/Library/Backend/Rclone/Strings.cs @@ -6,13 +6,15 @@ namespace Duplicati.Library.Backend.Strings public static string DisplayName { get { return LC.L(@"Rclone"); } } public static string Description { get { return LC.L(@"This backend can read and write data to Rclone."); } } public static string RcloneLocalRepoShort { get { return LC.L(@"Local repository"); } } - public static string RcloneLocalRepoLong { get { return LC.L(@"Local repository"); } } + public static string RcloneLocalRepoLong { get { return LC.L(@"Local repository for Rclone. Make sure it is configured as a local drive, as it needs access to the files generated by Duplicati."); } } public static string RcloneRemoteRepoShort { get { return LC.L(@"Remote repository"); } } - public static string RcloneRemoteRepoLong { get { return LC.L(@"Remote repository"); } } + public static string RcloneRemoteRepoLong { get { return LC.L(@"Remote repository for Rclone. This can be any of the backends provided by Rclone. More info available on https://rclone.org/."); } } public static string RcloneRemotePathShort { get { return LC.L(@"Remote path"); } } - public static string RcloneRemotePathLong { get { return LC.L(@"Remote path"); } } - public static string RcloneOptionRcloneShort { get { return LC.L(@"Rclone options"); } } - public static string RcloneOptionRcloneLong { get { return LC.L(@"Rclone options"); } } + public static string RcloneRemotePathLong { get { return LC.L(@"Path on the Remote repository. "); } } + public static string RcloneOptionRcloneShort { get { return LC.L(@"Rclone options."); } } + public static string RcloneOptionRcloneLong { get { return LC.L(@"Options will be transferred to rclone."); } } + public static string RcloneExecutableShort { get { return LC.L(@"Rclone executable"); } } + public static string RcloneExecutableLong { get { return LC.L(@"Full path to the rclone executable. Only needed if it's not in your path."); } } } } |