Fixes issue with apparently missing language item in remove report dialog
authorMatthias Schmidt <gravatronics@live.com>
Sun, 28 Jul 2013 22:00:31 +0000 (00:00 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 28 Jul 2013 22:00:31 +0000 (00:00 +0200)
com.woltlab.wcf/templates/moderationReport.tpl
wcfsetup/install/lang/de.xml

index 91c1e317c2998e871f2b8bc2217ae840e2968f34..0a1acab8ec0e0116eff8c4e8818f0b4485914195 100644 (file)
@@ -9,13 +9,13 @@
        <script>
                //<![CDATA[
                $(function() {
-                       new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList'}{/link}');
-                       
                        WCF.Language.addObject({
                                'wcf.moderation.report.removeContent.confirmMessage': '{lang}wcf.moderation.report.removeContent.confirmMessage{/lang}',
                                'wcf.moderation.report.removeContent.reason': '{lang}wcf.moderation.report.removeContent.reason{/lang}',
                                'wcf.moderation.report.removeReport.confirmMessage': '{lang}wcf.moderation.report.removeReport.confirmMessage{/lang}'
                        });
+                       
+                       new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList'}{/link}');
                });
                //]]>
        </script>
index f7c8e7a1a539af5b420f31264addfaa9cd9fbf21..08f16f031f5daa4ba170ba03751c2802d363eb3d 100644 (file)
@@ -1792,7 +1792,7 @@ Erlaubte Dateiendungen: {', '|implode:$attachmentHandler->getAllowedExtensions()
                <item name="wcf.moderation.report.reportedContent"><![CDATA[Gemeldeter Inhalt]]></item>
                <item name="wcf.moderation.report.success"><![CDATA[Der Inhalt wurde den Moderatoren gemeldet.]]></item>
        </category>
-               
+       
        <category name="wcf.page">
                <item name="wcf.page.pageNo"><![CDATA[Seite {#$pageNo}]]></item>
                <item name="wcf.page.offline"><![CDATA[Die Seite befindet sich zurzeit {if OFFLINE_MESSAGE != ''}aus folgenden GrĂ¼nden im Wartungsmodus:{else}im Wartungsmodus.{/if}]]></item>