diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-04-17 02:04:25 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-04-17 02:04:25 +0000 |
commit | 6fae077b52cc44dee15b2befd1862ea65da50730 (patch) | |
tree | 01dd23de24ae0cdcef421bcb4962d3e4167d4cad | |
parent | 7349d49945869c64fe51fe51a38c19f8410fc724 (diff) |
Fix i18n for "Logged in as" string
-rw-r--r-- | modules/user/views/login.html.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php index 8ce2822a..d7eaacda 100644 --- a/modules/user/views/login.html.php +++ b/modules/user/views/login.html.php @@ -5,9 +5,13 @@ title="<?= t("Login to Gallery") ?>" id="gLoginLink"><?= t("Login") ?></a></li> <? else: ?> - <li class="first"><?= t("Logged in as ") ?><a href="<?= url::site("form/edit/users/{$user->id}") ?>" - title="<?= t("Edit Your Profile") ?>" - id="gUserProfileLink" class="gDialogLink"><?= $user->full_name ?></a></li> + <li class="first"><?= + t('Logged in as %name', + array('name' => + '<a href="' . url::site("form/edit/users/{$user->id}") . + '" title="' . t("Edit Your Profile") . + '" id="gUserProfileLink" class="gDialogLink">' . + $user->full_name . '</a>')) ?></li> <li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>" id="gLogoutLink"><?= t("Logout") ?></a></li> <? endif; ?> |