BUG 6657 fixed issue of translation

This commit is contained in:
Alvaro Campos
2011-08-31 17:39:59 -04:00
parent 87f0718671
commit 563e3f8f5e
2 changed files with 1 additions and 12 deletions

View File

@@ -57,17 +57,6 @@ $loadingHTML ='
switch($page){
case "startCase":
$labels = G::getTranslations(Array(
'ID_FIND_A_PROCESS',
'ID_PROCESS_INFORMATION', 'ID_PROCESS', 'ID_TASK', 'ID_DESCRIPTION', 'ID_CATEGORY',
'ID_GENERAL_PROCESS_NUMBERS', 'ID_INBOX', 'ID_DRAFT', 'ID_COMPLETED', 'ID_CANCELLED', 'ID_TOTAL_CASES',
'ID_CALENDAR', 'ID_CALENDAR_DESCRIPTION', 'ID_WORKING_DAYS', 'ID_DEBUG_MODE',
'ID_SUN', 'ID_MON', 'ID_TUE', 'ID_WEN', 'ID_THU', 'ID_FRI', 'ID_SAT',
'ID_TITLE_START_CASE', 'ID_STARTING_NEW_CASE', 'ID_ERROR_CREATING_NEW_CASE',
'ID_ERROR', 'ID_UNABLE_START_CASE'
));
$oHeadPublisher->assign('TRANSLATIONS', $labels);
$oHeadPublisher->usingExtJs('ux.treefilterx/Ext.ux.tree.TreeFilterX');
$oHeadPublisher->addExtJsScript('cases/casesStartCase', true); //adding a javascript file .js

View File

@@ -45,7 +45,7 @@ Ext.onReady(function() {
xtype : 'textfield',
name : 'processesFilter',
id : 'processesFilter',
emptyText : TRANSLATIONS.ID_FIND_A_PROCESS, // 'Find a Process',
emptyText : _('ID_FIND_A_PROCESS'), // 'Find a Process',
enableKeyEvents : true,
listeners : {
render : function(f) {