In der Klasse ccm-cms/src/com/arsdigita/cms/ui/lifecycle/AddPhaseForm.java die FormProcessException in der Zeile 309 und 352 umgebaut.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3182 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-15 15:38:47 +00:00
parent e778d2d024
commit c64a6947d3
1 changed files with 3 additions and 3 deletions

View File

@ -307,7 +307,7 @@ class AddPhaseForm extends CMSForm {
if (phaseDef.getLabel().equalsIgnoreCase(label)) {
phaseDefs.close();
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.lifecycle.name_not_unique"));
"cms.ui.lifecycle.phase_name_not_unique"));
}
}
}
@ -349,8 +349,8 @@ class AddPhaseForm extends CMSForm {
}
if ((days + hours + minutes) == 0) {
throw new FormProcessException
("The phase duration must be greater than 0");
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.lifecycle.phase_duration_negative"));
}
}