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 <email@example.com>
Tested-by: Nicole Cordes <firstname.lastname@example.org>
Reviewed-by: Anja Leichsenring <email@example.com>
Tested-by: Anja Leichsenring <firstname.lastname@example.org>
Reviewed-by: Andreas Wolf <email@example.com>
Tested-by: Andreas Wolf <firstname.lastname@example.org>
[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 <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
Reviewed-by: Wouter Wolters <email@example.com>
Reviewed-by: Morton Jonuschat <firstname.lastname@example.org>
Tested-by: Morton Jonuschat <email@example.com>