Closed ESnark closed 1 month ago
The example seems to be outdated although I don't think label
has ever been usable 🤔
To label/translate pages you should use pages
in locale
:
{
language: 'en',
debug: false,
availableLanguages: ['en'],
translations: {
en: {
pages: {
customPage: 'My custom page'
}
}
}
}
Thank you for clarifying this. It will be helpful for future contributions.
Contact Details
No response
What happened?
According to the example, It's possible to label pages, but label property is not included in AdminPages type.
Is this an unintended typing error, or is the example not updated?
Bug prevalence
-
AdminJS dependencies version
What browsers do you see the problem on?
No response
Relevant log output
No response
Relevant code that's giving you issues
No response