From: Marcel Werk Date: Wed, 8 Aug 2012 12:06:27 +0000 (+0200) Subject: Fixed some attachment-relevant issues X-Git-Tag: 2.0.0_Beta_1~964 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b18bb1d5060b855fd95e8637f87ac30e75f3d9d2;p=GitHub%2FWoltLab%2FWCF.git Fixed some attachment-relevant issues --- diff --git a/com.woltlab.wcf/template/headInclude.tpl b/com.woltlab.wcf/template/headInclude.tpl index 2a69ea8c87..86938767f8 100644 --- a/com.woltlab.wcf/template/headInclude.tpl +++ b/com.woltlab.wcf/template/headInclude.tpl @@ -89,7 +89,9 @@ 'wcf.icon.arrow.up': '{icon size='S'}arrowUp{/icon}', 'wcf.icon.arrow.up.circle': '{icon size='S'}circleArrowUp{/icon}', 'wcf.icon.dropdown': '{icon size='S'}dropdown{/icon}', - 'wcf.icon.edit': '{icon size='S'}edit{/icon}' + 'wcf.icon.edit': '{icon size='S'}edit{/icon}', + 'wcf.icon.delete': '{icon size='S'}delete{/icon}', + 'wcf.icon.error': '{icon size='L'}errorRed{/icon}' {event name='javascriptIconImport'} }); diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index f181afdbbf..5fe3a86ef1 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -4852,7 +4852,7 @@ WCF.Upload = Class.extend({ if (this._supportsAJAXUpload) { this._fileUpload = $(''); this._fileUpload.change($.proxy(this._upload, this)); - var $button = $('

Upload

'); + var $button = $('

'+WCF.Language.get('wcf.global.button.upload')+'

'); $button.append(this._fileUpload); } else { diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index bb2f4634dc..2b29fa40e3 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -618,6 +618,7 @@ + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 2057381927..83d761fab2 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -585,6 +585,7 @@ +