view/js/bootstrap-wysihtml5/locales/bootstrap-wysihtml5.pl-PL.js   A
last analyzed

Complexity

Total Complexity 3
Complexity/F 1.5

Size

Lines of Code 57
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 45
c 0
b 0
f 0
dl 0
loc 57
rs 10
mnd 1
bc 1
fnc 2
bpm 0.5
cpm 1.5
noi 1
1
/**
2
 * Polish translation for bootstrap-wysihtml5
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.pl-PL', ['jquery', 'bootstrap.wysihtml5'], factory);
8
    } else {
9
        // Browser globals
10
        factory(jQuery);
11
    }
12
}(function($){
13
    $.fn.wysihtml5.locale["pl-PL"] = {
14
        font_styles: {
15
            normal: "Tekst podstawowy",
16
            h1: "Nagłówek 1",
17
            h2: "Nagłówek 2",
18
            h3: "Nagłówek 3",
19
            h4: "Nagłówek 4",
20
            h5: "Nagłówek 5",
21
            h6: "Nagłówek 6"
22
        },
23
        emphasis: {
24
            bold: "Pogrubienie",
25
            italic: "Kursywa",
26
            underline: "Podkreślenie"
27
        },
28
        lists: {
29
            unordered: "Lista wypunktowana",
30
            ordered: "Lista numerowana",
31
            outdent: "Zmniejsz wcięcie",
32
            indent: "Zwiększ wcięcie"
33
        },
34
        link: {
35
            insert: "Wstaw odnośnik",
36
            cancel: "Anuluj",
37
            target: "Otwórz odnośnik w nowym oknie"
38
        },
39
        image: {
40
            insert: "Wstaw obrazek",
41
            cancel: "Anuluj"
42
        },
43
        html: {
44
            edit: "Edycja HTML"
45
        },
46
        colours: {
47
            black: "Czarny",
48
            silver: "Srebrny",
49
            gray: "Szary",
50
            maroon: "Kasztanowy",
51
            red: "Czerwony",
52
            purple: "Fioletowy",
53
            green: "Zielony",
54
            olive: "Oliwkowy",
55
            navy: "Granatowy",
56
            blue: "Niebieski",
57
            orange: "Pomarańczowy"
58
        }
59
    };
60
}));
61