Hi,
I want to change the About button to an help button. So I need to change the text content of this dialog.
Why can't I just add a file /lang/fr.js with :
in order to use this content and not the ckeditor/lang/fr.js one ?
I want to change the About button to an help button. So I need to change the text content of this dialog.
Why can't I just add a file /lang/fr.js with :
CKEDITOR.plugins.setLang( 'about', 'fr', { about : { titre : 'Aide', title : 'Aide', dlgTitle : 'Aide', help : 'Consulter $1 pour l\'aide.', userGuide : 'Guide de l\'utilisateur CKEditor en anglais', moreInfo : 'Pour les informations de licence, veuillez visiter notre site web:', copy : 'Copyright © $1. Tous droits réservés.' } } )
in order to use this content and not the ckeditor/lang/fr.js one ?
Re: How to change the content of About Dialog
There are two ways to update existing release with new language file(s).
1.
You can either put this updated file in SVN ckeditor/_source/lang/ and build a new release.
Once the release is build copy your file from SVN ckeditor/lang/ to ckeditor/lang in your existing release.
If you will be using source version please also copy the file from SVN ckeditor/_source/lang/ to ckeditor/_source/lang/
2.
You can update existing minified file directly in ckeditor/lang.
--------------------------------------
How to build a new release:
NOTE: Version 3.6.4 was developed until revision 7573. All newer revisions were not tested so this is the last recommended revision to use, but of course a user can verify the page with revisions and decide if he needs new ones or not - http://rev.ckeditor.com/index.php?pageID=1
Basic actions:
You need to have Java installed in your computer. For more information please visit: http://www.oracle.com/technetwork/java/index.html
Building a new release of CKEditor with your modifications:
You need to have tortoiseSVN client installed on your computer. If you are not familiar with SVN please visit http://tortoisesvn.net/about.html and http://tortoisesvn.tigris.org/ for more information.
Once you have installed tortioseSVN you need to:
1. Download the CKEditor repository
2. Create, e.g., C:\ckedtior_trunk
3. Right-click on the folder
4. Choose SVN checkout form menu
5. Paste the http://svn.ckeditor.com/CKEditor/trunk into the “URL of repository” field
6. After you have made your custom example changes:
a. Copy your new language file into an appropriate directory in your local repository, e.g., the fr.js file should go under C:\ckedtior_trunk\_source\lang\*. Of course you could have always made changes in your local repository directly.
b. It’s similar with plugins except that you have to put your new plugin folder under ckeditor\_source\plugins\* How to create CKEditor plugins was described in http://docs.cksource.com/CKEditor_3.x/Tutorials. Of course you could have always made changes in your local repository directly.
7. Go to ckeditor_trunk\_dev\releaser\ and double-click on release.bat (Win) or release.sh. (Linux)
8. A new release with your file(s) will be created under the C:\ckeditor_trunk\_dev\releaser\release directory.
More information on CKReleaser can be found under:
http://docs.cksource.com/FCKeditor_3.x/ ... CKReleaser