Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 348760

Summary: ProgressMonitor and SubProgressMonitor separator character (colon) is not localized.
Product: [Eclipse Project] Platform Reporter: jmccarthy2003
Component: RuntimeAssignee: platform-runtime-inbox <platform-runtime-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: sxenos
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description jmccarthy2003 CLA 2011-06-08 10:58:46 EDT
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.
Comment 1 Stefan Xenos CLA 2016-01-07 12:19:08 EST
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.