diff --git a/app/views/settings/privacy.php b/app/views/settings/privacy.php index f01ddf154ce05e002cbd09fb52c483d5fbfd488b..fd1f776de507d66b9223d9a39e803f133a6aaa8b 100644 --- a/app/views/settings/privacy.php +++ b/app/views/settings/privacy.php @@ -27,7 +27,7 @@ use Studip\Button, Studip\LinkButton; <select name="global_visibility" aria-describedby="global_vis_description" id="global_vis"> <?php if (count($user_domains)) { - printf("<option %s value=\"global\">" . _('sichtbar für alle Nutzer') . "</option>", $global_visibility === 'global' ? 'selected="selected"' : ''); + printf("<option %s value=\"global\">" . _('sichtbar für alle Nutzenden') . "</option>", $global_visibility === 'global' ? 'selected="selected"' : ''); $visible_text = _('sichtbar für eigene Nutzerdomäne'); } else { $visible_text = _('sichtbar'); @@ -38,11 +38,11 @@ use Studip\Button, Studip\LinkButton; </select> <? else: ?> <? if ($global_visibility === 'never'): ?> - <em><?= _('Ihre Kennung wurde von einem Administrator unsichtbar geschaltet.') ?></em> + <em><?= _('Sie sind unsichtbar (durch Administrator/in eingestellt).') ?></em> <? elseif ($user_perm == 'dozent' && Config::get()->DOZENT_ALWAYS_VISIBLE): ?> <em><?= _('Sie haben Lehrendenrechte und sind daher immer global sichtbar.') ?></em> <? else: ?> - <em><?= _('Sie sind immer global sichtbar.') ?></em> + <em><?= _('Sie sind immer global sichtbar (durch Administrator/in eingestellt).') ?></em> <? endif; ?> <input type="hidden" name="global_visibility" value="<?= $global_visibility ?>"> <? endif; ?> diff --git a/lib/user_visible.inc.php b/lib/user_visible.inc.php index fbb64c73820b39bf2dc7a03a5dbd9683e5e60e70..5de2a073664568a2a9798aaa8c996876163c24df 100644 --- a/lib/user_visible.inc.php +++ b/lib/user_visible.inc.php @@ -207,12 +207,12 @@ function vis_chooser($vis, $new = false, $id = false) { } $txt = []; $txt[] = sprintf('<select name="visible"%s>', $id ? 'id="' . htmlReady($id) . '"' : ''); - $txt[] = '<option value="global"'.($vis === "global" ? " selected" : "").'>'._("global").'</option>'; - $txt[] = '<option value="always"'.($vis === "always" ? " selected" : "").'>'._("immer").'</option>'; - $txt[] = '<option value="yes"'.($vis === "yes" ? " selected" : "").'>'._("ja").'</option>'; - $txt[] = '<option value="unknown"'.(($new || $vis === "unknown") ? ' selected="selected"':'').'>'._("unbekannt").'</option>'; - $txt[] = '<option value="no"'.($vis === "no" ? " selected" : "").'>'._("nein").'</option>'; - $txt[] = '<option value="never"'.($vis === "never" ? " selected" : "").'>'._("niemals").'</option>'; + $txt[] = '<option value="unknown"'.(($new || $vis === "unknown") ? ' selected="selected"':'').'>'._("Standardeinstellung").'</option>'; + $txt[] = '<option value="global"'.($vis === "global" ? " selected" : "").'>'._("sichtbar für alle Nutzenden").'</option>'; + $txt[] = '<option value="yes"'.($vis === "yes" ? " selected" : "").'>'._("sichtbar für eigene Nutzerdomäne").'</option>'; + $txt[] = '<option value="no"'.($vis === "no" ? " selected" : "").'>'._("unsichtbar").'</option>'; + $txt[] = '<option value="always"'.($vis === "always" ? " selected" : "").'>'._("Sichtbarkeit erzwingen").'</option>'; + $txt[] = '<option value="never"'.($vis === "never" ? " selected" : "").'>'._("Unsichtbarkeit erzwingen").'</option>'; $txt[] = '</select>'; return implode("\n", $txt); }