Add empty locale extender to clear cache properly on enable/disable.

See https://github.com/flarum/core/pull/2020#issuecomment-616149583
This commit is contained in:
Alexander Skvortsov 2020-06-19 22:18:56 -04:00
parent 8a029e666b
commit 6defee4fc4
2 changed files with 3 additions and 1 deletions

View File

@ -22,5 +22,7 @@ return [
// Overwrite the default inline spoiler so that it is compatible
// with more styling for children in an external stylesheet.
$config->tags['ispoiler']->template = '<span class="spoiler" data-s9e-livepreview-ignore-attrs="class" onclick="removeAttribute(\'class\')"><xsl:apply-templates/></span>';
})
}),
new Extend\Locales(__DIR__.'/locale')
];

View File