Skip to content

Commit

Permalink
fix: unscrub and translate field names in tooltip explaining fetch fr…
Browse files Browse the repository at this point in the history
…om (backport #19143) (#19174)

* fix: unscrub and translate field names in tooltip explaining fetch from (#19143)

(cherry picked from commit dcae574)

# Conflicts:
#	frappe/translations/de.csv

* chore: conflict

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
  • Loading branch information
3 people committed Dec 7, 2022
1 parent 3b8941a commit 018984e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/form/controls/base_input.js
Expand Up @@ -108,7 +108,7 @@ frappe.ui.form.ControlInput = class ControlInput extends frappe.ui.form.Control
"title",
__(
"This value is fetched from {0}'s {1} field",
me.df.fetch_from.split(".")
me.df.fetch_from.split(".").map((value) => __(frappe.unscrub(value)))
)
);
}
Expand Down
1 change: 1 addition & 0 deletions frappe/translations/de.csv
Expand Up @@ -4818,3 +4818,4 @@ Preview Chart,Vorschau erzeugen,
Please select X and Y fields,Bitte Felder für die X- und Y-Achse wählen,
Notification sent to,Benachrichtigung gesendet an,
Add to this activity by mailing to {0},"Senden Sie eine E-Mail an {0}, damit sie hier erscheint",
This value is fetched from {0}'s {1} field,Dieser Wert ergibt sich aus dem Feld {1} von {0},

0 comments on commit 018984e

Please sign in to comment.