better naming

This commit is contained in:
Jean-Christian Denis 2025-01-08 18:22:46 +01:00
parent 0294a6eb74
commit dbde71003b
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951
4 changed files with 5 additions and 5 deletions

View file

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

View file

Before

Width:  |  Height:  |  Size: 411 B

After

Width:  |  Height:  |  Size: 411 B

View file

@ -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;
}

View file

@ -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'))),
);
}