summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-12-21 21:10:25 +0100
committerCallan Barrett <wizzomafizzo@gmail.com>2008-12-22 05:29:46 +0100
commit22b50800e8fbda48830a3f2dfcc6a8ca5efb3a1c (patch)
tree84ec0a2c1a1c4fb351a98eba05d5ea03a186bda7 /web
parent8f6edc4517ec0b6b8b5f441cb93bffe794180ed6 (diff)
downloadaur-22b50800e8fbda48830a3f2dfcc6a8ca5efb3a1c.tar.gz
aur-22b50800e8fbda48830a3f2dfcc6a8ca5efb3a1c.tar.xz
Make some translatable strings friendlier to common usage.
Removing trailing colons and whitespace makes them more usable. Signed-off-by: Loui Chang <louipc.ist@gmail.com> Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/html/addvote.php6
-rw-r--r--web/template/tu_details.php8
2 files changed, 7 insertions, 7 deletions
diff --git a/web/html/addvote.php b/web/html/addvote.php
index a31a1ff5..5c1ff334 100644
--- a/web/html/addvote.php
+++ b/web/html/addvote.php
@@ -68,15 +68,15 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
<p><?php print __("Submit a proposal to vote on.") ?></p>
<?php if (!empty($error)) { print $error . "<br />"; } ?>
<form action='addvote.php' method='post'>
-<b><?php print __("Applicant/TU:") ?></b>
+<b><?php print __('Applicant/TU') ?></b>
<input type='text' name='user' value='<?php if (!empty($_POST['user'])) { print htmlentities($_POST['user'], ENT_QUOTES); } ?>'>
<?php print __("(empty if not applicable)") ?>
<br />
-<b><?php print __("Length in days:") ?></b>
+<b><?php print __('Length in days') ?></b>
<input type='text' name='length' value='<?php if (!empty($_POST['length'])) { print htmlentities($_POST['length'], ENT_QUOTES); } ?>'>
<?php print __("(defaults to 7 if empty)") ?>
<br />
-<b><?php print __("Proposal:") ?></b><br />
+<b><?php print __('Proposal') ?></b><br />
<textarea name='agenda' rows='10' cols='50'><?php if (!empty($_POST['agenda'])) { print htmlentities($_POST['agenda']); } ?></textarea><br />
<input type='hidden' name='addVote' value='1'>
<input type='submit' class='button' value='Submit'>
diff --git a/web/template/tu_details.php b/web/template/tu_details.php
index b1d69f6e..7fc9f09f 100644
--- a/web/template/tu_details.php
+++ b/web/template/tu_details.php
@@ -4,8 +4,8 @@
<?php if ($isrunning == 1) { ?>
<div style='text-align: center; font-weight: bold; color: red'><?php print __("This vote is still running.") ?></div>
<br />
-<?php } ?>
-User: <b>
+<?php }
+echo __('User') ?>: <b>
<?php if (!empty($row['User'])) { ?>
<a href='packages.php?K=<?php print $row['User'] ?>&amp;SeB=m'><?php print $row['User'] ?></a>
<?php } else { ?>
@@ -13,7 +13,7 @@ N/A
<?php } ?>
</b><br />
<?php print __("Submitted: %s by %s", "<b>" . gmdate("r", $row['Submitted']) . "</b>", "<b>" . username_from_id($row['SubmitterID']) . "</b>") ?><br />
-<?php print __("End: ") ?><b><?php print gmdate("r", $row['End']) ?></b><br /><br />
+<?php print __('End') ?>: <b><?php print gmdate("r", $row['End']) ?></b><br /><br />
<?php print str_replace("\n", "<br />\n", htmlentities($row['Agenda'])) ?><br /><br />
<center>
<table cellspacing='3' class='boxSoft' style='width: 50%'>
@@ -26,7 +26,7 @@ N/A
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("No") ?></span></th>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Abstain") ?></span></th>
<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Total") ?></span></th>
-<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __("Voted?") ?></span></th>
+<th style='border-bottom: #666 1px solid; vertical-align: bottom'><span class='f2'><?php print __('Voted') ?></span></th>
</tr>
<tr>
<td class='data1'><span class='f5'><span class='blue'><?php print $row['Yes'] ?></span></span></td>