From: Alexander Ebert Date: Fri, 2 Mar 2012 21:05:07 +0000 (+0100) Subject: Fixed hard-coded sentence X-Git-Tag: 2.0.0_Beta_1~1266 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=79d0d1b4a4ce19e7694b19f38a792116b90b6483;p=GitHub%2FWoltLab%2FWCF.git Fixed hard-coded sentence --- diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index 608061a6bd..289f209414 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -70,7 +70,8 @@ 'wcf.global.button.enable': '{lang}wcf.global.button.enable{/lang}', 'wcf.global.confirmation.cancel': '{lang}wcf.global.confirmation.cancel{/lang}', 'wcf.global.confirmation.confirm': '{lang}wcf.global.confirmation.confirm{/lang}', - 'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}' + 'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}', + 'wcf.global.form.edit.success': '{lang}wcf.global.form.edit.success{/lang}' }); WCF.Icon.addObject({ 'wcf.icon.loading': '{if PACKAGE_ID}{@$__wcf->getPath()}{else}wcf/{/if}icon/spinner1.svg' diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index ab0d2ddfd3..88110e596e 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -4268,7 +4268,7 @@ WCF.Sortable.List.prototype = { */ _success: function(data, textStatus, jqXHR) { if (this._notification === null) { - this._notification = new WCF.System.Notification('Ihre Änderungen wurden gespeichert.'); + this._notification = new WCF.System.Notification(WCF.Language.get('wcf.global.form.edit.success')); } this._notification.show();