Subversion Repositories Applications.annuaire

Rev

Rev 77 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
77 aurelien 1
<?php
2
/*=======================================================================
3
// File:     EN.INC.PHP
4
// Description: English language file for error messages
5
// Created:     2006-01-25
6
// Ver:        $Id: en.inc.php 1886 2009-10-01 23:30:16Z ljp $
7
//
8
// Copyright (c) Aditus Consulting. All rights reserved.
9
//========================================================================
10
*/
11
 
12
// Note: Format of each error message is array(<error message>,<number of arguments>)
13
$_jpg_messages = array(
14
 
15
/*
16
** Headers already sent error. This is formatted as HTML different since this will be sent back directly as text
17
*/
18
10  => array('<table border="1"><tr><td style="color:darkred; font-size:1.2em;"><b>JpGraph Error:</b>
19
HTTP headers have already been sent.<br>Caused by output from file <b>%s</b> at line <b>%d</b>.</td></tr><tr><td><b>Explanation:</b><br>HTTP headers have already been sent back to the browser indicating the data as text before the library got a chance to send it\'s image HTTP header to this browser. This makes it impossible for the library to send back image data to the browser (since that would be interpretated as text by the browser and show up as junk text).<p>Most likely you have some text in your script before the call to <i>Graph::Stroke()</i>. If this texts gets sent back to the browser the browser will assume that all data is plain text. Look for any text, even spaces and newlines, that might have been sent back to the browser. <p>For example it is a common mistake to leave a blank line before the opening "<b>&lt;?php</b>".</td></tr></table>',2),
20
 
21
/*
22
** Setup errors
23
*/
24
11 => array('No path specified for CACHE_DIR. Please specify CACHE_DIR manually in jpg-config.inc',0),
25
12 => array('No path specified for TTF_DIR and path can not be determined automatically. Please specify TTF_DIR manually (in jpg-config.inc).',0),
26
13 => array('The installed PHP version (%s) is not compatible with this release of the library. The library requires at least PHP version %s',2),
27
 
28
 
29
/*
30
**  jpgraph_bar
31
*/
32
 
33
2001 => array('Number of colors is not the same as the number of patterns in BarPlot::SetPattern()',0),
34
2002 => array('Unknown pattern specified in call to BarPlot::SetPattern()',0),
35
2003 => array('Number of X and Y points are not equal. Number of X-points: %d Number of Y-points: %d',2),
36
2004 => array('All values for a barplot must be numeric. You have specified value nr [%d] == %s',2),
37
2005 => array('You have specified an empty array for shadow colors in the bar plot.',0),
38
2006 => array('Unknown position for values on bars : %s',1),
39
2007 => array('Cannot create GroupBarPlot from empty plot array.',0),
40
2008 => array('Group bar plot element nbr %d is undefined or empty.',0),
41
2009 => array('One of the objects submitted to GroupBar is not a BarPlot. Make sure that you create the GroupBar plot from an array of BarPlot or AccBarPlot objects. (Class = %s)',1),
42
2010 => array('Cannot create AccBarPlot from empty plot array.',0),
43
2011 => array('Acc bar plot element nbr %d is undefined or empty.',1),
44
2012 => array('One of the objects submitted to AccBar is not a BarPlot. Make sure that you create the AccBar plot from an array of BarPlot objects. (Class=%s)',1),
45
2013 => array('You have specified an empty array for shadow colors in the bar plot.',0),
46
2014 => array('Number of datapoints for each data set in accbarplot must be the same',0),
47
2015 => array('Individual bar plots in an AccBarPlot or GroupBarPlot can not have specified X-coordinates',0),
48
 
49
 
50
/*
51
**  jpgraph_date
52
*/
53
 
54
3001 => array('It is only possible to use either SetDateAlign() or SetTimeAlign() but not both',0),
55
 
56
/*
57
**  jpgraph_error
58
*/
59
 
60
4002 => array('Error in input data to LineErrorPlot. Number of data points must be a multiple of 3',0),
61
 
62
/*
63
**  jpgraph_flags
64
*/
65
 
66
5001 => array('Unknown flag size (%d).',1),
67
5002 => array('Flag index %s does not exist.',1),
68
5003 => array('Invalid ordinal number (%d) specified for flag index.',1),
69
5004 => array('The (partial) country name %s does not have a corresponding flag image. The flag may still exist but under another name, e.g. instead of "usa" try "united states".',1),
70
 
71
 
72
/*
73
**  jpgraph_gantt
74
*/
75
 
76
6001 => array('Internal error. Height for ActivityTitles is < 0',0),
77
6002 => array('You can\'t specify negative sizes for Gantt graph dimensions. Use 0 to indicate that you want the library to automatically determine a dimension.',0),
78
6003 => array('Invalid format for Constrain parameter at index=%d in CreateSimple(). Parameter must start with index 0 and contain arrays of (Row,Constrain-To,Constrain-Type)',1),
79
6004 => array('Invalid format for Progress parameter at index=%d in CreateSimple(). Parameter must start with index 0 and contain arrays of (Row,Progress)',1),
80
6005 => array('SetScale() is not meaningful with Gantt charts.',0),
81
6006 => array('Cannot autoscale Gantt chart. No dated activities exist. [GetBarMinMax() start >= n]',0),
82
6007 => array('Sanity check for automatic Gantt chart size failed. Either the width (=%d) or height (=%d) is larger than MAX_GANTTIMG_SIZE. This could potentially be caused by a wrong date in one of the activities.',2),
83
6008 => array('You have specified a constrain from row=%d to row=%d which does not have any activity',2),
84
6009 => array('Unknown constrain type specified from row=%d to row=%d',2),
85
6010 => array('Illegal icon index for Gantt builtin icon [%d]',1),
86
6011 => array('Argument to IconImage must be string or integer',0),
87
6012 => array('Unknown type in Gantt object title specification',0),
88
6015 => array('Illegal vertical position %d',1),
89
6016 => array('Date string (%s) specified for Gantt activity can not be interpretated. Please make sure it is a valid time string, e.g. 2005-04-23 13:30',1),
90
6017 => array('Unknown date format in GanttScale (%s).',1),
91
6018 => array('Interval for minutes must divide the hour evenly, e.g. 1,5,10,12,15,20,30 etc You have specified an interval of %d minutes.',1),
92
6019 => array('The available width (%d) for minutes are to small for this scale to be displayed. Please use auto-sizing or increase the width of the graph.',1),
93
6020 => array('Interval for hours must divide the day evenly, e.g. 0:30, 1:00, 1:30, 4:00 etc. You have specified an interval of %d',1),
94
6021 => array('Unknown formatting style for week.',0),
95
6022 => array('Gantt scale has not been specified.',0),
96
6023 => array('If you display both hour and minutes the hour interval must be 1 (Otherwise it doesn\'t make sense to display minutes).',0),
97
6024 => array('CSIM Target must be specified as a string. Start of target is: %d',1),
98
6025 => array('CSIM Alt text must be specified as a string. Start of alt text is: %d',1),
99
6027 => array('Progress value must in range [0, 1]',0),
100
6028 => array('Specified height (%d) for gantt bar is out of range.',1),
101
6029 => array('Offset for vertical line must be in range [0,1]',0),
102
6030 => array('Unknown arrow direction for link.',0),
103
6031 => array('Unknown arrow type for link.',0),
104
6032 => array('Internal error: Unknown path type (=%d) specified for link.',1),
105
6033 => array('Array of fonts must contain arrays with 3 elements, i.e. (Family, Style, Size)',0),
106
 
107
/*
108
**  jpgraph_gradient
109
*/
110
 
111
7001 => array('Unknown gradient style (=%d).',1),
112
 
113
/*
114
**  jpgraph_iconplot
115
*/
116
 
117
8001 => array('Mix value for icon must be between 0 and 100.',0),
118
8002 => array('Anchor position for icons must be one of "top", "bottom", "left", "right" or "center"',0),
119
8003 => array('It is not possible to specify both an image file and a country flag for the same icon.',0),
120
8004 => array('In order to use Country flags as icons you must include the "jpgraph_flags.php" file.',0),
121
 
122
/*
123
**  jpgraph_imgtrans
124
*/
125
 
126
9001 => array('Value for image transformation out of bounds. Vanishing point on horizon must be specified as a value between 0 and 1.',0),
127
 
128
/*
129
**  jpgraph_lineplot
130
*/
131
 
132
10001 => array('LinePlot::SetFilled() is deprecated. Use SetFillColor()',0),
133
10002 => array('Plot too complicated for fast line Stroke. Use standard Stroke()',0),
134
10003 => array('Each plot in an accumulated lineplot must have the same number of data points.',0),
135
 
136
/*
137
**  jpgraph_log
138
*/
139
 
140
11001 => array('Your data contains non-numeric values.',0),
141
11002 => array('Negative data values can not be used in a log scale.',0),
142
11003 => array('Your data contains non-numeric values.',0),
143
11004 => array('Scale error for logarithmic scale. You have a problem with your data values. The max value must be greater than 0. It is mathematically impossible to have 0 in a logarithmic scale.',0),
144
11005 => array('Specifying tick interval for a logarithmic scale is undefined. Remove any calls to SetTextLabelStart() or SetTextTickInterval() on the logarithmic scale.',0),
145
 
146
/*
147
**  jpgraph_mgraph
148
*/
149
 
150
12001 => array("You are using GD 2.x and are trying to use a background images on a non truecolor image. To use background images with GD 2.x it is necessary to enable truecolor by setting the USE_TRUECOLOR constant to TRUE. Due to a bug in GD 2.0.1 using any truetype fonts with truecolor images will result in very poor quality fonts.",0),
151
12002 => array('Incorrect file name for MGraph::SetBackgroundImage() : %s Must have a valid image extension (jpg,gif,png) when using auto detection of image type',1),
152
12003 => array('Unknown file extension (%s) in MGraph::SetBackgroundImage() for filename: %s',2),
153
12004 => array('The image format of your background image (%s) is not supported in your system configuration. ',1),
154
12005 => array('Can\'t read background image: %s',1),
155
12006 => array('Illegal sizes specified for width or height when creating an image, (width=%d, height=%d)',2),
156
12007 => array('Argument to MGraph::Add() is not a valid GD image handle.',0),
157
12008 => array('Your PHP (and GD-lib) installation does not appear to support any known graphic formats.',0),
158
12009 => array('Your PHP installation does not support the chosen graphic format: %s',1),
159
12010 => array('Can\'t create or stream image to file %s Check that PHP has enough permission to write a file to the current directory.',1),
160
12011 => array('Can\'t create truecolor image. Check that you really have GD2 library installed.',0),
161
12012 => array('Can\'t create image. Check that you really have GD2 library installed.',0),
162
 
163
/*
164
**  jpgraph_pie3d
165
*/
166
 
167
14001 => array('Pie3D::ShowBorder() . Deprecated function. Use Pie3D::SetEdge() to control the edges around slices.',0),
168
14002 => array('PiePlot3D::SetAngle() 3D Pie projection angle must be between 5 and 85 degrees.',0),
169
14003 => array('Internal assertion failed. Pie3D::Pie3DSlice',0),
170
14004 => array('Slice start angle must be between 0 and 360 degrees.',0),
171
14005 => array('Pie3D Internal error: Trying to wrap twice when looking for start index',0,),
172
14006 => array('Pie3D Internal Error: Z-Sorting algorithm for 3D Pies is not working properly (2). Trying to wrap twice while stroking.',0),
173
14007 => array('Width for 3D Pie is 0. Specify a size > 0',0),
174
 
175
/*
176
**  jpgraph_pie
177
*/
178
 
179
15001 => array('PiePLot::SetTheme() Unknown theme: %s',1),
180
15002 => array('Argument to PiePlot::ExplodeSlice() must be an integer',0),
181
15003 => array('Argument to PiePlot::Explode() must be an array with integer distances.',0),
182
15004 => array('Slice start angle must be between 0 and 360 degrees.',0),
183
15005 => array('PiePlot::SetFont() is deprecated. Use PiePlot->value->SetFont() instead.',0),
184
15006 => array('PiePlot::SetSize() Radius for pie must either be specified as a fraction [0, 0.5] of the size of the image or as an absolute size in pixels  in the range [10, 1000]',0),
185
15007 => array('PiePlot::SetFontColor() is deprecated. Use PiePlot->value->SetColor() instead.',0),
186
15008 => array('PiePlot::SetLabelType() Type for pie plots must be 0 or 1 (not %d).',1),
187
15009 => array('Illegal pie plot. Sum of all data is zero for Pie Plot',0),
188
15010 => array('Sum of all data is 0 for Pie.',0),
189
15011 => array('In order to use image transformation you must include the file jpgraph_imgtrans.php in your script.',0),
190
 
191
/*
192
**  jpgraph_plotband
193
*/
194
 
195
16001 => array('Density for pattern must be between 1 and 100. (You tried %f)',1),
196
16002 => array('No positions specified for pattern.',0),
197
16003 => array('Unknown pattern specification (%d)',0),
198
16004 => array('Min value for plotband is larger than specified max value. Please correct.',0),
199
 
200
 
201
/*
202
**  jpgraph_polar
203
*/
204
 
205
17001 => array('Polar plots must have an even number of data point. Each data point is a tuple (angle,radius).',0),
206
17002 => array('Unknown alignment specified for X-axis title. (%s)',1),
207
//17003 => array('Set90AndMargin() is not supported for polar graphs.',0),
208
17004 => array('Unknown scale type for polar graph. Must be "lin" or "log"',0),
209
 
210
/*
211
**  jpgraph_radar
212
*/
213
 
214
18001 => array('Client side image maps not supported for RadarPlots.',0),
215
18002 => array('RadarGraph::SupressTickMarks() is deprecated. Use HideTickMarks() instead.',0),
216
18003 => array('Illegal scale for radarplot (%s). Must be \'lin\' or \'log\'',1),
217
18004 => array('Radar Plot size must be between 0.1 and 1. (Your value=%f)',1),
218
18005 => array('RadarPlot Unsupported Tick density: %d',1),
219
18006 => array('Minimum data %f (Radar plots should only be used when all data points > 0)',1),
220
18007 => array('Number of titles does not match number of points in plot.',0),
221
18008 => array('Each radar plot must have the same number of data points.',0),
222
 
223
/*
224
**  jpgraph_regstat
225
*/
226
 
227
19001 => array('Spline: Number of X and Y coordinates must be the same',0),
228
19002 => array('Invalid input data for spline. Two or more consecutive input X-values are equal. Each input X-value must differ since from a mathematical point of view it must be a one-to-one mapping, i.e. each X-value must correspond to exactly one Y-value.',0),
229
19003 => array('Bezier: Number of X and Y coordinates must be the same',0),
230
 
231
/*
232
**  jpgraph_scatter
233
*/
234
 
235
20001 => array('Fieldplots must have equal number of X and Y points.',0),
236
20002 => array('Fieldplots must have an angle specified for each X and Y points.',0),
237
20003 => array('Scatterplot must have equal number of X and Y points.',0),
238
 
239
/*
240
**  jpgraph_stock
241
*/
242
 
243
21001 => array('Data values for Stock charts must contain an even multiple of %d data points.',1),
244
 
245
/*
246
**  jpgraph_plotmark
247
*/
248
 
249
23001 => array('This marker "%s" does not exist in color with index: %d',2),
250
23002 => array('Mark color index too large for marker "%s"',1),
251
23003 => array('A filename must be specified if you set the mark type to MARK_IMG.',0),
252
 
253
/*
254
**  jpgraph_utils
255
*/
256
 
257
24001 => array('FuncGenerator : No function specified. ',0),
258
24002 => array('FuncGenerator : Syntax error in function specification ',0),
259
24003 => array('DateScaleUtils: Unknown tick type specified in call to GetTicks()',0),
260
24004 => array('ReadCSV2: Column count mismatch in %s line %d',2),
261
/*
262
**  jpgraph
263
*/
264
 
265
25001 => array('This PHP installation is not configured with the GD library. Please recompile PHP with GD support to run JpGraph. (Neither function imagetypes() nor imagecreatefromstring() does exist)',0),
266
25002 => array('Your PHP installation does not seem to have the required GD library. Please see the PHP documentation on how to install and enable the GD library.',0),
267
25003 => array('General PHP error : At %s:%d : %s',3),
268
25004 => array('General PHP error : %s ',1),
269
25005 => array('Can\'t access PHP_SELF, PHP global variable. You can\'t run PHP from command line if you want to use the \'auto\' naming of cache or image files.',0),
270
25006 => array('Usage of FF_CHINESE (FF_BIG5) font family requires that your PHP setup has the iconv() function. By default this is not compiled into PHP (needs the "--width-iconv" when configured).',0),
271
25007 => array('You are trying to use the locale (%s) which your PHP installation does not support. Hint: Use \'\' to indicate the default locale for this geographic region.',1),
272
25008 => array('Image width/height argument in Graph::Graph() must be numeric',0),
273
25009 => array('You must specify what scale to use with a call to Graph::SetScale()',0),
274
 
275
25010 => array('Graph::Add() You tried to add a null plot to the graph.',0),
276
25011 => array('Graph::AddY2() You tried to add a null plot to the graph.',0),
277
25012 => array('Graph::AddYN() You tried to add a null plot to the graph.',0),
278
25013 => array('You can only add standard plots to multiple Y-axis',0),
279
25014 => array('Graph::AddText() You tried to add a null text to the graph.',0),
280
25015 => array('Graph::AddLine() You tried to add a null line to the graph.',0),
281
25016 => array('Graph::AddBand() You tried to add a null band to the graph.',0),
282
25017 => array('You are using GD 2.x and are trying to use a background images on a non truecolor image. To use background images with GD 2.x it is necessary to enable truecolor by setting the USE_TRUECOLOR constant to TRUE. Due to a bug in GD 2.0.1 using any truetype fonts with truecolor images will result in very poor quality fonts.',0),
283
25018 => array('Incorrect file name for Graph::SetBackgroundImage() : "%s" Must have a valid image extension (jpg,gif,png) when using auto detection of image type',1),
284
25019 => array('Unknown file extension (%s) in Graph::SetBackgroundImage() for filename: "%s"',2),
285
 
286
25020 => array('Graph::SetScale(): Specified Max value must be larger than the specified Min value.',0),
287
25021 => array('Unknown scale specification for Y-scale. (%s)',1),
288
25022 => array('Unknown scale specification for X-scale. (%s)',1),
289
25023 => array('Unsupported Y2 axis type: "%s" Must be one of (lin,log,int)',1),
290
25024 => array('Unsupported Y axis type:  "%s" Must be one of (lin,log,int)',1),
291
25025 => array('Unsupported Tick density: %d',1),
292
25026 => array('Can\'t draw unspecified Y-scale. You have either: 1. Specified an Y axis for auto scaling but have not supplied any plots. 2. Specified a scale manually but have forgot to specify the tick steps',0),
293
25027 => array('Can\'t open cached CSIM "%s" for reading.',1),
294
25028 => array('Apache/PHP does not have permission to write to the CSIM cache directory (%s). Check permissions.',1),
295
25029 => array('Can\'t write CSIM "%s" for writing. Check free space and permissions.',1),
296
 
297
25030 => array('Missing script name in call to StrokeCSIM(). You must specify the name of the actual image script as the first parameter to StrokeCSIM().',0),
298
25031 => array('You must specify what scale to use with a call to Graph::SetScale().',0),
299
25032 => array('No plots for Y-axis nbr:%d',1),
300
25033 => array('',0),
301
25034 => array('Can\'t draw unspecified X-scale. No plots specified.',0),
302
25035 => array('You have enabled clipping. Clipping is only supported for graphs at 0 or 90 degrees rotation. Please adjust you current angle (=%d degrees) or disable clipping.',1),
303
25036 => array('Unknown AxisStyle() : %s',1),
304
25037 => array('The image format of your background image (%s) is not supported in your system configuration. ',1),
305
25038 => array('Background image seems to be of different type (has different file extension) than specified imagetype. Specified: %s File: %s',2),
306
25039 => array('Can\'t read background image: "%s"',1),
307
 
308
25040 => array('It is not possible to specify both a background image and a background country flag.',0),
309
25041 => array('In order to use Country flags as backgrounds you must include the "jpgraph_flags.php" file.',0),
310
25042 => array('Unknown background image layout',0),
311
25043 => array('Unknown title background style.',0),
312
25044 => array('Cannot use auto scaling since it is impossible to determine a valid min/max value of the Y-axis (only null values).',0),
313
25045 => array('Font families FF_HANDWRT and FF_BOOK are no longer available due to copyright problem with these fonts. Fonts can no longer be distributed with JpGraph. Please download fonts from http://corefonts.sourceforge.net/',0),
314
25046 => array('Specified TTF font family (id=%d) is unknown or does not exist. Please note that TTF fonts are not distributed with JpGraph for copyright reasons. You can find the MS TTF WEB-fonts (arial, courier etc) for download at http://corefonts.sourceforge.net/',1),
315
25047 => array('Style %s is not available for font family %s',2),
316
25048 => array('Unknown font style specification [%s].',1),
317
25049 => array('Font file "%s" is not readable or does not exist.',1),
318
 
319
25050 => array('First argument to Text::Text() must be a string.',0),
320
25051 => array('Invalid direction specified for text.',0),
321
25052 => array('PANIC: Internal error in SuperScript::Stroke(). Unknown vertical alignment for text',0),
322
25053 => array('PANIC: Internal error in SuperScript::Stroke(). Unknown horizontal alignment for text',0),
323
25054 => array('Internal error: Unknown grid axis %s',1),
324
25055 => array('Axis::SetTickDirection() is deprecated. Use Axis::SetTickSide() instead',0),
325
25056 => array('SetTickLabelMargin() is deprecated. Use Axis::SetLabelMargin() instead.',0),
326
25057 => array('SetTextTicks() is deprecated. Use SetTextTickInterval() instead.',0),
327
25058 => array('Text label interval must be specified >= 1.',0),
328
25059 => array('SetLabelPos() is deprecated. Use Axis::SetLabelSide() instead.',0),
329
 
330
25060 => array('Unknown alignment specified for X-axis title. (%s)',1),
331
25061 => array('Unknown alignment specified for Y-axis title. (%s)',1),
332
25062 => array('Labels at an angle are not supported on Y-axis',0),
333
25063 => array('Ticks::SetPrecision() is deprecated. Use Ticks::SetLabelFormat() (or Ticks::SetFormatCallback()) instead',0),
334
25064 => array('Minor or major step size is 0. Check that you haven\'t got an accidental SetTextTicks(0) in your code. If this is not the case you might have stumbled upon a bug in JpGraph. Please report this and if possible include the data that caused the problem',0),
335
25065 => array('Tick positions must be specified as an array()',0),
336
25066 => array('When manually specifying tick positions and labels the number of labels must be the same as the number of specified ticks.',0),
337
25067 => array('Your manually specified scale and ticks is not correct. The scale seems to be too small to hold any of the specified tick marks.',0),
338
25068 => array('A plot has an illegal scale. This could for example be that you are trying to use text auto scaling to draw a line plot with only one point or that the plot area is too small. It could also be that no input data value is numeric (perhaps only \'-\' or \'x\')',0),
339
25069 => array('Grace must be larger then 0',0),
340
25070 => array('Either X or Y data arrays contains non-numeric values. Check that the data is really specified as numeric data and not as strings. It is an error to specify data for example as \'-2345.2\' (using quotes).',0),
341
25071 => array('You have specified a min value with SetAutoMin() which is larger than the maximum value used for the scale. This is not possible.',0),
342
25072 => array('You have specified a max value with SetAutoMax() which is smaller than the minimum value used for the scale. This is not possible.',0),
343
25073 => array('Internal error. Integer scale algorithm comparison out of bound (r=%f)',1),
344
25074 => array('Internal error. The scale range is negative (%f) [for %s scale] This problem could potentially be caused by trying to use \"illegal\" values in the input data arrays (like trying to send in strings or only NULL values) which causes the auto scaling to fail.',2),
345
25075 => array('Can\'t automatically determine ticks since min==max.',0),
346
25077 => array('Adjustment factor for color must be > 0',0),
347
25078 => array('Unknown color: %s',1),
348
25079 => array('Unknown color specification: %s, size=%d',2),
349
 
350
25080 => array('Alpha parameter for color must be between 0.0 and 1.0',0),
351
25081 => array('Selected graphic format is either not supported or unknown [%s]',1),
352
25082 => array('Illegal sizes specified for width or height when creating an image, (width=%d, height=%d)',2),
353
25083 => array('Illegal image size when copying image. Size for copied to image is 1 pixel or less.',0),
354
25084 => array('Failed to create temporary GD canvas. Possible Out of memory problem.',0),
355
25085 => array('An image can not be created from the supplied string. It is either in a format not supported or the string is representing an corrupt image.',0),
356
25086 => array('You only seem to have GD 1.x installed. To enable Alphablending requires GD 2.x or higher. Please install GD or make sure the constant USE_GD2 is specified correctly to reflect your installation. By default it tries to auto detect what version of GD you have installed. On some very rare occasions it may falsely detect GD2 where only GD1 is installed. You must then set USE_GD2 to false.',0),
357
25087 => array('This PHP build has not been configured with TTF support. You need to recompile your PHP installation with FreeType support.',0),
358
25088 => array('You have a misconfigured GD font support. The call to imagefontwidth() fails.',0),
359
25089 => array('You have a misconfigured GD font support. The call to imagefontheight() fails.',0),
360
 
361
25090 => array('Unknown direction specified in call to StrokeBoxedText() [%s]',1),
362
25091 => array('Internal font does not support drawing text at arbitrary angle. Use TTF fonts instead.',0),
363
25092 => array('There is either a configuration problem with TrueType or a problem reading font file "%s" Make sure file exists and is in a readable place for the HTTP process. (If \'basedir\' restriction is enabled in PHP then the font file must be located in the document root.). It might also be a wrongly installed FreeType library. Try upgrading to at least FreeType 2.1.13 and recompile GD with the correct setup so it can find the new FT library.',1),
364
25093 => array('Can not read font file "%s" in call to Image::GetBBoxTTF. Please make sure that you have set a font before calling this method and that the font is installed in the TTF directory.',1),
365
25094 => array('Direction for text most be given as an angle between 0 and 90.',0),
366
25095 => array('Unknown font font family specification. ',0),
367
25096 => array('Can\'t allocate any more colors in palette image. Image has already allocated maximum of %d colors and the palette  is now full. Change to a truecolor image instead',0),
368
25097 => array('Color specified as empty string in PushColor().',0),
369
25098 => array('Negative Color stack index. Unmatched call to PopColor()',0),
370
25099 => array('Parameters for brightness and Contrast out of range [-1,1]',0),
371
 
372
25100 => array('Problem with color palette and your GD setup. Please disable anti-aliasing or use GD2 with true-color. If you have GD2 library installed please make sure that you have set the USE_GD2 constant to true and truecolor is enabled.',0),
373
25101 => array('Illegal numeric argument to SetLineStyle(): (%d)',1),
374
25102 => array('Illegal string argument to SetLineStyle(): %s',1),
375
25103 => array('Illegal argument to SetLineStyle %s',1),
376
25104 => array('Unknown line style: %s',1),
377
25105 => array('NULL data specified for a filled polygon. Check that your data is not NULL.',0),
378
25106 => array('Image::FillToBorder : Can not allocate more colors',0),
379
25107 => array('Can\'t write to file "%s". Check that the process running PHP has enough permission.',1),
380
25108 => array('Can\'t stream image. This is most likely due to a faulty PHP/GD setup. Try to recompile PHP and use the built-in GD library that comes with PHP.',0),
381
25109 => array('Your PHP (and GD-lib) installation does not appear to support any known graphic formats. You need to first make sure GD is compiled as a module to PHP. If you also want to use JPEG images you must get the JPEG library. Please see the PHP docs for details.',0),
382
 
383
25110 => array('Your PHP installation does not support the chosen graphic format: %s',1),
384
25111 => array('Can\'t delete cached image %s. Permission problem?',1),
385
25112 => array('Cached imagefile (%s) has file date in the future.',1),
386
25113 => array('Can\'t delete cached image "%s". Permission problem?',1),
387
25114 => array('PHP has not enough permissions to write to the cache file "%s". Please make sure that the user running PHP has write permission for this file if you wan to use the cache system with JpGraph.',1),
388
25115 => array('Can\'t set permission for cached image "%s". Permission problem?',1),
389
25116 => array('Cant open file from cache "%s"',1),
390
25117 => array('Can\'t open cached image "%s" for reading.',1),
391
25118 => array('Can\'t create directory "%s". Make sure PHP has write permission to this directory.',1),
392
25119 => array('Can\'t set permissions for "%s". Permission problems?',1),
393
 
394
25120 => array('Position for legend must be given as percentage in range 0-1',0),
395
25121 => array('Empty input data array specified for plot. Must have at least one data point.',0),
396
25122 => array('Stroke() must be implemented by concrete subclass to class Plot',0),
397
25123 => array('You can\'t use a text X-scale with specified X-coords. Use a "int" or "lin" scale instead.',0),
398
25124 => array('The input data array must have consecutive values from position 0 and forward. The given y-array starts with empty values (NULL)',0),
399
25125 => array('Illegal direction for static line',0),
400
25126 => array('Can\'t create truecolor image. Check that the GD2 library is properly setup with PHP.',0),
401
25127 => array('The library has been configured for automatic encoding conversion of Japanese fonts. This requires that PHP has the mb_convert_encoding() function. Your PHP installation lacks this function (PHP needs the "--enable-mbstring" when compiled).',0),
402
25128 => array('The function imageantialias() is not available in your PHP installation. Use the GD version that comes with PHP and not the standalone version.',0),
403
25129 => array('Anti-alias can not be used with dashed lines. Please disable anti-alias or use solid lines.',0),
404
25130 => array('Too small plot area. (%d x %d). With the given image size and margins there is to little space left for the plot. Increase the plot size or reduce the margins.',2),
405
 
406
25131 => array('StrokeBoxedText2() only supports TTF fonts and not built-in bitmap fonts.',0),
407
 
408
/*
409
**  jpgraph_led
410
*/
411
 
412
25500 => array('Multibyte strings must be enabled in the PHP installation in order to run the LED module so that the function mb_strlen() is available. See PHP documentation for more information.',0),
413
 
414
/*
415
**---------------------------------------------------------------------------------------------
416
** Pro-version strings
417
**---------------------------------------------------------------------------------------------
418
*/
419
 
420
/*
421
**  jpgraph_table
422
*/
423
 
424
27001 => array('GTextTable: Invalid argument to Set(). Array argument must be 2 dimensional',0),
425
27002 => array('GTextTable: Invalid argument to Set()',0),
426
27003 => array('GTextTable: Wrong number of arguments to GTextTable::SetColor()',0),
427
27004 => array('GTextTable: Specified cell range to be merged is not valid.',0),
428
27005 => array('GTextTable: Cannot merge already merged cells in the range: (%d,%d) to (%d,%d)',4),
429
27006 => array('GTextTable: Column argument = %d is outside specified table size.',1),
430
27007 => array('GTextTable: Row argument = %d is outside specified table size.',1),
431
27008 => array('GTextTable: Column and row size arrays must match the dimensions of the table',0),
432
27009 => array('GTextTable: Number of table columns or rows are 0. Make sure Init() or Set() is called.',0),
433
27010 => array('GTextTable: No alignment specified in call to SetAlign()',0),
434
27011 => array('GTextTable: Unknown alignment specified in SetAlign(). Horizontal=%s, Vertical=%s',2),
435
27012 => array('GTextTable: Internal error. Invalid alignment specified =%s',1),
436
27013 => array('GTextTable: Argument to FormatNumber() must be a string.',0),
437
27014 => array('GTextTable: Table is not initilaized with either a call to Set() or Init()',0),
438
27015 => array('GTextTable: Cell image constrain type must be TIMG_WIDTH or TIMG_HEIGHT',0),
439
 
440
/*
441
**  jpgraph_windrose
442
*/
443
 
444
22001 => array('Total percentage for all windrose legs in a windrose plot can not exceed 100%% !\n(Current max is: %d)',1),
445
22002 => array('Graph is too small to have a scale. Please make the graph larger.',0),
446
22004 => array('Label specification for windrose directions must have 16 values (one for each compass direction).',0),
447
22005 => array('Line style for radial lines must be on of ("solid","dotted","dashed","longdashed") ',0),
448
22006 => array('Illegal windrose type specified.',0),
449
22007 => array('To few values for the range legend.',0),
450
22008 => array('Internal error: Trying to plot free Windrose even though type is not a free windrose',0),
451
22009 => array('You have specified the same direction twice, once with an angle and once with a compass direction (%f degrees)',0),
452
22010 => array('Direction must either be a numeric value or one of the 16 compass directions',0),
453
22011 => array('Windrose index must be numeric or direction label. You have specified index=%d',1),
454
22012 => array('Windrose radial axis specification contains a direction which is not enabled.',0),
455
22013 => array('You have specified the look&feel for the same compass direction twice, once with text and once with index (Index=%d)',1),
456
22014 => array('Index for compass direction must be between 0 and 15.',0),
457
22015 => array('You have specified an undefined Windrose plot type.',0),
458
22016 => array('Windrose leg index must be numeric or direction label.',0),
459
22017 => array('Windrose data contains a direction which is not enabled. Please adjust what labels are displayed.',0),
460
22018 => array('You have specified data for the same compass direction twice, once with text and once with index (Index=%d)',1),
461
22019 => array('Index for direction must be between 0 and 15. You can\'t specify angles for a Regular Windplot, only index and compass directions.',0),
462
22020 => array('Windrose plot is too large to fit the specified Graph size. Please use WindrosePlot::SetSize() to make the plot smaller or increase the size of the Graph in the initial WindroseGraph() call.',0),
463
22021 => array('It is only possible to add Text, IconPlot or WindrosePlot to a Windrose Graph',0),
464
/*
465
**  jpgraph_odometer
466
*/
467
 
468
13001 => array('Unknown needle style (%d).',1),
469
13002 => array('Value for odometer (%f) is outside specified scale [%f,%f]',3),
470
 
471
/*
472
**  jpgraph_barcode
473
*/
474
 
475
1001 => array('Unknown encoder specification: %s',1),
476
1002 => array('Data validation failed. Can\'t encode [%s] using encoding "%s"',2),
477
1003 => array('Internal encoding error. Trying to encode %s is not possible in Code 128',1),
478
1004 => array('Internal barcode error. Unknown UPC-E encoding type: %s',1),
479
1005 => array('Internal error. Can\'t encode character tuple (%s, %s) in Code-128 charset C',2),
480
1006 => array('Internal encoding error for CODE 128. Trying to encode control character in CHARSET != A',0),
481
1007 => array('Internal encoding error for CODE 128. Trying to encode DEL in CHARSET != B',0),
482
1008 => array('Internal encoding error for CODE 128. Trying to encode small letters in CHARSET != B',0),
483
1009 => array('Encoding using CODE 93 is not yet supported.',0),
484
1010 => array('Encoding using POSTNET is not yet supported.',0),
485
1011 => array('Non supported barcode backend for type %s',1),
486
 
487
/*
488
** PDF417
489
*/
490
26000 => array('PDF417: The PDF417 module requires that the PHP installation must support the function bcmod(). This is normally enabled at compile time. See documentation for more information.',0),
491
26001 => array('PDF417: Number of Columns must be >= 1 and <= 30',0),
492
26002 => array('PDF417: Error level must be between 0 and 8',0),
493
26003 => array('PDF417: Invalid format for input data to encode with PDF417',0),
494
26004 => array('PDF417: Can\'t encode given data with error level %d and %d columns since it results in too many symbols or more than 90 rows.',2),
495
26005 => array('PDF417: Can\'t open file "%s" for writing',1),
496
26006 => array('PDF417: Internal error. Data files for PDF417 cluster %d is corrupted.',1),
497
26007 => array('PDF417: Internal error. GetPattern: Illegal Code Value = %d (row=%d)',2),
498
26008 => array('PDF417: Internal error. Mode not found in mode list!! mode=%d',1),
499
26009 => array('PDF417: Encode error: Illegal character. Can\'t encode character with ASCII code=%d',1),
500
26010 => array('PDF417: Internal error: No input data in decode.',0),
501
26011 => array('PDF417: Encoding error. Can\'t use numeric encoding on non-numeric data.',0),
502
26012 => array('PDF417: Internal error. No input data to decode for Binary compressor.',0),
503
26013 => array('PDF417: Internal error. Checksum error. Coefficient tables corrupted.',0),
504
26014 => array('PDF417: Internal error. No data to calculate codewords on.',0),
505
26015 => array('PDF417: Internal error. State transition table entry 0 is NULL. Entry 1 = (%s)',1),
506
26016 => array('PDF417: Internal error: Unrecognized state transition mode in decode.',0),
507
 
508
/*
509
** jpgraph_contour
510
*/
511
 
512
28001 => array('Third argument to Contour must be an array of colors.',0),
513
28002 => array('Number of colors must equal the number of isobar lines specified',0),
514
28003 => array('ContourPlot Internal Error: isobarHCrossing: Coloumn index too large (%d)',1),
515
28004 => array('ContourPlot Internal Error: isobarHCrossing: Row index too large (%d)',1),
516
28005 => array('ContourPlot Internal Error: isobarVCrossing: Row index too large (%d)',1),
517
28006 => array('ContourPlot Internal Error: isobarVCrossing: Col index too large (%d)',1),
518
28007 => array('ContourPlot interpolation factor is too large (>5)',0),
519
 
520
/*
521
 * jpgraph_matrix and colormap
522
*/
523
29201 => array('Min range value must be less or equal to max range value for colormaps',0),
524
29202 => array('The distance between min and max value is too small for numerical precision',0),
525
29203 => array('Number of color quantification level must be at least %d',1),
526
29204 => array('Number of colors (%d) is invalid for this colormap. It must be a number that can be written as: %d + k*%d',3),
527
29205 => array('Colormap specification out of range. Must be an integer in range [0,%d]',1),
528
29206 => array('Invalid object added to MatrixGraph',0),
529
29207 => array('Empty input data specified for MatrixPlot',0),
530
29208 => array('Unknown side specifiction for matrix labels "%s"',1),
531
29209 => array('CSIM Target matrix must be the same size as the data matrix (csim=%d x %d, data=%d x %d)',4),
532
29210 => array('CSIM Target for matrix labels does not match the number of labels (csim=%d, labels=%d)',2),
533
 
534
);
535
 
536
?>