Ext.MessageBox.prompt() is using Ext.MessageBox object properties, like buttonText.

If you do something like this :

var promptBox = Ext.Msg;
promptBox.buttonText={
cancel: 'cancelText',...