Makes missing language item available in JavaScript code
authorMatthias Schmidt <gravatronics@live.com>
Wed, 9 Oct 2013 15:55:40 +0000 (17:55 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 9 Oct 2013 15:55:40 +0000 (17:55 +0200)
wcfsetup/install/files/acp/templates/rebuildData.tpl

index a0378e36370b8d916817cde229afa4aaf4c61000..795fdf58c997beec2410a5a895716267417c4c5c 100644 (file)
@@ -1,5 +1,13 @@
 {include file='header' pageTitle='wcf.acp.rebuildData'}
 
+<script data-relocate="true">
+       //<![CDATA[
+               $(function() {
+                       WCF.Language.add('wcf.acp.worker.abort.confirmMessage', '{lang}wcf.acp.worker.abort.confirmMessage{/lang}');
+               });
+       //]]>
+</script>
+
 <header class="boxHeadline">
        <h1>{lang}wcf.acp.rebuildData{/lang}</h1>
 </header>
@@ -58,4 +66,4 @@
        {/hascontent}
 </div>
 
-{include file='footer'}
\ No newline at end of file
+{include file='footer'}