diff --git a/admin/maintenance_actions.php b/admin/maintenance_actions.php index 409448a29..76e2f2a68 100644 --- a/admin/maintenance_actions.php +++ b/admin/maintenance_actions.php @@ -40,6 +40,7 @@ switch ($action) update_category('all'); update_global_rank(); invalidate_user_cache(true); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'images' : @@ -49,16 +50,19 @@ switch ($action) include_once(PHPWG_ROOT_PATH.'include/functions_rate.inc.php'); update_rating_score(); invalidate_user_cache(); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'delete_orphan_tags' : { delete_orphan_tags(); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'user_cache' : { invalidate_user_cache(); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'history_detail' : @@ -68,6 +72,7 @@ DELETE FROM '.HISTORY_TABLE.' ;'; pwg_query($query); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'history_summary' : @@ -77,6 +82,7 @@ DELETE FROM '.HISTORY_SUMMARY_TABLE.' ;'; pwg_query($query); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'sessions' : @@ -121,7 +127,7 @@ DELETE ;'; pwg_query($query); } - + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'feeds' : @@ -132,6 +138,7 @@ DELETE WHERE last_check IS NULL ;'; pwg_query($query); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'database' : @@ -144,6 +151,7 @@ DELETE include_once(PHPWG_ROOT_PATH.'admin/include/check_integrity.class.php'); $c13y = new check_integrity(); $c13y->maintenance(); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'search' : @@ -160,6 +168,7 @@ DELETE $template->delete_compiled_templates(); FileCombiner::clear_combined_files(); $persistent_cache->purge(true); + $page['infos'][] = l10n('Action succesfully performed.'); break; } case 'derivatives': @@ -173,6 +182,7 @@ DELETE clear_derivative_cache($type_to_clear); } } + $page['infos'][] = l10n('Action succesfully performed.'); break; } @@ -225,6 +235,7 @@ DELETE $page['infos'][] = l10n('You are running the latest version of Piwigo.'); } } + $page['infos'][] = l10n('Action succesfully performed.'); } default : diff --git a/language/en_UK/admin.lang.php b/language/en_UK/admin.lang.php index 572b01303..22920f7fe 100644 --- a/language/en_UK/admin.lang.php +++ b/language/en_UK/admin.lang.php @@ -1241,3 +1241,4 @@ $lang['Can be shared by several individuals without conflict (they cannot change $lang['Equivalent to deactivation. The user is still in the list, but can no longer log in.'] = 'Equivalent to deactivation. The user is still in the list, but can no longer log in.'; $lang['%s MB'] = '%s MB'; $lang['Your selection'] = 'Your selection'; +$lang['Action succesfully performed.'] = 'Action succesfully performed.'; diff --git a/language/fr_FR/admin.lang.php b/language/fr_FR/admin.lang.php index 5169a7030..e0add2799 100644 --- a/language/fr_FR/admin.lang.php +++ b/language/fr_FR/admin.lang.php @@ -1248,3 +1248,4 @@ $lang['Portraits'] = 'Portraits'; $lang['Edit photo'] = 'Éditer la photo'; $lang['Delete tag "%s"?'] = 'Supprimer le tag "%s" ?'; $lang['Your selection'] = 'Votre selection'; +$lang['Action succesfully performed.'] = 'Action effectuée avec succès.';