diff options
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 83f2c9494..8d5fa3089 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -142,7 +142,7 @@ function blogapi_new_post($req_params) { $nid = node_save($node); if ($nid) { - watchdog('special', "$node->type: added '$node->title' using blog API", l(t('view post'), "node/view/$nid")); + watchdog('special', t('%node-type: added "%node-title" using blog API', array('%node-type' => t("$node->type"), '%node-title' => $node->title)), l(t('view post'), "node/view/$nid")); return new xmlrpcresp(new xmlrpcval($nid, 'string')); } @@ -202,7 +202,7 @@ function blogapi_edit_post($req_params) { } $nid = node_save($node); if ($nid) { - watchdog('special', "$node->type: updated '$node->title' using blog API", l(t('view post'), "node/view/$nid")); + watchdog('special', t('%node-type: updated "%node-title" using blog API', array('%node-type' => t("$node->type"), '%node-title' => $node->title)), l(t('view post'), "node/view/$nid")); return new xmlrpcresp(new xmlrpcval(true, 'boolean')); } |