TimoStahl / kanboard_plugin_gantt

newer gantt plugin for kanboard
MIT License
5 stars 4 forks source link

[BUG] missing translation breaks gantt #7

Closed TimoStahl closed 3 years ago

TimoStahl commented 3 years ago

Missing languages in

const month_names = { https://github.com/BlueTeck/kanboard_plugin_gantt/blob/master/Assets/frappe-gantt.min.js

are breaking the diagram, if other language is passed in

language: jQuery("html").attr("lang"), https://github.com/BlueTeck/kanboard_plugin_gantt/blob/master/Assets/gantt.js#L55

Capataloutchoupika commented 3 years ago

Patch applied in ed78f3b82f9bea706e66868cc0d808242998f6f3 If langage doesn't exists in month_names, english is selected.

https://github.com/BlueTeck/kanboard_plugin_gantt/blob/7c06dd35f00f669ceacb3b51eb602cca57761f6d/Assets/frappe-gantt.min.js#L1115