Add missing language item for moderation JavaScript
authorMatthias Schmidt <gravatronics@live.com>
Sun, 14 Dec 2014 19:48:24 +0000 (20:48 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 14 Dec 2014 19:48:24 +0000 (20:48 +0100)
com.woltlab.wcf/templates/moderationActivation.tpl
com.woltlab.wcf/templates/moderationReport.tpl
wcfsetup/install/files/lib/data/moderation/queue/ModerationQueueAction.class.php

index e28cb6d916fd7c3a0db75303ef61624ae04bb19e..3f2f572f5c85d4ded1725bdc8bda8bbab65f37c0 100644 (file)
@@ -15,7 +15,8 @@
                                'wcf.moderation.assignedUser.change': '{lang}wcf.moderation.assignedUser.change{/lang}',
                                'wcf.moderation.assignedUser.error.notAffected': '{lang}wcf.moderation.assignedUser.error.notAffected{/lang}',
                                'wcf.moderation.status.outstanding': '{lang}wcf.moderation.status.outstanding{/lang}',
-                               'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}'
+                               'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}',
+                               'wcf.user.username.error.notFound': '{lang __literal=true}wcf.user.username.error.notFound{/lang}'
                        });
                        
                        new WCF.Moderation.Activation.Management({@$queue->queueID}, '{link controller='ModerationList' encode=false}{/link}');
index e715365b3e127da0fdb988f192549a457e28f5a1..2b5df2482482f490f4ab13169e988a0b786670bb 100644 (file)
@@ -16,7 +16,8 @@
                                'wcf.moderation.report.removeContent.reason': '{lang}wcf.moderation.report.removeContent.reason{/lang}',
                                'wcf.moderation.report.removeReport.confirmMessage': '{lang}wcf.moderation.report.removeReport.confirmMessage{/lang}',
                                'wcf.moderation.status.outstanding': '{lang}wcf.moderation.status.outstanding{/lang}',
-                               'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}'
+                               'wcf.moderation.status.processing': '{lang}wcf.moderation.status.processing{/lang}',
+                               'wcf.user.username.error.notFound': '{lang __literal=true}wcf.user.username.error.notFound{/lang}'
                        });
                        
                        new WCF.Moderation.Report.Management({@$queue->queueID}, '{link controller='ModerationList' encode=false}{/link}');
index 551f8ed4660ff163f551f1c39c7c67cfe16ca80f..2cdfb2e849cec0810e7858bfba7da0d44fa6e5a3 100644 (file)
@@ -221,12 +221,12 @@ class ModerationQueueAction extends AbstractDatabaseObjectAction {
                
                if ($this->parameters['assignedUserID'] == -1) {
                        $this->readString('assignedUsername');
-                               
+                       
                        $this->user = User::getUserByUsername($this->parameters['assignedUsername']);
                        if (!$this->user->userID) {
                                throw new UserInputException('assignedUsername', 'notFound');
                        }
-                               
+                       
                        // get handler
                        $objectType = ObjectTypeCache::getInstance()->getObjectType($this->moderationQueueEditor->objectTypeID);
                        if (!$objectType->getProcessor()->isAffectedUser($this->moderationQueueEditor->getDecoratedObject(), $this->user->userID)) {