Project

General

Profile

« Previous | Next » 

Revision 3da52db5

Added by Patrick Plitzner almost 6 years ago

ref #6321 i18n for search progress in progress bar

View differences:

eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/AbstractBulkEditorInput.java
178 178
                    monitor.worked(configurator.getPageSize());
179 179
                    long workedLong = configurator.getPageSize()*pageNumber;
180 180
                    int loadedCount =  workedLong>Integer.MAX_VALUE?Integer.MAX_VALUE:(int)workedLong;
181
                    monitor.setTaskName(String.format("%s/%s %s loaded", loadedCount, totalWork, getName()));
181
                    monitor.setTaskName(String.format(Messages.AbstractBulkEditorInput_LOADED, loadedCount, totalWork, getName()));
182 182
                } while (!entities.isEmpty());
183 183
	            monitor.done();
184 184
	        });
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/l10n/Messages.java
5 5
public class Messages extends NLS {
6 6
    private static final String BUNDLE_NAME = "src/main/java/eu.etaxonomy.taxeditor.l10n.messages"; //$NON-NLS-1$
7 7
    public static String AbstractBulkEditorInput_CANDIDATE;
8
    public static String AbstractBulkEditorInput_LOADED;
8 9
    public static String AbstractBulkEditorInput_LOADING;
9 10
    public static String AbstractBulkEditorInput_MERGE_ERROR_MESSAGE;
10 11
    public static String AbstractBulkEditorInput_MERGE_ERROR_TITLE;
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/l10n/messages.properties
1 1
AbstractBulkEditorInput_CANDIDATE=[Candidate] 
2
AbstractBulkEditorInput_LOADED=%s/%s %s loaded
2 3
AbstractBulkEditorInput_LOADING=Loading %s for %s 
3 4
AbstractBulkEditorInput_MERGE_ERROR_MESSAGE=Could not merge chosen objects of type %s
4 5
AbstractBulkEditorInput_MERGE_ERROR_TITLE=Merging failes
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/l10n/messages_de.properties
1 1
AbstractBulkEditorInput_CANDIDATE=[Kandidat] 
2
AbstractBulkEditorInput_LOADED=%s/%s %s geladen
2 3
AbstractBulkEditorInput_LOADING=Lade %s f?r %s
3 4
AbstractBulkEditorInput_MERGE_ERROR_MESSAGE=Zusammenf?hren von Objekten des Typen %s fehlgeschlagen 
4 5
AbstractBulkEditorInput_MERGE_ERROR_TITLE=Zusammenf?hren fehlgeschlagen

Also available in: Unified diff