'wcf.editor.link.add': '{lang}wcf.editor.link.add{/lang}',
'wcf.editor.link.edit': '{lang}wcf.editor.link.edit{/lang}',
+ 'wcf.editor.link.error.invalid': '{lang}wcf.editor.link.error.invalid{/lang}',
'wcf.editor.link.url': '{lang}wcf.editor.link.url{/lang}',
'wcf.editor.link.text': '{lang}wcf.editor.link.text{/lang}',
'wcf.editor.link.add': '{lang}wcf.editor.link.add{/lang}',
'wcf.editor.link.edit': '{lang}wcf.editor.link.edit{/lang}',
+ 'wcf.editor.link.error.invalid': '{lang}wcf.editor.link.error.invalid{/lang}',
'wcf.editor.link.url': '{lang}wcf.editor.link.url{/lang}',
'wcf.editor.link.text': '{lang}wcf.editor.link.text{/lang}',
if (small === null) {
small = elCreate('small');
small.className = 'innerError';
- small.textContent = Language.get('wcf.global.form.error.empty');
url.parentNode.appendChild(small);
}
+
+ small.textContent = Language.get((url.value.trim() === '' ? 'wcf.global.form.error.empty' : 'wcf.editor.link.error.invalid'));
}
},
<item name="wcf.editor.link.add"><![CDATA[Link einfügen]]></item>
<item name="wcf.editor.link.edit"><![CDATA[Link bearbeiten]]></item>
+ <item name="wcf.editor.link.error.invalid"><![CDATA[Der eingegebene Link ist ungültig.]]></item>
<item name="wcf.editor.link.unlink"><![CDATA[Link entfernen]]></item>
<item name="wcf.editor.link.url"><![CDATA[Link]]></item>
<item name="wcf.editor.link.text"><![CDATA[Text]]></item>
<item name="wcf.editor.link.add"><![CDATA[Insert Link]]></item>
<item name="wcf.editor.link.edit"><![CDATA[Edit Link]]></item>
+ <item name="wcf.editor.link.error.invalid"><![CDATA[You have entered an invalid link.]]></item>
<item name="wcf.editor.link.unlink"><![CDATA[Unlink]]></item>
<item name="wcf.editor.link.url"><![CDATA[Link]]></item>
<item name="wcf.editor.link.text"><![CDATA[Text]]></item>