Administrator
2023-04-21 195945efc5db921a4c9eb8cf9421c172273293f5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/**
 * jqGrid German Translation
 * Version 1.0.0 (developed for jQuery Grid 3.3.1)
 * Olaf Klöppel opensource@blue-hit.de
 * http://blue-hit.de/ 
 *
 * Updated for jqGrid 3.8
 * Andreas Flack
 * http://www.contentcontrol-berlin.de
 *
 * Updated for jQuery 4.4
 * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
 * the format corresponds now the format from
 * https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
 * 
 * Updated for jqGrid 4.8
 * Tony Tomov
 * http://www.guriddo.net
 *
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
**/
/*global jQuery, define */
(function( factory ) {
    "use strict";
    if ( typeof define === "function" && define.amd ) {
        // AMD. Register as an anonymous module.
        define([
            "jquery",
            "../grid.base"
        ], factory );
    } else {
        // Browser globals
        factory( jQuery );
    }
}(function( $ ) {
 
$.jgrid = $.jgrid || {};
if(!$.jgrid.hasOwnProperty("regional")) {
    $.jgrid.regional = [];
}
$.jgrid.regional["de"] = {
    defaults : {
        recordtext: "Zeige {0} - {1} von {2}",
        emptyrecords: "Keine Datensätze vorhanden",
        loadtext: "Lädt...",
        savetext: "Speichern...",
        pgtext : "Seite {0} von {1}",
        pgfirst : "erste Seite",
        pglast : "letzte Seite",
        pgnext : "nächste Seite",
        pgprev : "vorherige Seite",
        pgrecs : "Datensätze pro Seite",
        showhide: "Toggle erweitern reduzieren",
        // mobile
        pagerCaption : "Grid::Page Settings",
        pageText : "Page:",
        recordPage : "Records per Page",
        nomorerecs : "No more records...",
        scrollPullup: "Pull up to load more...",
        scrollPulldown : "Pull down to refresh...",
        scrollRefresh : "Release to refresh..."
    },
    search : {
        caption: "Suche...",
        Find: "Suchen",
        Reset: "Zurücksetzen",
        odata: [{ oper:'eq', text:"gleich"},{ oper:'ne', text:"ungleich"},{ oper:'lt', text:"kleiner"},{ oper:'le', text:"kleiner gleich"},{ oper:'gt', text:"größer"},{ oper:'ge', text:"größer gleich"},{ oper:'bw', text:"beginnt mit"},{ oper:'bn', text:"beginnt nicht mit"},{ oper:'in', text:"ist in"},{ oper:'ni', text:"ist nicht in"},{ oper:'ew', text:"endet mit"},{ oper:'en', text:"endet nicht mit"},{ oper:'cn', text:"enthält"},{ oper:'nc', text:"enthält nicht"}, { oper:'nu', text:"ist Null" }, { oper:'nn', text:"ist nicht Null" }],
        groupOps: [{ op: "AND", text: "alle" },{ op: "OR", text: "mindestens eine" }],
        operandTitle : "Click to select search operation.",
        resetTitle : "Reset Search Value"
    },
    edit : {
        addCaption: "Datensatz hinzufügen",
        editCaption: "Datensatz bearbeiten",
        bSubmit: "Speichern",
        bCancel: "Abbrechen",
        bClose: "Schließen",
        saveData: "Daten wurden geändert! Änderungen speichern?",
        bYes : "ja",
        bNo : "nein",
        bExit : "abbrechen",
        msg: {
            required:"Feld ist erforderlich",
            number: "Bitte geben Sie eine Zahl ein",
            minValue:"Wert muss größer oder gleich sein, als ",
            maxValue:"Wert muss kleiner oder gleich sein, als ",
            email: "ist keine gültige E-Mail-Adresse",
            integer: "Bitte geben Sie eine Ganzzahl ein",
            date: "Bitte geben Sie ein gültiges Datum ein",
            url: "ist keine gültige URL. Präfix muss eingegeben werden ('http://' oder 'https://')",
            nodefined : " ist nicht definiert!",
            novalue : " Rückgabewert ist erforderlich!",
            customarray : "Benutzerdefinierte Funktion sollte ein Array zurückgeben!",
            customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten Überprüfung vorhanden sein!"
        }
    },
    view : {
        caption: "Datensatz anzeigen",
        bClose: "Schließen"
    },
    del : {
        caption: "Löschen",
        msg: "Ausgewählte Datensätze löschen?",
        bSubmit: "Löschen",
        bCancel: "Abbrechen"
    },
    nav : {
        edittext: " ",
        edittitle: "Ausgewählte Zeile editieren",
        addtext:" ",
        addtitle: "Neue Zeile einfügen",
        deltext: " ",
        deltitle: "Ausgewählte Zeile löschen",
        searchtext: " ",
        searchtitle: "Datensatz suchen",
        refreshtext: "",
        refreshtitle: "Tabelle neu laden",
        alertcap: "Warnung",
        alerttext: "Bitte Zeile auswählen",
        viewtext: "",
        viewtitle: "Ausgewählte Zeile anzeigen",
        savetext: "",
        savetitle: "Zeile speihern",
        canceltext: "",
        canceltitle : "Zeile abbrechen",
        selectcaption : "Actions..."
    },
    col : {
        caption: "Spalten auswählen",
        bSubmit: "Speichern",
        bCancel: "Abbrechen"    
    },
    errors : {
        errcap : "Fehler",
        nourl : "Keine URL angegeben",
        norecords: "Keine Datensätze zu bearbeiten",
        model : "colNames und colModel sind unterschiedlich lang!"
    },
    formatter : {
        integer : {thousandsSeparator: ".", defaultValue: '0'},
        number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
        currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" €", defaultValue: '0,00'},
        date : {
            dayNames:   [
                "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa",
                "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"
            ],
            monthNames: [
                "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
                "Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
            ],
            AmPm : ["","","",""],
            S: function () {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
            srcformat: 'Y-m-d',
            newformat: 'd.m.Y',
            parseRe : /[#%\\\/:_;.,\t\s-]/,
            masks : {
                // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
                // and see http://docs.jquery.com/UI/Datepicker/formatDate
                // and https://github.com/jquery/globalize#dates for alternative formats used frequently
                ISO8601Long: "Y-m-d H:i:s",
                ISO8601Short: "Y-m-d",
                // short date:
                //    d - Day of the month, 2 digits with leading zeros
                //    m - Numeric representation of a month, with leading zeros
                //    Y - A full numeric representation of a year, 4 digits
                ShortDate: "d.m.Y",    // in jQuery UI Datepicker: "dd.MM.yyyy"
                // long date:
                //    l - A full textual representation of the day of the week
                //    j - Day of the month without leading zeros
                //    F - A full textual representation of a month
                //    Y - A full numeric representation of a year, 4 digits
                LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
                // long date with long time:
                //    l - A full textual representation of the day of the week
                //    j - Day of the month without leading zeros
                //    F - A full textual representation of a month
                //    Y - A full numeric representation of a year, 4 digits
                //    H - 24-hour format of an hour with leading zeros
                //    i - Minutes with leading zeros
                //    s - Seconds, with leading zeros
                FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
                // month day:
                //    d - Day of the month, 2 digits with leading zeros
                //    F - A full textual representation of a month
                MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
                // short time (without seconds)
                //    H - 24-hour format of an hour with leading zeros
                //    i - Minutes with leading zeros
                ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
                // long time (with seconds)
                //    H - 24-hour format of an hour with leading zeros
                //    i - Minutes with leading zeros
                //    s - Seconds, with leading zeros
                LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
                SortableDateTime: "Y-m-d\\TH:i:s",
                UniversalSortableDateTime: "Y-m-d H:i:sO",
                // month with year
                //    F - A full textual representation of a month
                //    Y - A full numeric representation of a year, 4 digits
                YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
            },
            reformatAfterEdit : false,
            userLocalTime : false
        },
        baseLinkUrl: '',
        showAction: '',
        target: '',
        checkbox : {disabled:true},
        idName : 'id'
    }
};
}));