diff --git a/frappe/gettext/extractors/doctype.py b/frappe/gettext/extractors/doctype.py index 99cd69baab..83700f856d 100644 --- a/frappe/gettext/extractors/doctype.py +++ b/frappe/gettext/extractors/doctype.py @@ -3,6 +3,7 @@ import json EXCLUDE_SELECT_OPTIONS = [ "naming_series", "number_format", + "icon", # primarily for the Workflow State doctype ] @@ -52,9 +53,6 @@ def extract(fileobj, *args, **kwargs): select_options = [option for option in message.split("\n") if option and not option.isdigit()] - if select_options and "icon" in select_options[0]: - continue - messages.extend( ( option,