Browse Source

Also parse warning_helpfull correctly for translations

pull/1579/head
Safihre 5 years ago
parent
commit
f242053d6c
  1. 2
      tools/extract_pot.py

2
tools/extract_pot.py

@ -103,7 +103,7 @@ def get_context(ctx_line):
else:
if "logging.error(" in srcline:
context = "Error message"
elif "logging.warning(" in srcline:
elif "logging.warning(" in srcline or "logging.warning_helpfull(" in srcline:
context = "Warning message"
if context and context not in contexts:

Loading…
Cancel
Save