publicstaticstringDescription{get{returnLC.L(@"This module will ask the user for an encryption password on the command line unless encryption is disabled or the password is supplied by other means");}}
publicstaticstringForcepassphrasefromstdinShort{get{returnLC.L(@"Read passphrase from STDIN");}}
publicstaticstringForcepassphrasefromstdinLong{get{returnLC.L(@"By default, the passphrase is attempted read from the TTY device directly, increasing the security by not copying the passphrase into a stream. In some setups, such as when running detached from a console, this does not work. Set this flag to prevent trying a TTY read and only read the passphrase from STDIN.");}}
publicstaticstringDescription{get{returnLC.L(@"When running with Mono, this module will check if any certificates are installed and suggest installing them otherwise");}}
publicstaticstringDisplayname{get{returnLC.L(@"Check for SSL certificates");}}
publicstaticstringErrorMessage{get{returnLC.L(@"No certificates found, you can install some with one of these commands:{0} cert-sync /etc/ssl/certs/ca-certificates.crt #for Debian based systems{0} cert-sync /etc/pki/tls/certs/ca-bundle.crt #for RedHat derivatives{0} curl -LO https://curl.se/ca/cacert.pem; cert-sync --user cacert.pem; rm cacert.pem #for MacOS{0}Read more: {1}",Environment.NewLine,"http://www.mono-project.com/docs/about-mono/releases/3.12.0/#cert-sync");}}
publicstaticstringDescription{get{returnLC.L(@"This module exposes a number of properties that can be used to change the way http requests are issued");}}
publicstaticstringDescriptionAcceptAnyCertificateLong{get{returnLC.L(@"Use this option to accept any server certificate, regardless of what errors it may have. Please use --accept-specified-ssl-hash instead, whenever possible.");}}
publicstaticstringDescriptionAcceptAnyCertificateShort{get{returnLC.L(@"Accept any server certificate");}}
publicstaticstringDescriptionAcceptHashLong2{get{returnLC.L(@"If your server certificate is reported as invalid (eg. with self-signed certificates), you can supply the certificate hash (SHA1) to approve it anyway. The hash value must be entered in hex format without spaces or colons. You can enter multiple hashes separated by commas.");}}
publicstaticstringDescriptionAcceptHashShort{get{returnLC.L(@"Optionally accept a known SSL certificate");}}
publicstaticstringDisableExpect100Long{get{returnLC.L(@"The default HTTP request has the header ""Expect: 100-Continue"" attached, which allows some optimizations when authenticating, but also breaks some web servers, causing them to report ""417 - Expectation failed""");}}
publicstaticstringDisableExpect100Short{get{returnLC.L(@"Disable the expect header");}}
publicstaticstringDisableNagleLong{get{returnLC.L(@"By default the http requests use the RFC 896 nagling algorithm to support transfer of small packages more efficiently.");}}
publicstaticstringOauthurlLong{get{returnLC.L(@"Duplicati uses an external server to support the OAuth authentication flow. If you have set up your own Duplicati OAuth server, you can supply the refresh url.");}}
publicstaticstringSslversionsLong{get{returnLC.L(@"This option changes the default SSL versions allowed. This is an advanced option and should only be used if you want to enhance security or work around an issue with a particular SSL protocol.");}}
publicstaticstringOperationtimeoutShort{get{returnLC.L(@"Sets the default operation timeout");}}
publicstaticstringOperationtimeoutLong{get{returnLC.L(@"This option changes the default timeout for any HTTP request, the time covers the entire operation from initial packet to shutdown");}}
publicstaticstringReadwritetimeoutLong{get{returnLC.L(@"This option changes the default read-write timeout. Read-write timeouts are used to detect a stalled requests, and this option configures the maximum time between activity on a connection.");}}
publicstaticstringBufferrequestsLong{get{returnLC.L(@"This option sets the HTTP buffering. Setting this to ""{0}"" can cause memory leaks, but can also improve performance in some cases.","true");}}
publicstaticstringFinishoptionLong{get{returnLC.L(@"Executes a script after performing an operation. The script will receive the operation results written to stdout.");}}
publicstaticstringFinishoptionShort{get{returnLC.L(@"Run a script on exit");}}
publicstaticstringInvalidExitCodeError(stringscript,intexitcode){returnLC.L(@"The script ""{0}"" returned with exit code {1}",script,exitcode);}
publicstaticstringExitCodeError(stringscript,intexitcode,stringmessage){returnLC.L(@"The script ""{0}"" returned with exit code {1}{2}",script,exitcode,string.IsNullOrWhiteSpace(message)?string.Empty:string.Format(": {0}",message));}
publicstaticstringRequiredoptionLong{get{returnLC.L(@"Executes a script before performing an operation. The operation will block until the script has completed or timed out. If the script returns a non-zero error code or times out, the operation will be aborted.");}}
publicstaticstringRequiredoptionShort{get{returnLC.L(@"Run a required script on startup");}}
publicstaticstringResultFormatLong(IEnumerable<string>options){returnLC.L(@"Selects the output format for results. Available formats: {0}",string.Join(", ",options));}
publicstaticstringScriptExecuteError(stringscript,stringmessage){returnLC.L(@"Error while executing script ""{0}"": {1}",script,message);}
publicstaticstringScriptTimeoutError(stringscript){returnLC.L(@"Execution of the script ""{0}"" timed out",script);}
publicstaticstringStartupoptionLong{get{returnLC.L(@"Executes a script before performing an operation. The operation will block until the script has completed or timed out.");}}
publicstaticstringStartupoptionShort{get{returnLC.L(@"Run a script on startup");}}
publicstaticstringTimeoutoptionLong{get{returnLC.L(@"Sets the maximum time a script is allowed to execute. If the script has not completed within this time, it will continue to execute but the operation will continue too, and no script output will be processed.");}}
publicstaticstringTimeoutoptionShort{get{returnLC.L(@"Sets the script timeout");}}
}
internalstaticclassSendMail{
publicstaticstringDescription{get{returnLC.L(@"This module can send email after an operation completes");}}
publicstaticstringFailedToLookupMXServer(stringoptionname){returnLC.L(@"Unable to find the destination mail server through MX lookup, please use the option {0} to specify what smtp server to use.",optionname);}
publicstaticstringOptionBodyLong{get{returnLC.L(@"This value can be a filename. If the file exists, the file contents will be used as the message body.
publicstaticstringOptionRecipientLong{get{returnLC.L(@"This setting is required if mail should be sent, all other settings have default values. You can supply multiple email addresses separated with commas, and you can use the normal address format as specified by RFC2822 section 3.4.
publicstaticstringOptionSenderLong{get{returnLC.L(@"Address of the email sender. If no host is supplied, the hostname of the first recipient is used. Examples of allowed formats:
publicstaticstringOptionSendlevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"". You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send an email.",success,warning,error,fatal,all);}
publicstaticstringOptionServerLong{get{returnLC.L(@"A url for the SMTP server, e.g. smtp://example.com:25. Multiple servers can be supplied in a prioritized list, separated with semicolon. If a server fails, the next server in the list is tried, until the message has been sent.
If no server is supplied, a DNS lookup is performed to find the first recipient's MX record, and all SMTP servers are tried in their priority order until the message is sent.
To enable SMTP over SSL, use the format smtps://example.com. To enable SMTP STARTTLS, use the format smtp://example.com:25/?starttls=when-available or smtp://example.com:25/?starttls=always. If no port is specified, port 25 is used for non-ssl, and 465 for SSL connections. To force not to use STARTTLS use smtp://example.com:25/?starttls=never.");}}
publicstaticstringOptionSubjectLong(stringoptionname){returnLC.L(@"This setting supplies the email subject. Values are replaced as described in the description for --{0}.",optionname);}
publicstaticstringSendMailFailedRetryError(stringfailedserver,stringmessage,stringretryserver){returnLC.L(@"Failed to send email with server: {0}, message: {1}, retrying with {2}",failedserver,message,retryserver);}
publicstaticstringSendMailSuccess(stringserver){returnLC.L(@"Email sent successfully using server: {0}",server);}
publicstaticstringSendxmppmessageLong{get{returnLC.L(@"This value can be a filename. If the file exists, the file contents will be used as the message.
publicstaticstringSendxmppusernameLong{get{returnLC.L(@"The username for the account that will send the message, including the hostname. I.e. ""account@jabber.org/Home""");}}
publicstaticstringSendxmpplevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"".
You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send a message.",success,warning,error,fatal,all);}
publicstaticstringSendxmppanyoperationShort{get{returnLC.L(@"Send messages for all operations");}}
publicstaticstringSendxmppanyoperationLong{get{returnLC.L(@"By default, messages will only be sent after a Backup operation. Use this option to send messages for all operations");}}
publicstaticstringSendhttpmessageLong{get{returnLC.L(@"This value can be a filename. If the file exists, the file contents will be used as the message.
In the message, certain tokens are replaced:
%OPERATIONNAME% - The name of the operation, normally ""Backup""
%REMOTEURL% - Remote server url
%LOCALPATH% - The path to the local files or folders involved in the operation (if any)
%PARSEDRESULT% - The parsed result, if the operation is a backup. Possible values are: Error, Warning, Success
All command line options are also reported within %value%, e.g. %volsize%. Any unknown/unset value is removed.");}}
publicstaticstringSendhttpmessageparameternameShort{get{returnLC.L(@"The name of the parameter to send the message as");}}
publicstaticstringSendhttpmessageparameternameLong{get{returnLC.L(@"The name of the parameter to send the message as.");}}
publicstaticstringSendhttpextraparametersShort{get{returnLC.L(@"Extra parameters to add to the http message");}}
publicstaticstringSendhttpextraparametersLong{get{returnLC.L(@"Extra parameters to add to the http message. I.e. ""parameter1=value1¶meter2=value2""");}}
publicstaticstringSendhttplevelShort{get{returnLC.L(@"The messages to send");}}
publicstaticstringSendhttplevelLong(stringsuccess,stringwarning,stringerror,stringfatal,stringall){returnLC.L(@"You can specify one of ""{0}"", ""{1}"", ""{2}"", ""{3}"".
You can supply multiple options with a comma separator, e.g. ""{0},{1}"". The special value ""{4}"" is a shorthand for ""{0},{1},{2},{3}"" and will cause all backup operations to send a message.",success,warning,error,fatal,all);}
publicstaticstringSendhttpanyoperationShort{get{returnLC.L(@"Send messages for all operations");}}
publicstaticstringSendhttpanyoperationLong{get{returnLC.L(@"By default, messages will only be sent after a Backup operation. Use this option to send messages for all operations");}}
publicstaticstringOptionLogfilterLong{get{returnLC.L("Use this option to set a filter expression that defines what options are included in the report");}}
publicstaticstringOptionmaxloglinesLong{get{returnLC.L("Use this option to set the maximum number of log lines to include in the report. Zero or negative values means unlimited.");}}
publicstaticstringResultFormatShort{get{returnLC.L(@"Selects the output format for results");}}
publicstaticstringResultFormatLong(IEnumerable<string>options){returnLC.L(@"Selects the output format for results. Available formats: {0}",string.Join(", ",options));}