asterisk2billing.org
http://forum.asterisk2billing.org/

Small translation changes to A2B_invoice_view.php
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=8237
Page 1 of 1

Author:  aanderson [ Sun Oct 10, 2010 4:55 am ]
Post subject:  Small translation changes to A2B_invoice_view.php

Basically VAT wasn't being translated properly. Here's the diff based on 1.8.1.0.

Index: admin/Public/A2B_invoice_view.php
===================================================================
--- admin/Public/A2B_invoice_view.php (revision 59)
+++ admin/Public/A2B_invoice_view.php (working copy)
@@ -274,7 +274,7 @@
<?php foreach ($vat_array as $key => $val) { ?>
<tr class="vat">
<td class="one"></td>
- <td class="two"><?php echo gettext("VAT $key%:") ?></td>
+ <td class="two"><?php echo gettext("VAT") . " $key%:" ?></td>
<td class="three"><?php echo number_format(round(amount_convert($val),2),2)." $display_curr"; ?></td>
</tr>
<?php } ?>
@@ -296,7 +296,7 @@
<tfoot>
<tr>
<td colspan="3" class="footer">
- <?php echo $company_name." | ".$address.", ".$zipcode." ".$city." ".$country." | VAT nr.".$vat_invoice; ?>
+ <?php echo $company_name." | ".$address.", ".$zipcode." ".$city." ".$country." | ".gettext("VAT nr.").$vat_invoice; ?>
</td>
</tr>
</tfoot>

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/