1 | /*! |
---|
2 | * Ext JS Library 3.0.0 |
---|
3 | * Copyright(c) 2006-2009 Ext JS, LLC |
---|
4 | * licensing@extjs.com |
---|
5 | * http://www.extjs.com/license |
---|
6 | */ |
---|
7 | /* |
---|
8 | * German translation |
---|
9 | * By schmidetzki and humpdi |
---|
10 | * 04-07-2007 |
---|
11 | * Updated by wm003 10-31-2007 |
---|
12 | */ |
---|
13 | |
---|
14 | Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Übertrage Daten ...</div>'; |
---|
15 | |
---|
16 | if(Ext.View){ |
---|
17 | Ext.View.prototype.emptyText = ""; |
---|
18 | } |
---|
19 | |
---|
20 | if(Ext.grid.GridPanel){ |
---|
21 | Ext.grid.GridPanel.prototype.ddText = "{0} Zeile(n) ausgewählt"; |
---|
22 | } |
---|
23 | |
---|
24 | if(Ext.TabPanelItem){ |
---|
25 | Ext.TabPanelItem.prototype.closeText = "Diesen Tab schließen"; |
---|
26 | } |
---|
27 | |
---|
28 | if(Ext.form.BasicForm){ |
---|
29 | Ext.form.BasicForm.prototype.waitTitle = "Bitte warten..."; |
---|
30 | } |
---|
31 | |
---|
32 | if(Ext.form.Field){ |
---|
33 | Ext.form.Field.prototype.invalidText = "Der Wert des Feldes ist nicht korrekt"; |
---|
34 | } |
---|
35 | |
---|
36 | if(Ext.LoadMask){ |
---|
37 | Ext.LoadMask.prototype.msg = "Übertrage Daten..."; |
---|
38 | } |
---|
39 | |
---|
40 | Date.monthNames = [ |
---|
41 | "Januar", |
---|
42 | "Februar", |
---|
43 | "März", |
---|
44 | "April", |
---|
45 | "Mai", |
---|
46 | "Juni", |
---|
47 | "Juli", |
---|
48 | "August", |
---|
49 | "September", |
---|
50 | "Oktober", |
---|
51 | "November", |
---|
52 | "Dezember" |
---|
53 | ]; |
---|
54 | |
---|
55 | Date.getShortMonthName = function(month) { |
---|
56 | return Date.monthNames[month].substring(0, 3); |
---|
57 | }; |
---|
58 | |
---|
59 | Date.monthNumbers = { |
---|
60 | Jan : 0, |
---|
61 | Feb : 1, |
---|
62 | "M\u00e4r" : 2, |
---|
63 | Apr : 3, |
---|
64 | Mai : 4, |
---|
65 | Jun : 5, |
---|
66 | Jul : 6, |
---|
67 | Aug : 7, |
---|
68 | Sep : 8, |
---|
69 | Okt : 9, |
---|
70 | Nov : 10, |
---|
71 | Dez : 11 |
---|
72 | }; |
---|
73 | |
---|
74 | Date.getMonthNumber = function(name) { |
---|
75 | return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()]; |
---|
76 | }; |
---|
77 | |
---|
78 | Date.dayNames = [ |
---|
79 | "Sonntag", |
---|
80 | "Montag", |
---|
81 | "Dienstag", |
---|
82 | "Mittwoch", |
---|
83 | "Donnerstag", |
---|
84 | "Freitag", |
---|
85 | "Samstag" |
---|
86 | ]; |
---|
87 | |
---|
88 | Date.getShortDayName = function(day) { |
---|
89 | return Date.dayNames[day].substring(0, 3); |
---|
90 | }; |
---|
91 | |
---|
92 | if(Ext.MessageBox){ |
---|
93 | Ext.MessageBox.buttonText = { |
---|
94 | ok : "OK", |
---|
95 | cancel : "Abbrechen", |
---|
96 | yes : "Ja", |
---|
97 | no : "Nein" |
---|
98 | }; |
---|
99 | } |
---|
100 | |
---|
101 | if(Ext.util.Format){ |
---|
102 | Ext.util.Format.date = function(v, format){ |
---|
103 | if(!v) return ""; |
---|
104 | if(!(v instanceof Date)) v = new Date(Date.parse(v)); |
---|
105 | return v.dateFormat(format || "d.m.Y"); |
---|
106 | }; |
---|
107 | } |
---|
108 | |
---|
109 | if(Ext.DatePicker){ |
---|
110 | Ext.apply(Ext.DatePicker.prototype, { |
---|
111 | todayText : "Heute", |
---|
112 | minText : "Dieses Datum liegt von dem erstmöglichen Datum", |
---|
113 | maxText : "Dieses Datum liegt nach dem letztmöglichen Datum", |
---|
114 | disabledDaysText : "", |
---|
115 | disabledDatesText : "", |
---|
116 | monthNames : Date.monthNames, |
---|
117 | dayNames : Date.dayNames, |
---|
118 | nextText : "Nächster Monat (Strg/Control + Rechts)", |
---|
119 | prevText : "Vorheriger Monat (Strg/Control + Links)", |
---|
120 | monthYearText : "Monat auswählen (Strg/Control + Hoch/Runter, um ein Jahr auszuwählen)", |
---|
121 | todayTip : "Heute ({0}) (Leertaste)", |
---|
122 | format : "d.m.Y", |
---|
123 | okText : " OK ", |
---|
124 | cancelText : "Abbrechen", |
---|
125 | startDay : 1 |
---|
126 | }); |
---|
127 | } |
---|
128 | |
---|
129 | if(Ext.PagingToolbar){ |
---|
130 | Ext.apply(Ext.PagingToolbar.prototype, { |
---|
131 | beforePageText : "Seite", |
---|
132 | afterPageText : "von {0}", |
---|
133 | firstText : "Erste Seite", |
---|
134 | prevText : "vorherige Seite", |
---|
135 | nextText : "nächste Seite", |
---|
136 | lastText : "letzte Seite", |
---|
137 | refreshText : "Aktualisieren", |
---|
138 | displayMsg : "Anzeige Eintrag {0} - {1} von {2}", |
---|
139 | emptyMsg : "Keine Daten vorhanden" |
---|
140 | }); |
---|
141 | } |
---|
142 | |
---|
143 | if(Ext.form.TextField){ |
---|
144 | Ext.apply(Ext.form.TextField.prototype, { |
---|
145 | minLengthText : "Bitte geben Sie mindestens {0} Zeichen ein", |
---|
146 | maxLengthText : "Bitte geben Sie maximal {0} Zeichen ein", |
---|
147 | blankText : "Dieses Feld darf nicht leer sein", |
---|
148 | regexText : "", |
---|
149 | emptyText : null |
---|
150 | }); |
---|
151 | } |
---|
152 | |
---|
153 | if(Ext.form.NumberField){ |
---|
154 | Ext.apply(Ext.form.NumberField.prototype, { |
---|
155 | minText : "Der Mindestwert für dieses Feld ist {0}", |
---|
156 | maxText : "Der Maximalwert für dieses Feld ist {0}", |
---|
157 | nanText : "{0} ist keine Zahl" |
---|
158 | }); |
---|
159 | } |
---|
160 | |
---|
161 | if(Ext.form.DateField){ |
---|
162 | Ext.apply(Ext.form.DateField.prototype, { |
---|
163 | disabledDaysText : "nicht erlaubt", |
---|
164 | disabledDatesText : "nicht erlaubt", |
---|
165 | minText : "Das Datum in diesem Feld muß nach dem {0} liegen", |
---|
166 | maxText : "Das Datum in diesem Feld muß vor dem {0} liegen", |
---|
167 | invalidText : "{0} ist kein valides Datum - es muß im Format {1} eingegeben werden", |
---|
168 | format : "d.m.Y", |
---|
169 | altFormats : "d.m.Y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d" |
---|
170 | }); |
---|
171 | } |
---|
172 | |
---|
173 | if(Ext.form.ComboBox){ |
---|
174 | Ext.apply(Ext.form.ComboBox.prototype, { |
---|
175 | loadingText : "Lade Daten ...", |
---|
176 | valueNotFoundText : undefined |
---|
177 | }); |
---|
178 | } |
---|
179 | |
---|
180 | if(Ext.form.VTypes){ |
---|
181 | Ext.apply(Ext.form.VTypes, { |
---|
182 | emailText : 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@example.com"', |
---|
183 | urlText : 'Dieses Feld sollte eine URL enthalten. Format: "http:/'+'/www.example.com"', |
---|
184 | alphaText : 'Dieses Feld darf nur Buchstaben enthalten und _', |
---|
185 | alphanumText : 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _' |
---|
186 | }); |
---|
187 | } |
---|
188 | |
---|
189 | if(Ext.form.HtmlEditor){ |
---|
190 | Ext.apply(Ext.form.HtmlEditor.prototype, { |
---|
191 | createLinkText : 'Bitte geben Sie die URL für den Link ein:', |
---|
192 | buttonTips : { |
---|
193 | bold : { |
---|
194 | title: 'Fett (Ctrl+B)', |
---|
195 | text: 'Erstellt den ausgewählten Text in Fettschrift.', |
---|
196 | cls: 'x-html-editor-tip' |
---|
197 | }, |
---|
198 | italic : { |
---|
199 | title: 'Kursiv (Ctrl+I)', |
---|
200 | text: 'Erstellt den ausgewählten Text in Schrägschrift.', |
---|
201 | cls: 'x-html-editor-tip' |
---|
202 | }, |
---|
203 | underline : { |
---|
204 | title: 'Unterstrichen (Ctrl+U)', |
---|
205 | text: 'Unterstreicht den ausgewählten Text.', |
---|
206 | cls: 'x-html-editor-tip' |
---|
207 | }, |
---|
208 | increasefontsize : { |
---|
209 | title: 'Text vergößern', |
---|
210 | text: 'Erhöht die Schriftgröße.', |
---|
211 | cls: 'x-html-editor-tip' |
---|
212 | }, |
---|
213 | decreasefontsize : { |
---|
214 | title: 'Text verkleinern', |
---|
215 | text: 'Verringert die Schriftgröße.', |
---|
216 | cls: 'x-html-editor-tip' |
---|
217 | }, |
---|
218 | backcolor : { |
---|
219 | title: 'Text farblich hervorheben', |
---|
220 | text: 'Hintergrundfarbe des ausgewählten Textes ändern.', |
---|
221 | cls: 'x-html-editor-tip' |
---|
222 | }, |
---|
223 | forecolor : { |
---|
224 | title: 'Schriftfarbe', |
---|
225 | text: 'Farbe des ausgewählten Textes ändern.', |
---|
226 | cls: 'x-html-editor-tip' |
---|
227 | }, |
---|
228 | justifyleft : { |
---|
229 | title: 'Linksbündig', |
---|
230 | text: 'Setzt den Text linksbündig.', |
---|
231 | cls: 'x-html-editor-tip' |
---|
232 | }, |
---|
233 | justifycenter : { |
---|
234 | title: 'Zentrieren', |
---|
235 | text: 'Zentriert den Text in Editor.', |
---|
236 | cls: 'x-html-editor-tip' |
---|
237 | }, |
---|
238 | justifyright : { |
---|
239 | title: 'Rechtsbündig', |
---|
240 | text: 'Setzt den Text rechtsbündig.', |
---|
241 | cls: 'x-html-editor-tip' |
---|
242 | }, |
---|
243 | insertunorderedlist : { |
---|
244 | title: 'Aufzählungsliste', |
---|
245 | text: 'Beginnt eine Aufzählungsliste mit Spiegelstrichen.', |
---|
246 | cls: 'x-html-editor-tip' |
---|
247 | }, |
---|
248 | insertorderedlist : { |
---|
249 | title: 'Numerierte Liste', |
---|
250 | text: 'Beginnt eine numerierte Liste.', |
---|
251 | cls: 'x-html-editor-tip' |
---|
252 | }, |
---|
253 | createlink : { |
---|
254 | title: 'Hyperlink', |
---|
255 | text: 'Erstellt einen Hyperlink aus dem ausgewählten text.', |
---|
256 | cls: 'x-html-editor-tip' |
---|
257 | }, |
---|
258 | sourceedit : { |
---|
259 | title: 'Source bearbeiten', |
---|
260 | text: 'Zur Bearbeitung des Quelltextes wechseln.', |
---|
261 | cls: 'x-html-editor-tip' |
---|
262 | } |
---|
263 | } |
---|
264 | }); |
---|
265 | } |
---|
266 | |
---|
267 | if(Ext.grid.GridView){ |
---|
268 | Ext.apply(Ext.grid.GridView.prototype, { |
---|
269 | sortAscText : "Aufsteigend sortieren", |
---|
270 | sortDescText : "Absteigend sortieren", |
---|
271 | lockText : "Spalte sperren", |
---|
272 | unlockText : "Spalte freigeben (entsperren)", |
---|
273 | columnsText : "Spalten" |
---|
274 | }); |
---|
275 | } |
---|
276 | |
---|
277 | if(Ext.grid.GroupingView){ |
---|
278 | Ext.apply(Ext.grid.GroupingView.prototype, { |
---|
279 | emptyGroupText : '(Keine)', |
---|
280 | groupByText : 'Dieses Feld gruppieren', |
---|
281 | showGroupsText : 'In Gruppen anzeigen' |
---|
282 | }); |
---|
283 | } |
---|
284 | |
---|
285 | if(Ext.grid.PropertyColumnModel){ |
---|
286 | Ext.apply(Ext.grid.PropertyColumnModel.prototype, { |
---|
287 | nameText : "Name", |
---|
288 | valueText : "Wert", |
---|
289 | dateFormat : "d.m.Y" |
---|
290 | }); |
---|
291 | } |
---|
292 | |
---|
293 | if(Ext.grid.BooleanColumn){ |
---|
294 | Ext.apply(Ext.grid.BooleanColumn.prototype, { |
---|
295 | trueText : "wahr", |
---|
296 | falseText : "falsch" |
---|
297 | }); |
---|
298 | } |
---|
299 | |
---|
300 | if(Ext.grid.NumberColumn){ |
---|
301 | Ext.apply(Ext.grid.NumberColumn.prototype, { |
---|
302 | format : '0.000,00' |
---|
303 | }); |
---|
304 | } |
---|
305 | |
---|
306 | if(Ext.grid.DateColumn){ |
---|
307 | Ext.apply(Ext.grid.DateColumn.prototype, { |
---|
308 | format : 'd.m.Y' |
---|
309 | }); |
---|
310 | } |
---|
311 | |
---|
312 | if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){ |
---|
313 | Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { |
---|
314 | splitTip : "Ziehen, um Größe zu ändern.", |
---|
315 | collapsibleSplitTip : "Ziehen, um Größe zu ändern. Doppelklick um Panel auszublenden." |
---|
316 | }); |
---|
317 | } |
---|
318 | |
---|
319 | if(Ext.form.TimeField){ |
---|
320 | Ext.apply(Ext.form.TimeField.prototype, { |
---|
321 | minText : "Die Zeit muss gleich oder nach {0} liegen", |
---|
322 | maxText : "Die Zeit muss gleich oder vor {0} liegen", |
---|
323 | invalidText : "{0} ist keine gültige Zeit", |
---|
324 | format : "H:i" |
---|
325 | }); |
---|
326 | } |
---|