From e115dcec972039bf9acbc6ec5acb55fe53a7aa5d Mon Sep 17 00:00:00 2001 From: Narendra Sisodiya Date: Sat, 3 Oct 2009 19:24:36 +0000 Subject: [PATCH] UI localisation, calling put_locale after DOM is available git-svn-id: http://svg-edit.googlecode.com/svn/trunk@757 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/locale/locale.js | 1 - editor/svg-editor.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/locale/locale.js b/editor/locale/locale.js index 9cce47eb..487dd64a 100644 --- a/editor/locale/locale.js +++ b/editor/locale/locale.js @@ -38,4 +38,3 @@ var put_locale = function(){ },"json"); };//function end -put_locale(); diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 96066555..2f3c13e1 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -1301,6 +1301,7 @@ function svg_edit_setup() { // This happens when the page is loaded $(function() { + put_locale(); svgCanvas = svg_edit_setup(); try{