Univention Bugzilla – Bug 34960
Keywords for quick search on overview page are not localized
Last modified: 2017-07-05 13:06:12 CEST
This seems to be a problem with the handling in dh-umc-module-build, the keywords entered in the .xml file are not listed in the .po files.
diff --git a/management/univention-management-console/dev/dh_umc.py b/management/univention-management-console/dev/dh_umc.py index 75db3fc..9e9387b 100644 --- a/management/univention-management-console/dev/dh_umc.py +++ b/management/univention-management-console/dev/dh_umc.py @@ -266,2 +266,3 @@ def _append_po_entry(xml_entry): _append_po_entry(tree.find('module/description')) + _append_po_entry(tree.find('module/keywords')) for flavor in tree.findall('module/flavor'): @@ -269,2 +270,3 @@ def _append_po_entry(xml_entry): _append_po_entry(flavor.find('description')) + _append_po_entry(flavor.find('keywords')) _append_po_entry(tree.find('link/name'))
(In reply to Florian Best from comment #1) > diff --git a/management/univention-management-console/dev/dh_umc.py > b/management/univention-management-console/dev/dh_umc.py > index 75db3fc..9e9387b 100644 > --- a/management/univention-management-console/dev/dh_umc.py > +++ b/management/univention-management-console/dev/dh_umc.py > @@ -266,2 +266,3 @@ def _append_po_entry(xml_entry): > _append_po_entry(tree.find('module/description')) > + _append_po_entry(tree.find('module/keywords')) > for flavor in tree.findall('module/flavor'): > @@ -269,2 +270,3 @@ def _append_po_entry(xml_entry): > _append_po_entry(flavor.find('description')) > + _append_po_entry(flavor.find('keywords')) > _append_po_entry(tree.find('link/name')) Applied patch: r 80681 univention-management-console (9.0.80-51) * Bug #34960: Applied patch from Florian Best - Localize keywords for . live search on UMC overview page YAML: r 80682
OK: dh-umc-module-build now adds keywords to .po files. This causes some fuzzies in some modules, the patch for them has also been applied without building the package. * base/univention-quota/umc/de.po * management/univention-management-console-module-services/umc/de.po * management/univention-management-console-module-udm/umc/de.po * management/univention-system-info/umc/de.po OK: YAML
<http://errata.software-univention.de/ucs/4.2/81.html>