]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Revert "* check usage of 'people' in UI and change it to 'users' or something else...
authorBrion Vibber <brion@pobox.com>
Sun, 8 Nov 2009 22:22:13 +0000 (23:22 +0100)
committerBrion Vibber <brion@pobox.com>
Sun, 8 Nov 2009 22:22:13 +0000 (23:22 +0100)
This reverts commit 81b4a381d9ddc71ed8a53c074ea10910882d3156.
IMO "user" is a bit impersonal and we shouldn't go changing the tone of the UI willy-nilly when we're updating localisations.

16 files changed:
actions/all.php
actions/foaf.php
actions/groups.php
actions/imsettings.php
actions/invite.php
actions/noticesearch.php
actions/opensearch.php
actions/peoplesearch.php
actions/peopletag.php
actions/profilesettings.php
actions/register.php
actions/replies.php
actions/subscribers.php
actions/subscriptions.php
actions/tagother.php
lib/action.php

index b0fd8ee77c338aaa860d757082b3416f130ef62e..61cedce7490cd08ed76d2568d85426179044242e 100644 (file)
@@ -129,7 +129,7 @@ class AllAction extends ProfileAction
         if (common_logged_in()) {
             $current_user = common_current_user();
             if ($this->user->id === $current_user->id) {
-                $message .= _('Try subscribing to more users, [join a group](%%action.groups%%) or post something yourself.');
+                $message .= _('Try subscribing to more people, [join a group](%%action.groups%%) or post something yourself.');
             } else {
                 $message .= sprintf(_('You can try to [nudge %s](../%s) from his profile or [post something to his or her attention](%%%%action.newnotice%%%%?status_textarea=%s).'), $this->user->nickname, $this->user->nickname, '@' . $this->user->nickname);
             }
index dd274706981584fb063d20c965d1e11a9047331a..356393304ed5abbc0a243bcd68e8974d395aa05b 100644 (file)
@@ -136,7 +136,7 @@ class FoafAction extends Action
         $person = $this->showMicrobloggingAccount($this->profile,
                                      common_root_url(), $this->user->uri, false);
 
-        // Get users who subscribe to user
+        // Get people who subscribe to user
 
         $sub = new Subscription();
         $sub->subscribed = $this->profile->id;
@@ -250,7 +250,7 @@ class FoafAction extends Action
         if ($isSubscriber) {
              $this->element('sioc:follows', array('rdf:resource'=>$this->user->uri . '#acct'));
         } else {
-            // Get users user is subscribed to
+            // Get people user is subscribed to
             $sub = new Subscription();
             $sub->subscriber = $profile->id;
             $sub->whereAdd('subscriber != subscribed');
index c713d0a98e82b5727cf6b8ad67fd77b3f914572c..10a1d5964d374ac2d18118223b3f297ca5211ed5 100644 (file)
@@ -88,12 +88,11 @@ class GroupsAction extends Action
     {
         $notice =
           sprintf(_('%%%%site.name%%%% groups let you find and talk with ' .
-                    'users of similar interests. After you join a group ' .
+                    'people of similar interests. After you join a group ' .
                     'you can send messages to all other members using the ' .
-                    'syntax "!groupname". Are you not seeing any groups ' .
-                    'you like? Try ' .
+                    'syntax "!groupname". Don\'t see a group you like? Try ' .
                     '[searching for one](%%%%action.groupsearch%%%%) or ' .
-                    '[start your own](%%%%action.newgroup%%%%)!'));
+                    '[start your own!](%%%%action.newgroup%%%%)'));
         $this->elementStart('div', 'instructions');
         $this->raw(common_markup_to_html($notice));
         $this->elementEnd('div');
index 49c7b2a0e0456068f68c32f53c597594711f5e24..b5bf72f452190e4823bd50bef500033ddf103e0c 100644 (file)
@@ -151,7 +151,7 @@ class ImsettingsAction extends ConnectSettingsAction
         $this->elementStart('li');
         $this->checkbox('jabberreplies',
                         _('Send me replies through Jabber/GTalk '.
-                          'from users I am not subscribed to.'),
+                          'from people I\'m not subscribed to.'),
                         $user->jabberreplies);
         $this->elementEnd('li');
         $this->elementStart('li');
index 8a0ac8a1b05a6c2cd3861a72497cd3e640ddc74e..3015202e9e69b39fcc59563bd16f42c34d0a727f 100644 (file)
@@ -133,7 +133,7 @@ class InviteAction extends CurrentUserDesignAction
             $this->elementEnd('ul');
         }
         if ($this->subbed) {
-            $this->element('p', null, _('These are already users and you were automatically subscribed to them:'));
+            $this->element('p', null, _('These people are already users and you were automatically subscribed to them:'));
             $this->elementStart('ul');
             foreach ($this->subbed as $other) {
                 $this->element('li', null, sprintf(_('%s (%s)'), $other->nickname, $other->email));
@@ -141,7 +141,7 @@ class InviteAction extends CurrentUserDesignAction
             $this->elementEnd('ul');
         }
         if ($this->sent) {
-            $this->element('p', null, _('Invitation(s) sent to the following e-mail addresses:'));
+            $this->element('p', null, _('Invitation(s) sent to the following people:'));
             $this->elementStart('ul');
             foreach ($this->sent as $other) {
                 $this->element('li', null, $other);
@@ -226,9 +226,9 @@ class InviteAction extends CurrentUserDesignAction
         $headers['Subject'] = sprintf(_('%1$s has invited you to join them on %2$s'), $bestname, $sitename);
 
         $body = sprintf(_("%1\$s has invited you to join them on %2\$s (%3\$s).\n\n".
-                          "%2\$s is a micro-blogging service that lets you keep up-to-date with those you know and those who interest you.\n\n".
-                          "You can also share news about yourself, your thoughts, or your life online with users who know about you. ".
-                          "It is also great for meeting others who share your interests.\n\n".
+                          "%2\$s is a micro-blogging service that lets you keep up-to-date with people you know and people who interest you.\n\n".
+                          "You can also share news about yourself, your thoughts, or your life online with people who know about you. ".
+                          "It's also great for meeting new people who share your interests.\n\n".
                           "%1\$s said:\n\n%4\$s\n\n".
                           "You can see %1\$s's profile page on %2\$s here:\n\n".
                           "%5\$s\n\n".
index fe86c8cd3dea1d328eb6fda63fb93258a8bc34d8..79cf572ccaf59f2e4e2a5777966bd886c7625dc2 100644 (file)
@@ -44,7 +44,7 @@ require_once INSTALLDIR.'/lib/searchaction.php';
  * @author   Robin Millette <millette@status.net>
  * @license  http://www.fsf.org/licensing/licenses/agpl.html AGPLv3
  * @link     http://status.net/
- * @todo     common parent for user and content search?
+ * @todo     common parent for people and content search?
  */
 class NoticesearchAction extends SearchAction
 {
index 8ebb5fc82495503f380cbef89f4b94c4861a54b5..861b53d7d83176a21b776c30718b58e8fe43a7ea 100644 (file)
@@ -61,7 +61,7 @@ class OpensearchAction extends Action
         $short_name = '';
         if ($type == 'people') {
             $type       = 'peoplesearch';
-            $short_name = _('User Search');
+            $short_name = _('People Search');
         } else {
             $type       = 'noticesearch';
             $short_name = _('Notice Search');
index 63a5c88f335cfd2693cfc787d2e096a76ac2f957..38135ecbdeac6076ad1207e27705c5fab658bcfe 100644 (file)
@@ -49,7 +49,7 @@ class PeoplesearchAction extends SearchAction
 {
     function getInstructions()
     {
-        return _('Search for users on %%site.name%% by their name, location, or interests. ' .
+        return _('Search for people on %%site.name%% by their name, location, or interests. ' .
                   'Separate the terms by spaces; they must be 3 characters or more.');
     }
 
index dbce417df36fb71485b044c323cfe6a29da452d8..6dbbc926161c87b9c31b5b9d9d51d2764965fc9f 100644 (file)
@@ -67,7 +67,7 @@ class PeopletagAction extends Action
         $this->tag = $this->trimmed('tag');
 
         if (!common_valid_profile_tag($this->tag)) {
-            $this->clientError(sprintf(_('Not a valid user tag: %s'),
+            $this->clientError(sprintf(_('Not a valid people tag: %s'),
                 $this->tag));
             return;
         }
index 6a1c07f9d2016e1b92773d8b6a8fac4e7f35a647..0a0cc59973a3709c272a93e74bf1e9176f46c5d5 100644 (file)
@@ -68,8 +68,8 @@ class ProfilesettingsAction extends AccountSettingsAction
 
     function getInstructions()
     {
-        return _('You can update your personal profile info here ' .
-                  'so readers know more about you.');
+        return _('You can update your personal profile info here '.
+                  'so people know more about you.');
     }
 
     function showScripts()
index 584ad3ead49428b74ce12bb9ad201ef51e73c76c..57f8e7bdf0394f450ad1cabd79e7fc166cd67429 100644 (file)
@@ -82,14 +82,14 @@ class RegisterAction extends Action
         }
 
         if (common_config('site', 'inviteonly') && empty($this->code)) {
-            $this->clientError(_('Sorry. Only those invited can register.'));
+            $this->clientError(_('Sorry, only invited people can register.'));
             return false;
         }
 
         if (!empty($this->code)) {
             $this->invite = Invitation::staticGet('code', $this->code);
             if (empty($this->invite)) {
-                $this->clientError(_('Sorry. This is an invalid invitation code.'));
+                $this->clientError(_('Sorry, invalid invitation code.'));
                 return false;
             }
             // Store this in case we need it
@@ -186,7 +186,7 @@ class RegisterAction extends Action
             }
 
             if (common_config('site', 'inviteonly') && !($code && $invite)) {
-                $this->clientError(_('Sorry. Only those invited can register.'));
+                $this->clientError(_('Sorry, only invited people can register.'));
                 return;
             }
 
@@ -401,7 +401,7 @@ class RegisterAction extends Action
         }
 
         if (common_config('site', 'inviteonly') && !($code && $invite)) {
-            $this->clientError(_('Sorry. Only those invited can register.'));
+            $this->clientError(_('Sorry, only invited people can register.'));
             return;
         }
 
@@ -542,7 +542,7 @@ class RegisterAction extends Action
                            '(%%%%action.imsettings%%%%) '.
                            'so you can send notices '.
                            'through instant messages.' . "\n" .
-                           '* [Search for users](%%%%action.peoplesearch%%%%) '.
+                           '* [Search for people](%%%%action.peoplesearch%%%%) '.
                            'that you may know or '.
                            'that share your interests. ' . "\n" .
                            '* Update your [profile settings]'.
index 2829a73350c77afb6200bf2ab872fcb4a37cdfd4..a13b5a22734934408c069ca26a4c8c00b1da5bf6 100644 (file)
@@ -195,12 +195,12 @@ class RepliesAction extends OwnerDesignAction
 
     function showEmptyListMessage()
     {
-        $message = sprintf(_('This is the timeline showing replies to %s but %s has not received a notice to his attention yet.'), $this->user->nickname, $this->user->nickname) . ' ';
+        $message = sprintf(_('This is the timeline showing replies to %s but %s hasn\'t received a notice to his attention yet.'), $this->user->nickname, $this->user->nickname) . ' ';
 
         if (common_logged_in()) {
             $current_user = common_current_user();
             if ($this->user->id === $current_user->id) {
-                $message .= _('You can engage other users in a conversation, subscribe to more users or [join groups](%%action.groups%%).');
+                $message .= _('You can engage other users in a conversation, subscribe to more people or [join groups](%%action.groups%%).');
             } else {
                 $message .= sprintf(_('You can try to [nudge %s](../%s) or [post something to his or her attention](%%%%action.newnotice%%%%?status_textarea=%s).'), $this->user->nickname, $this->user->nickname, '@' . $this->user->nickname);
             }
index 1f584e2c14281467a563b01cda068941dd978ea6..df9ec996159abf64dfb4c04b26bdfb9b7c13e359 100644 (file)
@@ -60,12 +60,12 @@ class SubscribersAction extends GalleryAction
         $user =& common_current_user();
         if ($user && ($user->id == $this->profile->id)) {
             $this->element('p', null,
-                           _('These are the users who have subscribed to '.
+                           _('These are the people who listen to '.
                              'your notices.'));
         } else {
             $this->element('p', null,
-                           sprintf(_('These are the users who '.
-                                     'have subscribed to %s\'s notices.'),
+                           sprintf(_('These are the people who '.
+                                     'listen to %s\'s notices.'),
                                    $this->profile->nickname));
         }
     }
@@ -105,7 +105,7 @@ class SubscribersAction extends GalleryAction
         if (common_logged_in()) {
             $current_user = common_current_user();
             if ($this->user->id === $current_user->id) {
-                $message = _('You have no subscribers. Try subscribing to users you know and they might return the favor');
+                $message = _('You have no subscribers. Try subscribing to people you know and they might return the favor');
             } else {
                 $message = sprintf(_('%s has no subscribers. Want to be the first?'), $this->user->nickname);
             }
index 4f65e9bf1fde1e1caaeaf701f60f62406a880123..cc7b38ee461f21d21f44408d6b645a70d086db00 100644 (file)
@@ -62,12 +62,12 @@ class SubscriptionsAction extends GalleryAction
         $user =& common_current_user();
         if ($user && ($user->id == $this->profile->id)) {
             $this->element('p', null,
-                           _('These are the users whose notices '.
-                             'you have subscribed to.'));
+                           _('These are the people whose notices '.
+                             'you listen to.'));
         } else {
             $this->element('p', null,
-                           sprintf(_('These are the users whose '.
-                                     'notices %s has subscribed to.'),
+                           sprintf(_('These are the people whose '.
+                                     'notices %s listens to.'),
                                    $this->profile->nickname));
         }
     }
@@ -118,7 +118,7 @@ class SubscriptionsAction extends GalleryAction
         if (common_logged_in()) {
             $current_user = common_current_user();
             if ($this->user->id === $current_user->id) {
-                $message = _('You have not subscribed to anyone\'s notices right now. Try subscribing to users you know. Try [user search](%%action.peoplesearch%%), look for members in groups you\'re interested in and in our [featured users](%%action.featured%%). If you are a [Twitter user](%%action.twittersettings%%), you can automatically subscribe to users you already follow there.');
+                $message = _('You\'re not listening to anyone\'s notices right now, try subscribing to people you know. Try [people search](%%action.peoplesearch%%), look for members in groups you\'re interested in and in our [featured users](%%action.featured%%). If you\'re a [Twitter user](%%action.twittersettings%%), you can automatically subscribe to people you already follow there.');
             } else {
                 $message = sprintf(_('%s is not listening to anyone.'), $this->user->nickname);
             }
index 80fa9cc95d083c63c937f8dcacef4451444e2dce..c3f43be8ba42fac0b44e20e2dc4a740ab721e5f8 100644 (file)
@@ -190,7 +190,7 @@ class TagotherAction extends Action
             !Subscription::pkeyGet(array('subscriber' => $this->profile->id,
                                          'subscribed' => $user->id)))
         {
-            $this->clientError(_('You can only tag users you are subscribed to or who are subscribed to you.'));
+            $this->clientError(_('You can only tag people you are subscribed to or who are subscribed to you.'));
             return;
         }
 
index 34b17063a9713263f6517c5eadbd0a11a49b507b..80f398fbd77e25b8736af0a5c7cb33cae06cb5fd 100644 (file)
@@ -456,7 +456,7 @@ class Action extends HTMLOutputter // lawsuit
                             _('Help'), _('Help me!'), false, 'nav_help');
             if ($user || !common_config('site', 'private')) {
                 $this->menuItem(common_local_url('peoplesearch'),
-                                _('Search'), _('Search for users or text'), false, 'nav_search');
+                                _('Search'), _('Search for people or text'), false, 'nav_search');
             }
             Event::handle('EndPrimaryNav', array($this));
         }