FIX_SIMPLIFIED_UI "Traducciones faltantes." SOLVED

- Se han agragado traducciones faltantes en directorio: templates/home/ y los archivos: home.php, Users.php,
  AppNotes.php y appProxy.php
* Available from version ProcessMaker-2.0.47 (2.5.1)
This commit is contained in:
Luis Fernando Saisa Lopez
2013-05-16 20:48:16 +00:00
parent 7f1f73ae06
commit 870afbac27
13 changed files with 121 additions and 127 deletions

View File

@@ -102,11 +102,11 @@ class AppNotes extends BaseAppNotes
//return array ( 'codError' => -100, 'rowsAffected' => 0, 'message' => $msg ); //return array ( 'codError' => -100, 'rowsAffected' => 0, 'message' => $msg );
} }
if ($msg != "") { if ($msg != "") {
$response['success'] = 'failure'; $response['success'] = G::LoadTranslation("ID_FAILURE");
$response['message'] = $msg; $response['message'] = $msg;
} else { } else {
$response['success'] = 'success'; $response['success'] = G::LoadTranslation("ID_SUCCESS");
$response['message'] = 'Saved...'; $response['message'] = G::LoadTranslation("ID_SAVEDS");
} }
if ($notify) { if ($notify) {
@@ -134,16 +134,16 @@ class AppNotes extends BaseAppNotes
$oConfiguration = new Configuration(); $oConfiguration = new Configuration();
$sDelimiter = DBAdapter::getStringDelimiter(); $sDelimiter = DBAdapter::getStringDelimiter();
$oCriteria = new Criteria( 'workflow' ); $oCriteria = new Criteria( 'workflow' );
$oCriteria->add( ConfigurationPeer::CFG_UID, 'Emails' ); $oCriteria->add( ConfigurationPeer::CFG_UID, G::LoadTranslation("ID_EMAILSS"));
$oCriteria->add( ConfigurationPeer::OBJ_UID, '' ); $oCriteria->add( ConfigurationPeer::OBJ_UID, '' );
$oCriteria->add( ConfigurationPeer::PRO_UID, '' ); $oCriteria->add( ConfigurationPeer::PRO_UID, '' );
$oCriteria->add( ConfigurationPeer::USR_UID, '' ); $oCriteria->add( ConfigurationPeer::USR_UID, '' );
$oCriteria->add( ConfigurationPeer::APP_UID, '' ); $oCriteria->add( ConfigurationPeer::APP_UID, '' );
if (ConfigurationPeer::doCount( $oCriteria ) == 0) { if (ConfigurationPeer::doCount( $oCriteria ) == 0) {
$oConfiguration->create( array ('CFG_UID' => 'Emails','OBJ_UID' => '','CFG_VALUE' => '','PRO_UID' => '','USR_UID' => '','APP_UID' => '') ); $oConfiguration->create( array ('CFG_UID' => G::LoadTranslation("ID_EMAILSS"), 'OBJ_UID' => '','CFG_VALUE' => '','PRO_UID' => '','USR_UID' => '','APP_UID' => '') );
$aConfiguration = array (); $aConfiguration = array ();
} else { } else {
$aConfiguration = $oConfiguration->load( 'Emails', '', '', '', '' ); $aConfiguration = $oConfiguration->load( G::LoadTranslation("ID_EMAILSS"), '', '', '', '' );
if ($aConfiguration['CFG_VALUE'] != '') { if ($aConfiguration['CFG_VALUE'] != '') {
$aConfiguration = unserialize( $aConfiguration['CFG_VALUE'] ); $aConfiguration = unserialize( $aConfiguration['CFG_VALUE'] );
$passwd = $aConfiguration['MESS_PASSWORD']; $passwd = $aConfiguration['MESS_PASSWORD'];

View File

@@ -52,7 +52,7 @@ class Users extends BaseUsers
if ($this->validate()) { if ($this->validate()) {
$result = $this->save(); $result = $this->save();
} else { } else {
$e = new Exception( "Failed Validation in class " . get_class( $this ) . "." ); $e = new Exception( G::LoadTranslation("ID_FAILED_VALIDATION_CLASS") . get_class( $this ) . "." );
$e->aValidationFailures = $this->getValidationFailures(); $e->aValidationFailures = $this->getValidationFailures();
throw ($e); throw ($e);
} }
@@ -88,12 +88,13 @@ class Users extends BaseUsers
$this->setNew( false ); $this->setNew( false );
return $aFields; return $aFields;
} else { } else {
throw (new Exception( "The row '" . $UsrUid . "' in table USER doesn't exist!" )); throw (new Exception( G::LoadTranslation("ID_THE_ROW") ." '" . $UsrUid . "' ". G::LoadTranslation("ID_TABLE_USER_DOESNT_EXIST")));
} }
} catch (PropelException $e) { } catch (PropelException $e) {
//capture invalid birthday date and replace by null //capture invalid birthday date and replace by null
$msg = $e->getMessage(); $msg = $e->getMessage();
if (strpos( 'Unable to parse value of [usr_birthday]', $msg ) != - 1) { //if (strpos( 'Unable to parse value of [usr_birthday]', $msg ) != - 1) {
if (strpos( G::LoadTranslation("ID_UNABLE_PARSE_VALUE_URS_BIRTHDAY"), $msg ) != - 1) {
$oRow->setUsrBirthday( null ); $oRow->setUsrBirthday( null );
$oRow->save(); $oRow->save();
return $this->load( $UsrUid ); return $this->load( $UsrUid );
@@ -116,7 +117,7 @@ class Users extends BaseUsers
return $result; return $result;
} else { } else {
// return $result; // return $result;
throw (new Exception( "The row '" . $UsrUid . "' in table USER doesn't exist!" )); throw (new Exception( G::LoadTranslation("ID_THE_ROW") ." '" . $UsrUid . "' ". G::LoadTranslation("ID_TABLE_USER_DOESNT_EXIST")));
} }
} catch (Exception $oError) { } catch (Exception $oError) {
throw ($oError); throw ($oError);
@@ -152,7 +153,7 @@ class Users extends BaseUsers
return $result; return $result;
} else { } else {
//return $result; //return $result;
throw (new Exception( "The row '" . $UsrUid . "' in table USER doesn't exist!" )); throw (new Exception( G::LoadTranslation("ID_THE_ROW") ." '" . $UsrUid . "' ". G::LoadTranslation("ID_TABLE_USER_DOESNT_EXIST")));
} }
} catch (Exception $oError) { } catch (Exception $oError) {
throw ($oError); throw ($oError);
@@ -172,7 +173,7 @@ class Users extends BaseUsers
return $result; return $result;
} else { } else {
$con->rollback(); $con->rollback();
throw (new Exception( "Failed Validation in class " . get_class( $this ) . "." )); throw (new Exception(G::LoadTranslation("ID_FAILED_VALIDATION_IN_CLASS") . get_class( $this ) . "." ));
} }
} catch (Exception $e) { } catch (Exception $e) {
$con->rollback(); $con->rollback();

View File

@@ -100,7 +100,7 @@ class AppProxy extends HttpProxyController
} }
if (! isset( $appUid )) { if (! isset( $appUid )) {
throw new Exception( 'Can\'t resolve the Apllication ID for this request.' ); throw new Exception(G::LoadTranslation("ID_CANT_RESOLVE_APLICATION"));
} }
$usrUid = (isset( $_SESSION['USER_LOGGED'] )) ? $_SESSION['USER_LOGGED'] : ""; $usrUid = (isset( $_SESSION['USER_LOGGED'] )) ? $_SESSION['USER_LOGGED'] : "";

View File

@@ -190,13 +190,13 @@ class Home extends Controller
// setting main list title // setting main list title
switch ($httpData->t) { switch ($httpData->t) {
case 'todo': case 'todo':
$title = 'My Inbox'; $title = G::LoadTranslation("ID_MY_INBOX");
break; break;
case 'draft': case 'draft':
$title = 'My Drafts'; $title = G::LoadTranslation("ID_MY_DRAFTS");
break; break;
case 'unassigned': case 'unassigned':
$title = 'Unassigned Inbox'; $title = G::LoadTranslation("ID_UNASSIGNED_INBOX");
break; break;
default: default:
$title = ucwords( $httpData->t ); $title = ucwords( $httpData->t );

View File

@@ -54,7 +54,7 @@
d.hide('slow'); d.hide('slow');
} }
else { else {
d.show('slow'); d.show({/literal}"{translate label="ID_SLOW"}"{literal});
} }
} }
@@ -81,10 +81,10 @@
height:192, height:192,
modal: true, modal: true,
buttons: { buttons: {
"Add Note": function() { {/literal}"{translate label="ID_ADD_NOTE"}"{literal}: function() {
var sendMail = document.getElementById('chkSendMail').checked; var sendMail = document.getElementById('chkSendMail').checked;
sendMail = (sendMail == true) ? '1' : '0'; sendMail = (sendMail == true) ? '1' : '0';
$(this).dialog("close"); $(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
$.post( $.post(
'../appProxy/postNote', '../appProxy/postNote',
{appUid : appUid, {appUid : appUid,
@@ -97,18 +97,15 @@
//redirect('home/startCase?id='+id); //redirect('home/startCase?id='+id);
}, },
Cancel: function() { Cancel: function() {
$(this).dialog( "close" ); //$(this).dialog( "close" );
$(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
} }
} }
}); });
} }
//updateNt(appUid); //updateNt(appUid);
} }
); );
} }
function updateNt(appUid) function updateNt(appUid)
@@ -130,14 +127,14 @@
'</td><td>' + '</td><td>' +
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' + '<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
'<p><pre>'+r.NOTE_CONTENT+'</pre>' + '<p><pre>'+r.NOTE_CONTENT+'</pre>' +
'<div class="appMessageDate">Posted at '+r.NOTE_DATE+'</div>' + '<div class="appMessageDate">{translate label="ID_POSTED_AT"} '+r.NOTE_DATE+'</div>' +
'</td></tr></table></div>'; '</td></tr></table></div>';
content.append(s); content.append(s);
$('#n_'+appUid).show('slow'); $('#n_'+appUid).show('slow');
} }
d = $('#m_'+appUid); d = $('#m_'+appUid);
d.show('slow'); d.show({/literal}"{translate label="ID_SLOW"}"{literal});
} }
); );
return true; return true;
@@ -153,10 +150,10 @@
if(jQuery.trim(html) != ''){ if(jQuery.trim(html) != ''){
$("#commentlist").append(html); $("#commentlist").append(html);
$('#loadmorebutton').html('Load More'); $('#loadmorebutton').html( {/literal}"{translate label="ID_LOAD_MORE"}"{literal} );
} }
else { else {
$('#loadmorebutton').replaceWith('<center>No more applications to show.</center>'); $('#loadmorebutton').replaceWith({/literal}"<center> {translate label="ID_NO_MORE_APPLICATIONS"}</center>"{literal});
} }
} }
}); });
@@ -184,19 +181,19 @@
{if $cases_count > $appListLimit} {if $cases_count > $appListLimit}
<center> <center>
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">Load More</a> <a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">{translate label="ID_LOAD_MORE"}</a>
</center> </center>
{/if} {/if}
</div> </div>
</center> </center>
<div id="dialog-add-note" title="Case Note" style="display:none"> <div id="dialog-add-note" title="{translate label="ID_CASE_NOTE"}" style="display:none">
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> --> <p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
<span id="startAppTitle"/> <span id="startAppTitle"/>
<textarea id="note_text" rows="2" cols="22"></textarea> <textarea id="note_text" rows="2" cols="22"></textarea>
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px"> <div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked=""> <input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">Send email (Case Participants)</label> <label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">{translate label="ID_SEND_EMAIL_CASE_PARTICIPANTS"}</label>
</div> </div>
</p> </p>
</div> </div>

View File

@@ -121,7 +121,7 @@
d.hide('slow'); d.hide('slow');
} }
else { else {
d.show('slow'); d.show({/literal}"{translate label="ID_SLOW"}"{literal});
} }
} }
@@ -150,10 +150,10 @@
height:192, height:192,
modal: true, modal: true,
buttons: { buttons: {
"Add Note": function() { {/literal}"{translate label="ID_ADD_NOTE"}"{literal}: function() {
var sendMail = document.getElementById('chkSendMail').checked; var sendMail = document.getElementById('chkSendMail').checked;
sendMail = (sendMail == true) ? '1' : '0'; sendMail = (sendMail == true) ? '1' : '0';
$(this).dialog("close"); $(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
$.post( $.post(
'../appProxy/postNote', '../appProxy/postNote',
{appUid : appUid, {appUid : appUid,
@@ -166,7 +166,7 @@
//redirect('home/startCase?id='+id); //redirect('home/startCase?id='+id);
}, },
Cancel: function() { Cancel: function() {
$(this).dialog( "close" ); $(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
} }
} }
}); });
@@ -219,14 +219,14 @@
'</td><td>' + '</td><td>' +
'<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' + '<h3>'+r.USR_FIRSTNAME+' '+r.USR_LASTNAME+' ('+r.USR_USERNAME+')</h3>' +
'<p><pre>'+r.NOTE_CONTENT+'</pre>' + '<p><pre>'+r.NOTE_CONTENT+'</pre>' +
'<div class="appMessageDate">Posted at '+r.NOTE_DATE+'</div>' + '<div class="appMessageDate">{translate label="ID_POSTED_AT"} '+r.NOTE_DATE+'</div>' +
'</td></tr></table></div>'; '</td></tr></table></div>';
content.append(s); content.append(s);
$('#n_'+appUid).show('slow'); $('#n_'+appUid).show('slow');
} }
d = $('#m_'+appUid); d = $('#m_'+appUid);
d.show('slow'); d.show({/literal}"{translate label="ID_SLOW"}"{literal});
} }
); );
return true; return true;
@@ -242,10 +242,10 @@
if(jQuery.trim(html) != ''){ if(jQuery.trim(html) != ''){
$("#commentlist").append(html); $("#commentlist").append(html);
$('#loadmorebutton').html('Load More'); $('#loadmorebutton').html( {/literal}"{translate label="ID_LOAD_MORE"}"{literal} );
} }
else { else {
$('#loadmorebutton').replaceWith('<center>No more applications to show.</center>'); $('#loadmorebutton').replaceWith({/literal}"<center> {translate label="ID_NO_MORE_APPLICATIONS"}</center>"{literal});
} }
} }
}); });
@@ -354,19 +354,19 @@
{if $cases_count > $appListLimit} {if $cases_count > $appListLimit}
<center> <center>
<a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">Load More</a> <a href="#" style="color:#1F98C7; font-size:12px; font-weight:bold;" id="loadmorebutton">{translate label="ID_LOAD_MORE"}</a>
</center> </center>
{/if} {/if}
</div> </div>
</center> </center>
<div id="dialog-add-note" title="Case Note" style="display:none"> <div id="dialog-add-note" title="{translate label="ID_CASE_NOTE"}" style="display:none">
<p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> --> <p><!-- <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span> -->
<span id="startAppTitle"/> <span id="startAppTitle"/>
<textarea id="note_text" rows="2" cols="22"></textarea> <textarea id="note_text" rows="2" cols="22"></textarea>
<div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px"> <div class="x-form-check-wrap" id="ext-gen160" style="font-size:11px">
<input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked=""> <input type="checkbox" name="chkSendMail" id="chkSendMail" autocomplete="off" class=" x-form-checkbox x-form-field" checked="">
<label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">Send email (Case Participants)</label> <label class="x-form-cb-label" for="chkSendMail" id="ext-gen161">{translate label="ID_SEND_EMAIL_CASE_PARTICIPANTS"}</label>
</div> </div>
</p> </p>
</div> </div>

View File

@@ -38,7 +38,7 @@
<td> <td>
<h3>{$NOTE.USR_FIRSTNAME} {$NOTE.USR_LASTNAME} ({$NOTE.USR_USERNAME})</h3> <h3>{$NOTE.USR_FIRSTNAME} {$NOTE.USR_LASTNAME} ({$NOTE.USR_USERNAME})</h3>
<p><pre>{$NOTE.NOTE_CONTENT}</pre> <p><pre>{$NOTE.NOTE_CONTENT}</pre>
<div class="appMessageDate">Posted at {$NOTE.NOTE_DATE}</div> <div class="appMessageDate">{translate label="ID_POSTED_AT"} {$NOTE.NOTE_DATE}</div>
</td> </td>
</tr> </tr>
</table> </table>

View File

@@ -48,12 +48,13 @@
height:160, height:160,
modal: true, modal: true,
buttons: { buttons: {
"Start Case": function() { {/literal}"{translate label="ID_CASE_START"}"{literal}: function() {
$( this ).dialog( "close" ); $(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
redirect('home/startCase?id='+id); redirect('home/startCase?id='+id);
}, },
Cancel: function() { Cancel: function() {
$( this ).dialog( "close" ); $(this).dialog({/literal}"{translate label="ID_CLOSE"}"{literal});
} }
} }
}); });
@@ -135,9 +136,9 @@
<!--<li><a href="#" accesskey="s" id="settings_link">Settings</a></li> <!--<li><a href="#" accesskey="s" id="settings_link">Settings</a></li>
<li><a href="#" accesskey="?" id="help_link">Help</a></li>--> <li><a href="#" accesskey="?" id="help_link">Help</a></li>-->
{if $userUxType eq 'SWITCHABLE'} {if $userUxType eq 'SWITCHABLE'}
<li><a href="{$switchLink}" accesskey="?" id="help_link">Switch Interface</a></li> <li><a href="{$switchLink}" accesskey="?" id="help_link">{translate label="ID_SWITCH_INTERFACE"}</a></li>
{/if} {/if}
<li><a href="home/login" accesskey="l" id="sign_out_link">Sign out</a></li> <li><a href="home/login" accesskey="l" id="sign_out_link">{translate label="ID_SIGN_OUT"}</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@@ -152,7 +153,7 @@
<div id="dialog-confirm" title="Confirm" style="display:none"> <div id="dialog-confirm" title="Confirm" style="display:none">
<p> <p>
Start a new case for:<br/> {translate label="ID_START_A_NEW_CASE_FOR"}<br/>
<span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p> <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p>
</div> </div>

View File

@@ -67,7 +67,7 @@
{/if} {/if}
</ul> </ul>
<a id="signout-link" href="home/login" title="Sign out"><img src="/images/simplified/logout-grey.png" /></a> <a id="signout-link" href="home/login" title="{translate label="ID_SIGN_OUT"}"><img src="/images/simplified/logout-grey.png" /></a>
<!-- end topbar --> <!-- end topbar -->
</div> </div>
@@ -76,7 +76,7 @@
<div id="dialog-confirm" title="Confirm" style="display:none"> <div id="dialog-confirm" title="Confirm" style="display:none">
<p> <p>
Start a new case for:<br/> {translate label="ID_START_A_NEW_CASE_FOR"}<br/>
<span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p> <span class="ui-icon ui-icon-document" style="float:left; margin:0 7px 20px 0;"></span><span id="startAppTitle"/></p>
</div> </div>

View File

@@ -37,16 +37,16 @@
<td valign='top'> <td valign='top'>
<table cellspacing="0" cellpadding="0" border="0" width="100%"> <table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr> <tr>
<td class='FormTitle' colspan="2" align=""><span id='form[TITLE]' name='form[TITLE]' >Login</span></td> <td class='FormTitle' colspan="2" align=""><span id='form[TITLE]' name='form[TITLE]' >{translate label="ID_LOGIN"}</span></td>
</tr> </tr>
<tr> <tr>
<td class='FormLabel' width="40%">User</td> <td class='FormLabel' width="40%">{translate label="ID_USER"}</td>
<td class='FormFieldContent' width='240' > <td class='FormFieldContent' width='240' >
<input class="module_app_input___gray" name="form[USR_USERNAME]" type="text" size="30" maxlength="50" value=""/> <input class="module_app_input___gray" name="form[USR_USERNAME]" type="text" size="30" maxlength="50" value=""/>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class='FormLabel' width="40%">Password</td> <td class='FormLabel' width="40%">{translate label="ID_PASSWORD"}</td>
<td class='FormFieldContent' width='240' > <td class='FormFieldContent' width='240' >
<input class="module_app_input___gray" name="form[USR_PASSWORD]" type ="password" size="31" maxlength="50" value=""/> <input class="module_app_input___gray" name="form[USR_PASSWORD]" type ="password" size="31" maxlength="50" value=""/>
</td> </td>
@@ -73,5 +73,3 @@
</body> </body>
</html> </html>

View File

@@ -64,13 +64,13 @@
<center> <center>
<form method="post" action="../login/authentication"> <form method="post" action="../login/authentication">
<div id="login" class="login_form"> <div id="login" class="login_form">
<h1>Sign In</h1> <h1>{translate label="ID_SIGN_IN"}</h1>
<div class="login_message">{$msg}</div> <div class="login_message">{$msg}</div>
<table border=0 width="100%" cellspacing="0" cellpadding="0" class="formbody"> <table border=0 width="100%" cellspacing="0" cellpadding="0" class="formbody">
<tr> <tr>
<td><label for="login_field">Username</label></td> <td><label for="login_field">{translate label="ID_USERNAME"}</label></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@@ -78,7 +78,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td><label for="password">Password</label></td> <td><label for="password">{translate label="ID_PASSWORD"}</label></td>
</tr> </tr>
<tr> <tr>
<td> <td>
@@ -97,6 +97,3 @@
</body> </body>
</html> </html>

View File

@@ -27,12 +27,12 @@
<center> <center>
<div class="uxs" style="text-align:left"> <div class="uxs" style="text-align:left">
<table cellspacing="0" cellpadding="0" border="0" width="100%"> <table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr><td class="Title">Information</td></tr> <tr><td class="Title">{translate label="ID_INFORMATION"}</td></tr>
</table> </table>
<h2></h2> <h2></h2>
<h3>You are now finished. Please refresh your view to see if you have any more work pending.</h3> <h3>{translate label="ID_FINISHED_REFRESH_VIEW_SEE_SLOPE_WORK"}</h3>
<center> <center>
<button id="btnRefresh">Refresh view</button> <button id="btnRefresh">{translate label="ID_REFRESH_VIEW"}</button>
</center> </center>
</div> </div>
</center> </center>