fix: remove DocType as translation context
This commit is contained in:
parent
c4777519f0
commit
7d20ab10e5
2 changed files with 2740 additions and 11950 deletions
|
|
@ -73,7 +73,7 @@ def extract(fileobj, *args, **kwargs):
|
|||
messages.append((link_doctype, f"Linked DocType in {doctype}'s connections"))
|
||||
|
||||
# By using "pgettext" as the function name we can supply the doctype as context
|
||||
yield from ((None, "pgettext", (doctype, message), [comment]) for message, comment in messages)
|
||||
yield from ((None, "_", message, [comment]) for message, comment in messages)
|
||||
|
||||
# Role names do not get context because they are used with multiple doctypes
|
||||
yield from (
|
||||
|
|
|
|||
14688
frappe/locale/main.pot
14688
frappe/locale/main.pot
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue