From ab52460691efc2404248eb8cf410c2b8e9393353 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Wed, 13 Apr 2011 15:43:05 +0200 Subject: [PATCH] Update translator documentation. Number parameters. --- plugins/Bookmark/BookmarkPlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 5e11192b48..2d94a43583 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -519,7 +519,8 @@ class BookmarkPlugin extends MicroAppPlugin if (count($atts) < 1) { // Something wrong; let default code deal with it. // TRANS: Exception thrown when a bookmark has no attachments. - throw new Exception(sprintf(_m('Bookmark %s (notice %d) has no attachments.'), + // TRANS: %1$s is a bookmark ID, %2$s is a notice ID (number). + throw new Exception(sprintf(_m('Bookmark %1$s (notice %2$d) has no attachments.'), $nb->id, $notice->id)); }