view/js/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.da-DK.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1.5

Size

Lines of Code 56
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 44
c 0
b 0
f 0
dl 0
loc 56
rs 10
mnd 1
bc 1
fnc 2
bpm 0.5
cpm 1.5
noi 1
1
/**
2
* Danish translations
3
*/
4
(function (factory) {
5
    if (typeof define === 'function' && define.amd) {
0 ignored issues
show
Bug introduced by
The variable define seems to be never declared. If this is a global, consider adding a /** global: define */ comment.

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.

Loading history...
6
        // AMD. Register as an anonymous module.
7
        define('bootstrap.wysihtml5.da-DK', ['jquery', 'bootstrap.wysihtml5'], factory);
8
    } else {
9
        // Browser globals
10
        factory(jQuery);
11
    }
12
}(function($){
13
    $.fn.wysihtml5.locale["da-DK"] = {
14
        font_styles: {
15
            normal: "Normal tekst",
16
            h1: "Overskrift 1",
17
            h2: "Overskrift 2",
18
            h3: "Overskrift 3",
19
            h4: "Overskrift 4",
20
            h5: "Overskrift 5",
21
            h6: "Overskrift 6"
22
        },
23
        emphasis: {
24
            bold: "Fed",
25
            italic: "Kursiv",
26
            underline: "Understreget"
27
        },
28
        lists: {
29
            unordered: "Uordnet liste",
30
            ordered: "Ordnet liste",
31
            outdent: "Udryk",
32
            indent: "Indryk"
33
        },
34
        link: {
35
            insert: "Indsæt Link",
36
            cancel: "Annuler"
37
        },
38
        image: {
39
            insert: "Indsæt billede",
40
            cancel: "Annuler"
41
        },
42
        html: {
43
            edit: "Rediger HTML"
44
        },
45
        colours: {
46
            black: "Sort",
47
            silver: "Sølv",
48
            gray: "Grå",
49
            maroon: "Mørkerød",
50
            red: "Rød",
51
            purple: "Lilla",
52
            green: "Grøn",
53
            olive: "Lysegrøn",
54
            navy: "Mørkeblå",
55
            blue: "Blå",
56
            orange: "Orange"
57
        }
58
    };
59
}));
60