瀏覽代碼

[minor][fix] check workflow document state messages is translatable

version-14
Saurabh 8 年之前
父節點
當前提交
a5c74e661a
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/translate.py

+ 1
- 1
frappe/translate.py 查看文件

@@ -364,7 +364,7 @@ def get_messages_from_workflow(doctype=None, app_name=None):
(w['name'],), as_dict=True)

messages.extend([("Workflow: " + w['name'], states['message'])
for state in states if is_translatable(state['state'])])
for state in states if is_translatable(state['message'])])

actions = frappe.db.sql(
'select distinct action from `tabWorkflow Transition` where parent=%s',


Loading…
取消
儲存