From 79d0d1b4a4ce19e7694b19f38a792116b90b6483 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 2 Mar 2012 22:05:07 +0100 Subject: [PATCH] Fixed hard-coded sentence --- wcfsetup/install/files/acp/templates/header.tpl | 3 ++- wcfsetup/install/files/js/WCF.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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(); -- 2.20.1