|
From: <rc...@us...> - 2013-11-13 02:10:45
|
Revision: 6400
http://sourceforge.net/p/web-erp/reponame/6400
Author: rchacon
Date: 2013-11-13 02:10:42 +0000 (Wed, 13 Nov 2013)
Log Message:
-----------
Allow translation of the subkey name in FormDesigner.php.
Modified Paths:
--------------
trunk/FormDesigner.php
trunk/doc/Change.log
Modified: trunk/FormDesigner.php
===================================================================
--- trunk/FormDesigner.php 2013-11-07 22:51:06 UTC (rev 6399)
+++ trunk/FormDesigner.php 2013-11-13 02:10:42 UTC (rev 6400)
@@ -220,18 +220,18 @@
foreach ($key as $subkey) {
if ($subkey['type']=='SimpleText') {
echo '<tr>';
- echo '<td>' . $subkey['name'] . '</td>';
+ echo '<td>' . _($subkey['name']) . '</td>';
SimpleTextLine($subkey);
echo '</tr>';
} else if ($subkey['type']=='MultiLineText') {
echo '<tr>';
- echo '<td>' . $subkey['name'] . '</td>';
+ echo '<td>' . _($subkey['name']) . '</td>';
MultiTextLine($subkey);
echo '</tr>';
} else {
echo '<tr>';
if ($subkey['type']=='DataText') {
- echo '<td>' . $subkey['name'] . '</td>';
+ echo '<td>' . _($subkey['name']) . '</td>';
DataTextLine($subkey);
} elseif ($subkey['type']=='StartLine') {
echo '<td colspan="3">' . $subkey['name'].' = ' . '</td><td><input type="text" class="number" name="StartLine" size="4" maxlength="4" value="'.$key->y.'" /></td>';
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-11-07 22:51:06 UTC (rev 6399)
+++ trunk/doc/Change.log 2013-11-13 02:10:42 UTC (rev 6400)
@@ -1,4 +1,5 @@
webERP Change Log
+12/11/2013 rchacon: Allow translation of the subkey name in FormDesigner.php.
07/11/2013 rchacon: Allow translation of the key name in FormDesigner.php.
7/11/2013 Exson: Add check box to allow user to decide weather raw material is sellable or not.
7/11/2013 Exson Revise the bin definition to NOT NULL DEFAULT '' as suggest by Tim to make it more ISO compatible.
|