Commit 22b50800 authored by Loui Chang's avatar Loui Chang Committed by Callan Barrett
Browse files

Make some translatable strings friendlier to common usage.



Removing trailing colons and whitespace makes them more usable.

Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
Signed-off-by: default avatarCallan Barrett <wizzomafizzo@gmail.com>
parent 8f6edc45
...@@ -68,15 +68,15 @@ if ($atype == "Trusted User" OR $atype == "Developer") { ...@@ -68,15 +68,15 @@ if ($atype == "Trusted User" OR $atype == "Developer") {
<p><?php print __("Submit a proposal to vote on.") ?></p> <p><?php print __("Submit a proposal to vote on.") ?></p>
<?php if (!empty($error)) { print $error . "<br />"; } ?> <?php if (!empty($error)) { print $error . "<br />"; } ?>
<form action='addvote.php' method='post'> <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); } ?>'> <input type='text' name='user' value='<?php if (!empty($_POST['user'])) { print htmlentities($_POST['user'], ENT_QUOTES); } ?>'>
<?php print __("(empty if not applicable)") ?> <?php print __("(empty if not applicable)") ?>
<br /> <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); } ?>'> <input type='text' name='length' value='<?php if (!empty($_POST['length'])) { print htmlentities($_POST['length'], ENT_QUOTES); } ?>'>
<?php print __("(defaults to 7 if empty)") ?> <?php print __("(defaults to 7 if empty)") ?>
<br /> <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 /> <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='hidden' name='addVote' value='1'>
<input type='submit' class='button' value='Submit'> <input type='submit' class='button' value='Submit'>
......
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
<?php if ($isrunning == 1) { ?> <?php if ($isrunning == 1) { ?>
<div style='text-align: center; font-weight: bold; color: red'><?php print __("This vote is still running.") ?></div> <div style='text-align: center; font-weight: bold; color: red'><?php print __("This vote is still running.") ?></div>
<br /> <br />
<?php } ?> <?php }
User: <b> echo __('User') ?>: <b>
<?php if (!empty($row['User'])) { ?> <?php if (!empty($row['User'])) { ?>
<a href='packages.php?K=<?php print $row['User'] ?>&amp;SeB=m'><?php print $row['User'] ?></a> <a href='packages.php?K=<?php print $row['User'] ?>&amp;SeB=m'><?php print $row['User'] ?></a>
<?php } else { ?> <?php } else { ?>
...@@ -13,7 +13,7 @@ N/A ...@@ -13,7 +13,7 @@ N/A
<?php } ?> <?php } ?>
</b><br /> </b><br />
<?php print __("Submitted: %s by %s", "<b>" . gmdate("r", $row['Submitted']) . "</b>", "<b>" . username_from_id($row['SubmitterID']) . "</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 /> <?php print str_replace("\n", "<br />\n", htmlentities($row['Agenda'])) ?><br /><br />
<center> <center>
<table cellspacing='3' class='boxSoft' style='width: 50%'> <table cellspacing='3' class='boxSoft' style='width: 50%'>
...@@ -26,7 +26,7 @@ N/A ...@@ -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 __("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 __("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 __("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>
<tr> <tr>
<td class='data1'><span class='f5'><span class='blue'><?php print $row['Yes'] ?></span></span></td> <td class='data1'><span class='f5'><span class='blue'><?php print $row['Yes'] ?></span></span></td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment