Added missing language variables
authorMarcel Werk <burntime@woltlab.com>
Thu, 28 Feb 2013 20:06:31 +0000 (21:06 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 28 Feb 2013 20:06:31 +0000 (21:06 +0100)
Closes #1153

wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/files/js/WCF.ColorPicker.js
wcfsetup/install/lang/de.xml

index 022c13faef46cf2495fca2d11bdb7ceb97789181..7e3c0cf5807cd7421700137bd9bfcbb98b2abc73 100644 (file)
                useFluidLayout();
                
                WCF.Language.addObject({
-                       'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}'
+                       'wcf.global.button.upload': '{lang}wcf.global.button.upload{/lang}',
+                       'wcf.style.colorPicker': '{lang}wcf.style.colorPicker{/lang}',
+                       'wcf.style.colorPicker.new': '{lang}wcf.style.colorPicker.new{/lang}',
+                       'wcf.style.colorPicker.current': '{lang}wcf.style.colorPicker.current{/lang}'
                });
                new WCF.ACP.Style.ImageUpload(0, '{$tmpHash}');
                
index 8d478da30682f80ea4100aad247ee266a631da07..5a6808025702bce424aed414848fc0a887a75f2a 100644 (file)
@@ -245,7 +245,7 @@ WCF.ColorPicker = Class.extend({
                
                // submit button
                var $submitForm = $('<div class="formSubmit" />').appendTo(this._dialog);
-               $('<button class="buttonPrimary">' + WCF.Language.get('wcf.global.button.submit') + '</button>').appendTo($submitForm).click($.proxy(this._submit, this));
+               $('<button class="buttonPrimary">' + WCF.Language.get('wcf.global.button.save') + '</button>').appendTo($submitForm).click($.proxy(this._submit, this));
        },
        
        /**
index bab64458f6f214d4b17918d0e7d6197e7b7cc519..ffca7402e008fff5b1f19a5b9ea51a6d1b58cbe3 100644 (file)
        
        <category name="wcf.style">
                <item name="wcf.style.changeStyle"><![CDATA[Stil ändern]]></item>
+               <item name="wcf.style.colorPicker"><![CDATA[Farbwähler]]></item>
+               <item name="wcf.style.colorPicker.new"><![CDATA[neu]]></item>
+               <item name="wcf.style.colorPicker.current"><![CDATA[aktuell]]></item>
        </category>
        
        <category name="wcf.user">