Bienvenue sur PostGIS.fr

Bienvenue sur PostGIS.fr , le site de la communauté des utilisateurs francophones de PostGIS.

PostGIS ajoute le support d'objets géographique à la base de données PostgreSQL. En effet, PostGIS "spatialise" le serverur PostgreSQL, ce qui permet de l'utiliser comme une base de données SIG.

Maintenu à jour, en fonction de nos disponibilités et des diverses sorties des outils que nous testons, nous vous proposons l'ensemble de nos travaux publiés en langue française.

source: trunk/workshop-routing-foss4g/web/ext/src/locale/ext-lang-en.js @ 76

Revision 76, 8.6 KB checked in by djay, 12 years ago (diff)

Ajout du répertoire web

  • Property svn:executable set to *
Line 
1/*!
2 * Ext JS Library 3.4.0
3 * Copyright(c) 2006-2011 Sencha Inc.
4 * licensing@sencha.com
5 * http://www.sencha.com/license
6 */
7/**
8 * List compiled by mystix on the extjs.com forums.
9 * Thank you Mystix!
10 *
11 * English Translations
12 * updated to 2.2 by Condor (8 Aug 2008)
13 */
14
15Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">Loading...</div>';
16
17if(Ext.data.Types){
18    Ext.data.Types.stripRe = /[\$,%]/g;
19}
20
21if(Ext.DataView){
22  Ext.DataView.prototype.emptyText = "";
23}
24
25if(Ext.grid.GridPanel){
26  Ext.grid.GridPanel.prototype.ddText = "{0} selected row{1}";
27}
28
29if(Ext.LoadMask){
30  Ext.LoadMask.prototype.msg = "Loading...";
31}
32
33Date.monthNames = [
34  "January",
35  "February",
36  "March",
37  "April",
38  "May",
39  "June",
40  "July",
41  "August",
42  "September",
43  "October",
44  "November",
45  "December"
46];
47
48Date.getShortMonthName = function(month) {
49  return Date.monthNames[month].substring(0, 3);
50};
51
52Date.monthNumbers = {
53  Jan : 0,
54  Feb : 1,
55  Mar : 2,
56  Apr : 3,
57  May : 4,
58  Jun : 5,
59  Jul : 6,
60  Aug : 7,
61  Sep : 8,
62  Oct : 9,
63  Nov : 10,
64  Dec : 11
65};
66
67Date.getMonthNumber = function(name) {
68  return Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
69};
70
71Date.dayNames = [
72  "Sunday",
73  "Monday",
74  "Tuesday",
75  "Wednesday",
76  "Thursday",
77  "Friday",
78  "Saturday"
79];
80
81Date.getShortDayName = function(day) {
82  return Date.dayNames[day].substring(0, 3);
83};
84
85Date.parseCodes.S.s = "(?:st|nd|rd|th)";
86
87if(Ext.MessageBox){
88  Ext.MessageBox.buttonText = {
89    ok     : "OK",
90    cancel : "Cancel",
91    yes    : "Yes",
92    no     : "No"
93  };
94}
95
96if(Ext.util.Format){
97  Ext.util.Format.date = function(v, format){
98    if(!v) return "";
99    if(!(v instanceof Date)) v = new Date(Date.parse(v));
100    return v.dateFormat(format || "m/d/Y");
101  };
102}
103
104if(Ext.DatePicker){
105  Ext.apply(Ext.DatePicker.prototype, {
106    todayText         : "Today",
107    minText           : "This date is before the minimum date",
108    maxText           : "This date is after the maximum date",
109    disabledDaysText  : "",
110    disabledDatesText : "",
111    monthNames        : Date.monthNames,
112    dayNames          : Date.dayNames,
113    nextText          : 'Next Month (Control+Right)',
114    prevText          : 'Previous Month (Control+Left)',
115    monthYearText     : 'Choose a month (Control+Up/Down to move years)',
116    todayTip          : "{0} (Spacebar)",
117    format            : "m/d/y",
118    okText            : "&#160;OK&#160;",
119    cancelText        : "Cancel",
120    startDay          : 0
121  });
122}
123
124if(Ext.PagingToolbar){
125  Ext.apply(Ext.PagingToolbar.prototype, {
126    beforePageText : "Page",
127    afterPageText  : "of {0}",
128    firstText      : "First Page",
129    prevText       : "Previous Page",
130    nextText       : "Next Page",
131    lastText       : "Last Page",
132    refreshText    : "Refresh",
133    displayMsg     : "Displaying {0} - {1} of {2}",
134    emptyMsg       : 'No data to display'
135  });
136}
137
138if(Ext.form.BasicForm){
139    Ext.form.BasicForm.prototype.waitTitle = "Please Wait..."
140}
141
142if(Ext.form.Field){
143  Ext.form.Field.prototype.invalidText = "The value in this field is invalid";
144}
145
146if(Ext.form.TextField){
147  Ext.apply(Ext.form.TextField.prototype, {
148    minLengthText : "The minimum length for this field is {0}",
149    maxLengthText : "The maximum length for this field is {0}",
150    blankText     : "This field is required",
151    regexText     : "",
152    emptyText     : null
153  });
154}
155
156if(Ext.form.NumberField){
157  Ext.apply(Ext.form.NumberField.prototype, {
158    decimalSeparator : ".",
159    decimalPrecision : 2,
160    minText : "The minimum value for this field is {0}",
161    maxText : "The maximum value for this field is {0}",
162    nanText : "{0} is not a valid number"
163  });
164}
165
166if(Ext.form.DateField){
167  Ext.apply(Ext.form.DateField.prototype, {
168    disabledDaysText  : "Disabled",
169    disabledDatesText : "Disabled",
170    minText           : "The date in this field must be after {0}",
171    maxText           : "The date in this field must be before {0}",
172    invalidText       : "{0} is not a valid date - it must be in the format {1}",
173    format            : "m/d/y",
174    altFormats        : "m/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d",
175    startDay          : 0
176  });
177}
178
179if(Ext.form.ComboBox){
180  Ext.apply(Ext.form.ComboBox.prototype, {
181    loadingText       : "Loading...",
182    valueNotFoundText : undefined
183  });
184}
185
186if(Ext.form.VTypes){
187  Ext.apply(Ext.form.VTypes, {
188    emailText    : 'This field should be an e-mail address in the format "user@example.com"',
189    urlText      : 'This field should be a URL in the format "http:/'+'/www.example.com"',
190    alphaText    : 'This field should only contain letters and _',
191    alphanumText : 'This field should only contain letters, numbers and _'
192  });
193}
194
195if(Ext.form.HtmlEditor){
196  Ext.apply(Ext.form.HtmlEditor.prototype, {
197    createLinkText : 'Please enter the URL for the link:',
198    buttonTips : {
199      bold : {
200        title: 'Bold (Ctrl+B)',
201        text: 'Make the selected text bold.',
202        cls: 'x-html-editor-tip'
203      },
204      italic : {
205        title: 'Italic (Ctrl+I)',
206        text: 'Make the selected text italic.',
207        cls: 'x-html-editor-tip'
208      },
209      underline : {
210        title: 'Underline (Ctrl+U)',
211        text: 'Underline the selected text.',
212        cls: 'x-html-editor-tip'
213      },
214      increasefontsize : {
215        title: 'Grow Text',
216        text: 'Increase the font size.',
217        cls: 'x-html-editor-tip'
218      },
219      decreasefontsize : {
220        title: 'Shrink Text',
221        text: 'Decrease the font size.',
222        cls: 'x-html-editor-tip'
223      },
224      backcolor : {
225        title: 'Text Highlight Color',
226        text: 'Change the background color of the selected text.',
227        cls: 'x-html-editor-tip'
228      },
229      forecolor : {
230        title: 'Font Color',
231        text: 'Change the color of the selected text.',
232        cls: 'x-html-editor-tip'
233      },
234      justifyleft : {
235        title: 'Align Text Left',
236        text: 'Align text to the left.',
237        cls: 'x-html-editor-tip'
238      },
239      justifycenter : {
240        title: 'Center Text',
241        text: 'Center text in the editor.',
242        cls: 'x-html-editor-tip'
243      },
244      justifyright : {
245        title: 'Align Text Right',
246        text: 'Align text to the right.',
247        cls: 'x-html-editor-tip'
248      },
249      insertunorderedlist : {
250        title: 'Bullet List',
251        text: 'Start a bulleted list.',
252        cls: 'x-html-editor-tip'
253      },
254      insertorderedlist : {
255        title: 'Numbered List',
256        text: 'Start a numbered list.',
257        cls: 'x-html-editor-tip'
258      },
259      createlink : {
260        title: 'Hyperlink',
261        text: 'Make the selected text a hyperlink.',
262        cls: 'x-html-editor-tip'
263      },
264      sourceedit : {
265        title: 'Source Edit',
266        text: 'Switch to source editing mode.',
267        cls: 'x-html-editor-tip'
268      }
269    }
270  });
271}
272
273if(Ext.grid.GridView){
274  Ext.apply(Ext.grid.GridView.prototype, {
275    sortAscText  : "Sort Ascending",
276    sortDescText : "Sort Descending",
277    columnsText  : "Columns"
278  });
279}
280
281if(Ext.grid.GroupingView){
282  Ext.apply(Ext.grid.GroupingView.prototype, {
283    emptyGroupText : '(None)',
284    groupByText    : 'Group By This Field',
285    showGroupsText : 'Show in Groups'
286  });
287}
288
289if(Ext.grid.PropertyColumnModel){
290  Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
291    nameText   : "Name",
292    valueText  : "Value",
293    dateFormat : "m/j/Y",
294    trueText: "true",
295    falseText: "false"
296  });
297}
298
299if(Ext.grid.BooleanColumn){
300   Ext.apply(Ext.grid.BooleanColumn.prototype, {
301      trueText  : "true",
302      falseText : "false",
303      undefinedText: '&#160;'
304   });
305}
306
307if(Ext.grid.NumberColumn){
308    Ext.apply(Ext.grid.NumberColumn.prototype, {
309        format : '0,000.00'
310    });
311}
312
313if(Ext.grid.DateColumn){
314    Ext.apply(Ext.grid.DateColumn.prototype, {
315        format : 'm/d/Y'
316    });
317}
318
319if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
320  Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
321    splitTip            : "Drag to resize.",
322    collapsibleSplitTip : "Drag to resize. Double click to hide."
323  });
324}
325
326if(Ext.form.TimeField){
327  Ext.apply(Ext.form.TimeField.prototype, {
328    minText : "The time in this field must be equal to or after {0}",
329    maxText : "The time in this field must be equal to or before {0}",
330    invalidText : "{0} is not a valid time",
331    format : "g:i A",
332    altFormats : "g:ia|g:iA|g:i a|g:i A|h:i|g:i|H:i|ga|ha|gA|h a|g a|g A|gi|hi|gia|hia|g|H"
333  });
334}
335
336if(Ext.form.CheckboxGroup){
337  Ext.apply(Ext.form.CheckboxGroup.prototype, {
338    blankText : "You must select at least one item in this group"
339  });
340}
341
342if(Ext.form.RadioGroup){
343  Ext.apply(Ext.form.RadioGroup.prototype, {
344    blankText : "You must select one item in this group"
345  });
346}
Note: See TracBrowser for help on using the repository browser.