[svn r20929] FS#2867 - The FCKEditor, dialogs: Adding support about language translation for the new nice buttons "Ok" and "Cancel". Making these buttons a little bit wider.

skala
Ivan Tcholakov 17 years ago
parent 56e51305bb
commit 1b57bd064a
  1. 14
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js
  2. 8
      main/inc/lib/fckeditor/editor/skins/silver/fck_dialog.css

@ -607,7 +607,7 @@ FCKSaveCommand.prototype.Execute = function()
**************************************************************************************
*/
// Making a new alternative command for prcessing Images.
// Making a new alternative command for processing Images.
var FCKImageCommand = function( name )
{
this.Name = name ;
@ -804,6 +804,18 @@ FCKCommands.GetCommand = function( commandName )
return oCommand ;
}
// Upgrading the language subsystem, so it could be able to translate new nice buttons.
FCKLanguageManager.TranslatePage = function( targetDocument )
{
this.TranslateElements( targetDocument, 'INPUT', 'value' ) ;
this.TranslateElements( targetDocument, 'SPAN', 'innerHTML' ) ;
this.TranslateElements( targetDocument, 'LABEL', 'innerHTML' ) ;
this.TranslateElements( targetDocument, 'OPTION', 'innerHTML', true ) ;
this.TranslateElements( targetDocument, 'LEGEND', 'innerHTML' ) ;
// The following tag has been added for searching:
this.TranslateElements( targetDocument, 'BUTTON', 'innerHTML' ) ;
}
/*
**************************************************************************************

@ -98,9 +98,15 @@ body, .BackColor
#btnOk
{
width: 100px;
width: 110px;
}
#btnCancel
{
width: 110px;
}
.DarkBackground
{
background-color: #f2f2f2;

Loading…
Cancel
Save