]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_confirm.php
update source strings
[friendica.git] / mod / dfrn_confirm.php
index 1b42c13b8ac8203984e5fb3df404c18b5551deeb..edca629aeca5c3695caf7b8258bdd95466d2f747 100644 (file)
@@ -491,7 +491,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
                        dbesc($node));
 
                if(! count($r)) {
-                       $message = t('No user record found for ') . '\'' . $node . '\'';
+                       $message = sprintf(t('No user record found for \'%s\' '), $node);
                        xml_status(3,$message); // failure
                        // NOTREACHED
                }
@@ -645,7 +645,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
                                '$uid' => $newuid )
                        );
        
-                       $res = mail($r[0]['email'], t("Connection accepted at ") . $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.