From 0f51c12ba1394dce64fcdff247893950bf10aaeb Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Thu, 28 Jul 2022 15:15:17 -0400 Subject: [PATCH] LP1978567: Teach fieldmapper.py about field groups Because the "group" tag in IDL field_groups was never added to this file that helps with translations, Simple Reporter field groups all have the same name when built for release. Signed-off-by: Jason Boyer Signed-off-by: Mike Rylander --- build/i18n/scripts/fieldmapper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/i18n/scripts/fieldmapper.py b/build/i18n/scripts/fieldmapper.py index 4782a5c092..5717d0649f 100755 --- a/build/i18n/scripts/fieldmapper.py +++ b/build/i18n/scripts/fieldmapper.py @@ -113,6 +113,9 @@ class IDLHandler(xml.sax.handler.ContentHandler): elif name == 'field': entity = "%s.%s.%s.label" % (name, self.classid, \ attributes['name']) + elif name == 'group': + entity = "%s.%s.%s.label" % (name, self.classid, \ + attributes['name']) elif name == 'link': entity = "%s.%s.%s.label" % (name, self.classid, \ attributes['field']) -- 2.11.0