Added missing phrases
authorAlexander Ebert <ebert@woltlab.com>
Thu, 11 Sep 2014 12:09:56 +0000 (14:09 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 11 Sep 2014 12:09:56 +0000 (14:09 +0200)
com.woltlab.wcf/templates/wysiwyg.tpl
wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontfamily.js
wcfsetup/install/files/js/3rdParty/redactor/plugins/wfontsize.js
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 78ea361cd7817d3fc165d355711a2fe0ed6e7310..ea8e7153b3904dc1d111ad8458d3aa0f9a09d61f 100644 (file)
@@ -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}'
        });
index 00d4976183e60eeaa2533408d1d2cdfea7396bbd..747459cac384034e7e3b242403456e6daa3c79c6 100644 (file)
@@ -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);
index a17338d57de41efb76fab7aeb7fbcb251458966b..f822b3419f582730c8bd0500917812dc43d113a9 100644 (file)
@@ -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);
index b6028547799e8e2f587cff967718019730fc25f8..7865f6effc8a65d94308d7012ea0b9a5f9b2d7a4 100644 (file)
@@ -1677,6 +1677,8 @@ Erlaubte Dateiendungen: {', '|implode:$attachmentHandler->getFormattedAllowedExt
        
        <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>
@@ -1701,6 +1703,7 @@ Erlaubte Dateiendungen: {', '|implode:$attachmentHandler->getFormattedAllowedExt
                <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>
index 336435d29526bdee8f9b2c96499ca842153372f7..f47f2185eea871c8a8fccb39e56d97cb258179a7 100644 (file)
@@ -1675,6 +1675,8 @@ Allowed extensions: {', '|implode:$attachmentHandler->getFormattedAllowedExtensi
        
        <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>
@@ -1699,6 +1701,7 @@ Allowed extensions: {', '|implode:$attachmentHandler->getFormattedAllowedExtensi
                <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>