aboutsummaryrefslogtreecommitdiffstats
path: root/mod/dfrn_poll.php
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-03-11 00:22:21 +0100
committerfabrixxm <fabrix.xm@gmail.com>2011-03-11 00:22:21 +0100
commit9f7878057f356ba785de26877a660bb025cae31d (patch)
tree8682db6a66be0e5c663a279e6e2adb5f5765c022 /mod/dfrn_poll.php
parent89781ba428f553e8eb4f415832e7e575adf141e0 (diff)
downloadvolse-hubzilla-9f7878057f356ba785de26877a660bb025cae31d.tar.gz
volse-hubzilla-9f7878057f356ba785de26877a660bb025cae31d.tar.bz2
volse-hubzilla-9f7878057f356ba785de26877a660bb025cae31d.zip
update source strings
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r--mod/dfrn_poll.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php
index 334e10307..bacfe9b94 100644
--- a/mod/dfrn_poll.php
+++ b/mod/dfrn_poll.php
@@ -75,7 +75,7 @@ function dfrn_poll_init(&$a) {
$_SESSION['authenticated'] = 1;
$_SESSION['visitor_id'] = $r[0]['id'];
$_SESSION['visitor_home'] = $r[0]['url'];
- notice( $r[0]['username'] . t(' welcomes ') . $r[0]['name'] . EOL);
+ notice( sprintf(t('%s welcomes %s'), $r[0]['username'] , $r[0]['name']) . EOL);
// Visitors get 1 day session.
$session_id = session_id();
$expire = time() + 86400;
@@ -389,7 +389,7 @@ function dfrn_poll_content(&$a) {
$_SESSION['authenticated'] = 1;
$_SESSION['visitor_id'] = $r[0]['id'];
$_SESSION['visitor_home'] = $r[0]['url'];
- notice( $r[0]['username'] . t(' welcomes ') . $r[0]['name'] . EOL);
+ notice( sprintf(t('%s welcomes %s'), $r[0]['username'] , $r[0]['name']) . EOL);
// Visitors get 1 day session.
$session_id = session_id();
$expire = time() + 86400;