From 2f7a19419a2ff356b6dec0952f9a4eefb4d850cc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 21 Apr 2017 10:05:15 +0200 Subject: [locatrioninfo] Add translation hook for coursebackends --- .../locationinfo/hooks/translation.inc.php | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 modules-available/locationinfo/hooks/translation.inc.php (limited to 'modules-available/locationinfo') diff --git a/modules-available/locationinfo/hooks/translation.inc.php b/modules-available/locationinfo/hooks/translation.inc.php new file mode 100644 index 00000000..a3f4edd2 --- /dev/null +++ b/modules-available/locationinfo/hooks/translation.inc.php @@ -0,0 +1,24 @@ +getCredentialDefinitions(); + $return = array(); + foreach ($props as $prop) { + $return[$prop->property] = true; + $return[$prop->property . '_helptext'] = true; + } + return $return; + }; + } +} -- cgit v1.2.3-55-g7522