1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00

Automatically include the appropriate translations from extensions

This commit is contained in:
Toby Zerner
2015-11-02 18:51:12 +10:30
parent 72a2749943
commit b4439dc6b3
4 changed files with 21 additions and 43 deletions

View File

@@ -32,7 +32,7 @@ class ClientController extends BaseClientController
/**
* {@inheritdoc}
*/
protected $translationKeys = ['core.admin', 'core.lib'];
protected $translations = '/[^\.]\.(admin|lib)\.*+/';
/**
* @var ExtensionManager