From: rohieb Date: Sat, 13 Sep 2008 14:38:43 +0000 (+0200) Subject: fixed translation: if it is not granted at all, the admin privilege does _not_ apply... X-Git-Tag: REL_8.09.13~4 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/9ed072d010d10c1a6dfe98d2da03a75ba7e13a8b fixed translation: if it is not granted at all, the admin privilege does _not_ apply to all users but to no users --- diff --git a/inc/mod_roomReservationConfigPage.inc b/inc/mod_roomReservationConfigPage.inc index 46ce45a..4477ff2 100644 --- a/inc/mod_roomReservationConfigPage.inc +++ b/inc/mod_roomReservationConfigPage.inc @@ -123,7 +123,7 @@ class mod_roomReservationConfigPage extends mod_roomReservationPage { echo "\n"; echo sprintf("%s%s%s\n", icon("keys"), _("Administration of the room reservation schedule"), - $asAdminGroups == array() ? _c("room-reservation:all users") : + $asAdminGroups == array() ? _c("room-reservation:no users") : icon("act-group") . join(", ", array_map("getGroupName", $asAdminGroups))); echo "

\n"; _GroupBox(); diff --git a/lang/mod_room-reservation.po b/lang/mod_room-reservation.po index 5999605..a89370d 100644 --- a/lang/mod_room-reservation.po +++ b/lang/mod_room-reservation.po @@ -200,6 +200,9 @@ msgstr "room-reservation:Hier die Zeitstunden der Buchungszeiträume eingeben. " msgid "room-reservation:all users" msgstr "room-reservation:alle Benutzer" +msgid "room-reservation:no users" +msgstr "room-reservation:keine Benutzer" + msgid "room-reservation:Periods" msgstr "room-reservation:Zeitabschnitte"