[294] | 1 | ;(function($){
|
---|
| 2 | /**
|
---|
| 3 | * jqGrid German Translation
|
---|
| 4 | * Version 1.0.0 (developed for jQuery Grid 3.3.1)
|
---|
| 5 | * Olaf Klöppel opensource@blue-hit.de
|
---|
| 6 | * http://blue-hit.de/
|
---|
| 7 | *
|
---|
| 8 | * Updated for jqGrid 3.8
|
---|
| 9 | * Andreas Flack
|
---|
| 10 | * http://www.contentcontrol-berlin.de
|
---|
| 11 | *
|
---|
| 12 | * Updated for jQuery 4.4
|
---|
| 13 | * Oleg Kiriljuk oleg.kiriljuk@ok-soft-gmbh.com
|
---|
| 14 | * the format corresponds now the format from
|
---|
| 15 | * https://github.com/jquery/globalize/blob/master/lib/cultures/globalize.culture.de.js
|
---|
| 16 | *
|
---|
| 17 | * Dual licensed under the MIT and GPL licenses:
|
---|
| 18 | * http://www.opensource.org/licenses/mit-license.php
|
---|
| 19 | * http://www.gnu.org/licenses/gpl.html
|
---|
| 20 | **/
|
---|
| 21 | $.jgrid = $.jgrid || {};
|
---|
| 22 | $.extend($.jgrid,{
|
---|
| 23 | defaults : {
|
---|
| 24 | recordtext: "Zeige {0} - {1} von {2}",
|
---|
| 25 | emptyrecords: "Keine DatensÀtze vorhanden",
|
---|
| 26 | loadtext: "LÀdt...",
|
---|
| 27 | pgtext : "Seite {0} von {1}"
|
---|
| 28 | },
|
---|
| 29 | search : {
|
---|
| 30 | caption: "Suche...",
|
---|
| 31 | Find: "Suchen",
|
---|
| 32 | Reset: "ZurÃŒcksetzen",
|
---|
| 33 | 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"}],
|
---|
| 34 | groupOps: [ { op: "AND", text: "alle" }, { op: "OR", text: "mindestens eine" } ]
|
---|
| 35 | },
|
---|
| 36 | edit : {
|
---|
| 37 | addCaption: "Datensatz hinzufÃŒgen",
|
---|
| 38 | editCaption: "Datensatz bearbeiten",
|
---|
| 39 | bSubmit: "Speichern",
|
---|
| 40 | bCancel: "Abbrechen",
|
---|
| 41 | bClose: "SchlieÃen",
|
---|
| 42 | saveData: "Daten wurden geÀndert! Ãnderungen speichern?",
|
---|
| 43 | bYes : "ja",
|
---|
| 44 | bNo : "nein",
|
---|
| 45 | bExit : "abbrechen",
|
---|
| 46 | msg: {
|
---|
| 47 | required:"Feld ist erforderlich",
|
---|
| 48 | number: "Bitte geben Sie eine Zahl ein",
|
---|
| 49 | minValue:"Wert muss gröÃer oder gleich sein, als ",
|
---|
| 50 | maxValue:"Wert muss kleiner oder gleich sein, als ",
|
---|
| 51 | email: "ist keine gÃŒltige E-Mail-Adresse",
|
---|
| 52 | integer: "Bitte geben Sie eine Ganzzahl ein",
|
---|
| 53 | date: "Bitte geben Sie ein gÃŒltiges Datum ein",
|
---|
| 54 | url: "ist keine gÌltige URL. PrÀfix muss eingegeben werden ('http://' oder 'https://')",
|
---|
| 55 | nodefined : " ist nicht definiert!",
|
---|
| 56 | novalue : " RÃŒckgabewert ist erforderlich!",
|
---|
| 57 | customarray : "Benutzerdefinierte Funktion sollte ein Array zurÃŒckgeben!",
|
---|
| 58 | customfcheck : "Benutzerdefinierte Funktion sollte im Falle der benutzerdefinierten ÃberprÃŒfung vorhanden sein!"
|
---|
| 59 | }
|
---|
| 60 | },
|
---|
| 61 | view : {
|
---|
| 62 | caption: "Datensatz anzeigen",
|
---|
| 63 | bClose: "SchlieÃen"
|
---|
| 64 | },
|
---|
| 65 | del : {
|
---|
| 66 | caption: "Löschen",
|
---|
| 67 | msg: "AusgewÀhlte DatensÀtze löschen?",
|
---|
| 68 | bSubmit: "Löschen",
|
---|
| 69 | bCancel: "Abbrechen"
|
---|
| 70 | },
|
---|
| 71 | nav : {
|
---|
| 72 | edittext: " ",
|
---|
| 73 | edittitle: "AusgewÀhlte Zeile editieren",
|
---|
| 74 | addtext:" ",
|
---|
| 75 | addtitle: "Neue Zeile einfÃŒgen",
|
---|
| 76 | deltext: " ",
|
---|
| 77 | deltitle: "AusgewÀhlte Zeile löschen",
|
---|
| 78 | searchtext: " ",
|
---|
| 79 | searchtitle: "Datensatz suchen",
|
---|
| 80 | refreshtext: "",
|
---|
| 81 | refreshtitle: "Tabelle neu laden",
|
---|
| 82 | alertcap: "Warnung",
|
---|
| 83 | alerttext: "Bitte Zeile auswÀhlen",
|
---|
| 84 | viewtext: "",
|
---|
| 85 | viewtitle: "AusgewÀhlte Zeile anzeigen"
|
---|
| 86 | },
|
---|
| 87 | col : {
|
---|
| 88 | caption: "Spalten auswÀhlen",
|
---|
| 89 | bSubmit: "Speichern",
|
---|
| 90 | bCancel: "Abbrechen"
|
---|
| 91 | },
|
---|
| 92 | errors : {
|
---|
| 93 | errcap : "Fehler",
|
---|
| 94 | nourl : "Keine URL angegeben",
|
---|
| 95 | norecords: "Keine DatensÀtze zu bearbeiten",
|
---|
| 96 | model : "colNames und colModel sind unterschiedlich lang!"
|
---|
| 97 | },
|
---|
| 98 | formatter : {
|
---|
| 99 | integer : {thousandsSeparator: ".", defaultValue: '0'},
|
---|
| 100 | number : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, defaultValue: '0,00'},
|
---|
| 101 | currency : {decimalSeparator:",", thousandsSeparator: ".", decimalPlaces: 2, prefix: "", suffix:" â¬", defaultValue: '0,00'},
|
---|
| 102 | date : {
|
---|
| 103 | dayNames: [
|
---|
| 104 | "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa",
|
---|
| 105 | "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"
|
---|
| 106 | ],
|
---|
| 107 | monthNames: [
|
---|
| 108 | "Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez",
|
---|
| 109 | "Januar", "Februar", "MÀrz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"
|
---|
| 110 | ],
|
---|
| 111 | AmPm : ["","","",""],
|
---|
| 112 | S: function (j) {return '.';}, // one can also use 'er' instead of '.' but one have to use additional word like 'der' or 'den' before
|
---|
| 113 | srcformat: 'Y-m-d',
|
---|
| 114 | newformat: 'd.m.Y',
|
---|
| 115 | parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
---|
| 116 | masks : {
|
---|
| 117 | // see http://php.net/manual/en/function.date.php for PHP format used in jqGrid
|
---|
| 118 | // and see http://docs.jquery.com/UI/Datepicker/formatDate
|
---|
| 119 | // and https://github.com/jquery/globalize#dates for alternative formats used frequently
|
---|
| 120 | ISO8601Long: "Y-m-d H:i:s",
|
---|
| 121 | ISO8601Short: "Y-m-d",
|
---|
| 122 | // short date:
|
---|
| 123 | // d - Day of the month, 2 digits with leading zeros
|
---|
| 124 | // m - Numeric representation of a month, with leading zeros
|
---|
| 125 | // Y - A full numeric representation of a year, 4 digits
|
---|
| 126 | ShortDate: "d.m.Y", // in jQuery UI Datepicker: "dd.MM.yyyy"
|
---|
| 127 | // long date:
|
---|
| 128 | // l - A full textual representation of the day of the week
|
---|
| 129 | // j - Day of the month without leading zeros
|
---|
| 130 | // F - A full textual representation of a month
|
---|
| 131 | // Y - A full numeric representation of a year, 4 digits
|
---|
| 132 | LongDate: "l, j. F Y", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy"
|
---|
| 133 | // long date with long time:
|
---|
| 134 | // l - A full textual representation of the day of the week
|
---|
| 135 | // j - Day of the month without leading zeros
|
---|
| 136 | // F - A full textual representation of a month
|
---|
| 137 | // Y - A full numeric representation of a year, 4 digits
|
---|
| 138 | // H - 24-hour format of an hour with leading zeros
|
---|
| 139 | // i - Minutes with leading zeros
|
---|
| 140 | // s - Seconds, with leading zeros
|
---|
| 141 | FullDateTime: "l, j. F Y H:i:s", // in jQuery UI Datepicker: "dddd, d. MMMM yyyy HH:mm:ss"
|
---|
| 142 | // month day:
|
---|
| 143 | // d - Day of the month, 2 digits with leading zeros
|
---|
| 144 | // F - A full textual representation of a month
|
---|
| 145 | MonthDay: "d F", // in jQuery UI Datepicker: "dd MMMM"
|
---|
| 146 | // short time (without seconds)
|
---|
| 147 | // H - 24-hour format of an hour with leading zeros
|
---|
| 148 | // i - Minutes with leading zeros
|
---|
| 149 | ShortTime: "H:i", // in jQuery UI Datepicker: "HH:mm"
|
---|
| 150 | // long time (with seconds)
|
---|
| 151 | // H - 24-hour format of an hour with leading zeros
|
---|
| 152 | // i - Minutes with leading zeros
|
---|
| 153 | // s - Seconds, with leading zeros
|
---|
| 154 | LongTime: "H:i:s", // in jQuery UI Datepicker: "HH:mm:ss"
|
---|
| 155 | SortableDateTime: "Y-m-d\\TH:i:s",
|
---|
| 156 | UniversalSortableDateTime: "Y-m-d H:i:sO",
|
---|
| 157 | // month with year
|
---|
| 158 | // F - A full textual representation of a month
|
---|
| 159 | // Y - A full numeric representation of a year, 4 digits
|
---|
| 160 | YearMonth: "F Y" // in jQuery UI Datepicker: "MMMM yyyy"
|
---|
| 161 | },
|
---|
| 162 | reformatAfterEdit : false
|
---|
| 163 | },
|
---|
| 164 | baseLinkUrl: '',
|
---|
| 165 | showAction: '',
|
---|
| 166 | target: '',
|
---|
| 167 | checkbox : {disabled:true},
|
---|
| 168 | idName : 'id'
|
---|
| 169 | }
|
---|
| 170 | });
|
---|
| 171 | })(jQuery); |
---|