aboutsummaryrefslogtreecommitdiffstats
path: root/mod/contacts.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-18 05:07:42 -0700
committerFriendika <info@friendika.com>2011-03-18 05:07:42 -0700
commit9838245c6c9b2e311650b53a1c3aa1ef778ef935 (patch)
treeceb9f5edd50cd039e28362a59c4c2d354bb88e67 /mod/contacts.php
parent43234a667878327a825914070884161c6d57271e (diff)
parente307846c2d89cf450ed2e7ddf8f325f5f4581f8f (diff)
downloadvolse-hubzilla-9838245c6c9b2e311650b53a1c3aa1ef778ef935.tar.gz
volse-hubzilla-9838245c6c9b2e311650b53a1c3aa1ef778ef935.tar.bz2
volse-hubzilla-9838245c6c9b2e311650b53a1c3aa1ef778ef935.zip
Merge branch 'gettext' of https://github.com/fabrixxm/friendika into fabrixxm-gettext
Diffstat (limited to 'mod/contacts.php')
-rw-r--r--mod/contacts.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/contacts.php b/mod/contacts.php
index c2d28dc1f..029330b7a 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -137,7 +137,8 @@ function contacts_content(&$a) {
intval(local_user())
);
if($r) {
- notice( t('Contact has been ') . (($blocked) ? t('blocked') : t('unblocked')) . EOL );
+ //notice( t('Contact has been ') . (($blocked) ? t('blocked') : t('unblocked')) . EOL );
+ notice( (($blocked) ? t('Contact has been blocked') : t('Contact has been unblocked')) . EOL );
}
goaway($a->get_baseurl() . '/contacts/' . $contact_id);
return; // NOTREACHED
@@ -151,7 +152,7 @@ function contacts_content(&$a) {
intval(local_user())
);
if($r) {
- notice( t('Contact has been ') . (($readonly) ? t('ignored') : t('unignored')) . EOL );
+ notice( (($readonly) ? t('Contact has been ignored') : t('Contact has been unignored')) . EOL );
}
goaway($a->get_baseurl() . '/contacts/' . $contact_id);
return; // NOTREACHED
@@ -364,13 +365,14 @@ function contacts_content(&$a) {
$o .= replace_macros($tpl, array(
- '$img_hover' => t('Visit ') . $rr['name'] . t('\'s profile'),
+ '$img_hover' => t('Visit $username\'s profile'),
'$edit_hover' => t('Edit contact'),
'$id' => $rr['id'],
'$alt_text' => $alt_text,
'$dir_icon' => $dir_icon,
'$thumb' => $rr['thumb'],
'$name' => substr($rr['name'],0,20),
+ '$username' => $rr['name'],
'$sparkle' => $sparkle,
'$url' => $url
));