Fixed translations and tests (#12900)

* Fixed translations and tests

* minor fixes

* minor test fixes
This commit is contained in:
Nabin Hait
2018-02-14 17:44:06 +05:30
committed by GitHub
parent 361366ebe6
commit e6d65bc2a1
43 changed files with 187 additions and 168 deletions

View File

@@ -335,7 +335,7 @@ def get_assessment_result_doc(student, assessment_plan):
if doc.docstatus == 0:
return doc
elif doc.docstatus == 1:
frappe.msgprint("Result already Submitted")
frappe.msgprint(_("Result already Submitted"))
return None
else:
return frappe.new_doc("Assessment Result")