From: Alexander Ebert Date: Thu, 11 Sep 2014 12:09:56 +0000 (+0200) Subject: Added missing phrases X-Git-Tag: 2.1.0_Alpha_1~344^2~20 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aa6843e7ede3fbc38860238024a9016c0d1ae146;p=GitHub%2FWoltLab%2FWCF.git Added missing phrases --- diff --git a/com.woltlab.wcf/templates/wysiwyg.tpl b/com.woltlab.wcf/templates/wysiwyg.tpl index 78ea361cd7..ea8e7153b3 100644 --- a/com.woltlab.wcf/templates/wysiwyg.tpl +++ b/com.woltlab.wcf/templates/wysiwyg.tpl @@ -9,9 +9,12 @@ $(function() { 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}' }); diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontfamily.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontfamily.js index 00d4976183..747459cac3 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontfamily.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontfamily.js @@ -14,7 +14,7 @@ RedactorPlugins.wfontfamily = { 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); diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontsize.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontsize.js index a17338d57d..f822b3419f 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontsize.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontsize.js @@ -14,7 +14,7 @@ RedactorPlugins.wfontsize = { 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); diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index b602854779..7865f6effc 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -1677,6 +1677,8 @@ Erlaubte Dateiendungen: {', '|implode:$attachmentHandler->getFormattedAllowedExt + + @@ -1701,6 +1703,7 @@ Erlaubte Dateiendungen: {', '|implode:$attachmentHandler->getFormattedAllowedExt + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 336435d295..f47f2185ee 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1675,6 +1675,8 @@ Allowed extensions: {', '|implode:$attachmentHandler->getFormattedAllowedExtensi + + @@ -1699,6 +1701,7 @@ Allowed extensions: {', '|implode:$attachmentHandler->getFormattedAllowedExtensi +