MDL-39470 cache: added missing component to get_string call

This commit is contained in:
Mark Nelson 2013-05-06 13:51:00 +08:00
parent 95190fda69
commit 33bea465bd

4
cache/admin.php vendored
View File

@ -101,7 +101,7 @@ if (!empty($action) && confirm_sesskey()) {
if (!array_key_exists($store, $stores)) {
$notifysuccess = false;
$notification = get_string('invalidstore');
$notification = get_string('invalidstore', 'cache');
} else if ($stores[$store]['mappings'] > 0) {
$notifysuccess = false;
$notification = get_string('deletestorehasmappings', 'cache');
@ -203,7 +203,7 @@ if (!empty($action) && confirm_sesskey()) {
$confirm = optional_param('confirm', false, PARAM_BOOL);
if (!array_key_exists($lock, $locks)) {
$notifysuccess = false;
$notification = get_string('invalidlock');
$notification = get_string('invalidlock', 'cache');
} else if ($locks[$lock]['uses'] > 0) {
$notifysuccess = false;
$notification = get_string('deletelockhasuses', 'cache');