aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/contact_widgets.php4
-rw-r--r--include/group.php12
-rw-r--r--include/nav.php10
-rw-r--r--mod/group.php34
4 files changed, 30 insertions, 30 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index aeed63ebf..11b087ac5 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -26,12 +26,12 @@ function findpeople_widget() {
}
return replace_macros(get_markup_template('peoplefind.tpl'),array(
- '$findpeople' => t('Find People'),
+ '$findpeople' => t('Find Channels'),
'$desc' => t('Enter name or interest'),
'$label' => t('Connect/Follow'),
'$hint' => t('Examples: Robert Morgenstein, Fishing'),
'$findthem' => t('Find'),
- '$suggest' => t('Friend Suggestions'),
+ '$suggest' => t('Channel Suggestions'),
'$similar' => t('Similar Interests'),
'$random' => t('Random Profile'),
'$inv' => t('Invite Friends')
diff --git a/include/group.php b/include/group.php
index f26e9f5c1..085cefdb9 100644
--- a/include/group.php
+++ b/include/group.php
@@ -201,7 +201,7 @@ function mini_group_select($uid,$gid = 0) {
}
}
- logger('groups: ' . print_r($grps,true));
+ logger('mini_group_select: ' . print_r($grps,true), LOGGER_DATA);
$o = replace_macros(get_markup_template('group_selection.tpl'), array(
'$label' => t('Default privacy group for new contacts'),
@@ -223,7 +223,7 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0
$groups = array();
$groups[] = array(
- 'text' => t('Everybody'),
+ 'text' => t('All Connections'),
'id' => 0,
'selected' => (($group_id == 0) ? 'group-selected' : ''),
'href' => $every,
@@ -267,10 +267,10 @@ function group_side($every="contacts",$each="group",$edit = false, $group_id = 0
$tpl = get_markup_template("group_side.tpl");
$o = replace_macros($tpl, array(
- '$title' => t('Channel Groups'),
- '$edittext' => t('Edit channel group'),
- '$createtext' => t('Create a new channel group'),
- '$ungrouped' => (($every === 'contacts') ? t('Channels not in any group') : ''),
+ '$title' => t('Collections'),
+ '$edittext' => t('Edit collection'),
+ '$createtext' => t('Create a new collection'),
+ '$ungrouped' => (($every === 'contacts') ? t('Channels not in any collection') : ''),
'$groups' => $groups,
'$add' => t('add'),
));
diff --git a/include/nav.php b/include/nav.php
index be92af92a..bcad7e00d 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -149,18 +149,18 @@ EOT;
$nav['messages']['outbox']= array('message/sent', t('Outbox'), "", t('Outbox'));
$nav['messages']['new'] = array('message/new', t('New Message'), "", t('New Message'));
- $nav['manage'] = array('manage', t('Channel Manager'), "", t('Manage Your Channels'));
+ $nav['manage'] = array('manage', t('Channel Select'), "", t('Manage Your Channels'));
- $nav['settings'] = array('settings', t('Settings'),"", t('Account settings'));
- $nav['profiles'] = array('profiles', t('Profiles'),"", t('Manage/edit profiles'));
- $nav['contacts'] = array('connections', t('Connections'),"", t('Manage/edit friends and channels'));
+ $nav['settings'] = array('settings', t('Settings'),"", t('Account/Channel Settings'));
+ $nav['profiles'] = array('profiles', t('Profiles'),"", t('Manage/Edit Profiles'));
+ $nav['contacts'] = array('connections', t('Connections'),"", t('Manage/Edit Friends and Connections'));
}
/**
* Admin page
*/
if (is_site_admin()){
- $nav['admin'] = array('admin/', t('Admin'), "", t('Site setup and configuration'));
+ $nav['admin'] = array('admin/', t('Admin'), "", t('Site Setup and Configuration'));
}
diff --git a/mod/group.php b/mod/group.php
index 6b46e1193..091d7119e 100644
--- a/mod/group.php
+++ b/mod/group.php
@@ -7,7 +7,7 @@ function validate_members(&$item) {
function group_init(&$a) {
if(local_user()) {
require_once('include/group.php');
- $a->page['aside'] = group_side('contacts','group',false,(($a->argc > 1) ? intval($a->argv[1]) : 0));
+ $a->page['aside'] = group_side('collections','group',false,(($a->argc > 1) ? intval($a->argv[1]) : 0));
}
}
@@ -26,15 +26,15 @@ function group_post(&$a) {
$name = notags(trim($_POST['groupname']));
$r = group_add(local_user(),$name);
if($r) {
- info( t('Group created.') . EOL );
+ info( t('Collection created.') . EOL );
$r = group_byname(local_user(),$name);
if($r)
goaway($a->get_baseurl() . '/group/' . $r);
}
else
- notice( t('Could not create group.') . EOL );
+ notice( t('Could not create collection.') . EOL );
goaway($a->get_baseurl() . '/group');
- return; // NOTREACHED
+
}
if(($a->argc == 2) && (intval($a->argv[1]))) {
check_form_security_token_redirectOnErr('/group', 'group_edit');
@@ -44,9 +44,9 @@ function group_post(&$a) {
intval(local_user())
);
if(! count($r)) {
- notice( t('Channel group not found.') . EOL );
- goaway($a->get_baseurl() . '/contacts');
- return; // NOTREACHED
+ notice( t('Collection not found.') . EOL );
+ goaway($a->get_baseurl() . '/connections');
+
}
$group = $r[0];
$groupname = notags(trim($_POST['groupname']));
@@ -57,7 +57,7 @@ function group_post(&$a) {
intval($group['id'])
);
if($r)
- info( t('Channel group name changed.') . EOL );
+ info( t('Collection name changed.') . EOL );
}
$a->page['aside'] = group_side();
@@ -87,8 +87,8 @@ function group_content(&$a) {
if(($a->argc == 2) && ($a->argv[1] === 'new')) {
return replace_macros($tpl, $context + array(
- '$title' => t('Create a group of contacts/friends.'),
- '$gname' => array('groupname',t('Channel Group Name: '), '', ''),
+ '$title' => t('Create a collection of connections.'),
+ '$gname' => array('groupname',t('Collection Name: '), '', ''),
'$gid' => 'new',
'$form_security_token' => get_form_security_token("group_edit"),
));
@@ -107,9 +107,9 @@ function group_content(&$a) {
if(count($r))
$result = group_rmv(local_user(),$r[0]['name']);
if($result)
- info( t('Channel group removed.') . EOL);
+ info( t('Collection removed.') . EOL);
else
- notice( t('Unable to remove channel group.') . EOL);
+ notice( t('Unable to remove collection.') . EOL);
}
goaway($a->get_baseurl() . '/group');
// NOTREACHED
@@ -134,8 +134,8 @@ function group_content(&$a) {
intval(local_user())
);
if(! count($r)) {
- notice( t('Channel group not found.') . EOL );
- goaway($a->get_baseurl() . '/contacts');
+ notice( t('Collection not found.') . EOL );
+ goaway($a->get_baseurl() . '/connnections');
}
$group = $r[0];
$members = group_get_members($group['id']);
@@ -173,8 +173,8 @@ function group_content(&$a) {
$context = $context + array(
- '$title' => t('Contact Group Editor'),
- '$gname' => array('groupname',t('Channel Group Name: '),$group['name'], ''),
+ '$title' => t('Collection Editor'),
+ '$gname' => array('groupname',t('Collection Name: '),$group['name'], ''),
'$gid' => $group['id'],
'$drop' => $drop_txt,
'$form_security_token' => get_form_security_token('group_edit'),
@@ -188,7 +188,7 @@ function group_content(&$a) {
$groupeditor = array(
'label_members' => t('Members'),
'members' => array(),
- 'label_contacts' => t('All Active Channels'),
+ 'label_contacts' => t('All Connected Channels'),
'contacts' => array(),
);