ItEr26S13AltaEtiquetasTipoEtiqueta: Change warning message duplicate label

This commit is contained in:
Diego Pino Garcia 2009-09-16 19:51:51 +02:00 committed by Javier Moran Rua
parent 70cdbc51de
commit f26da52cd1

View file

@ -223,8 +223,8 @@ public class LabelTypeCRUDController extends GenericForwardComposer {
public void onChangeLabelName(Event e) {
InputEvent ie = (InputEvent) e;
if (!labelTypeModel.labelNameIsUnique(ie.getValue())) {
throw new WrongValueException(e.getTarget(),
_("Name must be unique"));
throw new WrongValueException(e.getTarget(), _(
"{0} already exists", ie.getValue()));
}
}