| Total Complexity | 3 |
| Complexity/F | 1.5 |
| Lines of Code | 58 |
| Function Count | 2 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | /** |
||
| 4 | (function (factory) { |
||
| 5 | if (typeof define === 'function' && define.amd) { |
||
|
|
|||
| 6 | // AMD. Register as an anonymous module. |
||
| 7 | define('bootstrap.wysihtml5.fr-FR', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
| 8 | } else { |
||
| 9 | // Browser globals |
||
| 10 | factory(jQuery); |
||
| 11 | } |
||
| 12 | }(function($){ |
||
| 13 | $.fn.wysihtml5.locale["fr-FR"] = { |
||
| 14 | font_styles: { |
||
| 15 | normal: "Texte normal", |
||
| 16 | h1: "Titre 1", |
||
| 17 | h2: "Titre 2", |
||
| 18 | h3: "Titre 3", |
||
| 19 | h4: "Titre 4", |
||
| 20 | h5: "Titre 5", |
||
| 21 | h6: "Titre 6" |
||
| 22 | }, |
||
| 23 | emphasis: { |
||
| 24 | bold: "Gras", |
||
| 25 | italic: "Italique", |
||
| 26 | underline: "Souligné", |
||
| 27 | small: "Petit" |
||
| 28 | }, |
||
| 29 | lists: { |
||
| 30 | unordered: "Liste à puces", |
||
| 31 | ordered: "Liste numérotée", |
||
| 32 | outdent: "Diminuer le retrait", |
||
| 33 | indent: "Augmenter le retrait" |
||
| 34 | }, |
||
| 35 | link: { |
||
| 36 | target: "Ouvrir le lien dans une nouvelle fenêtre", |
||
| 37 | insert: "Insérer un lien", |
||
| 38 | cancel: "Annuler" |
||
| 39 | }, |
||
| 40 | image: { |
||
| 41 | insert: "Insérer une image", |
||
| 42 | cancel: "Annuler" |
||
| 43 | }, |
||
| 44 | html: { |
||
| 45 | edit: "Editer en HTML" |
||
| 46 | }, |
||
| 47 | colours: { |
||
| 48 | black: "Noir", |
||
| 49 | silver: "Gris clair", |
||
| 50 | gray: "Gris", |
||
| 51 | maroon: "Marron", |
||
| 52 | red: "Rouge", |
||
| 53 | purple: "Pourpre", |
||
| 54 | green: "Vert", |
||
| 55 | olive: "Olive", |
||
| 56 | navy: "Bleu marine", |
||
| 57 | blue: "Bleu", |
||
| 58 | orange: "Orange" |
||
| 59 | } |
||
| 60 | }; |
||
| 61 | })); |
||
| 62 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.