mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-06 07:01:30 -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:
@@ -2,22 +2,22 @@
|
||||
<table class="gMetadata">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><?= _("Title:") ?></th>
|
||||
<th><?= t("Title:") ?></th>
|
||||
<td><?= $item->title; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= _("Description:") ?></th>
|
||||
<th><?= t("Description:") ?></th>
|
||||
<td><?= $item->description; ?></td>
|
||||
</tr>
|
||||
<? if ($item->id != 1): ?>
|
||||
<tr>
|
||||
<th><?= _("Name:") ?></th>
|
||||
<th><?= t("Name:") ?></th>
|
||||
<td><?= $item->name; ?></td>
|
||||
</tr>
|
||||
<? endif ?>
|
||||
<? if ($item->owner): ?>
|
||||
<tr>
|
||||
<th><?= _("Owner:") ?></th>
|
||||
<th><?= t("Owner:") ?></th>
|
||||
<td><a href="#"><?= $item->owner->name ?></a></td>
|
||||
</tr>
|
||||
<? endif ?>
|
||||
|
||||
Reference in New Issue
Block a user