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",
114 Ext.util.Format.__number = Ext.util.Format.number;
115 Ext.util.Format.number = function(v, format) {
116 return Ext.util.Format.__number(v, format || "0.000,00/i");
119 Ext.apply(Ext.util.Format, {
120 thousandSeparator: '.',
121 decimalSeparator: ',',
122 currencySign: '\u20ac', // German Euro
128 Ext.apply(Ext.picker.Date.prototype, {
130 minText : "Dieses Datum liegt von dem erstmöglichen Datum",
131 maxText : "Dieses Datum liegt nach dem letztmöglichen Datum",
132 disabledDaysText : "",
133 disabledDatesText : "",
134 monthNames : Ext.Date.monthNames,
135 dayNames : Ext.Date.dayNames,
136 nextText : "Nächster Monat (Strg/Control + Rechts)",
137 prevText : "Vorheriger Monat (Strg/Control + Links)",
138 monthYearText : "Monat auswählen (Strg/Control + Hoch/Runter, um ein Jahr auszuwählen)",
139 todayTip : "Heute ({0}) (Leertaste)",
145 if(Ext.picker.Month) {
146 Ext.apply(Ext.picker.Month.prototype, {
147 okText : " OK ",
148 cancelText : "Abbrechen"
152 if(Ext.toolbar.Paging){
153 Ext.apply(Ext.PagingToolbar.prototype, {
154 beforePageText : "Seite",
155 afterPageText : "von {0}",
156 firstText : "Erste Seite",
157 prevText : "vorherige Seite",
158 nextText : "nächste Seite",
159 lastText : "letzte Seite",
160 refreshText : "Aktualisieren",
161 displayMsg : "Anzeige Eintrag {0} - {1} von {2}",
162 emptyMsg : "Keine Daten vorhanden"
166 if(Ext.form.field.Text){
167 Ext.apply(Ext.form.field.Text.prototype, {
168 minLengthText : "Bitte geben Sie mindestens {0} Zeichen ein",
169 maxLengthText : "Bitte geben Sie maximal {0} Zeichen ein",
170 blankText : "Dieses Feld darf nicht leer sein",
176 if(Ext.form.field.Number){
177 Ext.apply(Ext.form.field.Number.prototype, {
178 minText : "Der Mindestwert für dieses Feld ist {0}",
179 maxText : "Der Maximalwert für dieses Feld ist {0}",
180 nanText : "{0} ist keine Zahl",
181 decimalSeparator : ","
185 if(Ext.form.field.Date){
186 Ext.apply(Ext.form.field.Date.prototype, {
187 disabledDaysText : "nicht erlaubt",
188 disabledDatesText : "nicht erlaubt",
189 minText : "Das Datum in diesem Feld muss nach dem {0} liegen",
190 maxText : "Das Datum in diesem Feld muss vor dem {0} liegen",
191 invalidText : "{0} ist kein gültiges Datum - es muss im Format {1} eingegeben werden",
193 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"
197 if(Ext.form.field.ComboBox){
198 Ext.apply(Ext.form.field.ComboBox.prototype, {
199 loadingText : "Lade Daten ...",
200 valueNotFoundText : undefined
204 if(Ext.form.field.VTypes){
205 Ext.apply(Ext.form.field.VTypes, {
206 emailText : 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@example.com"',
207 urlText : 'Dieses Feld sollte eine URL enthalten. Format: "http:/'+'/www.example.com"',
208 alphaText : 'Dieses Feld darf nur Buchstaben enthalten und _',
209 alphanumText : 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _'
213 if(Ext.form.field.HtmlEditor){
214 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
215 createLinkText : 'Bitte geben Sie die URL für den Link ein:',
218 title: 'Fett (Ctrl+B)',
219 text: 'Erstellt den ausgewählten Text in Fettschrift.',
220 cls: Ext.baseCSSPrefix + 'html-editor-tip'
223 title: 'Kursiv (Ctrl+I)',
224 text: 'Erstellt den ausgewählten Text in Schrägschrift.',
225 cls: Ext.baseCSSPrefix + 'html-editor-tip'
228 title: 'Unterstrichen (Ctrl+U)',
229 text: 'Unterstreicht den ausgewählten Text.',
230 cls: Ext.baseCSSPrefix + 'html-editor-tip'
233 title: 'Text vergößern',
234 text: 'Erhöht die Schriftgröße.',
235 cls: Ext.baseCSSPrefix + 'html-editor-tip'
238 title: 'Text verkleinern',
239 text: 'Verringert die Schriftgröße.',
240 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 title: 'Text farblich hervorheben',
244 text: 'Hintergrundfarbe des ausgewählten Textes ändern.',
245 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 title: 'Schriftfarbe',
249 text: 'Farbe des ausgewählten Textes ändern.',
250 cls: Ext.baseCSSPrefix + 'html-editor-tip'
253 title: 'Linksbündig',
254 text: 'Setzt den Text linksbündig.',
255 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 text: 'Zentriert den Text in Editor.',
260 cls: Ext.baseCSSPrefix + 'html-editor-tip'
263 title: 'Rechtsbündig',
264 text: 'Setzt den Text rechtsbündig.',
265 cls: Ext.baseCSSPrefix + 'html-editor-tip'
267 insertunorderedlist : {
268 title: 'Aufzählungsliste',
269 text: 'Beginnt eine Aufzählungsliste mit Spiegelstrichen.',
270 cls: Ext.baseCSSPrefix + 'html-editor-tip'
272 insertorderedlist : {
273 title: 'Numerierte Liste',
274 text: 'Beginnt eine numerierte Liste.',
275 cls: Ext.baseCSSPrefix + 'html-editor-tip'
279 text: 'Erstellt einen Hyperlink aus dem ausgewählten text.',
280 cls: Ext.baseCSSPrefix + 'html-editor-tip'
283 title: 'Source bearbeiten',
284 text: 'Zur Bearbeitung des Quelltextes wechseln.',
285 cls: Ext.baseCSSPrefix + 'html-editor-tip'
291 if(Ext.grid.header.Container){
292 Ext.apply(Ext.grid.header.Container.prototype, {
293 sortAscText : "Aufsteigend sortieren",
294 sortDescText : "Absteigend sortieren",
295 lockText : "Spalte sperren",
296 unlockText : "Spalte freigeben (entsperren)",
297 columnsText : "Spalten"
301 if(Ext.grid.GroupingFeature){
302 Ext.apply(Ext.grid.GroupingFeature.prototype, {
303 emptyGroupText : '(Keine)',
304 groupByText : 'Dieses Feld gruppieren',
305 showGroupsText : 'In Gruppen anzeigen'
309 if(Ext.grid.PropertyColumnModel){
310 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
317 if(Ext.grid.BooleanColumn){
318 Ext.apply(Ext.grid.BooleanColumn.prototype, {
324 if(Ext.grid.NumberColumn){
325 Ext.apply(Ext.grid.NumberColumn.prototype, {
326 format : '0.000,00/i'
330 if(Ext.grid.DateColumn){
331 Ext.apply(Ext.grid.DateColumn.prototype, {
336 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
337 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
338 splitTip : "Ziehen, um Größe zu ändern.",
339 collapsibleSplitTip : "Ziehen, um Größe zu ändern. Doppelklick um Panel auszublenden."
343 if(Ext.form.field.Time){
344 Ext.apply(Ext.form.field.Time.prototype, {
345 minText : "Die Zeit muss gleich oder nach {0} liegen",
346 maxText : "Die Zeit muss gleich oder vor {0} liegen",
347 invalidText : "{0} ist keine gültige Zeit",
352 if(Ext.form.CheckboxGroup){
353 Ext.apply(Ext.form.CheckboxGroup.prototype, {
354 blankText : "Du mußt mehr als einen Eintrag aus der Gruppe auswählen"
358 if(Ext.form.RadioGroup){
359 Ext.apply(Ext.form.RadioGroup.prototype, {
360 blankText : "Du mußt einen Eintrag aus der Gruppe auswählen"