summaryrefslogtreecommitdiff
path: root/modules/user/views/login.html.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-08 17:13:06 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-08 17:13:06 +0000
commita631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch)
treeb5af3ad39362dea97ce01be63d5ec09b7846bb9c /modules/user/views/login.html.php
parentfd081159f1783918d81e355e25e262ccc5249913 (diff)
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.
Diffstat (limited to 'modules/user/views/login.html.php')
-rw-r--r--modules/user/views/login.html.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index b73bea07..fd9bd773 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -2,13 +2,13 @@
<ul id="gLoginMenu">
<? if ($user->guest): ?>
<li class="first"><a href="<?= url::site("login") ?>"
- title="<?= _("Login to Gallery") ?>"
- id="gLoginLink"><?= _("Login") ?></a></li>
+ title="<?= t("Login to Gallery") ?>"
+ id="gLoginLink"><?= t("Login") ?></a></li>
<? else: ?>
<li class="first"><a href="<?= url::site("form/edit/users/{$user->id}") ?>"
- title="<?= _("Edit Your Profile") ?>"
- id="gUserProfileLink" class="gDialogLink"><?= _("Modify Profile") ?></a></li>
+ title="<?= t("Edit Your Profile") ?>"
+ id="gUserProfileLink" class="gDialogLink"><?= t("Modify Profile") ?></a></li>
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"
- id="gLogoutLink"><?= _("Logout") ?></a></li>
+ id="gLogoutLink"><?= t("Logout") ?></a></li>
<? endif; ?>
</ul>