]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/tag.php
Merge branch '1.0.x' into limitdist2
[quix0rs-gnu-social.git] / actions / tag.php
index 512dac63a4f6f01f0039a5d5c276b486205bfcc4..944cda1f4a16c3dceaa532b036266c952384b42a 100644 (file)
@@ -49,7 +49,7 @@ class TagAction extends Action
 
         if($this->page > 1 && $this->notice->N == 0){
             // TRANS: Server error when page not found (404)
-            $this->serverError(_('No such page'),$code=404);
+            $this->serverError(_('No such page.'),$code=404);
         }
 
         return true;
@@ -64,8 +64,12 @@ class TagAction extends Action
     function title()
     {
         if ($this->page == 1) {
+            // TRANS: Title for first page of notices with tags.
+            // TRANS: %s is the tag.
             return sprintf(_('Notices tagged with %s'), $this->tag);
         } else {
+            // TRANS: Title for all but the first page of notices with tags.
+            // TRANS: %1$s is the tag, %2$d is the page number.
             return sprintf(_('Notices tagged with %1$s, page %2$d'),
                            $this->tag,
                            $this->page);