8beba76b75
Currently `core-common` and `core-main` are prepanded to the scripts, as they provide the global state. But the script ordering logic does not know about this and might sort core translations after they are used. Meaning we need to register core translations as soon as the global scope is initialized (so that `OC.L10N.register` is available). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>