Commit cd150ba7 authored by Dries's avatar Dries

- Improvement: made it easier to translate the book outline.  Patch #67 by
  Stefan.
parent 8963b895
......@@ -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));
......
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment