diff --git a/img/toproofread.svg b/img/proofread.svg similarity index 100% rename from img/toproofread.svg rename to img/proofread.svg diff --git a/img/fulfilled.svg b/img/ready.svg similarity index 100% rename from img/fulfilled.svg rename to img/ready.svg diff --git a/src/My.php b/src/My.php index 993d5e3..32d79f5 100644 --- a/src/My.php +++ b/src/My.php @@ -21,7 +21,7 @@ use Dotclear\Module\MyPlugin; */ class My extends MyPlugin { - public const POST_READY = -100; - public const POST_REVIEW = -110; - public const POST_DRAFT = -120; + public const POST_READY = -100; + public const POST_PROOFREAD = -110; + public const POST_DRAFT = -120; } diff --git a/src/Prepend.php b/src/Prepend.php index 35498a4..2e10fe7 100644 --- a/src/Prepend.php +++ b/src/Prepend.php @@ -33,10 +33,10 @@ class Prepend extends Process (new Status(My::POST_DRAFT , My::id() . 'draft', 'Draft', 'Draft (>1)', My::fileURL('img/draft.svg'))), ) && App::status()->post()->set( - (new Status(My::POST_REVIEW , My::id() . 'toproofread', 'To proofread', 'To proofread (>1)', My::fileURL('img/toproofread.svg'))), + (new Status(My::POST_PROOFREAD , My::id() . 'proofread', 'To proofread', 'To proofread (>1)', My::fileURL('img/proofread.svg'))), ) && App::status()->post()->set( - (new Status(My::POST_READY , My::id() . 'fulfiled', 'Fulfilled', 'Fulfilled (>1)', My::fileURL('img/fulfilled.svg'))), + (new Status(My::POST_READY , My::id() . 'ready', 'Fulfilled', 'Fulfilled (>1)', My::fileURL('img/ready.svg'))), ); }