mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-22 21:49:20 -04:00
committed by
Tim Almdal
parent
fe6320ef4c
commit
6320babf78
@@ -163,7 +163,7 @@ class exif_Core {
|
||||
list ($remaining) = exif::stats();
|
||||
if ($remaining) {
|
||||
site_status::warning(
|
||||
t('Your EXIF index needs to be updated. <a href="%url" class="gDialogLink">Fix this now</a>',
|
||||
t('Your Exif index needs to be updated. <a href="%url" class="gDialogLink">Fix this now</a>',
|
||||
array("url" => url::site("admin/maintenance/start/exif_task::update_index?csrf=__CSRF__"))),
|
||||
"exif_index_out_of_date");
|
||||
}
|
||||
|
||||
@@ -28,12 +28,12 @@ class exif_task_Core {
|
||||
list ($remaining, $total, $percent) = exif::stats();
|
||||
return array(Task_Definition::factory()
|
||||
->callback("exif_task::update_index")
|
||||
->name(t("Extract EXIF data"))
|
||||
->name(t("Extract Exif data"))
|
||||
->description($remaining
|
||||
? t2("1 photo needs to be scanned",
|
||||
"%count (%percent%) of your photos need to be scanned",
|
||||
$remaining, array("percent" => (100 - $percent)))
|
||||
: t("EXIF data is up-to-date"))
|
||||
: t("Exif data is up-to-date"))
|
||||
->severity($remaining ? log::WARNING : log::SUCCESS));
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ class exif_task_Core {
|
||||
|
||||
$completed++;
|
||||
exif::extract($item);
|
||||
$message[] = t("Updated EXIF meta data for '%title'",
|
||||
$message[] = t("Updated Exif meta data for '%title'",
|
||||
array("title" => p::purify($item->title)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user