From 9d24318b2b1ef9c3dcd4026a2e70ecf121742ce2 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Mon, 12 Oct 2009 18:53:54 +0000 Subject: [PATCH] TODOs for localization git-svn-id: http://svg-edit.googlecode.com/svn/trunk@804 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index a2a0c739..c3a684a8 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -413,6 +413,7 @@ function svg_edit_setup() { } else valid = true; if(!valid) { + // TODO: localize this alert('Invalid value given for' + $(this).attr('title').replace('Change','') + '.'); this.value = selectedElement.getAttribute(attr); @@ -1166,6 +1167,7 @@ function svg_edit_setup() { j++; uniqName = "Layer " + j; } + // TODO: localize this var newName = prompt("Please enter a unique layer name",uniqName); if (!newName) return; if (jQuery.inArray(newName, curNames) != -1) { @@ -1220,6 +1222,7 @@ function svg_edit_setup() { $('#layer_rename').click(function() { var curIndex = $('#layerlist tr.layersel').prevAll().length; var oldName = $('#layerlist tr.layersel td.layername').text(); + // TODO: localize this var newName = prompt("Please enter the new layer name",""); if (!newName) return; if (oldName == newName) {