ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

Link to preferences are empty, Central repository, Diagram preferences show as "undefined" #47

Closed user9931 closed 2 years ago

user9931 commented 2 years ago

If glpi using language that dont have translation in "locales", in open library "Central repository" appears as "undefined" (but still possible to select glpi from it), "link to repository " button - as "undefined" too and windows with settings are empty, so no way to change anything (substitution for existiong objects still works)

Please change it to use english if translation are unavaillable. or option to change language "default" in plugin settings because language selector inside diagram doesnot work.

ericferon commented 2 years ago

This is the standard way of Drawio display when the locale library is missing. You should copy the archi.txt file (from archimap/drawio-integration/resources) into archi_xx.txt (where xx is the code of your locale) and translate the texts to the right of the equal sign. When done, if you want to contribute, you may send me a pull request, and I will integrate it in the plugin :-). Kind regards,