]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Linkback/LinkbackPlugin.php
merge 0.9.x into 1.0.x
[quix0rs-gnu-social.git] / plugins / Linkback / LinkbackPlugin.php
index 8e44beae1828b207d008e08119b44e4e82856bcb..5cc4aadb051ede166f2b72a2141043bac46c8d21 100644 (file)
@@ -49,7 +49,6 @@ define('LINKBACKPLUGIN_VERSION', '0.1');
  *
  * @see      Event
  */
-
 class LinkbackPlugin extends Plugin
 {
     var $notice = null;
@@ -154,7 +153,6 @@ class LinkbackPlugin extends Plugin
     // Largely cadged from trackback_cls.php by
     // Ran Aroussi <ran@blogish.org>, GPL2 or any later version
     // http://phptrackback.sourceforge.net/
-
     function getTrackback($text, $url)
     {
         if (preg_match_all('/(<rdf:RDF.*?<\/rdf:RDF>)/sm', $text, $match, PREG_SET_ORDER)) {
@@ -203,7 +201,9 @@ class LinkbackPlugin extends Plugin
     {
         $profile = $this->notice->getProfile();
 
-        $args = array('title' => sprintf(_('%1$s\'s status on %2$s'),
+        // TRANS: Trackback title.
+        // TRANS: %1$s is a profile nickname, %2$s is a timestamp.
+        $args = array('title' => sprintf(_m('%1$s\'s status on %2$s'),
                                          $profile->nickname,
                                          common_exact_date($this->notice->created)),
                       'excerpt' => $this->notice->content,
@@ -240,6 +240,7 @@ class LinkbackPlugin extends Plugin
                             'author' => 'Evan Prodromou',
                             'homepage' => 'http://status.net/wiki/Plugin:Linkback',
                             'rawdescription' =>
+                            // TRANS: Plugin description.
                             _m('Notify blog authors when their posts have been linked in '.
                                'microblog notices using '.
                                '<a href="http://www.hixie.ch/specs/pingback/pingback">Pingback</a> '.