'description'=>t("%root_path folder is not writable. Index Now won't be able to create the file which will contains the API key. Check the rights and try to install the module again.",[
@@ -89,32 +89,31 @@ function index_now_help($route_name, RouteMatchInterface $route_match) {
$help.=t("Note: Since November 2021, compatibles search engines will immediately share all the submitted URLs with every other compatible search engine.").'<br />';
$help.=t("This means that if you choose to notify one search engine, you notify every other one in the same time.");
$help.='</p>';
$help.='<a href="https://www.indexnow.org/">'.t("Read more about Index Now project").'</a>';
$help.=t('<a href=":protocol_url">Read more about Index Now project</a>',[
':protocol_url'=>'https://www.indexnow.org',
]);
// Requirements.
$help.='<h2>'.t("Requirements").'</h2>';
$help.='<p>'.t("This module requires no modules outside of Drupal core but your project root folder must be writable by <em>www-data</em>.").'</p>';
$help.='<p>'.t("This module requires no modules outside of Drupal core.").'</p>';
// Installation.
$help.='<h2>'.t("Installation").'</h2>';
$help.='<p>';
$help.=t("If you're having a requirement error during the install it's most likely because your project root folder is not in the <em>www-data</em> group.").'<br />';
$help.=t("Therefore Drupal won't be able to create the key file.");
$help.=t('Install as you would normally install a contributed Drupal module. Visit <a href=":installation_help">:installation_help</a> for further information.',[
$help.=t("You can also exclude content types and/or taxonomy vocabularies for which you don't want to use Index Now.").'<br/>';
$help.=t("If you don't want to use that feature on an environment (ex: local / preprod) just don't generate the key file.");
$help.='</p>';
$help.='<p>';
$help.=t("If you use git, you should add the following line in your <em>.gitignore</em> file:");
$help.='<code>'."index_now_key_*.txt".'</code>';
$help.=t("You can also exclude content types, taxonomy vocabularies, commerce products types for which you don't want to use Index Now.").'<br/>';
$help.=t("If you don't want to use that feature on an environment (ex: local / preprod) just don't generate the API key.");
$help.='</p>';
// Service.
$help.='<h2>'.t("Service").'</h2>';
$help.='<p>'.t("The module provides a service that can be used to index other URLs than just nodes and taxonomy terms pages.").'</p>';
$help.='<p>'.t("The module provides a service that can be used to index other URLs than just nodes, taxonomy terms and commerce products pages.").'</p>';