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