mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-30 19:50:36 -04:00
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
This commit is contained in:
@@ -21,7 +21,7 @@ class Logout_Controller extends Controller {
|
||||
public function index() {
|
||||
$user = user::active();
|
||||
user::logout();
|
||||
log::info("user", sprintf(_("User %s logged out"), $user->name),
|
||||
log::info("user", t("User {{name}} logged out", array("name" => $user->name)),
|
||||
html::anchor("user/$user->id", $user->name));
|
||||
if ($this->input->get("continue")) {
|
||||
url::redirect($this->input->get("continue"));
|
||||
|
||||
Reference in New Issue
Block a user