'wcf.editor.image.source': '{lang}wcf.editor.image.source{/lang}',
'wcf.editor.image.source.error.invalid': '{lang}wcf.editor.image.source.error.invalid{/lang}',
+ 'wcf.editor.link.add': '{lang}wcf.editor.link.add{/lang}',
+ 'wcf.editor.link.edit': '{lang}wcf.editor.link.edit{/lang}',
+ 'wcf.editor.link.url': '{lang}wcf.editor.link.url{/lang}',
+ 'wcf.editor.link.text': '{lang}wcf.editor.link.text{/lang}',
+
'wcf.editor.quote.author': '{lang}wcf.editor.quote.author{/lang}',
'wcf.editor.quote.edit': '{lang}wcf.editor.quote.edit{/lang}',
'wcf.editor.quote.title': '{lang __literal=true}wcf.editor.quote.title{/lang}',
showDialog: function(options) {
UiDialog.open(this);
- UiDialog.setTitle(this, Language.get('wcf.redactor.link.' + (options.insert ? 'add' : 'edit')));
+ UiDialog.setTitle(this, Language.get('wcf.editor.link.' + (options.insert ? 'add' : 'edit')));
var submitButton = elById('redactor-modal-button-action');
submitButton.textContent = Language.get('wcf.global.button.' + (options.insert ? 'insert' : 'save'));
}
},
source: '<dl>'
- + '<dt><label for="redactor-link-url">' + Language.get('wcf.redactor.link.url') + '</label></dt>'
+ + '<dt><label for="redactor-link-url">' + Language.get('wcf.editor.link.url') + '</label></dt>'
+ '<dd><input type="url" id="redactor-link-url" class="long"></dd>'
+ '</dl>'
+ '<dl>'
- + '<dt><label for="redactor-link-url-text">' + Language.get('wcf.redactor.link.text') + '</label></dt>'
+ + '<dt><label for="redactor-link-url-text">' + Language.get('wcf.editor.link.text') + '</label></dt>'
+ '<dd><input type="text" id="redactor-link-url-text" class="long"></dd>'
+ '</dl>'
+ '<div class="formSubmit">'
<item name="wcf.editor.image.source"><![CDATA[Quelle]]></item>
<item name="wcf.editor.image.source.error.invalid"><![CDATA[Der eingegebene Link ist ungültig.]]></item>
+ <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.url"><![CDATA[Link]]></item>
+ <item name="wcf.editor.link.text"><![CDATA[Text]]></item>
+
<item name="wcf.editor.quote.author"><![CDATA[Quelle]]></item>
<item name="wcf.editor.quote.edit"><![CDATA[Zitat bearbeiten]]></item>
<item name="wcf.editor.quote.title"><![CDATA[{if $author}Zitat von {$author}{else}Zitat{/if}]]></item>
<item name="wcf.editor.image.source"><![CDATA[Source]]></item>
<item name="wcf.editor.image.source.error.invalid"><![CDATA[You have entered an invalid link.]]></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.url"><![CDATA[Link]]></item>
+ <item name="wcf.editor.link.text"><![CDATA[Text]]></item>
+
<item name="wcf.editor.quote.author"><![CDATA[Source]]></item>
<item name="wcf.editor.quote.edit"><![CDATA[Edit Quote]]></item>
<item name="wcf.editor.quote.title"><![CDATA[{if $author}Quote from {$author}{else}Quote{/if}]]></item>