Use `jslang` in templates instead of `lang`
authorMatthias Schmidt <gravatronics@live.com>
Tue, 19 Jan 2021 08:10:43 +0000 (09:10 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 19 Jan 2021 08:10:43 +0000 (09:10 +0100)
wcfsetup/install/files/acp/templates/userMail.tpl
wcfsetup/install/files/acp/templates/userRankList.tpl

index a9de7937d18e818704bcee5c5ab19ab9a358d892..60b0fdb3c207342975f7bbde011eb913c1782d47 100644 (file)
@@ -11,7 +11,7 @@
 {if $mailID|isset}
        <script data-relocate="true">
                require(['Language', 'WoltLabSuite/Core/Acp/Ui/Worker'], function (Language, AcpUiWorker) {
-                       Language.add('wcf.acp.worker.abort.confirmMessage', '{lang}wcf.acp.worker.abort.confirmMessage{/lang}');
+                       Language.add('wcf.acp.worker.abort.confirmMessage', '{jslang}wcf.acp.worker.abort.confirmMessage{/jslang}');
                        
                        new AcpUiWorker({
                                dialogId: 'mail',
index e4dab4c486e155603dafde6c87e0f357e0af335a..9f418b423a935773ecbacfa0e20e64cc36b924db 100644 (file)
@@ -6,7 +6,7 @@
        });
        
        require(['Language', 'Ui/Notification', 'WoltLabSuite/Core/Acp/Ui/Worker'], function (Language, UiNotification, AcpUiWorker) {
-               Language.add('wcf.acp.worker.abort.confirmMessage', '{lang}wcf.acp.worker.abort.confirmMessage{/lang}');
+               Language.add('wcf.acp.worker.abort.confirmMessage', '{jslang}wcf.acp.worker.abort.confirmMessage{/jslang}');
                
                document.getElementById('updateEvents').addEventListener('click', function (event) {
                        event.preventDefault();