|
From: <rc...@us...> - 2013-12-09 19:26:45
|
Revision: 6487
http://sourceforge.net/p/web-erp/reponame/6487
Author: rchacon
Date: 2013-12-09 19:26:42 +0000 (Mon, 09 Dec 2013)
Log Message:
-----------
Allows translate currency name. Spanish translation improvements.
Modified Paths:
--------------
trunk/Customers.php
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo
trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po
Modified: trunk/Customers.php
===================================================================
--- trunk/Customers.php 2013-12-09 04:08:08 UTC (rev 6486)
+++ trunk/Customers.php 2013-12-09 19:26:42 UTC (rev 6487)
@@ -988,19 +988,19 @@
$result=DB_query("SELECT currency FROM currencies WHERE currabrev='".$_POST['CurrCode']."'",$db);
$myrow=DB_fetch_array($result);
echo '<tr>
- <td>' . _('Customers Currency') . ':</td>
- <td>' . $myrow['currency'] . '</td></tr>';
+ <td>' . _('Customer Currency') . ':</td>
+ <td>' . _($myrow['currency']) . '</td></tr>'; // Translates from currencies.currency ***
} else {
$result=DB_query("SELECT currency, currabrev FROM currencies",$db);
echo '<tr>
- <td>' . _('Customers Currency') . ':</td>
+ <td>' . _('Customer Currency') . ':</td>
<td><select name="CurrCode" required="required">';
while ($myrow = DB_fetch_array($result)) {
+ echo '<option';
if ($_POST['CurrCode']==$myrow['currabrev']){
- echo '<option selected="selected" value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>';
- } else {
- echo '<option value="'. $myrow['currabrev'] . '">' . $myrow['currency'] . '</option>';
+ echo ' selected="selected"';
}
+ echo ' value="'. $myrow['currabrev'] . '">' . _($myrow['currency']) . '</option>'; // Translates from currencies.currency ***
} //end while loop
DB_data_seek($result,0);
echo '</select></td>
Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po
===================================================================
--- trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2013-12-09 04:08:08 UTC (rev 6486)
+++ trunk/locale/es_ES.utf8/LC_MESSAGES/messages.po 2013-12-09 19:26:42 UTC (rev 6487)
@@ -8,7 +8,7 @@
"Project-Id-Version: WebERP 4.081\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-12-01 20:34+1300\n"
-"PO-Revision-Date: 2013-12-06 09:56-0600\n"
+"PO-Revision-Date: 2013-12-09 12:52-0600\n"
"Last-Translator: Rafael Chacon <raf...@gm...>\n"
"Language-Team: TecnoSoluciones.com <web...@te...>\n"
"Language: es_ES\n"
@@ -9507,7 +9507,7 @@
#: Customers.php:605
msgid "Customer Currency"
-msgstr "Moneda Cliente"
+msgstr "Moneda del cliente"
#: Customers.php:639
msgid "Customer PO Line on SO"
@@ -9517,7 +9517,7 @@
#: Customers.php:647 Customers.php:1050 Customers.php:1055 Customers.php:1061
msgid "Invoice Addressing"
-msgstr "Dirección Facturación"
+msgstr "Dirección de facturación"
#: Customers.php:649 Customers.php:1051 Customers.php:1064 Customers.php:1067
msgid "Address to HO"
@@ -9529,7 +9529,7 @@
#: Customers.php:660 Customers.php:1171
msgid "Add New Customer"
-msgstr "Registrar el Nuevo Cliente"
+msgstr "Agregar nuevo cliente"
#: Customers.php:750
msgid ""
@@ -9538,7 +9538,7 @@
#: Customers.php:991 Customers.php:996
msgid "Customers Currency"
-msgstr "Moneda a Utilizar"
+msgstr "Moneda del cliente"
#: Customers.php:1027
msgid "Require Customer PO Line on SO"
|