]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/selftag.php
make it possible to erase fields in the profile via the api
[quix0rs-gnu-social.git] / actions / selftag.php
index b0b4981f10c237887127f16d63e1c8b813ebb041..b886c3d9f731cc28e4e041df35c3e40159eb5365 100644 (file)
@@ -46,7 +46,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
  */
 class SelftagAction extends Action
 {
-
     var $tag  = null;
     var $page = null;
 
@@ -64,9 +63,9 @@ class SelftagAction extends Action
         $this->tag = $this->trimmed('tag');
 
         if (!common_valid_profile_tag($this->tag)) {
-            // TRANS: Client error displayed when trying to tag a profile with an invalid tag.
-            // TRANS: %s is the invalid tag.
-            $this->clientError(sprintf(_('Not a valid people tag: %s.'),
+            // TRANS: Client error displayed when trying to list a profile with an invalid list.
+            // TRANS: %s is the invalid list name.
+            $this->clientError(sprintf(_('Not a valid list: %s.'),
                 $this->tag));
             return;
         }
@@ -100,7 +99,6 @@ class SelftagAction extends Action
      */
     function showContent()
     {
-
         $profile = new Profile();
 
         $offset = ($this->page - 1) * PROFILES_PER_PAGE;
@@ -151,10 +149,11 @@ class SelftagAction extends Action
      */
     function title()
     {
-        return sprintf(_('Users self-tagged with %1$s - page %2$d'),
+        // TRANS: Page title for page showing self tags.
+        // TRANS: %1$s is a tag, %2$d is a page number.
+        return sprintf(_('Users self-tagged with %1$s, page %2$d'),
             $this->tag, $this->page);
     }
-
 }
 
 class SelfTagProfileList extends ProfileList