summaryrefslogtreecommitdiff
path: root/modules/ping
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-10-03 14:55:27 +0000
committerDries Buytaert <dries@buytaert.net>2003-10-03 14:55:27 +0000
commit058971c33b8dca63fd33b188328fc3e3ec9fb372 (patch)
treede80494d6eca73119a1ff2d3a9fe448ea0c13497 /modules/ping
parent35f3bcd0426ea207e40c4a2dd6cae8a1d26c794e (diff)
downloadbrdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.gz
brdo-058971c33b8dca63fd33b188328fc3e3ec9fb372.tar.bz2
- Help improvements and translation improvements from Michael. Thanks!
Diffstat (limited to 'modules/ping')
-rw-r--r--modules/ping/ping.module9
1 files changed, 5 insertions, 4 deletions
diff --git a/modules/ping/ping.module b/modules/ping/ping.module
index cbbe95198..5befbc36b 100644
--- a/modules/ping/ping.module
+++ b/modules/ping/ping.module
@@ -8,16 +8,17 @@ function ping_help($section = "admin/ping/help") {
case 'admin/help':
case 'admin/ping/help':
$output .= "<p>Drupal can pings sites automatically to notify them that your site has changed. It can ping the following sites:</p>";
- $output .= strtr("<p>%weblogs, a web site that tracks and displays links to changed weblogs and news-oriented web sites. To get your Drupal site listed, weblogs.com must be informed about your site's updates. This is the job of the ping module and when installed, the administrator doesn't have to do anything to participate in the %weblogs system. The ping module automatically notifies weblogs.com when your site is updated. To do so, Drupal implements the %weblogs-XML.</p>", array("%weblogs" => "<a href=\"http://www.weblogs.com/\">". t("Weblogs.com") ."</a>", "%weblogs-XML" => "<a href=\"http://www.xmlrpc.com/weblogsCom/\">". t("XML-RPC interface of weblogs.com") ."</a>"));
- $output .= strtr("<p>%weblogs-RSS, a web site that tracks and displays links to recently changed RSS feeds in XML format. To get your Drupal site listed, %weblogs-RSS must be informed about updates to your RSS feed. This is the job of the ping module and when installed, the administrator doesn't have to do anything to participate in the %weblogs-RSS-changes system. The ping module automatically notifies %weblogs-RSS when your site is updated.</p>", array("%weblogs-RSS" => "<a href=\"http://www.xmlrpc.com/weblogsComForRSS\">". t("Weblogs.Com for RSS") ."</a>", "%weblogs-RSS-changes" => "<a href=\"http://www.weblogs.com/rssUpdates/changes.xml\">". t("the weblogs.com for RSS") ."</a>"));
- $output .= strtr("<p>%blo-gs, a directory of recently updated weblogs and tools for tracking interesting weblogs, in the spirit of services like %weblogs, %blogtracker and %blogrolling. To get your Drupal site listed, %blo-gs must be informed about your site's updates. This is the job of the ping module and when installed, the administrator doesn't have to do anything to participate in the %blo-gs system. The ping module automatically notifies blo.gs when your site is updated. To do so, Drupal implements the %blo-gs-XML.</p>", array("%blo-gs" => "<a href=\"http://blo.gs/\">". t("blo.gs") ."</a>", "%weblogs" => "<a href=\"http://www.weblogs.com/\">". t("weblogs.com") ."</a>", "%blogtracker" => "<a href=\"http://www.dansanderson.com/blogtracker\">". t("blogtracker") ."</a>", "%blogrolling" => "<a href=\"http://www.blogrolling.com\">". t("blogtolling.com") ."</a>", "%blo-gs-XML" => "<a href=\"http://blo.gs/ping.php\">". t("XML-RPC interface of blo.gs") ."</a>" ));
+ $output .= "<p>%weblogs, a web site that tracks and displays links to changed weblogs and news-oriented web sites. To get your Drupal site listed, weblogs.com must be informed about your site's updates. This is the job of the ping module and when installed, the administrator doesn't have to do anything to participate in the %weblogs system. The ping module automatically notifies weblogs.com when your site is updated. To do so, Drupal implements the %weblogs-XML.</p>";
+ $output .= "<p>%weblogs-RSS, a web site that tracks and displays links to recently changed RSS feeds in XML format. To get your Drupal site listed, %weblogs-RSS must be informed about updates to your RSS feed. This is the job of the ping module and when installed, the administrator doesn't have to do anything to participate in the %weblogs-RSS-changes system. The ping module automatically notifies %weblogs-RSS when your site is updated.</p>";
+ $output .= "<p>%blo-gs, a directory of recently updated weblogs and tools for tracking interesting weblogs, in the spirit of services like %weblogs, %blogtracker and %blogrolling. To get your Drupal site listed, %blo-gs must be informed about your site's updates. This is the job of the ping module and when installed, the administrator doesn't have to do anything to participate in the %blo-gs system. The ping module automatically notifies blo.gs when your site is updated. To do so, Drupal implements the %blo-gs-XML.</p>";
// for optional modules that ping other sites
// $output .= module_invoke_all("ping_help");
$output .= "<p>The ping feature requires crontab.</p>";
+ $output = t($output, array("%weblogs" => "<a href=\"http://www.weblogs.com/\">Weblogs.com</a>", "%weblogs-XML" => "<a href=\"http://www.xmlrpc.com/weblogsCom/\">". t("XML-RPC interface of weblogs.com") ."</a>", "%weblogs-RSS" => "<a href=\"http://www.xmlrpc.com/weblogsComForRSS\">". t("Weblogs.Com for RSS") ."</a>", "%weblogs-RSS-changes" => "<a href=\"http://www.weblogs.com/rssUpdates/changes.xml\">". t("the weblogs.com for RSS") ."</a>", "%blo-gs" => "<a href=\"http://blo.gs/\">blo.gs</a>", "%blogtracker" => "<a href=\"http://www.dansanderson.com/blogtracker\">blogtracker</a>", "%blogrolling" => "<a href=\"http://www.blogrolling.com\">blogtolling.com</a>", "%blo-gs-XML" => "<a href=\"http://blo.gs/ping.php\">". t("XML-RPC interface of blo.gs") ."</a>" ));
break;
case 'admin/system/modules':
- $output = "Alerts other site(s) that your site has been updated.";
+ $output = t("Alerts other site(s) that your site has been updated.");
break;
}