]> git.mxchange.org Git - friendica.git/blobdiff - mod/wallmessage.php
Merge pull request #4312 from zeroadam/feature/L10n
[friendica.git] / mod / wallmessage.php
index cbebdb779cfba4d401e8168e45540d67bad7de33..250b7d70d0aebc57d48ccd5d259bfcea57ea27dd 100644 (file)
@@ -46,7 +46,7 @@ function wallmessage_post(App $a) {
        );
 
        if ($r[0]['total'] > $user['cntunkmail']) {
-               notice(sprintf(L10n::t('Number of daily wall messages for %s exceeded. Message failed.', $user['username'])));
+               notice(L10n::t('Number of daily wall messages for %s exceeded. Message failed.', $user['username']));
                return;
        }
 
@@ -109,7 +109,7 @@ function wallmessage_content(App $a) {
        );
 
        if ($r[0]['total'] > $user['cntunkmail']) {
-               notice(sprintf(L10n::t('Number of daily wall messages for %s exceeded. Message failed.', $user['username'])));
+               notice(L10n::t('Number of daily wall messages for %s exceeded. Message failed.', $user['username']));
                return;
        }
 
@@ -130,7 +130,7 @@ function wallmessage_content(App $a) {
        $tpl = get_markup_template('wallmessage.tpl');
        $o .= replace_macros($tpl, [
                '$header' => L10n::t('Send Private Message'),
-               '$subheader' => sprintf(L10n::t('If you wish for %s to respond, please check that the privacy settings on your site allow private mail from unknown senders.'), $user['username']),
+               '$subheader' => L10n::t('If you wish for %s to respond, please check that the privacy settings on your site allow private mail from unknown senders.', $user['username']),
                '$to' => L10n::t('To:'),
                '$subject' => L10n::t('Subject:'),
                '$recipname' => $user['username'],