[UPDATE]
In der Klasse com/arsdigita/cms/contenttypes/ui/LinkPropertyForm.java die FormProcessException in der Zeile 457 umgebaut. Properties um den Eintrag false_link_target ergänzt. Klasse abgeschlossen. git-svn-id: https://svn.libreccm.org/ccm/trunk@3158 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
9e6fdac629
commit
382743ded5
|
|
@ -1099,3 +1099,4 @@ cms.contenttypes.ui.external_link_requires_uri_field=The URI field is required f
|
||||||
cms.contenttypes.ui.url_not_valid=The URL is not valid
|
cms.contenttypes.ui.url_not_valid=The URL is not valid
|
||||||
cms.contenttypes.ui.url_missing_protocol=A valid URL starts with a protocol, eg http://
|
cms.contenttypes.ui.url_missing_protocol=A valid URL starts with a protocol, eg http://
|
||||||
cms.contenttypes.ui.internal_link_requires_item_selection=Item selection is required for internal link
|
cms.contenttypes.ui.internal_link_requires_item_selection=Item selection is required for internal link
|
||||||
|
cms.contenttypes.ui.false_link_target=Link target is the same as this object
|
||||||
|
|
|
||||||
|
|
@ -1093,3 +1093,4 @@ cms.contenttypes.ui.external_link_requires_uri_field=Das URI-Feld wird f\u00fcr
|
||||||
cms.contenttypes.ui.url_not_valid=Die URL ist nicht g\u00fcltig
|
cms.contenttypes.ui.url_not_valid=Die URL ist nicht g\u00fcltig
|
||||||
cms.contenttypes.ui.url_missing_protocol=Eine g\u00fcltige URL startet mit einem Protokoll, z.B. http://
|
cms.contenttypes.ui.url_missing_protocol=Eine g\u00fcltige URL startet mit einem Protokoll, z.B. http://
|
||||||
cms.contenttypes.ui.internal_link_requires_item_selection=Item-Wahl f\u00fcr den internen Link ist notwendig
|
cms.contenttypes.ui.internal_link_requires_item_selection=Item-Wahl f\u00fcr den internen Link ist notwendig
|
||||||
|
cms.contenttypes.ui.false_link_target=Das Ziel des Links ist das Selbe, wie dieses Objekt
|
||||||
|
|
|
||||||
|
|
@ -137,3 +137,4 @@ cms.contenttypes.ui.external_link_requires_uri_field=
|
||||||
cms.contenttypes.ui.url_not_valid=
|
cms.contenttypes.ui.url_not_valid=
|
||||||
cms.contenttypes.ui.url_missing_protocol=
|
cms.contenttypes.ui.url_missing_protocol=
|
||||||
cms.contenttypes.ui.internal_link_requires_item_selection=
|
cms.contenttypes.ui.internal_link_requires_item_selection=
|
||||||
|
cms.contenttypes.ui.false_link_target=
|
||||||
|
|
|
||||||
|
|
@ -609,3 +609,4 @@ cms.contenttypes.ui.external_link_requires_uri_field=Le champ URI est n\u00e9ces
|
||||||
cms.contenttypes.ui.url_not_valid=L'URL n'est pas valide
|
cms.contenttypes.ui.url_not_valid=L'URL n'est pas valide
|
||||||
cms.contenttypes.ui.url_missing_protocol=Une URL valide commence par un protocol, p.e. http://
|
cms.contenttypes.ui.url_missing_protocol=Une URL valide commence par un protocol, p.e. http://
|
||||||
cms.contenttypes.ui.internal_link_requires_item_selection=Choix d'article pour le lien interne est n\u00e9cessaire
|
cms.contenttypes.ui.internal_link_requires_item_selection=Choix d'article pour le lien interne est n\u00e9cessaire
|
||||||
|
cms.contenttypes.ui.false_link_target=La cible de lien est la m\u00eame que cet objet
|
||||||
|
|
|
||||||
|
|
@ -454,7 +454,8 @@ public class LinkPropertyForm extends FormSection
|
||||||
// The target of the link must not be the same as the owner
|
// The target of the link must not be the same as the owner
|
||||||
if (m_itemModel.getSelectedItem(state).getID().equals(
|
if (m_itemModel.getSelectedItem(state).getID().equals(
|
||||||
((ContentItem) data.get(ITEM_SEARCH)).getID())) {
|
((ContentItem) data.get(ITEM_SEARCH)).getID())) {
|
||||||
throw new FormProcessException("Link target is the same as this object.");
|
throw new FormProcessException(GlobalizationUtil.globalize(
|
||||||
|
"cms.contenttypes.ui.false_link_target"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue