From: Alexander Ebert Date: Fri, 16 Sep 2011 11:25:39 +0000 (+0200) Subject: Fixed usage of language variable in JS X-Git-Tag: 2.0.0_Beta_1~1765^2~3 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e1dc4e5c1567048603c33b44fd2676906a6994c;p=GitHub%2FWoltLab%2FWCF.git Fixed usage of language variable in JS --- diff --git a/wcfsetup/install/files/acp/js/WCF.ACP.js b/wcfsetup/install/files/acp/js/WCF.ACP.js index c33d1956e2..09e256cb51 100644 --- a/wcfsetup/install/files/acp/js/WCF.ACP.js +++ b/wcfsetup/install/files/acp/js/WCF.ACP.js @@ -206,7 +206,7 @@ WCF.ACP.PackageInstallation.prototype = { // handle success if ($data.step == 'success') { var $id = WCF.getRandomID(); - $('#packageInstallationInnerContent').append('
'); + $('#packageInstallationInnerContent').append('
'); $('#' + $id).click($.proxy(function() { window.location.href = "index.php?page=PackageList" + SID_ARG_2ND; @@ -234,7 +234,7 @@ WCF.ACP.PackageInstallation.prototype = { // create button to handle next step if ($data.step && $data.node) { var $id = WCF.getRandomID(); - $('#packageInstallationInnerContent').append('
'); + $('#packageInstallationInnerContent').append('
'); $('#' + $id).click($.proxy(function() { // collect form values @@ -627,4 +627,4 @@ WCF.ACP.Worker.prototype = { this._dialog.wcfDialog('redraw'); } } -}; \ No newline at end of file +}; diff --git a/wcfsetup/install/files/acp/templates/header.tpl b/wcfsetup/install/files/acp/templates/header.tpl index e2107f7492..957de57765 100644 --- a/wcfsetup/install/files/acp/templates/header.tpl +++ b/wcfsetup/install/files/acp/templates/header.tpl @@ -56,6 +56,7 @@ {/if} WCF.Language.addObject({ + 'wcf.global.button.next': '{lang}wcf.global.button.next{/lang}', 'wcf.global.loading': '{lang}wcf.global.loading{/lang}', 'wcf.global.date.relative.minutes': '{capture assign=relativeMinutes}{lang}wcf.global.date.relative.minutes{/lang}{/capture}{@$relativeMinutes|encodeJS}', 'wcf.global.date.relative.hours': '{capture assign=relativeHours}{lang}wcf.global.date.relative.hours{/lang}{/capture}{@$relativeHours|encodeJS}', @@ -168,4 +169,4 @@
- \ No newline at end of file +