Epic #72333: Clean up charset conversion and language service
Move moduleLabels from LanguageService to ModuleLoader
The functionality should go into the area where it belongs.
[TASK] Move moduleLabels to ModuleLoader
Already translated module labels were previously resolved
and stored within $GLOBALS[LANG]. Several checks
and calls were then made to ModuleLoader and $LANG.
All information about the module, as well as all labels
are now stored within ModuleLoader, a addLabelsForModule()
method and a getLabelsForModule() method are placed within
that method, where labels are stored (but not resolved
to the language yet). The language service then is only used
when outputting the labels in various places.
The method $LANG->addModuleLabels() and the public
property $LANG->moduleLabels were deprecated.
Reviewed-by: Nicole Cordes <firstname.lastname@example.org>
Tested-by: Nicole Cordes <email@example.com>
Reviewed-by: Anja Leichsenring <firstname.lastname@example.org>
Tested-by: Anja Leichsenring <email@example.com>
Reviewed-by: Andreas Wolf <firstname.lastname@example.org>
Tested-by: Andreas Wolf <email@example.com>
[BUGFIX] Missing labels in User Settings
This patch fix missing labels in user settings module.
This patch is a followup / bugfix for #72340
Reviewed-by: Christian Kuhn <firstname.lastname@example.org>
Tested-by: Christian Kuhn <email@example.com>
Reviewed-by: Wouter Wolters <firstname.lastname@example.org>
Reviewed-by: Morton Jonuschat <email@example.com>
Tested-by: Morton Jonuschat <firstname.lastname@example.org>