Change the default "save and create another" label in modal form

Hello all 👋,
I have a resource (MarketingMessage) for which I removed the default pages CreateMarketingMessage.php and EditMarketingMessage.php to have Modals instead.

So, in my resource's getPages() method, I have just one value in the return array:

public static function getPages(): array
    {
        return [
            index' => Pages\ListMarketingMessages::route('/'),
        ];
    }


Everything works fine, but I wanted to know which method I should use (and where) to change the default label of “Create & add another. Because in French, I have to change the translation to use a feminine form.

I saw that there was a getCreateAnotherFormAction() method to use in CreateMarketingMessage.php, but since I don't use that page, it's no good.

Can anyone help me? I couldn't find a reference in the documentation.
Thanks in advance 😇
Was this page helpful?