chore: remove unnecessary code
This commit is contained in:
parent
f22c78a806
commit
1f0edc80d8
1 changed files with 0 additions and 3 deletions
|
|
@ -193,9 +193,6 @@ def load_translations(bootinfo):
|
|||
for name in bootinfo.user.all_reports:
|
||||
messages[name] = frappe._(name)
|
||||
|
||||
for t in frappe.get_list("Translation", fields=["source_name", "target_name"]):
|
||||
messages[t.source_name] = t.target_name
|
||||
|
||||
# only untranslated
|
||||
messages = {k:v for k, v in iteritems(messages) if k!=v}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue