<?php

// system/modules/notification_center/languages/en/tl_nc_gateway.xlf
$GLOBALS['TL_LANG']['tl_nc_gateway']['title'][0] = 'Title';
$GLOBALS['TL_LANG']['tl_nc_gateway']['title'][1] = 'Please enter a title for this gateway.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['type'][0] = 'Type';
$GLOBALS['TL_LANG']['tl_nc_gateway']['type'][1] = 'Please select a type for this gateway.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_targetGateway'][0] = 'Target gateway';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_targetGateway'][1] = 'This gateway will queue all the messages and then send them over the gateway you define here.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronEnable'][0] = 'Enable poor man\'s cronjob';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronEnable'][1] = 'This will register this queue gateway to the poor man\'s cronjob.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval'][0] = 'Interval';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval'][1] = 'Choose the interval you would like to have this queue gateway be invoked.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronMessages'][0] = 'Number of messages';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronMessages'][1] = 'Here you can enter the number of messages that should be sent per invocation.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['email_overrideSmtp'][0] = 'Override SMTP settings';
$GLOBALS['TL_LANG']['tl_nc_gateway']['email_overrideSmtp'][1] = 'This gateway will take the Contao e-mail settings by default. If you want to override the SMTP settings for this specific gateway, activate this checkbox.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['mailerTransport'][0] = 'Mailer transport';
$GLOBALS['TL_LANG']['tl_nc_gateway']['mailerTransport'][1] = 'Here you can override the mailer transport used to send e-mails.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_type'][0] = 'File type';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_type'][1] = 'Please choose the file type.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_connection'][0] = 'Connection type';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_connection'][1] = 'Please choose the connection type.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_host'][0] = 'Host name';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_host'][1] = 'Please enter the host name.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_port'][0] = 'Port number';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_port'][1] = 'Here you can enter the port number. Leave empty to use the default.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_username'][0] = 'Username';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_username'][1] = 'Please enter the username.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_password'][0] = 'Password';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_password'][1] = 'Please enter the password.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_path'][0] = 'Path';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_path'][1] = 'Here you can enter the path (e.g. <em>downloads</em>).';
$GLOBALS['TL_LANG']['tl_nc_gateway']['postmark_key'][0] = 'Postmark API key';
$GLOBALS['TL_LANG']['tl_nc_gateway']['postmark_key'][1] = 'Please enter your unique Postmark API key.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['postmark_test'][0] = 'Enable test mode';
$GLOBALS['TL_LANG']['tl_nc_gateway']['postmark_test'][1] = 'Here you can enable the test mode.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['postmark_ssl'][0] = 'Enable SSL';
$GLOBALS['TL_LANG']['tl_nc_gateway']['postmark_ssl'][1] = 'Here you can enable the SSL connection.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['useSMTP'][0] = 'Send e-mails via SMTP';
$GLOBALS['TL_LANG']['tl_nc_gateway']['useSMTP'][1] = 'Use an SMTP server instead of the PHP mail() function to send e-mails.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpHost'][0] = 'SMTP hostname';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpHost'][1] = 'Please enter the host name of the SMTP server.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpUser'][0] = 'SMTP username';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpUser'][1] = 'Here you can enter the SMTP username.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpPass'][0] = 'SMTP password';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpPass'][1] = 'Here you can enter the SMTP password.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpEnc'][0] = 'SMTP encryption';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpEnc'][1] = 'Here you can choose an encryption method (SSL or TLS).';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpPort'][0] = 'SMTP port number';
$GLOBALS['TL_LANG']['tl_nc_gateway']['smtpPort'][1] = 'Please enter the port number of the SMTP server.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['type']['queue'] = 'Queue';
$GLOBALS['TL_LANG']['tl_nc_gateway']['type']['email'] = 'Standard email gateway';
$GLOBALS['TL_LANG']['tl_nc_gateway']['type']['file'] = 'Write to file';
$GLOBALS['TL_LANG']['tl_nc_gateway']['type']['postmark'] = 'Postmark (postmarkapp.com)';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval']['minutely'] = 'Every minute';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval']['hourly'] = 'Every hour';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval']['daily'] = 'Every day';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval']['weekly'] = 'Every week';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_cronInterval']['monthly'] = 'Every month';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_type']['csv'] = 'CSV';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_type']['xml'] = 'Plain Text / XML';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_connection']['local'] = 'Local';
$GLOBALS['TL_LANG']['tl_nc_gateway']['file_connection']['ftp'] = 'FTP';
$GLOBALS['TL_LANG']['tl_nc_gateway']['ftp_confirm'] = 'Connection successful';
$GLOBALS['TL_LANG']['tl_nc_gateway']['ftp_error_connect'] = 'Could not connect to the FTP server!';
$GLOBALS['TL_LANG']['tl_nc_gateway']['ftp_error_login'] = 'Could not login to the FTP server!';
$GLOBALS['TL_LANG']['tl_nc_gateway']['new'][0] = 'New gateway';
$GLOBALS['TL_LANG']['tl_nc_gateway']['new'][1] = 'Create a new gateway.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['edit'][0] = 'Edit gateway';
$GLOBALS['TL_LANG']['tl_nc_gateway']['edit'][1] = 'Edit gateway ID %s.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['copy'][0] = 'Copy gateway';
$GLOBALS['TL_LANG']['tl_nc_gateway']['copy'][1] = 'Copy gateway ID %s.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['delete'][0] = 'Delete gateway';
$GLOBALS['TL_LANG']['tl_nc_gateway']['delete'][1] = 'Delete gateway ID %s.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['show'][0] = 'Gateway details';
$GLOBALS['TL_LANG']['tl_nc_gateway']['show'][1] = 'Show details for gateway ID %s.';
$GLOBALS['TL_LANG']['tl_nc_gateway']['title_legend'] = 'Title & type';
$GLOBALS['TL_LANG']['tl_nc_gateway']['gateway_legend'] = 'Gateway settings';
$GLOBALS['TL_LANG']['tl_nc_gateway']['cronjob_legend'] = 'Cronjob settings';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queueCronjobExplanation'] = "Queued messages will remain in the queue forever unless\nyou trigger the sending mechanism by either using a real cron job or\nthe Contao internal poor man's cronjob. The Notification Center is shipped\nwith a binary that can be executed using a real cronjob. To setup a real cronjob\nthat invokes the queue of this queue gateway (ID: {gateway_id}) and send 15 messages every 10 minutes,\nyou would need to setup the following crontab:\n<br><blockquote>*/10 * * * * /path/to/contao/system/modules/notification_center/bin/queue -s {gateway_id} -n 15</blockquote><br>\nor let's say you want to send 30 messages every 5 minutes after every hour, then you would set it up like this:\n<br><blockquote>5 * * * * /path/to/contao/system/modules/notification_center/bin/queue -s {gateway_id} -n 30</blockquote><br>\nIf you don't have access to real cronjobs then you can enable the poor man's cron. Note that it doesn't provide the same\nflexibility in terms of interval settings and it is subject to the web execution context and thus certainly affected by\nPHP configurations such as the maximum execution time. Thus, try to keep the number of messages sent per invocation as low as possible.\n<br><br>\n<strong>Note: </strong>When you installed the notification center using Composer, the path to the binary differs:\n<blockquote>\n/path/to/contao/composer/vendor/terminal42/notification_center/bin/queue\n</blockquote>\n";
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_delay'][0] = 'Delayed delivery';
$GLOBALS['TL_LANG']['tl_nc_gateway']['queue_delay'][1] = 'Enter a <a href="https://php.net/strtotime" target="_blank"><i>strtotime</i></a> time interval to delay message delivery (e.g. <em>+1 day</em>).';
