diff --git a/modules/admin.module b/modules/admin.module index 767aba03f0d7ae03093cd49f8404d527898819e0..81e23fffa9d5a3add409af4a63647881441bd803 100644 --- a/modules/admin.module +++ b/modules/admin.module @@ -39,7 +39,7 @@ function admin_page() { - <?php echo variable_get("site_name", "drupal") . " " . t("administration pages"); ?> + <?php echo t("%sitename administration pages", array("%sitename" => variable_get("site_name", "drupal"))); ?> diff --git a/modules/book.module b/modules/book.module index 74737b213f239380c3b5f952780f7f6829dee2ef..909542a153a0923d948ec4661b6105f08985234b 100644 --- a/modules/book.module +++ b/modules/book.module @@ -224,7 +224,7 @@ function book_node_link($node = 0) { $output .= status(t("removed the node form the book.")); } - $output .= "

". t("Edit book outline for node ") . "$node->title

"; + $output .= "

". t("Edit book outline for node %booktitle", array("%booktitle" => $node->title)) ."

"; if ($edit["nid"]) { $page = db_fetch_object(db_query("SELECT * FROM book WHERE nid = %d", $node->nid)); diff --git a/modules/forum.module b/modules/forum.module index 24c5fb6213704d05ad34b69ebd73ef2a45e10393..434f7c1d4cf2640efd3c55df0008eca4e1e9b9ee 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -559,7 +559,7 @@ function forum_theme_list($forums, $parents, $tid) { } if ($links) { - $output .= "
". t("Jump to") .": ". implode(", ", $links); + $output .= "
". t("Jump to: %links", array("%links" => implode(", ", $links))); } $output .= ""; diff --git a/modules/statistics.module b/modules/statistics.module index 7804bb970c5e5d0c3606639905314492c7cc9a44..3e7a6c10b77b307f340a40e176d5f8ed3f19f3fd 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -314,7 +314,7 @@ function statistics_admin_accesslog_table($type, $id) { $url = message_na(); } - $rows[] = array(array("data" => format_date($log->timestamp, "small"), "nowrap" => "nowrap"), ($node->nid ? l($node->title, "node/view/$node->nid") : message_na()), format_name($user), $log->hostname ? $log->hostname : message_na(), $url, ($log->nid ? l("track node", "admin/statistics/log/node/$log->nid") : ""), ($user->uid ? l("track user", "admin/statistics/log/user/$user->uid") : ""), ($log->hostname ? l("track host", "admin/statistics/log/host/$log->hostname") : "")); + $rows[] = array(array("data" => format_date($log->timestamp, "small"), "nowrap" => "nowrap"), ($node->nid ? l($node->title, "node/view/$node->nid") : message_na()), format_name($user), $log->hostname ? $log->hostname : message_na(), $url, ($log->nid ? l(t("track node"), "admin/statistics/log/node/$log->nid") : ""), ($user->uid ? l(t("track user"), "admin/statistics/log/user/$user->uid") : ""), ($log->hostname ? l(t("track host"), "admin/statistics/log/host/$log->hostname") : "")); } if ($pager = pager_display(NULL, 50, 0, "admin")) {