From 40645848574054bdcb534dace33990b250e5ea21 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 12 Aug 2015 19:03:08 +0200 Subject: [PATCH] Fix image upload error message --- wcfsetup/install/files/acp/templates/styleAdd.tpl | 3 ++- wcfsetup/install/lang/en.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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]]> - + -- 2.20.1