Community
Participate
Working Groups
Build Identifier: M20090211-1700 When a Progress monitor and a SubProgress monitor is used, the default separator character that is used between these display strings is a colon. This is not appropriate for certain languages and should be localized. eg: Copying 1 of 3 files... : Mydoc.txt Reproducible: Always Steps to Reproduce: 1. Import org.eclipse.core.runtime.IProgressMonitor; Import org.eclipse.core.runtime.SubProgressMonitor; 2. monitor.setTaskName( "Task" ); 3. subMonitor.subTask( "SubTask" ); 4. The progress displayed is "Task : SubTask", where the colon is used as a separator.
This was one of the reasons for deprecating SubProgressMonitor. The replacement, SubMonitor, does not concatenate strings in any way and makes it the responsibility of the caller to supply appropriately-translated strings to all of its methods.