Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 348760 - ProgressMonitor and SubProgressMonitor separator character (colon) is not localized.
Summary: ProgressMonitor and SubProgressMonitor separator character (colon) is not loc...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 10:58 EDT by jmccarthy2003 CLA
Modified: 2016-01-07 12:19 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.