Fix image upload error message
authorMatthias Schmidt <gravatronics@live.com>
Wed, 12 Aug 2015 17:03:08 +0000 (19:03 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 12 Aug 2015 17:03:13 +0000 (19:03 +0200)
wcfsetup/install/files/acp/templates/styleAdd.tpl
wcfsetup/install/lang/en.xml

index 23da836782f4f2eb03d2d385ab8a8d85156d7d05..1313e8c633edf0acdb11b7aa6abe47632caad65a 100644 (file)
@@ -31,7 +31,8 @@
                        '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}',
-                       'wcf.style.colorPicker.button.apply': '{lang}wcf.style.colorPicker.button.apply{/lang}'
+                       'wcf.style.colorPicker.button.apply': '{lang}wcf.style.colorPicker.button.apply{/lang}',
+                       'wcf.acp.style.image.error.invalidExtension': '{lang}wcf.acp.style.image.error.invalidExtension{/lang}'
                });
                new WCF.ACP.Style.ImageUpload({if $action == 'add'}0{else}{@$style->styleID}{/if}, '{$tmpHash}');
                new WCF.ACP.Style.LogoUpload('{$tmpHash}', '{@$__wcf->getPath()}images/');
index 0a5e6dd7c4f3f745971761eb6e0bb280bc166d84..b39902075e996a8044824ed968d27f4dd7b88850 100644 (file)
@@ -1482,7 +1482,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]></item>
                <item name="wcf.acp.style.styleVersion"><![CDATA[Version]]></item>
                <item name="wcf.acp.style.templateGroupID"><![CDATA[Template Group]]></item>
                <item name="wcf.acp.style.users"><![CDATA[Users]]></item>
-               <item name="wcf.acp.style.image.error.invalidExtension"><![CDATA[The file extensions is invalid.]]></item>
+               <item name="wcf.acp.style.image.error.invalidExtension"><![CDATA[The file extension is invalid.]]></item>
                <item name="wcf.acp.style.imagePath.error.notValid"><![CDATA[You have provided an invalid path.]]></item>
                <item name="wcf.acp.style.styleVersion.error.notValid"><![CDATA[You have provided an invalid version number.]]></item>
                <item name="wcf.acp.style.styleDate.error.notValid"><![CDATA[You have provided an invalid date.]]></item>