summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2003-07-08 10:04:24 +0000
committerDries Buytaert2003-07-08 10:04:24 +0000
commitf294f5e506ff9f2465226bb836063421a4d65e1d (patch)
tree83d4d369980ea4573f5bdc85f30914422a789861
parent62d680c203fdab218816768683a9d2f36674ea89 (diff)
- Fixed a number of translation issues. Patches by Stefan.
-rw-r--r--modules/admin.module2
-rw-r--r--modules/book.module2
-rw-r--r--modules/forum.module2
-rw-r--r--modules/statistics.module2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/admin.module b/modules/admin.module
index 767aba0..81e23ff 100644
--- a/modules/admin.module
+++ b/modules/admin.module
@@ -39,7 +39,7 @@ function admin_page() {
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head>
- <title><?php echo variable_get("site_name", "drupal") . " " . t("administration pages"); ?></title>
+ <title><?php echo t("%sitename administration pages", array("%sitename" => variable_get("site_name", "drupal"))); ?></title>
<?php print theme_head(); ?>
<link rel="shortcut icon" type="image/ico" href="favicon.ico" />
<link rel="stylesheet" type="text/css" media="print" href="misc/print.css" />
diff --git a/modules/book.module b/modules/book.module
index 74737b2..909542a 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 .= "<h3>". t("Edit book outline for node <i>") . "$node->title</i></h3>";
+ $output .= "<h3>". t("Edit book outline for node <i>%booktitle</i>", array("%booktitle" => $node->title)) ."</h3>";
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 24c5fb6..434f7c1 100644
--- a/modules/forum.module
+++ b/modules/forum.module
@@ -559,7 +559,7 @@ function forum_theme_list($forums, $parents, $tid) {
}
if ($links) {
- $output .= "<br />". t("Jump to") .": ". implode(", ", $links);
+ $output .= "<br />". t("Jump to: %links", array("%links" => implode(", ", $links)));
}
$output .= "</div></td></tr></table></td>";
diff --git a/modules/statistics.module b/modules/statistics.module
index 7804bb9..3e7a6c1 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")) {