r1496: There's a string here in the parsed comments that we didn't mark
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 18 Mar 2007 05:15:16 +0000 (05:15 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 18 Mar 2007 05:15:16 +0000 (05:15 +0000)
includes/api_comment.php

index 2923f026194ecf8aa784556a9bf6e0cd59a287b2..d87305e65866dbaf6bb71c3bbf34240ea780ca58 100644 (file)
@@ -84,7 +84,7 @@ class CommentAPI extends API
                $comment = $this->values['comment'];
                if ($this->values['parselinks'])
                {
-                       $comment = str_replace('bug://new', '<a href="newreport.php">New Bug</a>', $comment);
+                       $comment = str_replace('bug://new', '<a href="newreport.php">' . _('New Bug') . '</a>', $comment);
                        $comment = preg_replace('#bug://((report|problem)/)?([0-9]*)#i', '<a href="showreport.php?bugid=\3">bug \3</a>', $comment);
                        $comment = preg_replace('#(https?://|www\.)\S+#i', '<a href="\0">\0</a>', $comment);
                }