Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use translated strings in the SVG diagram
Roland Geider6e145680e253
diff --git a/weight/templates/overview.html b/weight/templates/overview.htmlindex 269cda1e0..1b7ac161c 100644--- a/weight/templates/overview.html+++ b/weight/templates/overview.html@@ -25,7 +25,7 @@},axis: {y: {- text: "Weight (kg)",+ text: '{% trans "Weight" %} (kg)',labels: {style: {fill: "#7f7f7f",@@ -39,7 +39,7 @@tickMinor: { position: "outside", style: { stroke: "#7f7f7f"} }},x: {- text: "Date",+ text: '{% trans "Date" %}',labels: {style: {fill: "#7f7f7f",@@ -65,7 +65,7 @@},seriesList: [{- label: "Female",+ label: '{% trans "Weight" %}',legendEntry: true,data: {x: [{{ data_x }}],