diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2011-03-13 13:50:44 +0100 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2011-03-13 13:50:44 +0100 |
commit | a7af6df962bad0901611d28450a990831fb25680 (patch) | |
tree | c957a0d41837a0801e200757c180a1651c19951e /mod | |
parent | a00beafe7ffb859c2e9f267c81f7054ac6452cbf (diff) | |
download | volse-hubzilla-a7af6df962bad0901611d28450a990831fb25680.tar.gz volse-hubzilla-a7af6df962bad0901611d28450a990831fb25680.tar.bz2 volse-hubzilla-a7af6df962bad0901611d28450a990831fb25680.zip |
Fix spaces around t() and tt()
Diffstat (limited to 'mod')
-rw-r--r-- | mod/dfrn_confirm.php | 2 | ||||
-rw-r--r-- | mod/dfrn_notify.php | 4 | ||||
-rw-r--r-- | mod/dfrn_request.php | 2 | ||||
-rw-r--r-- | mod/home.php | 2 | ||||
-rw-r--r-- | mod/invite.php | 2 | ||||
-rw-r--r-- | mod/item.php | 4 | ||||
-rw-r--r-- | mod/like.php | 2 | ||||
-rw-r--r-- | mod/manage.php | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/mod/dfrn_confirm.php b/mod/dfrn_confirm.php index edca629ae..1bf1ba954 100644 --- a/mod/dfrn_confirm.php +++ b/mod/dfrn_confirm.php @@ -645,7 +645,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) { '$uid' => $newuid ) ); - $res = mail($r[0]['email'], sprintf(t("Connection accepted at %s"), $a->config['sitename']), + $res = mail($r[0]['email'], sprintf( t("Connection accepted at %s") , $a->config['sitename']), $email_tpl, 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] ); if(!$res) { // pointless throwing an error here and confusing the person at the other end of the wire. diff --git a/mod/dfrn_notify.php b/mod/dfrn_notify.php index f288e9beb..3a75123a5 100644 --- a/mod/dfrn_notify.php +++ b/mod/dfrn_notify.php @@ -471,8 +471,8 @@ function dfrn_notify_post(&$a) { '$body' => html_entity_decode(strip_tags(bbcode(stripslashes($datarray['body']))), ENT_QUOTES, 'UTF-8') )); - $res = mail($importer['email'], sprintf(t("%s commented on an item at %s"), $from ,$a->config['sitename']), - $email_tpl,t("From: Administrator@") . $a->get_hostname() ); + $res = mail($importer['email'], sprintf( t("%s commented on an item at %s") , $from ,$a->config['sitename']), + $email_tpl, t("From: Administrator@") . $a->get_hostname() ); break; } } diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 5a2f3c282..3cd8473cf 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -540,7 +540,7 @@ function dfrn_request_content(&$a) { '$sitename' => $a->config['sitename'] )); $res = mail($r[0]['email'], - t("Introduction received at ") . $a->config['sitename'], + t("Introduction received at ") . $a->config['sitename'], $email, 'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] ); // This is a redundant notification - no point throwing errors if it fails. diff --git a/mod/home.php b/mod/home.php index 4fca1cbc2..225bd294d 100644 --- a/mod/home.php +++ b/mod/home.php @@ -20,7 +20,7 @@ function home_content(&$a) { if(x($_SESSION,'theme')) unset($_SESSION['theme']); - $o .= '<h1>' . ((x($a->config,'sitename')) ? sprintf(t("Welcome to %s"),$a->config['sitename']) : "" ) . '</h1>'; + $o .= '<h1>' . ((x($a->config,'sitename')) ? sprintf( t("Welcome to %s") ,$a->config['sitename']) : "" ) . '</h1>'; if(file_exists('home.html')) $o .= file_get_contents('home.html'); diff --git a/mod/invite.php b/mod/invite.php index e3662d758..84fa978ad 100644 --- a/mod/invite.php +++ b/mod/invite.php @@ -39,7 +39,7 @@ function invite_post(&$a) { } } - notice( sprintf(tt("%d message sent.", "%d messages sent.", $total), $total) . EOL); + notice( sprintf( tt("%d message sent.", "%d messages sent.", $total) , $total) . EOL); return; } diff --git a/mod/item.php b/mod/item.php index 9e03e76cd..2cdfb0d66 100644 --- a/mod/item.php +++ b/mod/item.php @@ -419,7 +419,7 @@ function item_post(&$a) { '$body' => strip_tags(bbcode($datarray['body'])) )); - $res = mail($user['email'], sprintf(t("%s commented on your item at %s"),$from,$a->config['sitename']), + $res = mail($user['email'], sprintf( t("%s commented on your item at %s") ,$from,$a->config['sitename']), $email_tpl,"From: " . t("Administrator") . "@" . $a->get_hostname() ); } } @@ -442,7 +442,7 @@ function item_post(&$a) { '$body' => strip_tags(bbcode($datarray['body'])) )); - $res = mail($user['email'], sprintf(t("%s posted on your profile wall at %s"),$from, $a->config['sitename']), + $res = mail($user['email'], sprintf( t("%s posted on your profile wall at %s") ,$from, $a->config['sitename']), $email_tpl,"From: " . t("Administrator@") . "@" . $a->get_hostname() ); } } diff --git a/mod/like.php b/mod/like.php index c07f3097e..406d6cc00 100644 --- a/mod/like.php +++ b/mod/like.php @@ -148,7 +148,7 @@ EOT; $arr['author-link'] = $contact['url']; $arr['author-avatar'] = $contact['thumb']; $arr['body'] = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]' . ' ' . $bodyverb . ' ' - . '[url=' . $item['author-link'] . ']' . sprintf(t("%s's"),$item['author-name']) . '[/url]' . ' ' + . '[url=' . $item['author-link'] . ']' . sprintf( t("%s's") ,$item['author-name']) . '[/url]' . ' ' . '[url=' . $a->get_baseurl() . '/display/' . $owner['nickname'] . '/' . $item['id'] . ']' . $post_type . '[/url]' ; $arr['verb'] = $activity; diff --git a/mod/manage.php b/mod/manage.php index f30a04348..26f7315c3 100644 --- a/mod/manage.php +++ b/mod/manage.php @@ -34,7 +34,7 @@ function manage_post(&$a) { $_SESSION['page_flags'] = $r[0]['page-flags']; $_SESSION['my_url'] = $a->get_baseurl() . '/profile/' . $r[0]['nickname']; - notice( sprintf(t("Welcome back %s"), $r[0]['username']) . EOL); + notice( sprintf( t("Welcome back %s") , $r[0]['username']) . EOL); $a->user = $r[0]; if(strlen($a->user['timezone'])) { |