mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 11:29:24 -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:
@@ -1,24 +1,24 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<div class="gBlock">
|
||||
<h2><?= _("Group Administration") ?></h2>
|
||||
<h2><?= t("Group Administration") ?></h2>
|
||||
<div class="gBlockContent">
|
||||
<p><?= _("These are the groups in your system") ?></p>
|
||||
<p><?= t("These are the groups in your system") ?></p>
|
||||
</div>
|
||||
<ul>
|
||||
<? foreach ($groups as $i => $group): ?>
|
||||
<li>
|
||||
<?= $group->name ?>
|
||||
<a href="groups/edit_form/<?= $group->id ?>" class="gDialogLink"
|
||||
title="<?= _("Edit group") ?>"><?= _("edit") ?></a>
|
||||
title="<?= t("Edit group") ?>"><?= t("edit") ?></a>
|
||||
<? if (!$group->special): ?>
|
||||
<a href="groups/delete_form/<?= $group->id ?>" class="gDialogLink"
|
||||
title="<?= sprintf(_("Do you really want to delete %s"), $group->name) ?>">
|
||||
<?= _("delete") ?></a>
|
||||
title="<?= t("Do you really want to delete {{group_name}}", array("group_name" => $group->name)) ?>">
|
||||
<?= t("delete") ?></a>
|
||||
<? endif ?>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
<li><a href="groups/add_form" class="gDialogLink"
|
||||
title="<?= _("Add group") ?>"><?= _("Add group") ?></a></li>
|
||||
title="<?= t("Add group") ?>"><?= t("Add group") ?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user