Skip to content

Commit

Permalink
Use a wildcard for the parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Nov 9, 2023
1 parent 9546761 commit 2b07167
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core-bundle/contao/classes/Crawl.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function run()
->withMaxRequests(20 * $concurrency)
->withLogger($this->createLogger($factory, $activeSubscribers, $jobId, $debugLogPath));

$template->hint = sprintf($GLOBALS['TL_LANG']['tl_maintenance']['crawlHint'], $concurrency);
$template->hint = sprintf($GLOBALS['TL_LANG']['tl_maintenance']['crawlHint'], $concurrency, 'contao.backend.crawl_concurrency');

if (Environment::get('isAjaxRequest'))
{
Expand Down
2 changes: 1 addition & 1 deletion core-bundle/contao/languages/en/tl_maintenance.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<source>Automatically log in a front end member to index protected pages.</source>
</trans-unit>
<trans-unit id="tl_maintenance.crawlHint">
<source>Your website is currently crawled with %d concurrent requests. If your server can handle more than %1$d concurrent requests, ask your system administrator to increase the &lt;code&gt;contao.backend.crawl_concurrency&lt;/code&gt; setting in the system configuration to speed up the crawling process.</source>
<source>Your website is currently crawled with %d concurrent requests. If your server can handle more than %1$d concurrent requests, ask your system administrator to increase the &lt;code&gt;%s&lt;/code&gt; setting in the system configuration to speed up the crawling process.</source>
</trans-unit>
<trans-unit id="tl_maintenance.crawlWaitToBeFinished">
<source>The crawler is currently working. Please wait for it to finish to see the results.</source>
Expand Down

0 comments on commit 2b07167

Please sign in to comment.