count(); return array(Task::factory() ->callback("graphics::rebuild_dirty_images") ->name(t("Rebuild Images")) ->description($dirty_count ? t2("You have one image which is out of date", "You have %count out-of-date images", $dirty_count) : t("All your images are up to date")) ->severity($dirty_count ? log::WARNING : log::SUCCESS)); } }