From e4714fd767cd0c6cd48bf1e15e6e7224d80d4422 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Sun, 16 Jan 2011 20:25:57 +0000 Subject: [PATCH] Restore layer button functionality broken since locale-script change git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1922 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/locale/locale.js | 2 -- editor/svg-editor.js | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/editor/locale/locale.js b/editor/locale/locale.js index 0b2c105b..a8333582 100644 --- a/editor/locale/locale.js +++ b/editor/locale/locale.js @@ -67,8 +67,6 @@ var svgEditor = (function($, Editor) { common = langData.common, ui = langData.ui; - Editor.uiStrings['layers'] = layers; - setStrings('content', { copyrightLabel: misc.powered_by, curve_segments: properties.curve_segments, diff --git a/editor/svg-editor.js b/editor/svg-editor.js index 2a4fed2a..074c8f3b 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -70,6 +70,10 @@ "key_del":"Del" }, + // This is needed if the locale is English, since the locale strings are not read in that instance. + layers: { + "layer":"Layer" + }, notification: { "invalidAttrValGiven":"Invalid value given", "noContentToFitTo":"No content to fit to",