fix: bulk fix (~330) missing translations

This commit is contained in:
Ankush Menat
2022-04-02 16:56:59 +05:30
committed by Ankush Menat
parent e8118fcdf1
commit a896895a9e
59 changed files with 179 additions and 173 deletions

View File

@@ -4,7 +4,7 @@
frappe.ui.form.on('Video', {
refresh: function (frm) {
frm.events.toggle_youtube_statistics_section(frm);
frm.add_custom_button("Watch Video", () => frappe.help.show_video(frm.doc.url, frm.doc.title));
frm.add_custom_button(__("Watch Video"), () => frappe.help.show_video(frm.doc.url, frm.doc.title));
},
toggle_youtube_statistics_section: (frm) => {

View File

@@ -67,7 +67,7 @@ def get_chart_summary_data(data):
{
"value": total_views,
"indicator": "Blue",
"label": "Total Views",
"label": _("Total Views"),
"datatype": "Float",
}
]