|
From: <rc...@us...> - 2013-11-16 17:16:47
|
Revision: 6406
http://sourceforge.net/p/web-erp/reponame/6406
Author: rchacon
Date: 2013-11-16 17:16:44 +0000 (Sat, 16 Nov 2013)
Log Message:
-----------
Improves translation and format in PaymentMethods.php (part 2).
Modified Paths:
--------------
trunk/PaymentMethods.php
trunk/doc/Change.log
Modified: trunk/PaymentMethods.php
===================================================================
--- trunk/PaymentMethods.php 2013-11-16 17:13:48 UTC (rev 6405)
+++ trunk/PaymentMethods.php 2013-11-16 17:16:44 UTC (rev 6406)
@@ -183,10 +183,10 @@
echo '<table class="selection">
<tr>
<th>' . _('Payment Method') . '</th>
- <th>' . _('For Payments') . '</th>
- <th>' . _('For Receipts') . '</th>
- <th>' . _('Use Pre-printed') . '<br />' . _('Stationery') . '</th>
- <th>' . _('Open Cash Drawer') . '</th>
+ <th>' . _('Use For Payments') . '</th>
+ <th>' . _('Use For Receipts') . '</th>
+ <th>' . _('Use Pre-printed Stationery') . '</th>
+ <th>' . _('Open POS Cash Drawer for Sale') . '</th>
</tr>';
$k=0; //row colour counter
@@ -201,10 +201,10 @@
}
echo '<td>' . $myrow['paymentname'] . '</td>
- <td>' . ($myrow['paymenttype'] ? _('Yes') : _('No')) . '</td>
- <td>' . ($myrow['receipttype'] ? _('Yes') : _('No')) . '</td>
- <td>' . ($myrow['usepreprintedstationery'] ? _('Yes') : _('No')) . '</td>
- <td>' . ($myrow['opencashdrawer'] ? _('Yes') : _('No')) . '</td>
+ <td class="centre">' . ($myrow['paymenttype'] ? _('Yes') : _('No')) . '</td>
+ <td class="centre">' . ($myrow['receipttype'] ? _('Yes') : _('No')) . '</td>
+ <td class="centre">' . ($myrow['usepreprintedstationery'] ? _('Yes') : _('No')) . '</td>
+ <td class="centre">' . ($myrow['opencashdrawer'] ? _('Yes') : _('No')) . '</td>
<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedPaymentID=' . $myrow['paymentid'] . '">' . _('Edit') . '</a></td>
<td><a href="' . htmlspecialchars($_SERVER['PHP_SELF'],ENT_QUOTES,'UTF-8') . '?SelectedPaymentID=' . $myrow['paymentid'] . '&delete=1" onclick="return confirm(\'' . _('Are you sure you wish to delete this payment method?') . '\');">' . _('Delete') . '</a></td>
</tr>';
@@ -304,4 +304,4 @@
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
-?>
\ No newline at end of file
+?>
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-11-16 17:13:48 UTC (rev 6405)
+++ trunk/doc/Change.log 2013-11-16 17:16:44 UTC (rev 6406)
@@ -1,5 +1,6 @@
webERP Change Log
+16/11/13 rchacon: Mejora la traducción y el formato en PaymentMethods.php.
16/11/13 Phil: MacPhotoBiker reported shipment charges html5 type=number removed to use the class=number javascript'
12/11/13 rchacon: Allow translation of the subkey name in FormDesigner.php.
07/11/13 rchacon: Allow translation of the key name in FormDesigner.php.
|