diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-08 17:13:06 +0000 |
| commit | a631fe29f3950f8db1f7fb4ce1f47261a9b0feff (patch) | |
| tree | b5af3ad39362dea97ce01be63d5ec09b7846bb9c /core/views/permissions_form.html.php | |
| parent | fd081159f1783918d81e355e25e262ccc5249913 (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 'core/views/permissions_form.html.php')
| -rw-r--r-- | core/views/permissions_form.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/views/permissions_form.html.php b/core/views/permissions_form.html.php index 94a3bead..ba3191e1 100644 --- a/core/views/permissions_form.html.php +++ b/core/views/permissions_form.html.php @@ -2,7 +2,7 @@ <form method="post" action="<?= url::site("permissions/edit/$item->id") ?>"> <?= access::csrf_form_field() ?> <fieldset> - <legend><?= _("Edit Permissions") ?> </legend> + <legend><?= t("Edit Permissions") ?> </legend> <table> <tr> @@ -14,7 +14,7 @@ <? foreach ($permissions as $permission): ?> <tr> - <td> <?= _($permission->display_name) ?> </td> + <td> <?= t($permission->display_name) ?> </td> <? foreach ($groups as $group): ?> <td> <? $intent = access::group_intent($group, $permission->name, $item) ?> @@ -22,7 +22,7 @@ <? $lock = access::locked_by($group, $permission->name, $item) ?> <? if ($lock): ?> - <?= _("denied and locked by") ?> <a href="javascript:show(<?= $lock->id ?>)"><?= _("parent") ?></a> + <?= t("denied and locked by") ?> <a href="javascript:show(<?= $lock->id ?>)"><?= t("parent") ?></a> <? else: ?> <? if ($intent === null): ?> <? if ($allowed): ?> |
