Revision 1310

tmp/org.txm.translate.rcp/src/org/txm/rcp/translate/devtools/NormalizeKeys.java (revision 1310)
250 250
		//			e.printStackTrace();
251 251
		//		}
252 252

  
253
		NormalizeKeys keysNormalizer = new NormalizeKeys(true);
253
		NormalizeKeys keysNormalizer = new NormalizeKeys(false);
254 254

  
255 255
//		WorkspaceMessagesManager wmm = new WorkspaceMessagesManager(false);
256 256
//		int total = 0;
......
282 282
//		
283 283
//		wmm.saveKeyModificationsInSources();
284 284
		
285
		//File projectFile = new File(new File(System.getProperty("user.dir")).getParentFile().getAbsolutePath() + "/org.txm.core");
286
		File projectFile = new File(new File(System.getProperty("user.dir")).getParentFile().getAbsolutePath() + "/org.txm.cooccurrence.core");
287
		PluginMessagesManager pmManager = new PluginMessagesManager(projectFile, true);
288
		keysNormalizer.normalize(pmManager);
285
		WorkspaceMessagesManager wmm = new WorkspaceMessagesManager(false);
286
		
287
		for (PluginMessagesManager pmManager : wmm.getPluginMessages().values()) {
288
			File projectFile = pmManager.getProjectDirectory();
289
			//if (!projectFile.getName().equals("org.txm.ahc.core")) continue;
289 290
			
290 291
			keysNormalizer.normalize(pmManager);
291 292
				
......
293 294
			//pmManager.saveChanges(false);
294 295
		}
295 296
		
297
		wmm.saveKeyModificationsInSources();
298
	}
296 299
}

Also available in: Unified diff