summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/hooks
diff options
context:
space:
mode:
authorSimon Rettberg2017-04-21 12:34:48 +0200
committerSimon Rettberg2017-04-21 12:34:48 +0200
commit3aea8b85cbfc93c22afce4a9db770bec742b8234 (patch)
tree2c028bf48add83cacb9f639f3e90aa313d46d901 /modules-available/locationinfo/hooks
parent[locationinfo] Backend: Proper checkConnection() for davinci, make course ser... (diff)
downloadslx-admin-3aea8b85cbfc93c22afce4a9db770bec742b8234.tar.gz
slx-admin-3aea8b85cbfc93c22afce4a9db770bec742b8234.tar.xz
slx-admin-3aea8b85cbfc93c22afce4a9db770bec742b8234.zip
[locationinfo] Update tanslations
Diffstat (limited to 'modules-available/locationinfo/hooks')
-rw-r--r--modules-available/locationinfo/hooks/translation.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/hooks/translation.inc.php b/modules-available/locationinfo/hooks/translation.inc.php
index a3f4edd2..e83dfd2d 100644
--- a/modules-available/locationinfo/hooks/translation.inc.php
+++ b/modules-available/locationinfo/hooks/translation.inc.php
@@ -6,9 +6,9 @@ if (Module::isAvailable('locationinfo')) {
$HANDLER['subsections'] = array();
foreach (CourseBackend::getList() as $backend) {
// Define subsections
- $HANDLER['subsections'][] = $backend;
+ $HANDLER['subsections'][] = 'backend-' . $backend;
// Grep handlers to detect tags
- $HANDLER['grep_' . $backend] = function($module) use ($backend) {
+ $HANDLER['grep_backend-' . $backend] = function($module) use ($backend) {
$b = CourseBackend::getInstance($backend);
if ($b === false)
return array();