diff options
author | simivar <simivar@gmail.com> | 2019-04-11 05:58:07 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2019-04-11 05:58:07 +0300 |
commit | 0a14a503684833baf0e98a34a0e02f8545e45c5c (patch) | |
tree | 23627b827f6d92cfefe6856eab38d2e5ff5f9e1d /plugins/Diagnostics | |
parent | 31a54936d2fe32c8ffeb2fe8338175bd3fc1c0cc (diff) |
Link to user guide in "Last successful Archiving Completion" diagnostic (#14284)
* Link to user guide in "Last successful Archiving Completion" diagnostic (#14224)
* Revert changes from language files other except English (handled by transifex)
Diffstat (limited to 'plugins/Diagnostics')
-rw-r--r-- | plugins/Diagnostics/Diagnostic/CronArchivingLastRunCheck.php | 6 | ||||
-rw-r--r-- | plugins/Diagnostics/lang/en.json | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/Diagnostics/Diagnostic/CronArchivingLastRunCheck.php b/plugins/Diagnostics/Diagnostic/CronArchivingLastRunCheck.php index 0ec2762588..070b979c1c 100644 --- a/plugins/Diagnostics/Diagnostic/CronArchivingLastRunCheck.php +++ b/plugins/Diagnostics/Diagnostic/CronArchivingLastRunCheck.php @@ -70,7 +70,11 @@ class CronArchivingLastRunCheck implements Diagnostic $diffTimePretty = $formatter->getPrettyTimeFromSeconds($diffTime); $errorComment = $this->translator->translate('Diagnostics_CronArchivingHasNotRunInAWhile', [$lastRunTimePretty, $diffTimePretty]) - . '<br/><br/>' . $this->translator->translate('Diagnostics_CronArchivingRunDetails', [$coreArchiveShort, $mailto, $commandToRerun]); + . '<br/><br/>' . + $this->translator->translate( + 'Diagnostics_CronArchivingRunDetails', + [$coreArchiveShort, $mailto, $commandToRerun, '<a href="https://matomo.org/docs/setup-auto-archiving/" target="_blank" rel="noreferrer noopener">', '</a>'] + ); // check archiving has been run recently if ($diffTime > self::SECONDS_IN_DAY * 2) { diff --git a/plugins/Diagnostics/lang/en.json b/plugins/Diagnostics/lang/en.json index b8cba0c349..bd553c2515 100644 --- a/plugins/Diagnostics/lang/en.json +++ b/plugins/Diagnostics/lang/en.json @@ -9,7 +9,7 @@ "CronArchivingLastRunCheck": "Last Successful Archiving Completion", "CronArchivingHasNotRun": "Archiving has not yet run successfully.", "CronArchivingHasNotRunInAWhile": "Archiving last ran successfully on %1$s which is %2$s ago.", - "CronArchivingRunDetails": "Please check that you have setup a crontab calling the %1$s console command, and that you have configured a %2$s to receive errors by email if archiving fails. You can also try to run the console command to archive your reports manually: %3$s", + "CronArchivingRunDetails": "Please check that you have setup a crontab calling the %1$s console command, and that you have configured a %2$s to receive errors by email if archiving fails. You can also try to run the console command to archive your reports manually: %3$s. %4$sLearn more.%5$s", "CronArchivingRanSuccessfullyXAgo": "The archiving process completed successfully %1$s ago.", "BrowserTriggeredArchivingEnabled": "For optimal performance and a speedy Matomo, it is highly recommended to set up a crontab to automatically archive your reports, and to disable browser triggering in the Matomo settings. %1$sLearn more.%2$s", "NoDataForReportArchivingNotRun": "The archiving of your reports hasn't been executed recently, %1$slearn more about how to generate your reports.%2$s" |