Arreglo de lables

This commit is contained in:
Brayan Osmar Pereyra Suxo
2013-09-05 12:18:14 -04:00
parent 7ab22b68f7
commit 529bdfdc32
2 changed files with 3 additions and 3 deletions

View File

@@ -4549,7 +4549,7 @@ class processMap
{
try {
$oTask = new Task();
$oNewTask->label = 'Sub-Process'; //G::LoadTranslation('ID_TASK');
$oNewTask->label = G::LoadTranslation('ID_SUBPROCESS');
$oNewTask->uid = $oTask->create(array('PRO_UID' => $sProcessUID, 'TAS_TITLE' => $oNewTask->label, 'TAS_POSX' => $iX, 'TAS_POSY' => $iY, 'TAS_TYPE' => 'SUBPROCESS' ));
//$oJSON = new Services_JSON();

View File

@@ -22,7 +22,7 @@ if ($s != 'a') {
}
//timeUnit
$timeunit = isset( $_GET['t'] ) ? $_GET['t'] : 'Days';
$timeunit = isset( $_GET['t'] ) ? $_GET['t'] : G::LoadTranslation('ID_DAYS');
$timeunit = ucfirst( strtolower( $timeunit ) );
//estimated
@@ -151,7 +151,7 @@ function drawTimerEvent ($im, $x1, $y1, $h)
imageline( $im, 15, $h - 19, $w - 15, $h - 19, $red );
imageline( $im, $w - 23, $h - 23, $w - 15, $h - 19, $red );
imageline( $im, $w - 23, $h - 15, $w - 15, $h - 19, $red );
imagestring( $im, 2, $w - 30, $h - 37, 'Days', $red );
imagestring( $im, 2, $w - 30, $h - 37, G::LoadTranslation('ID_DAYS'), $red );
if ($estimated == 0) {
$s = 'i';