WCF.Language.addObject({
'wcf.attachment.dragAndDrop.dropHere': '{lang}wcf.attachment.dragAndDrop.dropHere{/lang}',
'wcf.attachment.dragAndDrop.dropNow': '{lang}wcf.attachment.dragAndDrop.dropNow{/lang}',
+ 'wcf.bbcode.button.fontFamily': '{lang}wcf.bbcode.button.fontFamily{/lang}',
+ 'wcf.bbcode.button.fontSize': '{lang}wcf.bbcode.button.fontSize{/lang}',
'wcf.bbcode.quote.edit': '{lang}wcf.bbcode.quote.edit{/lang}',
'wcf.bbcode.quote.edit.author': '{lang}wcf.bbcode.quote.edit.author{/lang}',
'wcf.bbcode.quote.edit.link': '{lang}wcf.bbcode.quote.edit.link{/lang}',
+ 'wcf.bbcode.quote.insert': '{lang}wcf.bbcode.quote.insert{/lang}',
'wcf.bbcode.quote.title.clickToSet': '{lang}wcf.bbcode.quote.title.clickToSet{/lang}',
'wcf.bbcode.quote.title.javascript': '{lang}wcf.bbcode.quote.title.javascript{/lang}'
});
init: function () {
var $dropdown = this._createFontFamilyDropdown();
- this.buttonReplace('fontfamily', 'wfontfamily', this.opts.curLang.fontfamily, $.proxy(function(btnName, $button, btnObject, e) {
+ this.buttonReplace('fontfamily', 'wfontfamily', WCF.Language.get('wcf.bbcode.button.fontFamily'), $.proxy(function(btnName, $button, btnObject, e) {
this.dropdownShow(e, btnName);
}, this));
this.buttonGet('wfontfamily').addClass('re-fontfamily').data('dropdown', $dropdown);
init: function () {
var $dropdown = this._createFontSizeDropdown();
- this.buttonReplace('fontsize', 'wfontsize', this.opts.curLang.fontsize, $.proxy(function(btnName, $button, btnObject, e) {
+ this.buttonReplace('fontsize', 'wfontsize', WCF.Language.get('wcf.bbcode.button.fontSize'), $.proxy(function(btnName, $button, btnObject, e) {
this.dropdownShow(e, btnName);
}, this));
this.buttonGet('wfontsize').addClass('re-fontsize').data('dropdown', $dropdown);
<category name="wcf.bbcode">
<item name="wcf.bbcode.button.code"><![CDATA[Code]]></item>
+ <item name="wcf.bbcode.button.fontFamily"><![CDATA[Schriftart]]></item>
+ <item name="wcf.bbcode.button.fontSize"><![CDATA[Schriftgröße]]></item>
<item name="wcf.bbcode.button.inlineCode"><![CDATA[Inline-Code]]></item>
<item name="wcf.bbcode.button.quote"><![CDATA[Zitat]]></item>
<item name="wcf.bbcode.button.showAll"><![CDATA[Alles anzeigen]]></item>
<item name="wcf.bbcode.quote.edit"><![CDATA[Zitat bearbeiten]]></item>
<item name="wcf.bbcode.quote.edit.author"><![CDATA[Autor]]></item>
<item name="wcf.bbcode.quote.edit.link"><![CDATA[Quelle]]></item>
+ <item name="wcf.bbcode.quote.insert"><![CDATA[Zitat einfügen]]></item>
<item name="wcf.bbcode.quote.title"><![CDATA[{@$quoteAuthor} schrieb:]]></item>
<item name="wcf.bbcode.quote.title.clickToSet"><![CDATA[(Klicken um eine Quelle anzugeben)]]></item>
<item name="wcf.bbcode.quote.title.javascript"><![CDATA[{literal}{$quoteAuthor} schrieb:{/literal}]]></item>
<category name="wcf.bbcode">
<item name="wcf.bbcode.button.code"><![CDATA[Code]]></item>
+ <item name="wcf.bbcode.button.fontFamily"><![CDATA[Font Family]]></item>
+ <item name="wcf.bbcode.button.fontSize"><![CDATA[Font Size]]></item>
<item name="wcf.bbcode.button.inlineCode"><![CDATA[Inline-Code]]></item>
<item name="wcf.bbcode.button.quote"><![CDATA[Quote]]></item>
<item name="wcf.bbcode.button.showAll"><![CDATA[Show All]]></item>
<item name="wcf.bbcode.quote.edit"><![CDATA[Edit Quote]]></item>
<item name="wcf.bbcode.quote.edit.author"><![CDATA[Author]]></item>
<item name="wcf.bbcode.quote.edit.link"><![CDATA[Source]]></item>
+ <item name="wcf.bbcode.quote.insert"><![CDATA[Insert Quote]]></item>
<item name="wcf.bbcode.quote.title"><![CDATA[{@$quoteAuthor} wrote:]]></item>
<item name="wcf.bbcode.quote.title.clickToSet"><![CDATA[(Click to set source)]]></item>
<item name="wcf.bbcode.quote.title.javascript"><![CDATA[{literal}{$quoteAuthor} wrote:{/literal}]]></item>