Document some generated messages

Change-Id: Id9c961f322c2f3730f29345da9ba61196243df5a
This commit is contained in:
Ed Sanders 2023-11-08 12:07:29 +00:00
parent ada0820622
commit e7d3dec076

View file

@ -36,6 +36,11 @@ class CitationToolDefinition {
if ( is_array( $citationDefinition ) ) {
foreach ( $citationDefinition as $tool ) {
if ( !isset( $tool->title ) ) {
// The following messages are generated here:
// * visualeditor-cite-tool-name-book
// * visualeditor-cite-tool-name-journal
// * visualeditor-cite-tool-name-news
// * visualeditor-cite-tool-name-web
$tool->title = $context->msg( 'visualeditor-cite-tool-name-' . $tool->name )
->text();
}