Permalink
Browse files

MDL-25290 cache: Plugins are now standard and strings tidied

  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Sep 26, 2012
1 parent 573a6c8 commit fd59389ca6fb288eb10eff1f22b8b5364225ca48
Showing with 16 additions and 4 deletions.
  1. +4 −4 lang/en/cache.php
  2. +4 −0 lang/en/plugin.php
  3. +8 −0 lib/pluginlib.php
View
@@ -43,14 +43,14 @@
$string['cachestores'] = 'Cache stores';
$string['component'] = 'Component';
$string['confirmstoredeletion'] = 'Confirm store deletion';
-$string['defaultmappings'] = 'Default mappings';
+$string['defaultmappings'] = 'Stores used when no mapping is present';
$string['defaultmappings_help'] = 'These are the default stores that will be used if you don\'t map one or more stores to the cache definition.';
$string['defaultstoreactions'] = 'Default stores cannot be modified';
$string['default_application'] = 'Default application store';
$string['default_request'] = 'Default request store';
$string['default_session'] = 'Default session store';
$string['definition'] = 'Definition';
-$string['definitionsummaries'] = 'Definition summaries';
+$string['definitionsummaries'] = 'Known cache definitions';
$string['delete'] = 'Delete';
$string['deletestore'] = 'Delete store';
$string['deletestoreconfirmation'] = 'Are you sure you want to delete the "{$a}" store?';
@@ -85,7 +85,7 @@
$string['nativelocking'] = 'This plugin handles its own locking.';
$string['none'] = 'None';
$string['plugin'] = 'Plugin';
-$string['pluginsummaries'] = 'Plugin summaries';
+$string['pluginsummaries'] = 'Installed cache plugins';
$string['purge'] = 'Purge';
$string['purgestoresuccess'] = 'Successfully purged the requested store.';
$string['requestcount'] = 'Test with {$a} requests';
@@ -106,7 +106,7 @@
$string['store_default_application'] = 'Default file store for application caches';
$string['store_default_request'] = 'Default static store for request caches';
$string['store_default_session'] = 'Default session store for session caches';
-$string['storesummaries'] = 'Store summaries';
+$string['storesummaries'] = 'Configured plugin instances';
$string['supports'] = 'Supports';
$string['supports_multipleidentifiers'] = 'multiple identifiers';
$string['supports_dataguarantee'] = 'data guarantee';
View
@@ -71,6 +71,10 @@
$string['type_auth_plural'] = 'Authentication methods';
$string['type_block'] = 'Block';
$string['type_block_plural'] = 'Blocks';
+$string['type_cachelock'] = 'Cache lock handler';
+$string['type_cachelock_plural'] = 'Cache lock handlers';
+$string['type_cachestore'] = 'Cache store';
+$string['type_cachestore_plural'] = 'Cache stores';
$string['type_coursereport'] = 'Course report';
$string['type_coursereport_plural'] = 'Course reports';
$string['type_editor'] = 'Editor';
View
@@ -405,6 +405,14 @@ public static function standard_plugins_list($type) {
'exportimscp', 'importhtml', 'print'
),
+ 'cachelock' => array(
+ 'file'
+ ),
+
+ 'cachestore' => array(
+ 'file', 'memcache', 'memcached', 'mongodb', 'session', 'static'
+ ),
+
'coursereport' => array(
//deprecated!
),

0 comments on commit fd59389

Please sign in to comment.