Skip to content
Snippets Groups Projects
Commit d4c4a920 authored by Nils Christian Ehmke's avatar Nils Christian Ehmke
Browse files

Localization

parent 24e97e3b
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ public final class ControllerBean {
this.addLogEntry("The project does not exist.");
} catch (final LockProjectException ex) {
ControllerBean.LOG.info("An error occured during the operation.", ex);
this.addLogEntry("An error occured during the operation.");
this.addLogEntry(this.globalPropertiesBean.getLogMsgErrorOccured());
}
}
......@@ -98,7 +98,7 @@ public final class ControllerBean {
*/
public void stopAnalysis() {
try {
this.addLogEntry("Stopping Analysis for project '" + this.projectName + "'");
this.addLogEntry(this.globalPropertiesBean.getLogMsgStoppingAnalysis());
synchronized (this) {
this.projectService.stopAnalysis(this.projectName);
}
......@@ -118,7 +118,7 @@ public final class ControllerBean {
* This method initializes the current analysis and informs the user about a fail.
*/
public void instantiateAnalysis() {
this.addLogEntry("Instantiating Analysis for project '" + this.projectName + "'");
this.addLogEntry(this.globalPropertiesBean.getLogMsgInstantiatingAnalysis());
try {
this.projectService.initializeAnalysis(this.projectName, this.projectService.getClassLoader(this.projectName, this)); // NOPMD (ClassLoader)
} catch (final InvalidAnalysisStateException ex) {
......@@ -143,7 +143,7 @@ public final class ControllerBean {
* This method cleans the current analysis instance.
*/
public void cleanAnalysis() {
this.addLogEntry("Cleaning Analysis for project '" + this.projectName + "'");
this.addLogEntry(this.globalPropertiesBean.getLogMsgCleaning());
try {
this.projectService.cleanAnalysis(this.projectName);
} catch (final ProjectNotExistingException ex) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment