# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/mod/resource/lib.php
--- moodle/mod/resource/lib.php Base (1.70.2.14)
+++ moodle/mod/resource/lib.php Locally Modified (Based On 1.70.2.14)
@@ -535,7 +535,7 @@
         $type->modclass = MOD_CLASS_RESOURCE;
         $type->name = $resourcetype;
         $type->type = "resource&amp;type=$resourcetype";
-        $type->typestr = get_string("resourcetype$resourcetype", 'resource');
+        $type->typestr = resource_get_name($resourcetype);
         $types[] = $type;
     }
 
