From: Jason Boyer Date: Thu, 28 Jul 2022 19:15:17 +0000 (-0400) Subject: LP1978567: Teach fieldmapper.py about field groups X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0f51c12ba1394dce64fcdff247893950bf10aaeb;p=evergreen%2Fpines.git 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 --- 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'])