Fix JS language item being parsed by PHP instead of JS
authorMatthias Schmidt <gravatronics@live.com>
Wed, 31 Jul 2019 15:49:53 +0000 (17:49 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Wed, 31 Jul 2019 15:49:53 +0000 (17:49 +0200)
See e0acf52f22be4b387279a272bbb7dadf5c139da9

com.woltlab.wcf/templates/uploadFieldComponent.tpl
wcfsetup/install/files/acp/templates/uploadFieldComponent.tpl

index 927cf8249a176207e345a4fb50b1f4c16faa8e37..fbf0c328593098572a9f9ba40377e6d029e35fbc 100644 (file)
@@ -35,7 +35,7 @@
 <script data-relocate="true">
        require(['WoltLabSuite/Core/Ui/File/Upload', 'Language'], function(Upload, Language) {
                Language.addObject({
-                       'wcf.upload.error.reachedRemainingLimit': '{lang}wcf.upload.error.reachedRemainingLimit{/lang}',
+                       'wcf.upload.error.reachedRemainingLimit': '{lang __literal=true}wcf.upload.error.reachedRemainingLimit{/lang}',
                        'wcf.upload.error.noImage': '{lang}wcf.upload.error.noImage{/lang}'
                });
                
index 927cf8249a176207e345a4fb50b1f4c16faa8e37..fbf0c328593098572a9f9ba40377e6d029e35fbc 100644 (file)
@@ -35,7 +35,7 @@
 <script data-relocate="true">
        require(['WoltLabSuite/Core/Ui/File/Upload', 'Language'], function(Upload, Language) {
                Language.addObject({
-                       'wcf.upload.error.reachedRemainingLimit': '{lang}wcf.upload.error.reachedRemainingLimit{/lang}',
+                       'wcf.upload.error.reachedRemainingLimit': '{lang __literal=true}wcf.upload.error.reachedRemainingLimit{/lang}',
                        'wcf.upload.error.noImage': '{lang}wcf.upload.error.noImage{/lang}'
                });