]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Bookmark/BookmarkPlugin.php
Merge branch '1.0.x' into prefillbookmark
[quix0rs-gnu-social.git] / plugins / Bookmark / BookmarkPlugin.php
index 3672ab2dfcf8b738ca7e5887a73e2c0b791a90fd..676d44a5b96a97eb0e4144c14e428133689b234b 100644 (file)
@@ -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));
         }