← Back to team overview

mahara-contributors team mailing list archive

[Bug 726051] [NEW] user.php does not use get_string () stuff

 

Public bug reported:

Hi,

I think the following code snippet from /lib/user.php

       $mail->From = get_config('noreplyaddress');
        $mail->FromName = (isset($userfrom->id)) ? display_name($userfrom, $userto) : get_config('sitename');
        $customheaders[] = 'Precedence: Bulk'; // Try to avoid pesky out of office responses
        $messagetext .= "\n\n" . get_string('pleasedonotreplytothismessage') . "\n";
        if ($messagehtml) {
            $messagehtml .= "\n\n<p>" . get_string('pleasedonotreplytothismessage') . "</p>\n";
        }

does not use the "pleasedonotreplytothismessage" var in /lang/mahara.php
It's translated but mails show always the English text

Do we need additional param to look into mahara.php file?

Cheers
Heinz

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/726051

Title:
  user.php does not use get_string () stuff

Status in Mahara ePortfolio:
  New

Bug description:
  Hi,

  I think the following code snippet from /lib/user.php

         $mail->From = get_config('noreplyaddress');
          $mail->FromName = (isset($userfrom->id)) ? display_name($userfrom, $userto) : get_config('sitename');
          $customheaders[] = 'Precedence: Bulk'; // Try to avoid pesky out of office responses
          $messagetext .= "\n\n" . get_string('pleasedonotreplytothismessage') . "\n";
          if ($messagehtml) {
              $messagehtml .= "\n\n<p>" . get_string('pleasedonotreplytothismessage') . "</p>\n";
          }

  does not use the "pleasedonotreplytothismessage" var in
  /lang/mahara.php It's translated but mails show always the English
  text

  Do we need additional param to look into mahara.php file?

  Cheers
  Heinz



Follow ups

References