Skip to content

Commit

Permalink
Merge pull request #26198 from barredterra/options-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
barredterra committed Apr 29, 2024
2 parents 0d2479f + b530de4 commit a53a632
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions frappe/gettext/extractors/doctype.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
EXCLUDE_SELECT_OPTIONS = [
"naming_series",
"number_format",
"float_precision",
"currency_precision",
"minimum_password_score",
"icon", # primarily for the Workflow State doctype
]


Expand Down Expand Up @@ -55,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,
Expand Down

0 comments on commit a53a632

Please sign in to comment.