summaryrefslogtreecommitdiffstats
path: root/web/template/stats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-06-22 20:57:07 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-06-22 20:57:07 +0200
commit58907e0bffb5a7d2d0bfc05cec28f366432bb3e8 (patch)
treed0567e509e8769d2b1363af45c1b48cf18563715 /web/template/stats
parentadbb59308024bfb6386eaa4a9d1a2eb6591b8456 (diff)
downloadaur-gettext.tar.gz
aur-gettext.tar.xz
use php's gettext modulegettext
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'web/template/stats')
-rw-r--r--web/template/stats/general_stats_table.php18
-rw-r--r--web/template/stats/updates_table.php2
-rw-r--r--web/template/stats/user_table.php6
3 files changed, 13 insertions, 13 deletions
diff --git a/web/template/stats/general_stats_table.php b/web/template/stats/general_stats_table.php
index a100dfee..3d9cb7a7 100644
--- a/web/template/stats/general_stats_table.php
+++ b/web/template/stats/general_stats_table.php
@@ -1,37 +1,37 @@
<table class='boxSoft'>
<tr>
- <th colspan='2' class='boxSoftTitle'><span class='f3'><?php print __("Statistics") ?></span></th>
+ <th colspan='2' class='boxSoftTitle'><span class='f3'><?php print _("Statistics") ?></span></th>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Packages"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $unsupported_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Orphan Packages"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Orphan Packages"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $orphan_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages added in the past 7 days"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Packages added in the past 7 days"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $add_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past 7 days"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Packages updated in the past 7 days"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $update_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages updated in the past year"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Packages updated in the past year"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $update_year_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Packages never updated"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Packages never updated"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $never_update_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Registered Users"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Registered Users"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $user_count; ?></span></td>
</tr>
<tr>
- <td class='boxSoft'><span class='f4'><?php print __("Trusted Users"); ?></span></td>
+ <td class='boxSoft'><span class='f4'><?php print _("Trusted Users"); ?></span></td>
<td class='boxSoft'><span class='f4'><?php print $tu_count; ?></span></td>
</tr>
</table>
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index a8cdf5aa..623b4c06 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -1,7 +1,7 @@
<table class="boxSoft">
<tr>
<th colspan="2" class="boxSoftTitle" style="text-align: right">
-<span class="f3"><?php print __("Recent Updates") ?><span class="f5"></span></span>
+<span class="f3"><?php print _("Recent Updates") ?><span class="f5"></span></span>
<a href="rss.php"><img src="images/feed-icon-14x14.png" alt="RSS Feed" /></a>
</th>
</tr>
diff --git a/web/template/stats/user_table.php b/web/template/stats/user_table.php
index 36a6b10c..992f7370 100644
--- a/web/template/stats/user_table.php
+++ b/web/template/stats/user_table.php
@@ -4,13 +4,13 @@
<table class='boxSoft'>
<tr>
<th colspan='2' class='boxSoftTitle'>
-<span class='f3'><?php print __("My Statistics"); ?></span>
+<span class='f3'><?php print _("My Statistics"); ?></span>
</th>
</tr>
<tr>
<td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;L=2&amp;K=<?php echo $username; ?>">
-<?php print __("Packages in unsupported"); ?></a></span>
+<?php print _("Packages in unsupported"); ?></a></span>
</td>
<td class='boxSoft'>
<span class='f4'><?php print $maintainer_unsupported_count; ?></span>
@@ -20,7 +20,7 @@
<tr>
<td class='boxSoft'>
<span class='f4'><a href="packages.php?SeB=m&amp;outdated=on&amp;K=<?php echo $username; ?>">
-<?php print __("Out of Date"); ?></a></span>
+<?php print _("Out of Date"); ?></a></span>
</td>
<td class='boxSoft'>
<span class='f4'>