TODOs for localization

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@804 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-10-12 18:53:54 +00:00
parent 9ea9b36653
commit 9d24318b2b
1 changed files with 3 additions and 0 deletions

View File

@ -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) {