CC-1960: Internationalize Airtime / Support translations
-added gettext wrapper to all strings in models
This commit is contained in:
parent
2ce530c5bd
commit
a76b9b305f
9 changed files with 102 additions and 101 deletions
|
@ -30,7 +30,7 @@ class Application_Model_Auth
|
|||
$e_link_port = $_SERVER['SERVER_PORT'];
|
||||
$e_link_path = $view->url(array('user_id' => $user->getDbId(), 'token' => $token), 'password-change');
|
||||
|
||||
$message = "Hi {$user->getDbLogin()}, \n\nClick this link to reset your password: ";
|
||||
$message = sprintf(_("Hi %s, \n\nClick this link to reset your password: "), $user->getDbLogin());
|
||||
$message .= "{$e_link_protocol}://{$e_link_base}:{$e_link_port}{$e_link_path}";
|
||||
|
||||
$success = Application_Model_Email::send('Airtime Password Reset', $message, $user->getDbEmail());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue