diff --git a/AUTHORS b/AUTHORS index f51b5744..025b85fd 100644 --- a/AUTHORS +++ b/AUTHORS @@ -2,3 +2,4 @@ Narendra Sisodiya Pavol Rusnak Jeff Schiller Vidar Hokstad +Alexis Deveria diff --git a/editor/locale/locale.js b/editor/locale/locale.js index e016d206..ff55bda4 100644 --- a/editor/locale/locale.js +++ b/editor/locale/locale.js @@ -12,6 +12,10 @@ var put_locale = function(svgCanvas, given_param){ if (lang_param == "") return; } + if(typeof(lang_param) != 'string') { + alert(typeof(lang_param)); + alert(lang_param) + } // don't bother on first run if language is English if(lang_param.indexOf("en") == 0) return; } diff --git a/editor/svg-editor.html b/editor/svg-editor.html index c58a7aca..57a6414f 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -277,17 +277,17 @@ script type="text/javascript" src="locale/locale.min.js">