From 9ed072d010d10c1a6dfe98d2da03a75ba7e13a8b Mon Sep 17 00:00:00 2001 From: rohieb Date: Sat, 13 Sep 2008 16:38:43 +0200 Subject: [PATCH] fixed translation: if it is not granted at all, the admin privilege does _not_ apply to all users but to no users --- inc/mod_roomReservationConfigPage.inc | 2 +- lang/mod_room-reservation.po | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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" -- 2.20.1