3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
17 * 2007-Apr-07 update by schmidetzki and humpdi
18 * 2007-Oct-31 update by wm003
19 * 2009-Jul-10 update by Patrick Matsumura and Rupert Quaderer
20 * 2010-Mar-10 update by Volker Grabsch
22 Ext.onReady(function() {
24 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Übertrage Daten ...</div>';
28 Ext.view.View.prototype.emptyText = "";
32 Ext.grid.Panel.prototype.ddText = "{0} Zeile(n) ausgewählt";
36 Ext.TabPanelItem.prototype.closeText = "Diesen Tab schließen";
40 Ext.form.Basic.prototype.waitTitle = "Bitte warten...";
43 if(Ext.form.field.Base){
44 Ext.form.field.Base.prototype.invalidText = "Der Wert des Feldes ist nicht korrekt";
48 Ext.LoadMask.prototype.msg = "Übertrage Daten...";
52 Ext.Date.monthNames = [
67 Ext.Date.getShortMonthName = function(month) {
68 return Ext.Date.monthNames[month].substring(0, 3);
71 Ext.Date.monthNumbers = {
86 Ext.Date.getMonthNumber = function(name) {
87 return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
100 Ext.Date.getShortDayName = function(day) {
101 return Ext.Date.dayNames[day].substring(0, 3);
105 Ext.MessageBox.buttonText = {
107 cancel : "Abbrechen",
112 // As of 4.0.4, setting the buttonText above does not take effect properly. This should be removable in 4.1.0
113 // (see issue EXTJSIV-3909)
114 Ext.MessageBox.msgButtons['ok'].text = Ext.MessageBox.buttonText.ok;
115 Ext.MessageBox.msgButtons['cancel'].text = Ext.MessageBox.buttonText.cancel;
116 Ext.MessageBox.msgButtons['yes'].text = Ext.MessageBox.buttonText.yes;
117 Ext.MessageBox.msgButtons['no'].text = Ext.MessageBox.buttonText.no;
121 Ext.util.Format.__number = Ext.util.Format.number;
122 Ext.util.Format.number = function(v, format) {
123 return Ext.util.Format.__number(v, format || "0.000,00/i");
126 Ext.apply(Ext.util.Format, {
127 thousandSeparator: '.',
128 decimalSeparator: ',',
129 currencySign: '\u20ac', // German Euro
135 Ext.apply(Ext.picker.Date.prototype, {
137 minText : "Dieses Datum liegt von dem erstmöglichen Datum",
138 maxText : "Dieses Datum liegt nach dem letztmöglichen Datum",
139 disabledDaysText : "",
140 disabledDatesText : "",
141 monthNames : Ext.Date.monthNames,
142 dayNames : Ext.Date.dayNames,
143 nextText : "Nächster Monat (Strg/Control + Rechts)",
144 prevText : "Vorheriger Monat (Strg/Control + Links)",
145 monthYearText : "Monat auswählen (Strg/Control + Hoch/Runter, um ein Jahr auszuwählen)",
146 todayTip : "Heute ({0}) (Leertaste)",
152 if(Ext.picker.Month) {
153 Ext.apply(Ext.picker.Month.prototype, {
154 okText : " OK ",
155 cancelText : "Abbrechen"
159 if(Ext.toolbar.Paging){
160 Ext.apply(Ext.PagingToolbar.prototype, {
161 beforePageText : "Seite",
162 afterPageText : "von {0}",
163 firstText : "Erste Seite",
164 prevText : "vorherige Seite",
165 nextText : "nächste Seite",
166 lastText : "letzte Seite",
167 refreshText : "Aktualisieren",
168 displayMsg : "Anzeige Eintrag {0} - {1} von {2}",
169 emptyMsg : "Keine Daten vorhanden"
173 if(Ext.form.field.Text){
174 Ext.apply(Ext.form.field.Text.prototype, {
175 minLengthText : "Bitte geben Sie mindestens {0} Zeichen ein",
176 maxLengthText : "Bitte geben Sie maximal {0} Zeichen ein",
177 blankText : "Dieses Feld darf nicht leer sein",
183 if(Ext.form.field.Number){
184 Ext.apply(Ext.form.field.Number.prototype, {
185 minText : "Der Mindestwert für dieses Feld ist {0}",
186 maxText : "Der Maximalwert für dieses Feld ist {0}",
187 nanText : "{0} ist keine Zahl",
188 decimalSeparator : ","
192 if(Ext.form.field.Date){
193 Ext.apply(Ext.form.field.Date.prototype, {
194 disabledDaysText : "nicht erlaubt",
195 disabledDatesText : "nicht erlaubt",
196 minText : "Das Datum in diesem Feld muss nach dem {0} liegen",
197 maxText : "Das Datum in diesem Feld muss vor dem {0} liegen",
198 invalidText : "{0} ist kein gültiges Datum - es muss im Format {1} eingegeben werden",
200 altFormats : "j.n.Y|j.n.y|j.n.|j.|j/n/Y|j/n/y|j-n-y|j-n-Y|j/n|j-n|dm|dmy|dmY|j|Y-n-j"
204 if(Ext.form.field.ComboBox){
205 Ext.apply(Ext.form.field.ComboBox.prototype, {
206 valueNotFoundText : undefined
208 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
209 loadingText : "Lade Daten ..."
213 if(Ext.form.field.VTypes){
214 Ext.apply(Ext.form.field.VTypes, {
215 emailText : 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@example.com"',
216 urlText : 'Dieses Feld sollte eine URL enthalten. Format: "http:/'+'/www.example.com"',
217 alphaText : 'Dieses Feld darf nur Buchstaben enthalten und _',
218 alphanumText : 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _'
222 if(Ext.form.field.HtmlEditor){
223 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
224 createLinkText : 'Bitte geben Sie die URL für den Link ein:',
227 title: 'Fett (Ctrl+B)',
228 text: 'Erstellt den ausgewählten Text in Fettschrift.',
229 cls: Ext.baseCSSPrefix + 'html-editor-tip'
232 title: 'Kursiv (Ctrl+I)',
233 text: 'Erstellt den ausgewählten Text in Schrägschrift.',
234 cls: Ext.baseCSSPrefix + 'html-editor-tip'
237 title: 'Unterstrichen (Ctrl+U)',
238 text: 'Unterstreicht den ausgewählten Text.',
239 cls: Ext.baseCSSPrefix + 'html-editor-tip'
242 title: 'Text vergößern',
243 text: 'Erhöht die Schriftgröße.',
244 cls: Ext.baseCSSPrefix + 'html-editor-tip'
247 title: 'Text verkleinern',
248 text: 'Verringert die Schriftgröße.',
249 cls: Ext.baseCSSPrefix + 'html-editor-tip'
252 title: 'Text farblich hervorheben',
253 text: 'Hintergrundfarbe des ausgewählten Textes ändern.',
254 cls: Ext.baseCSSPrefix + 'html-editor-tip'
257 title: 'Schriftfarbe',
258 text: 'Farbe des ausgewählten Textes ändern.',
259 cls: Ext.baseCSSPrefix + 'html-editor-tip'
262 title: 'Linksbündig',
263 text: 'Setzt den Text linksbündig.',
264 cls: Ext.baseCSSPrefix + 'html-editor-tip'
268 text: 'Zentriert den Text in Editor.',
269 cls: Ext.baseCSSPrefix + 'html-editor-tip'
272 title: 'Rechtsbündig',
273 text: 'Setzt den Text rechtsbündig.',
274 cls: Ext.baseCSSPrefix + 'html-editor-tip'
276 insertunorderedlist : {
277 title: 'Aufzählungsliste',
278 text: 'Beginnt eine Aufzählungsliste mit Spiegelstrichen.',
279 cls: Ext.baseCSSPrefix + 'html-editor-tip'
281 insertorderedlist : {
282 title: 'Numerierte Liste',
283 text: 'Beginnt eine numerierte Liste.',
284 cls: Ext.baseCSSPrefix + 'html-editor-tip'
288 text: 'Erstellt einen Hyperlink aus dem ausgewählten text.',
289 cls: Ext.baseCSSPrefix + 'html-editor-tip'
292 title: 'Source bearbeiten',
293 text: 'Zur Bearbeitung des Quelltextes wechseln.',
294 cls: Ext.baseCSSPrefix + 'html-editor-tip'
300 if(Ext.grid.header.Container){
301 Ext.apply(Ext.grid.header.Container.prototype, {
302 sortAscText : "Aufsteigend sortieren",
303 sortDescText : "Absteigend sortieren",
304 lockText : "Spalte sperren",
305 unlockText : "Spalte freigeben (entsperren)",
306 columnsText : "Spalten"
310 if(Ext.grid.GroupingFeature){
311 Ext.apply(Ext.grid.GroupingFeature.prototype, {
312 emptyGroupText : '(Keine)',
313 groupByText : 'Dieses Feld gruppieren',
314 showGroupsText : 'In Gruppen anzeigen'
318 if(Ext.grid.PropertyColumnModel){
319 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
326 if(Ext.grid.BooleanColumn){
327 Ext.apply(Ext.grid.BooleanColumn.prototype, {
333 if(Ext.grid.NumberColumn){
334 Ext.apply(Ext.grid.NumberColumn.prototype, {
335 format : '0.000,00/i'
339 if(Ext.grid.DateColumn){
340 Ext.apply(Ext.grid.DateColumn.prototype, {
345 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
346 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
347 splitTip : "Ziehen, um Größe zu ändern.",
348 collapsibleSplitTip : "Ziehen, um Größe zu ändern. Doppelklick um Panel auszublenden."
352 if(Ext.form.field.Time){
353 Ext.apply(Ext.form.field.Time.prototype, {
354 minText : "Die Zeit muss gleich oder nach {0} liegen",
355 maxText : "Die Zeit muss gleich oder vor {0} liegen",
356 invalidText : "{0} ist keine gültige Zeit",
361 if(Ext.form.CheckboxGroup){
362 Ext.apply(Ext.form.CheckboxGroup.prototype, {
363 blankText : "Du mußt mehr als einen Eintrag aus der Gruppe auswählen"
367 if(Ext.form.RadioGroup){
368 Ext.apply(Ext.form.RadioGroup.prototype, {
369 blankText : "Du mußt einen Eintrag aus der Gruppe auswählen"