Created
April 9, 2015 06:18
-
-
Save kingxsp/76aada3e4f6bcf220a0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Create a jquery.cleditor.i18n.js file and make it look like this: | |
CLEDITOR_I18N = { | |
"Align Text Left": "Aliniază la stânga", | |
"Center": "Centrează", | |
"Align Text Right": "Aliniază la dreapta", | |
// etc. | |
} | |
2. Load the translation file before CLeditor: | |
<script src="jquery.cleditor.i18n.js"></script> | |
<script src="jquery.cleditor.js"></script> | |
That's it. | |
CLEDITOR_I18N = { | |
"Bold": "Gras", | |
"Italic": "Italique", | |
"Underline": "Souligné", | |
"Strikethrough": "Barré", | |
"Subscript": "Indice", | |
"Superscript": "Exposant", | |
"Font": "Font", | |
"Text size": "Taille de police", | |
"Style": "Style", | |
"Text color": "Couleur de police", | |
"Highlight color": "Surlignage", | |
"Remove formatting": "Effacer la mise en forme", | |
"Unordered list": "Puces", | |
"Ordered list": "Numérotation", | |
"Outdent": "Diminuer le retrait", | |
"Indent": "Augmenter le retrait", | |
"Align left": "Aligné à gauche", | |
"Align center": "Au centre", | |
"Align right": "Aligné à droite", | |
"Align full": "Justifier", | |
"Undo": "Annuler", | |
"Redo": "Rétablir", | |
"Insert horizontal rule": "Insérer une ligne horizontale", | |
"Insert image": "Insérer une image", | |
"Insert link": "Insérer un lien", | |
"Remove link": "Effacer le lien", | |
"Cut": "Couper", | |
"Copy": "Copier", | |
"Paste": "Coller", | |
"Paste as text": "Coller en tant que texte", | |
"Print": "Imprimer", | |
"Show source": "Afficher la source" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment