Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Strings.cs « Snapshots « Library « Duplicati - github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 561babd3e4afb1d5ac53a6c2002add588bc3e93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using Duplicati.Library.Localization.Short;
namespace Duplicati.Library.Snapshots.Strings {
    internal static class LinuxSnapshot {
        public static string ExternalProgramLaunchError(string message, string executable, string arguments) { return LC.L(@"The external command failed to start.
Error message: {0}
Command: {1} {2}", message, executable, arguments); }
        public static string ExternalProgramTimeoutError(string executable, string arguments) { return LC.L(@"The external command failed to complete within the set time limit: {0} {1}", executable, arguments); }
        public static string InvalidFilePathError(string localpath, string snapshotpath) { return LC.L(@"Unable to match local path {0} with any snapshot path: {1}", localpath, snapshotpath); }
        public static string MountFolderMissingError(string path, string message) { return LC.L(@"Script returned successfully, but the temporary folder {0} does not exist: {1}", path, message); }
        public static string MountFolderNotRemovedError(string path, string message) { return LC.L(@"Script returned successfully, but the temporary folder {0} still exist: {1}", path, message); }
        public static string ScriptExitCodeError(int actualcode, int expectedcode, string message) { return LC.L(@"The script returned exit code {0}, but {1} was expected: {2}", actualcode, expectedcode, message); }
        public static string ScriptOutputError(string parameter, string message) { return LC.L(@"Script returned successfully, but the output was missing the {0} parameter: {1}", parameter, message); }
    }
    internal static class USNHelper {
        public static string PathResolveError { get { return LC.L(@"Unable to determine full file path for USN entry"); } }
        public static string JournalEntriesDeleted { get { return LC.L(@"USN journal entries were purged since last scan"); } }
        public static string EmptyResponseError { get { return LC.L(@"Unexpected empty response while enumerating"); } }
        public static string LinuxNotSupportedError { get { return LC.L(@"USN is not supported on Linux"); } }
        public static string SafeGuardError { get { return LC.L(@"The number of files returned by USN was zero. This is likely an error. To remedy this, USN has been disabled."); } }
        public static string UnexpectedPathFormat { get { return LC.L(@"Unexpected path format encountered"); } }
        public static string UnsupportedUsnVersion { get { return LC.L(@"Unsupported USN journal version."); } }
        public static string PreviousBackupNoInfo { get { return LC.L(@"Previous backup did not record USN journal info"); } }
        public static string JournalIdChanged { get { return LC.L(@"USN journal ID changed"); } }
        public static string NextUsnZero { get { return LC.L(@"Next USN is zero"); } }
        public static string ConfigHashChanged { get { return LC.L(@"Backup configuration changed"); } }
    }
    internal static class WinNativeMethod {
        public static string MissingBackupPrivilegeError { get { return LC.L(@"Calling process does not have the backup privilege"); } }
    }
}