Move `$event->preload('wcf.global.button.replace');` up
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 4 Jul 2024 07:33:31 +0000 (09:33 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 4 Jul 2024 07:33:31 +0000 (09:33 +0200)
wcfsetup/install/files/lib/system/event/listener/PreloadPhrasesCollectingListener.class.php

index 486abbd89591b33840329e9f5af83bb6fed75805..eab6ba99d9689cb835e55808aea25af215ac23b9 100644 (file)
@@ -79,6 +79,7 @@ final class PreloadPhrasesCollectingListener
         $event->preload('wcf.global.button.showMenu');
         $event->preload('wcf.global.button.submit');
         $event->preload('wcf.global.button.upload');
+        $event->preload('wcf.global.button.replace');
 
         $event->preload('wcf.global.confirmation.cancel');
         $event->preload('wcf.global.confirmation.confirm');
@@ -109,7 +110,6 @@ final class PreloadPhrasesCollectingListener
         $event->preload('wcf.global.success');
         $event->preload('wcf.global.success.add');
         $event->preload('wcf.global.success.edit');
-        $event->preload('wcf.global.button.replace');
 
         $event->preload('wcf.global.rss.accessToken.info');
         $event->preload('wcf.global.rss.copy');