Fix translation of % column in gantt view

This commit is contained in:
Laurent Destailleur 2018-05-04 11:01:22 +02:00
parent 9e18c95a3f
commit 1f775c907d
2 changed files with 9 additions and 1 deletions

View File

@ -90,6 +90,14 @@ var vTmpNode=this.newNode(vTmpCell, 'div', null, '');
vTmpNode=this.newNode(vTmpNode, 'a', null, '', vLangs[vLang]['moreinfo']);
vTmpNode.setAttribute('href',vTaskList[i].getLink());
* Replace '% Comp.' to have a smaller text column header
'comp':'% Comp.'
with
'comp':'%'
JCROP:
------

View File

@ -331,7 +331,7 @@ JSGantt.GanttChart=function(pDiv, pFormat)
var vLangs={'en':
{'format':'Format','hour':'Hour','day':'Day','week':'Week','month':'Month','quarter':'Quarter','hours':'Hours','days':'Days',
'weeks':'Weeks','months':'Months','quarters':'Quarters','hr':'Hr','dy':'Day','wk':'Wk','mth':'Mth','qtr':'Qtr','hrs':'Hrs',
'dys':'Days','wks':'Wks','mths':'Mths','qtrs':'Qtrs','resource':'Resource','duration':'Duration','comp':'% Comp.',
'dys':'Days','wks':'Wks','mths':'Mths','qtrs':'Qtrs','resource':'Resource','duration':'Duration','comp':'%',
'completion':'Completion','startdate':'Start Date','enddate':'End Date','moreinfo':'More Information','notes':'Notes',
'january':'January','february':'February','march':'March','april':'April','maylong':'May','june':'June','july':'July',
'august':'August','september':'September','october':'October','november':'November','december':'December','jan':'Jan',