fix EGroupware\\Api\\Translation::load_app_files() lang file etemplate/lang/egw_*.lang contains invalid app 'developer_tools' and other loading issues through phpgwapi&etemplate --> api conversation

This commit is contained in:
Ralf Becker 2016-05-12 19:06:42 +02:00
parent 4e673f9cac
commit c0bd10e4fe

View File

@ -378,7 +378,7 @@ class Translation
* How to load translations for a given app * How to load translations for a given app
* *
* Translations for common, preferences or admin are in spread over all applications. * Translations for common, preferences or admin are in spread over all applications.
* API has translations for some pseudo-apps. * Api, old phpgwapi and etemplate have translations for some pseudo-apps.
* *
* @var array app => app(s) or string 'all-apps' * @var array app => app(s) or string 'all-apps'
*/ */
@ -388,8 +388,9 @@ class Translation
'admin' => 'all-apps', 'admin' => 'all-apps',
'jscalendar' => array('phpgwapi'), 'jscalendar' => array('phpgwapi'),
'sitemgr-link' => array('sitemgr'), 'sitemgr-link' => array('sitemgr'),
'groupdav' => array('phpgwapi'), 'groupdav' => array('api'),
'login' => array('phpgwapi','registration'), 'developer_tools' => array('etemplate'),
'login' => array('api','registration'),
); );
/** /**