Index: /CKEditor/branches/prototype/_source/lang/en.js
===================================================================
--- /CKEditor/branches/prototype/_source/lang/en.js	(revision 2787)
+++ /CKEditor/branches/prototype/_source/lang/en.js	(revision 2788)
@@ -299,4 +299,6 @@
 	dlgImgLinkTab	: 'Link',
 	dlgImgTypeNumber	: 'This value is not a number.',
+	dlgImgButton2Img	: 'Do you want to transform the selected image button on a simple image?',
+	dlgImgImg2Button	: 'Do you want to transform the selected image on a image button?',	
 
 	elementsPath :
Index: /CKEditor/branches/prototype/_source/plugins/image/dialogs/image.js
===================================================================
--- /CKEditor/branches/prototype/_source/plugins/image/dialogs/image.js	(revision 2787)
+++ /CKEditor/branches/prototype/_source/plugins/image/dialogs/image.js	(revision 2788)
@@ -44,5 +44,4 @@
 		var imgType = 'input';
 
-		//a=element.getChildren();for(i in a){alert(i+'--'+a[i])}
 	
 		if ( element.$.tagName.toLowerCase() == 'a' )
@@ -79,5 +78,4 @@
 				this.editObj[ 'image' ] = element;
 			}
-		//	alert('tag: '+element.$.tagName.toLowerCase());
 			readAttribute.apply( this, [ 'info', 'alt', 'txtAlt' ] );
 			readAttribute.apply( this, [ 'info', 'width', 'txtWidth' ] );
@@ -127,12 +125,13 @@
 			var removeObj = false;
 
+			// Edit image.
 			if ( this.editMode[ 'image' ] )
 			{
-				//a=this.editObj[ 'image' ].getParent();for(i in a){alert(i+'--'+a[i])}
 				var imgTagName = this.editObj[ 'image' ].$.tagName.toLowerCase();
 				
-				if ( imageDialog && imgTagName == 'input' )		// Image dialog and Input element
+				// Image dialog and Input element
+				if ( imageDialog && imgTagName == 'input' )
 				{
-					if ( confirm( 'Do you want to transform the selected image button on a simple image?' ) )
+					if ( confirm( editor.lang.dlgImgButton2Img ) )
 					{
 						// Replace INPUT-> IMG
@@ -146,5 +145,5 @@
 				else if ( !imageDialog && imgTagName == 'img' )		// ImageButton dialog and Image element
 				{
-					if ( confirm( 'Do you want to transform the selected image on a image button?' ) )
+					if ( confirm( editor.lang.dlgImgImg2Button ) )
 					{
 						// Replace IMG -> INPUT
@@ -183,5 +182,4 @@
 			{
 				useLink = true;
-				alert('jest link');
 			}
 
