Moved a single phrase to prevent issues w/ the WCF 2.0 event
authorAlexander Ebert <ebert@woltlab.com>
Sat, 7 Mar 2015 22:49:10 +0000 (23:49 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 7 Mar 2015 22:49:10 +0000 (23:49 +0100)
com.woltlab.wcf/templates/headInclude.tpl
com.woltlab.wcf/templates/headIncludeJavaScript.tpl

index b7e5786e20e08af493635556e9c023e861fe05dc..b8a792f3b970d8d2a130be08ea762ccd07816976 100644 (file)
@@ -14,6 +14,9 @@
 
 <script data-relocate="true">
        WCF.Language.addObject({
+               {* dummy language item to preserve compatibility with WCF 2.0, move this to headIncludeJavaScript *}
+               'wcf.global.error.title': '{lang}wcf.global.error.title{/lang}'
+               
                {* DEPRECATED -- PLEASE USE javascriptLanguageImport@headIncludeJavaScript *}
                {event name='javascriptLanguageImport'}
        });
index 921d0b595168705dc002287bd0167aedc167a84d..dacb6f49e735ab1a87bb86e4a77f3bac4dd8c83d 100644 (file)
@@ -88,7 +88,6 @@
                'wcf.global.confirmation.title': '{lang}wcf.global.confirmation.title{/lang}',
                'wcf.global.decimalPoint': '{capture assign=decimalPoint}{lang}wcf.global.decimalPoint{/lang}{/capture}{$decimalPoint|encodeJS}',
                'wcf.global.error.timeout': '{lang}wcf.global.error.timeout{/lang}',
-               'wcf.global.error.title': '{lang}wcf.global.error.title{/lang}',
                'wcf.global.form.error.empty': '{lang}wcf.global.form.error.empty{/lang}',
                'wcf.global.form.error.greaterThan': '{lang __literal=true}wcf.global.form.error.greaterThan{/lang}',
                'wcf.global.form.error.lessThan': '{lang __literal=true}wcf.global.form.error.lessThan{/lang}',