From 7c7fc4b361fd583a834695e43b80c97a84fee656 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 8 Aug 2024 12:26:25 +0000
Subject: [PATCH] adjust wording, fixes #4469

Closes #4469

Merge request studip/studip!3258
---
 app/controllers/course/contentmodules.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/controllers/course/contentmodules.php b/app/controllers/course/contentmodules.php
index d1ac7b48b37..2d4268fc498 100644
--- a/app/controllers/course/contentmodules.php
+++ b/app/controllers/course/contentmodules.php
@@ -51,10 +51,10 @@ class Course_ContentmodulesController extends AuthenticatedController
                 $this->categories[] = $module['category'];
             }
             if (!$module['category']) {
-                if (!in_array(_('Sonstige'), $this->categories)) {
-                    $this->categories[] = _('Sonstige');
+                if (!in_array(_('Sonstiges'), $this->categories)) {
+                    $this->categories[] = _('Sonstiges');
                 }
-                $this->modules[$i]['category'] = _('Sonstige');
+                $this->modules[$i]['category'] = _('Sonstiges');
             }
         }
         sort($this->categories);
-- 
GitLab