From: Matthias Schmidt Date: Wed, 12 Aug 2015 17:03:08 +0000 (+0200) Subject: Fix image upload error message X-Git-Tag: 2.1.7~37 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40645848574054bdcb534dace33990b250e5ea21;p=GitHub%2FWoltLab%2FWCF.git Fix image upload error message --- diff --git a/wcfsetup/install/files/acp/templates/styleAdd.tpl b/wcfsetup/install/files/acp/templates/styleAdd.tpl index 23da836782..1313e8c633 100644 --- a/wcfsetup/install/files/acp/templates/styleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/styleAdd.tpl @@ -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/'); diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 0a5e6dd7c4..b39902075e 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -1482,7 +1482,7 @@ GmbH=Gesellschaft mit beschränkter Haftung]]> - +