Make `wcf.global.button.delete.confirmMessage` globally available in JS code
authorMatthias Schmidt <gravatronics@live.com>
Mon, 22 Mar 2021 11:45:18 +0000 (12:45 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Mon, 22 Mar 2021 11:45:18 +0000 (12:45 +0100)
com.woltlab.wcf/templates/headIncludeJavaScript.tpl
wcfsetup/install/files/acp/templates/header.tpl

index ae8b25ec12c2ed25ec14be962e76b0d387a5ed6a..84fbd71fc57b6c7a6536bf2a1099dfdf3cca25a7 100644 (file)
@@ -74,6 +74,7 @@ window.addEventListener('pageshow', function(event) {
                        'wcf.global.button.close': '{jslang}wcf.global.button.close{/jslang}',
                        'wcf.global.button.collapsible': '{jslang}wcf.global.button.collapsible{/jslang}',
                        'wcf.global.button.delete': '{jslang}wcf.global.button.delete{/jslang}',
+                       'wcf.global.button.delete.confirmMessage': : '{jslang __literal=true}wcf.global.button.delete.confirmMessage{/jslang}',
                        'wcf.global.button.disable': '{jslang}wcf.global.button.disable{/jslang}',
                        'wcf.global.button.disabledI18n': '{jslang}wcf.global.button.disabledI18n{/jslang}',
                        'wcf.global.button.edit': '{jslang}wcf.global.button.edit{/jslang}',
index 33b7e5c9f422975a148b98d0004e1b3345d158da..020cc60037b2bb19377abfff0e009be5cc3d0b6b 100644 (file)
@@ -92,6 +92,7 @@
                                'wcf.global.button.close': '{jslang}wcf.global.button.close{/jslang}',
                                'wcf.global.button.collapsible': '{jslang}wcf.global.button.collapsible{/jslang}',
                                'wcf.global.button.delete': '{jslang}wcf.global.button.delete{/jslang}',
+                               'wcf.global.button.delete.confirmMessage': : '{jslang __literal=true}wcf.global.button.delete.confirmMessage{/jslang}',
                                'wcf.global.button.disable': '{jslang}wcf.global.button.disable{/jslang}',
                                'wcf.global.button.disabledI18n': '{jslang}wcf.global.button.disabledI18n{/jslang}',
                                'wcf.global.button.edit': '{jslang}wcf.global.button.edit{/jslang}',