mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-12-09 06:00:02 +01:00
Reverted former redundant patch, got confused by legacy web modules been translated with earlier versions. They had a different directory structure and registered erraneous domain directories. This patch fixes the list, does an additional safety check (dirname must end with .UTF-8) and strips .UTF-8 from the locale name. Former regex matched always and therefore blacklisted every translation.