Wording of pop-up on pasting from Word

Last post 04-25-2008, 4:17 AM by nickyuk. 2 replies.
Sort Posts: Previous Next
  •  04-18-2008, 5:49 AM 39461

    Wording of pop-up on pasting from Word

    Hi,
     
    Is it possible to change the wording of the confirmation box that pops up when pasting from Word.  It currently asks "Do you want to clean the code before pasting from Word?" and gives the options OK and Cancel.  My users have taken Cancel to mean cancel the paste, rather than cancel the clean up, so I'd like to be able to change the wording on the buttons to Yes and No.  Is that possible and if so, how do I do it?
     
    Thanks,
     
    Nicky
  •  04-18-2008, 8:52 AM 39476 in reply to 39461

    Re: Wording of pop-up on pasting from Word

    Nicky,
     
    Please modify the language files which can be found in CuteSoft_Client\CuteEditor\Languages\ folder.
     
    >>currently asks "Do you want to clean the code before pasting from Word?"
     
    Please modify the following entry of the language file:
     
     <resource name="RemoveWordTags">Do you want to clean the code before pasting from Word?</resource>
     
    >>gives the options OK and Cancel.
     
    OK and Cancel are from the JavaScript confirm window. It's controled by the language setting of the client browser.
     

    <script type="text/javascript">
    <!--

    var answer = confirm ("Are you having fun?")
    if (answer)
    alert ("Woo Hoo! So am I.")
    else
    alert ("Darn. Well, keep trying then.")

    // -->
    </script>

     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  04-25-2008, 4:17 AM 39744 in reply to 39476

    Re: Wording of pop-up on pasting from Word

    Hi Adam,
     
    Thanks for your advice.  I modified the appropriate language file but it is having no effect.  Clearing all the caches and restarting the editor still showed no effect.
     
    It's evident from the logs that when we use the editor it is not calling any of those language files. It is calling editor.cep and that file also includes all the XML that is in the language file.  Is it getting the text from editor.cep?  Is that file built from the langauge files? 
     
    Thanks,
     
    Nicky 
View as RSS news feed in XML