From 6aca10398660d1e9bdc4c1c4bf6081c6cd55b882 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 1 Dec 2010 23:18:25 +0000 Subject: [PATCH] fix issue 225 git-svn-id: https://osmand.googlecode.com/svn/trunk@746 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8 --- .../osmand/data/preparation/IndexCreator.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java b/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java index 3b921b3ffd..e8864ea43e 100644 --- a/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java +++ b/DataExtractionOSM/src/net/osmand/data/preparation/IndexCreator.java @@ -2390,28 +2390,28 @@ public class IndexCreator { // 3.3 MAIN iterate over all entities if (indexPOI || indexAddress || indexMap) { - progress.setGeneralProgress("[50 of 100]"); - progress.startTask("Processing osm nodes...", allNodes); + progress.setGeneralProgress("[50 / 100]"); + progress.startTask(Messages.getString("IndexCreator.PROCESS_OSM_NODES"), allNodes); iterateOverEntities(progress, EntityType.NODE, allNodes, STEP_MAIN); - progress.setGeneralProgress("[70 of 100]"); - progress.startTask("Processing osm ways...", allWays); + progress.setGeneralProgress("[70 / 100]"); + progress.startTask(Messages.getString("IndexCreator.PROCESS_OSM_WAYS"), allWays); iterateOverEntities(progress, EntityType.WAY, allWays, STEP_MAIN); } - progress.setGeneralProgress("[85 of 100]"); - progress.startTask("Processing osm relations...", allRelations); + progress.setGeneralProgress("[85 / 100]"); + progress.startTask(Messages.getString("IndexCreator.PROCESS_OSM_REL"), allRelations); iterateOverEntities(progress, EntityType.RELATION, allRelations, STEP_MAIN); // 3.4 combine all low level ways and simplify them if(indexMap){ - progress.setGeneralProgress("[90 of 100]"); - progress.startTask("Indexing low level ways...", lowLevelWays); + progress.setGeneralProgress("[90 / 100]"); + progress.startTask(Messages.getString("IndexCreator.INDEX_LO_LEVEL_WAYS"), lowLevelWays); processingLowLevelWays(progress); } // 3.5 update all postal codes from relations if (indexAddress && !postalCodeRelations.isEmpty()) { - progress.setGeneralProgress("[90 of 100]"); - progress.startTask("Registering postcodes...", -1); + progress.setGeneralProgress("[90 / 100]"); + progress.startTask(Messages.getString("IndexCreator.REGISTER_PCODES"), -1); if (pStatements.get(addressBuildingStat) > 0) { addressBuildingStat.executeBatch(); pStatements.put(addressBuildingStat, 0);