| Total Complexity | 3 |
| Complexity/F | 1.5 |
| Lines of Code | 56 |
| 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.bg-BG', ['jquery', 'bootstrap.wysihtml5'], factory); |
||
| 8 | } else { |
||
| 9 | // Browser globals |
||
| 10 | factory(jQuery); |
||
| 11 | } |
||
| 12 | }(function($){ |
||
| 13 | $.fn.wysihtml5.locale["bg-BG"] = { |
||
| 14 | font_styles: { |
||
| 15 | normal: "Нормален текст", |
||
| 16 | h1: "Заглавие 1", |
||
| 17 | h2: "Заглавие 2", |
||
| 18 | h3: "Заглавие 3", |
||
| 19 | h4: "Заглавие 4", |
||
| 20 | h5: "Заглавие 5", |
||
| 21 | h6: "Заглавие 6" |
||
| 22 | }, |
||
| 23 | emphasis: { |
||
| 24 | bold: "Удебелен", |
||
| 25 | italic: "Курсив", |
||
| 26 | underline: "Подчертан" |
||
| 27 | }, |
||
| 28 | lists: { |
||
| 29 | unordered: "Неподреден списък", |
||
| 30 | ordered: "Подреден списък", |
||
| 31 | outdent: "Намали отстояние", |
||
| 32 | indent: "Увеличи отстояние" |
||
| 33 | }, |
||
| 34 | link: { |
||
| 35 | insert: "Вмъкни връзка", |
||
| 36 | cancel: "Отмени" |
||
| 37 | }, |
||
| 38 | image: { |
||
| 39 | insert: "Вмъкни картинка", |
||
| 40 | cancel: "Отмени" |
||
| 41 | }, |
||
| 42 | html: { |
||
| 43 | edit: "Редакртирай HTML" |
||
| 44 | }, |
||
| 45 | colours: { |
||
| 46 | black: "Черен", |
||
| 47 | silver: "Сребърен", |
||
| 48 | gray: "Сив", |
||
| 49 | maroon: "Коричневый", |
||
| 50 | red: "Червен", |
||
| 51 | purple: "Виолетов", |
||
| 52 | green: "Зелен", |
||
| 53 | olive: "Маслинен", |
||
| 54 | navy: "Морско син", |
||
| 55 | blue: "Син", |
||
| 56 | orange: "Оранжев" |
||
| 57 | } |
||
| 58 | }; |
||
| 59 | })); |
||
| 60 | |||
| 61 |
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.