summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo
diff options
context:
space:
mode:
authorJannik Schönartz2017-11-30 13:00:02 +0100
committerJannik Schönartz2017-11-30 13:00:02 +0100
commit152e19a2efe8795c7e72d97e855273b6ae707f4a (patch)
tree559b89e4c8e911a0f8619b4891b45d8e516d7dc7 /modules-available/locationinfo
parent[locationinfo] Reworked summary-panel to the new panel uuid stuff. (diff)
parent[sessions] english text in en template (diff)
downloadslx-admin-152e19a2efe8795c7e72d97e855273b6ae707f4a.tar.gz
slx-admin-152e19a2efe8795c7e72d97e855273b6ae707f4a.tar.xz
slx-admin-152e19a2efe8795c7e72d97e855273b6ae707f4a.zip
[locationinfo] Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r--modules-available/locationinfo/lang/de/template-tags.json43
-rw-r--r--modules-available/locationinfo/lang/en/backend-hisinone.json6
-rw-r--r--modules-available/locationinfo/lang/en/template-tags.json48
-rw-r--r--modules-available/locationinfo/page.inc.php4
4 files changed, 58 insertions, 43 deletions
diff --git a/modules-available/locationinfo/lang/de/template-tags.json b/modules-available/locationinfo/lang/de/template-tags.json
index 265f3444..e647ceac 100644
--- a/modules-available/locationinfo/lang/de/template-tags.json
+++ b/modules-available/locationinfo/lang/de/template-tags.json
@@ -8,6 +8,7 @@
"lang_calendar": "Kalender",
"lang_calupdateTooltip": "Zeit nachdem der Kalender aktualisiert wird (in Minuten)",
"lang_checkConnection": "Verbindung pr\u00fcfen",
+ "lang_closed": "Geschlossen",
"lang_closingTime": "Schlie\u00dfungszeit",
"lang_config": "Einstellungen",
"lang_configupdateTooltip": "Zeit nach der die Einstellungen aktualisiert werden (in Minuten)",
@@ -26,11 +27,15 @@
"lang_editDefaultPanelHints": "Hier k\u00f6nnen Sie ein Panel (z.B. digitales T\u00fcrschild) in Aussehen und Funktionsweise definieren. Um im Kalender \u00d6ffnungszeiten anzeigen zu k\u00f6nnen, m\u00fcssen Sie im Tab \"Raum-\/Ortsbezogene Einstellungen\" f\u00fcr den ausgew\u00e4hlten Raum entsprechend \u00d6ffnungszeiten eintragen. Damit im Kalender Veranstaltungen und andere Termine angezeigt werden k\u00f6nnen, muss ein funktionierendes Backend konfiguriert und den ausgew\u00e4hlten R\u00e4umen zugewiesen worden sein.",
"lang_editSummaryPanelHints": "Hier k\u00f6nnen Sie ein Summary-Panel definieren. Das Panel zeigt eine Übersicht der in den R\u00e4umen enthalten PCs.",
"lang_editPanel": "Panel bearbeiten",
+ "lang_editUrlPanelHints": "Hier k\u00f6nnen Sie konfigurieren, welche URL das Panel aufrufen soll. Dies erm\u00f6glicht Ihnen z.B. in Eingangsbereichen aktuelle Meldungen der Hochschule oder sonstige Webseiten anzuzeigen.",
"lang_entryName": "Name",
"lang_error": "Fehler",
"lang_expertMode": "Expertenmodus",
"lang_fourLocsHint": "Hier k\u00f6nnen Sie bis zu vier Orte ausw\u00e4hlen, die in diesem Panel angezeigt werden.",
+ "lang_free": "Frei",
"lang_general": "Allgemein",
+ "lang_ignoreSslTooltip": "Akzeptiere ung\u00fcltige, abgelaufene oder selbstsignierte SSL-Zertifikate",
+ "lang_insecureSsl": "Unsicheres SSL",
"lang_language": "Sprache",
"lang_languageTooltip": "Legt die Sprache der angezeigten Oberfl\u00e4che fest",
"lang_locationName": "Name",
@@ -38,6 +43,13 @@
"lang_locations": "Orte",
"lang_locationsTable": "R\u00e4ume \/ Orte",
"lang_locationsTableHints": "Hier k\u00f6nnen Sie f\u00fcr die R\u00e4ume und Orte Ihrer Einrichtung \u00d6ffnungszeiten hinterlegen, sowie die Verkn\u00fcpfung mit Raum-IDs aus konfigurierten Backends (z.B. HISinOne) vornehmen, damit Belegungspl\u00e4ne abgerufen werden k\u00f6nnen.",
+ "lang_longFri": "Freitag",
+ "lang_longMon": "Montag",
+ "lang_longSat": "Samstag",
+ "lang_longSun": "Sonntag",
+ "lang_longThu": "Donnerstag",
+ "lang_longTue": "Dienstag",
+ "lang_longWed": "Mittwoch",
"lang_mode": "Modus",
"lang_mode1": "Kalender & Raum",
"lang_mode2": "Kalender",
@@ -69,6 +81,7 @@
"lang_rotation2": "180\u00b0",
"lang_rotation3": "90\u00b0 \u27f3",
"lang_rotationTooltip": "Rotiert den angezeigten Raum",
+ "lang_runmodeTHead": "Clients",
"lang_saturday": "Samstag",
"lang_scale": "Kalenderbreite",
"lang_scaleTooltip": "[10-90] Legt die Kalenderbreite fest (in Prozent)",
@@ -78,36 +91,30 @@
"lang_serverTableHints": "Liste aller definierten Backend-Server. Diese werden ben\u00f6tigt, um Belegungspl\u00e4ne f\u00fcr R\u00e4ume abzurufen.",
"lang_serverTooltip": "Legt fest, von welchem Backend-Server die Kalenderdaten bezogen werden",
"lang_serverType": "Typ",
+ "lang_shortFri": "Fr",
"lang_shortFriday": "Fr",
+ "lang_shortMon": "Mo",
"lang_shortMonday": "Mo",
+ "lang_shortSat": "Sa",
"lang_shortSaturday": "Sa",
+ "lang_shortSun": "So",
"lang_shortSunday": "So",
+ "lang_shortThu": "Do",
"lang_shortThursday": "Do",
+ "lang_shortTue": "Di",
"lang_shortTuesday": "Di",
+ "lang_shortWed": "Mi",
"lang_shortWednesday": "Mi",
"lang_summaryPanel": "\u00dcbersichts-Panel",
"lang_sunday": "Sonntag",
"lang_switchTime": "Wechselintervall",
"lang_switchTimeTooltip": "[1-120] Legt die Zeit fest, die vergeht bis ein Wechsel erfolgt (in Sekunden)",
+ "lang_to": "bis",
"lang_typeTooltip": "Legt fest um welchen Server-Typ es sich handelt",
"lang_updateRates": "Aktualisierungsintervall",
+ "lang_url": "URL",
+ "lang_urlPanel": "URL-Panel",
+ "lang_urlTooltip": "URL die aufgerufen wird",
"lang_vertical": "Vertikaler Modus",
- "lang_verticalTooltip": "Legt fest, ob Kalender und Raum \u00fcbereinander angezeigt werden sollen",
- "lang_closed": "Geschlossen",
- "lang_free": "Frei",
- "lang_shortSun": "So",
- "lang_shortMon": "Mo",
- "lang_shortTue": "Di",
- "lang_shortWed": "Mi",
- "lang_shortThu": "Do",
- "lang_shortFri": "Fr",
- "lang_shortSat": "Sa",
- "lang_longSun": "Sonntag",
- "lang_longMon": "Montag",
- "lang_longTue": "Dienstag",
- "lang_longWed": "Mittwoch",
- "lang_longThu": "Donnerstag",
- "lang_longFri": "Freitag",
- "lang_longSat": "Samstag",
- "lang_to": "bis"
+ "lang_verticalTooltip": "Legt fest, ob Kalender und Raum \u00fcbereinander angezeigt werden sollen"
} \ No newline at end of file
diff --git a/modules-available/locationinfo/lang/en/backend-hisinone.json b/modules-available/locationinfo/lang/en/backend-hisinone.json
index 0ff12c18..616b4c83 100644
--- a/modules-available/locationinfo/lang/en/backend-hisinone.json
+++ b/modules-available/locationinfo/lang/en/backend-hisinone.json
@@ -10,7 +10,7 @@
"username": "Username",
"username_helptext": "Authenticating user (only required for CourseService).",
"verifyCert": "Verify certificate",
- "verifyCert_helptext": "Wenn das Zertifikat abgelaufen ist, oder von keiner bekannten CA ausgestellt wurde, wird die Verbindung abgelehnt.",
+ "verifyCert_helptext": "If the certificate expired or was not signed by a known CA, the connection will be aborted.",
"verifyHostname": "Verify host name",
- "verifyHostname_helptext": "Der im Zertifikat angegebene Hostname muss mit dem Hostnamen aus der URL \u00fcbereinstimmen, sonst wird die Verbindung abgelehnt."
-} \ No newline at end of file
+ "verifyHostname_helptext": "The certificate's host name must match the host name given in the URL, otherwise the connection will be aborted."
+}
diff --git a/modules-available/locationinfo/lang/en/template-tags.json b/modules-available/locationinfo/lang/en/template-tags.json
index 900839a9..0325d165 100644
--- a/modules-available/locationinfo/lang/en/template-tags.json
+++ b/modules-available/locationinfo/lang/en/template-tags.json
@@ -1,7 +1,5 @@
{
- "lang_defaultPanel": "Default panel",
"lang_addServer": "Server",
- "lang_summaryPanel": "Summary panel",
"lang_areYouSure": "Are you sure?",
"lang_autoScale": "Auto Days",
"lang_autoscaleTooltip": "Calculates the optimum amount of days to show from the display width",
@@ -10,6 +8,7 @@
"lang_calendar": "Calendar",
"lang_calupdateTooltip": "Time the calender querys for updates (in minutes)",
"lang_checkConnection": "Check connection",
+ "lang_closed": "Closed",
"lang_closingTime": "Closing time",
"lang_config": "Config",
"lang_configupdateTooltip": "Time interval the config gets updated (in minutes)",
@@ -18,24 +17,37 @@
"lang_day": "Day",
"lang_daysToShow": "Days",
"lang_daysToShowTooltip": "Defines the amount of days to show in the calendar",
+ "lang_defaultPanel": "Default panel",
"lang_deleteConfirmation": "Are you sure?",
"lang_display": "Display",
"lang_displayName": "Name",
"lang_displayNameTooltip": "Display name for this panel",
"lang_ecoMode": "E-Ink mode",
"lang_ecoTooltip": "Symbolic based pc state pictures are used instead of the colour based ones",
+ "lang_editDefaultPanelHints": "Here you can define panel properties for e.g. a digital door sign. To show opening times for a room you need to define corresponding times in the settings.\r\nIf you want to show calendar events you have to define a functioning backend first and link it to corresponding rooms.",
"lang_editPanel": "Edit panel",
+ "lang_editUrlPanelHints": "Here you can define which URL is opened by the panel. This enables you to show news about your university or any other website.",
"lang_entryName": "Name",
"lang_error": "Error",
"lang_expertMode": "Expert mode",
"lang_fourLocsHint": "You can pick up to four locations that will be shown in this panel.",
+ "lang_free": "Free",
"lang_general": "General",
+ "lang_ignoreSslTooltip": "Accept invalid, expired or self-signed ssl certificates",
+ "lang_insecureSsl": "Insecure SSL",
"lang_language": "Language",
"lang_languageTooltip": "The language the frontend uses",
"lang_locationName": "Name",
"lang_locationSettings": "Settings",
"lang_locations": "Locations",
"lang_locationsTable": "Rooms \/ Locations",
+ "lang_longFri": "Friday",
+ "lang_longMon": "Monday",
+ "lang_longSat": "Saturday",
+ "lang_longSun": "Sunday",
+ "lang_longThu": "Thursday",
+ "lang_longTue": "Tuesday",
+ "lang_longWed": "Wednesday",
"lang_mode": "Mode",
"lang_mode1": "Calendar & Room",
"lang_mode2": "Calendar",
@@ -66,6 +78,7 @@
"lang_rotation2": "180\u00b0",
"lang_rotation3": "90\u00b0 \u27f3",
"lang_rotationTooltip": "Rotates the room",
+ "lang_runmodeTHead": "Clients",
"lang_saturday": "Saturday",
"lang_scale": "Calendar width",
"lang_scaleTooltip": "[10-90] Defines the calendar width (in percent)",
@@ -74,35 +87,30 @@
"lang_serverTable": "Manage backend servers",
"lang_serverTooltip": "Defines from which server the room queries the calendar data",
"lang_serverType": "Type",
+ "lang_shortFri": "Fri",
"lang_shortFriday": "Fri",
+ "lang_shortMon": "Mon",
"lang_shortMonday": "Mon",
+ "lang_shortSat": "Sat",
"lang_shortSaturday": "Sat",
+ "lang_shortSun": "Sun",
"lang_shortSunday": "Sun",
+ "lang_shortThu": "Thu",
"lang_shortThursday": "Thu",
+ "lang_shortTue": "Tue",
"lang_shortTuesday": "Tue",
+ "lang_shortWed": "Wed",
"lang_shortWednesday": "Wed",
+ "lang_summaryPanel": "Summary panel",
"lang_sunday": "Sunday",
"lang_switchTime": "Switchtime",
"lang_switchTimeTooltip": "[1-120] Sets the time between switching (in seconds)",
+ "lang_to": "to",
"lang_typeTooltip": "Defines on which type of server you want to connect to",
"lang_updateRates": "Update rates",
+ "lang_url": "URL",
+ "lang_urlPanel": "URL panel",
+ "lang_urlTooltip": "URL which is shown by the panel",
"lang_vertical": "Vertical mode",
- "lang_verticalTooltip": "Defines whether the room and calendar are shown above each other",
- "lang_closed": "Closed",
- "lang_free": "Free",
- "lang_shortSun": "Sun",
- "lang_shortMon": "Mon",
- "lang_shortTue": "Tue",
- "lang_shortWed": "Wed",
- "lang_shortThu": "Thu",
- "lang_shortFri": "Fri",
- "lang_shortSat": "Sat",
- "lang_longSun": "Sunday",
- "lang_longMon": "Monday",
- "lang_longTue": "Tuesday",
- "lang_longWed": "Wednesday",
- "lang_longThu": "Thursday",
- "lang_longFri": "Friday",
- "lang_longSat": "Saturday",
- "lang_to": "to"
+ "lang_verticalTooltip": "Defines whether the room and calendar are shown above each other"
} \ No newline at end of file
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index 847dc73a..2471a701 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -223,14 +223,14 @@ class Page_LocationInfo extends Page
if ($locationids === false) {
if (!$failIfEmpty)
return array();
- Message::addError('main.paramter-missing', 'locationids');
+ Message::addError('main.parameter-missing', 'locationids');
Util::redirect('?do=locationinfo');
}
$locationids = explode(',', $locationids);
$all = array_map(function ($item) { return $item['locationid']; }, Location::queryLocations());
$locationids = array_filter($locationids, function ($item) use ($all) { return in_array($item, $all); });
if ($failIfEmpty && empty($locationids)) {
- Message::addError('main.paramter-empty', 'locationids');
+ Message::addError('main.parameter-empty', 'locationids');
Util::redirect('?do=locationinfo');
}
return $locationids;