fix: translation in user_profile_controller.js

fix: translation in user_profile_controller.js
This commit is contained in:
mahsem 2024-06-23 15:08:02 +02:00 committed by akhilnarang
parent 220cdf2575
commit ca6d8809e9

View file

@ -77,7 +77,7 @@ class UserProfile {
render_heatmap() {
this.heatmap = new frappe.Chart(".performance-heatmap", {
type: "heatmap",
countLabel: "Energy Points",
countLabel: __("Energy Points"),
data: {},
discreteDomains: 1,
radius: 3,
@ -111,7 +111,7 @@ class UserProfile {
value_based_on: "points",
chart_type: "Sum",
document_type: "Energy Point Log",
name: "Energy Points",
name: __("Energy Points"),
width: "half",
based_on: "creation",
};