From cc385b17f4b92c9395d49dba1bfdc0c8139e7e78 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 14 Dec 2023 08:09:47 +0100 Subject: [PATCH] add english translation --- Application/views/admin/de/translations.php | 5 -- Application/views/admin/en/module_lang.php | 3 ++ Application/views/admin/en/translations.php | 5 -- Application/views/de/module_lang.php | 3 -- Application/views/de/translations.php | 2 +- Application/views/en/translations.php | 54 +++++++++++++++++++++ composer.json | 5 +- 7 files changed, 60 insertions(+), 17 deletions(-) delete mode 100644 Application/views/admin/de/translations.php create mode 100644 Application/views/admin/en/module_lang.php delete mode 100644 Application/views/admin/en/translations.php delete mode 100644 Application/views/de/module_lang.php create mode 100644 Application/views/en/translations.php diff --git a/Application/views/admin/de/translations.php b/Application/views/admin/de/translations.php deleted file mode 100644 index a697ca0..0000000 --- a/Application/views/admin/de/translations.php +++ /dev/null @@ -1,5 +0,0 @@ - 'UTF-8', -]; diff --git a/Application/views/admin/en/module_lang.php b/Application/views/admin/en/module_lang.php new file mode 100644 index 0000000..dd02ab0 --- /dev/null +++ b/Application/views/admin/en/module_lang.php @@ -0,0 +1,3 @@ + 'UTF-8', -]; diff --git a/Application/views/de/module_lang.php b/Application/views/de/module_lang.php deleted file mode 100644 index 512936e..0000000 --- a/Application/views/de/module_lang.php +++ /dev/null @@ -1,3 +0,0 @@ - 'Dieses Modul kann Ihnen helfen, um Schwierigkeiten beim Versand von Mails oder bei nicht zugestellten Mails zu identifizieren. Gehen Sie bitte die folgenden Tabs durch. Nötige Nacharbeiten werden Ihnen dort angezeigt.', 'D3_MAILCHECKER_INFO_2' => 'Beachten Sie bitte, dass die Prüfungen nicht im Produktivbetrieb des Shops aktiv sein sollten!', - 'D3_MAILCHECKER_INFO_3' => 'Benötigen Sie detailliertere Informationen oder technische Unterstützung, kontaktieren Sie uns bitte unter:

support@shopmodule.com

Ihr Team von (D3) D3 Data Development.', + 'D3_MAILCHECKER_INFO_3' => 'Benötigen Sie detailliertere Informationen oder technische Unterstützung, kontaktieren Sie uns bitte unter: support@shopmodule.com

Ihr Team von (D3) D3 Data Development.', 'D3_MAILCHECKER_ASSERTIONS_FAILED' => 'Die folgenden %d Prüfungen schlugen fehl:', 'D3_MAILCHECKER_ASSERTIONS_NOTSET' => 'ist nicht (richtig) gesetzt', diff --git a/Application/views/en/translations.php b/Application/views/en/translations.php new file mode 100644 index 0000000..d5ec530 --- /dev/null +++ b/Application/views/en/translations.php @@ -0,0 +1,54 @@ + "UTF-8", + "D3_MENU_MAILCHECKER" => "Email checking", + "D3_TAB_MAILCHECKER_MODULEDESCRIPTION" => "Description", + "D3_TAB_MAILCHECKER_CONFIGCHECK" => "Configuration check", + "D3_TAB_MAILCHECKER_SMTPCHECK" => "SMTP check", + "D3_TAB_MAILCHECKER_SPFCHECK" => "SPF check", + "D3_TAB_MAILCHECKER_TESTMAIL" => "Test email", + "D3_MAILCHECKER_ASSERTIONS_FAILED" => "The following %d checks failed:", + "D3_MAILCHECKER_ASSERTIONS_NOTSET" => "is not (correctly) set", + "D3_MAILCHECKER_ASSERTIONS_NOPORT" => "missing or incorrect port information (587 or 2525)", + "D3_MAILCHECKER_CFGCHECK_SHOPSEND" => "The shop sends emails via", + "D3_MAILCHECKER_CFGCHECK_SHOPSEND_PHPMAILER" => "PhpMailer", + "D3_MAILCHECKER_CFGCHECK_SHOPSEND_PHPMAILER_DESC" => "Sending via PhpMailer should be avoided as such emails are usually classified as spam. Once you have entered all SMTP data, check possible login problems in the SMTP check.", + "D3_MAILCHECKER_CFGCHECK_SHOPSEND_SMTP" => "SMTP", + "D3_MAILCHECKER_CFGCHECK_SHOPSEND_SMTP_DESC" => "Everything is fine. Please check the necessary SPF entries for your domain(s).", + "D3_MAILCHECKER_CFGCHECK_STARTCHECK" => "Test configuration", + "D3_MAILCHECKER_SMTPCHECK_DESC1" => "If no mail is sent via SMTP despite the appropriate data entered, the attempt to log in to the outgoing mail server can be repeated here. Any messages that may occur are shown.", + "D3_MAILCHECKER_SMTPCHECK_DESC2" => "New connections can also be tested here in advance.", + "D3_MAILCHECKER_SMTPCHECK_DESC3" => "These settings are used to establish the connection. These can be changed. They will not be saved back to the shop. The optional email delivery is sent directly to the SMTP server and bypasses the shop logic[[dot] ", + "D3_MAILCHECKER_SMTPCHECK_SENDER" => "Sender", + "D3_MAILCHECKER_SMTPCHECK_RECIPIENT" => "Recipient", + "D3_MAILCHECKER_SMTPCHECK_TESTSENDMAIL" => "Test email delivery", + "D3_MAILCHECKER_SMTPCHECK_STARTTEST" => "Test SMTP access", + "D3_MAILCHECKER_SMTPCHECK_INSTANCE" => "SMTP instance", + "D3_MAILCHECKER_SMTPCHECK_CONNECTION" => "Connection", + "D3_MAILCHECKER_SMTPCHECK_NOCONNECTION" => "Cannot connect to host.", + "D3_MAILCHECKER_SMTPCHECK_AUTHENTICATION" => "Authentication", + "D3_MAILCHECKER_SMTPCHECK_NOAUTHENTICATION" => "Authentication not successful", + "D3_MAILCHECKER_SMTPCHECK_NOSENDER" => 'Cannot set sender "%1$s".', + "D3_MAILCHECKER_SMTPCHECK_NORECIPIENT" => 'Recipient "%1$s" cannot be set', + "D3_MAILCHECKER_SMTPCHECK_TRANSMIT" => "Data transfer", + "D3_MAILCHECKER_SMTPCHECK_NOTRANSMIT" => "Data transfer not successful", + "D3_MAILCHECKER_SMTPCHECK_SUCCESS" => "SMTP communication was completed successfully.", + "D3_MAILCHECKER_SPFRESULT_DESC" => "With the Sender Policy Framework (SPF), the domain owner defines which server is allowed to send emails with the domain sender. This information is checked by the receiving server. If the SPF entry is missing, emails are usually sent as ", + "D3_MAILCHECKER_SPFRESULT_SET" => "An SPF entry is set", + "D3_MAILCHECKER_SPFRESULT_MISSING" => "There is no SPF entry set, this should be added urgently", + "D3_MAILCHECKER_SPFRESULT_ERROR" => "The SPF record cannot be checked", + "D3_MAILCHECKER_SPFRESULT_LINKS" => "Related Links", + "D3_MAILCHECKER_SPFRESULT_LINK_ANALYSIS" => "SPF analysis", + "D3_MAILCHECKER_SPFRESULT_LINK_GENERATOR" => "SPF generator", + "D3_MAILCHECKER_SPFRESULT_LINK_BLACKLISTCHECK" => "Blacklist check", + "D3_MAILCHECKER_TESTMAIL_DESC" => "The test email is sent in the same way as all regular emails from the shop (e.g..B. order confirmations, ...) and can ", + "D3_MAILCHECKER_TESTMAIL_HEADERANALYSIS" => "Email Header Analyzer", + "D3_MAILCHECKER_TESTMAIL_SUBJECT" => "Regarding", + "D3_MAILCHECKER_TESTMAIL_BODY" => "News", + "D3_MAILCHECKER_TESTMAIL_SENDMAIL" => "Send an email", + "D3_MAILCHECKER_TESTMAIL_SUCCESS" => "The test email was sent successfully.", + "D3_MAILCHECKER_INFO_1" => "This module can help you to identify difficulties when sending emails or undelivered emails. Please go through the following tabs. Any necessary rework will be displayed there.", + "D3_MAILCHECKER_INFO_2" => "Please note that the checks should not be active during productive operation of the shop!", + "D3_MAILCHECKER_INFO_3" => 'If you require more detailed information or technical support, please contact us at: support@shopmodule.com
Your (D3) D3 Data Development team.', +]; \ No newline at end of file diff --git a/composer.json b/composer.json index 7a4e1f5..e84f513 100644 --- a/composer.json +++ b/composer.json @@ -55,8 +55,7 @@ } }, "scripts": { - "phpunit": "XDEBUG_MODE=coverage vendor/bin/phpunit --bootstrap=source/bootstrap.php --config=vendor/d3/mymodule/tests/", - "phpunit-coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --bootstrap=source/bootstrap.php --config=vendor/d3/mymodule/tests/ --coverage-html=vendor/d3/mymodule/tests/result/coverage", - "phpunuhi": "./vendor/bin/phpunuhi --configuration=vendor/d3/mymodule/phpunuhi.xml validate" + "phpstan": "./vendor/bin/phpstan --configuration=./vendor/d3/mailconfigchecker/phpstan.neon", + "phpunuhi": "./vendor/bin/phpunuhi --configuration=vendor/d3/mailconfigchecker/phpunuhi.xml validate" } }