From 3107621cdf07a5b73a212d661cb516d0c53dd790 Mon Sep 17 00:00:00 2001 From: Thomas Hackl <hackl@data-quest.de> Date: Wed, 18 Aug 2021 11:58:29 +0200 Subject: [PATCH] change text for course visibility setting --- app/controllers/course/management.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/course/management.php b/app/controllers/course/management.php index 468e79fb81d..528db7e9896 100644 --- a/app/controllers/course/management.php +++ b/app/controllers/course/management.php @@ -82,7 +82,7 @@ class Course_ManagementController extends AuthenticatedController $is_visible = $course->visible; if ($course->isOpenEnded() || $course->end_semester->visible) { $actions->addLink( - _('Sichtbarkeit ändern') . ' (' . ($is_visible ? _('sichtbar') : _('unsichtbar')) . ')', + ($is_visible ? _('Veranstaltung verstecken') : _('Veranstaltung sichtbar schalten')), URLHelper::getURL($this->url_for('course/management/change_visibility'), ['studip_ticket' => Seminar_Session::get_ticket()]), Icon::create('visibility-' . ($is_visible ? 'visible' : 'invisible')) ); -- GitLab