TODOs for localization
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@804 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
9ea9b36653
commit
9d24318b2b
|
@ -413,6 +413,7 @@ function svg_edit_setup() {
|
||||||
} else valid = true;
|
} else valid = true;
|
||||||
|
|
||||||
if(!valid) {
|
if(!valid) {
|
||||||
|
// TODO: localize this
|
||||||
alert('Invalid value given for' + $(this).attr('title').replace('Change','')
|
alert('Invalid value given for' + $(this).attr('title').replace('Change','')
|
||||||
+ '.');
|
+ '.');
|
||||||
this.value = selectedElement.getAttribute(attr);
|
this.value = selectedElement.getAttribute(attr);
|
||||||
|
@ -1166,6 +1167,7 @@ function svg_edit_setup() {
|
||||||
j++;
|
j++;
|
||||||
uniqName = "Layer " + j;
|
uniqName = "Layer " + j;
|
||||||
}
|
}
|
||||||
|
// TODO: localize this
|
||||||
var newName = prompt("Please enter a unique layer name",uniqName);
|
var newName = prompt("Please enter a unique layer name",uniqName);
|
||||||
if (!newName) return;
|
if (!newName) return;
|
||||||
if (jQuery.inArray(newName, curNames) != -1) {
|
if (jQuery.inArray(newName, curNames) != -1) {
|
||||||
|
@ -1220,6 +1222,7 @@ function svg_edit_setup() {
|
||||||
$('#layer_rename').click(function() {
|
$('#layer_rename').click(function() {
|
||||||
var curIndex = $('#layerlist tr.layersel').prevAll().length;
|
var curIndex = $('#layerlist tr.layersel').prevAll().length;
|
||||||
var oldName = $('#layerlist tr.layersel td.layername').text();
|
var oldName = $('#layerlist tr.layersel td.layername').text();
|
||||||
|
// TODO: localize this
|
||||||
var newName = prompt("Please enter the new layer name","");
|
var newName = prompt("Please enter the new layer name","");
|
||||||
if (!newName) return;
|
if (!newName) return;
|
||||||
if (oldName == newName) {
|
if (oldName == newName) {
|
||||||
|
|
Loading…
Reference in New Issue