|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 | <?php /*======================================================================= // File: EN.INC.PHP // Description: English language file for error messages // Created: 2006-01-25 // Ver: $Id: en.inc.php 1886 2009-10-01 23:30:16Z ljp $ // // Copyright (c) Aditus Consulting. All rights reserved. //======================================================================== */ // Note: Format of each error message is array(<error message>,<number of arguments>) $_jpg_messages = array( /* ** Headers already sent error. This is formatted as HTML different since this will be sent back directly as text */ 10 => array('<table border="1"><tr><td style="color:darkred; font-size:1.2em;"><b>JpGraph Error:</b> 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><?php</b>".</td></tr></table>',2), /* ** Setup errors */ 11 => array('No path specified for CACHE_DIR. Please specify CACHE_DIR manually in jpg-config.inc',0), 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), 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), /* ** jpgraph_bar */ 2001 => array('Number of colors is not the same as the number of patterns in BarPlot::SetPattern()',0), 2002 => array('Unknown pattern specified in call to BarPlot::SetPattern()',0), 2003 => array('Number of X and Y points are not equal. Number of X-points: %d Number of Y-points: %d',2), 2004 => array('All values for a barplot must be numeric. You have specified value nr [%d] == %s',2), 2005 => array('You have specified an empty array for shadow colors in the bar plot.',0), 2006 => array('Unknown position for values on bars : %s',1), 2007 => array('Cannot create GroupBarPlot from empty plot array.',0), 2008 => array('Group bar plot element nbr %d is undefined or empty.',0), 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), 2010 => array('Cannot create AccBarPlot from empty plot array.',0), 2011 => array('Acc bar plot element nbr %d is undefined or empty.',1), 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), 2013 => array('You have specified an empty array for shadow colors in the bar plot.',0), 2014 => array('Number of datapoints for each data set in accbarplot must be the same',0), 2015 => array('Individual bar plots in an AccBarPlot or GroupBarPlot can not have specified X-coordinates',0), /* ** jpgraph_date */ 3001 => array('It is only possible to use either SetDateAlign() or SetTimeAlign() but not both',0), /* ** jpgraph_error */ 4002 => array('Error in input data to LineErrorPlot. Number of data points must be a multiple of 3',0), /* ** jpgraph_flags */ 5001 => array('Unknown flag size (%d).',1), 5002 => array('Flag index %s does not exist.',1), 5003 => array('Invalid ordinal number (%d) specified for flag index.',1), 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), /* ** jpgraph_gantt */ 6001 => array('Internal error. Height for ActivityTitles is < 0',0), 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), 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), 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), 6005 => array('SetScale() is not meaningful with Gantt charts.',0), 6006 => array('Cannot autoscale Gantt chart. No dated activities exist. [GetBarMinMax() start >= n]',0), 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), 6008 => array('You have specified a constrain from row=%d to row=%d which does not have any activity',2), 6009 => array('Unknown constrain type specified from row=%d to row=%d',2), 6010 => array('Illegal icon index for Gantt builtin icon [%d]',1), 6011 => array('Argument to IconImage must be string or integer',0), 6012 => array('Unknown type in Gantt object title specification',0), 6015 => array('Illegal vertical position %d',1), 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), 6017 => array('Unknown date format in GanttScale (%s).',1), 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), 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), 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), 6021 => array('Unknown formatting style for week.',0), 6022 => array('Gantt scale has not been specified.',0), 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), 6024 => array('CSIM Target must be specified as a string. Start of target is: %d',1), 6025 => array('CSIM Alt text must be specified as a string. Start of alt text is: %d',1), 6027 => array('Progress value must in range [0, 1]',0), 6028 => array('Specified height (%d) for gantt bar is out of range.',1), 6029 => array('Offset for vertical line must be in range [0,1]',0), 6030 => array('Unknown arrow direction for link.',0), 6031 => array('Unknown arrow type for link.',0), 6032 => array('Internal error: Unknown path type (=%d) specified for link.',1), 6033 => array('Array of fonts must contain arrays with 3 elements, i.e. (Family, Style, Size)',0), /* ** jpgraph_gradient */ 7001 => array('Unknown gradient style (=%d).',1), /* ** jpgraph_iconplot */ 8001 => array('Mix value for icon must be between 0 and 100.',0), 8002 => array('Anchor position for icons must be one of "top", "bottom", "left", "right" or "center"',0), 8003 => array('It is not possible to specify both an image file and a country flag for the same icon.',0), 8004 => array('In order to use Country flags as icons you must include the "jpgraph_flags.php" file.',0), /* ** jpgraph_imgtrans */ 9001 => array('Value for image transformation out of bounds. Vanishing point on horizon must be specified as a value between 0 and 1.',0), /* ** jpgraph_lineplot */ 10001 => array('LinePlot::SetFilled() is deprecated. Use SetFillColor()',0), 10002 => array('Plot too complicated for fast line Stroke. Use standard Stroke()',0), 10003 => array('Each plot in an accumulated lineplot must have the same number of data points.',0), /* ** jpgraph_log */ 11001 => array('Your data contains non-numeric values.',0), 11002 => array('Negative data values can not be used in a log scale.',0), 11003 => array('Your data contains non-numeric values.',0), 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), 11005 => array('Specifying tick interval for a logarithmic scale is undefined. Remove any calls to SetTextLabelStart() or SetTextTickInterval() on the logarithmic scale.',0), /* ** jpgraph_mgraph */ 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), 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), 12003 => array('Unknown file extension (%s) in MGraph::SetBackgroundImage() for filename: %s',2), 12004 => array('The image format of your background image (%s) is not supported in your system configuration. ',1), 12005 => array('Can\'t read background image: %s',1), 12006 => array('Illegal sizes specified for width or height when creating an image, (width=%d, height=%d)',2), 12007 => array('Argument to MGraph::Add() is not a valid GD image handle.',0), 12008 => array('Your PHP (and GD-lib) installation does not appear to support any known graphic formats.',0), 12009 => array('Your PHP installation does not support the chosen graphic format: %s',1), 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), 12011 => array('Can\'t create truecolor image. Check that you really have GD2 library installed.',0), 12012 => array('Can\'t create image. Check that you really have GD2 library installed.',0), /* ** jpgraph_pie3d */ 14001 => array('Pie3D::ShowBorder() . Deprecated function. Use Pie3D::SetEdge() to control the edges around slices.',0), 14002 => array('PiePlot3D::SetAngle() 3D Pie projection angle must be between 5 and 85 degrees.',0), 14003 => array('Internal assertion failed. Pie3D::Pie3DSlice',0), 14004 => array('Slice start angle must be between 0 and 360 degrees.',0), 14005 => array('Pie3D Internal error: Trying to wrap twice when looking for start index',0,), 14006 => array('Pie3D Internal Error: Z-Sorting algorithm for 3D Pies is not working properly (2). Trying to wrap twice while stroking.',0), 14007 => array('Width for 3D Pie is 0. Specify a size > 0',0), /* ** jpgraph_pie */ 15001 => array('PiePLot::SetTheme() Unknown theme: %s',1), 15002 => array('Argument to PiePlot::ExplodeSlice() must be an integer',0), 15003 => array('Argument to PiePlot::Explode() must be an array with integer distances.',0), 15004 => array('Slice start angle must be between 0 and 360 degrees.',0), 15005 => array('PiePlot::SetFont() is deprecated. Use PiePlot->value->SetFont() instead.',0), 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), 15007 => array('PiePlot::SetFontColor() is deprecated. Use PiePlot->value->SetColor() instead.',0), 15008 => array('PiePlot::SetLabelType() Type for pie plots must be 0 or 1 (not %d).',1), 15009 => array('Illegal pie plot. Sum of all data is zero for Pie Plot',0), 15010 => array('Sum of all data is 0 for Pie.',0), 15011 => array('In order to use image transformation you must include the file jpgraph_imgtrans.php in your script.',0), /* ** jpgraph_plotband */ 16001 => array('Density for pattern must be between 1 and 100. (You tried %f)',1), 16002 => array('No positions specified for pattern.',0), 16003 => array('Unknown pattern specification (%d)',0), 16004 => array('Min value for plotband is larger than specified max value. Please correct.',0), /* ** jpgraph_polar */ 17001 => array('Polar plots must have an even number of data point. Each data point is a tuple (angle,radius).',0), 17002 => array('Unknown alignment specified for X-axis title. (%s)',1), //17003 => array('Set90AndMargin() is not supported for polar graphs.',0), 17004 => array('Unknown scale type for polar graph. Must be "lin" or "log"',0), /* ** jpgraph_radar */ 18001 => array('Client side image maps not supported for RadarPlots.',0), 18002 => array('RadarGraph::SupressTickMarks() is deprecated. Use HideTickMarks() instead.',0), 18003 => array('Illegal scale for radarplot (%s). Must be \'lin\' or \'log\'',1), 18004 => array('Radar Plot size must be between 0.1 and 1. (Your value=%f)',1), 18005 => array('RadarPlot Unsupported Tick density: %d',1), 18006 => array('Minimum data %f (Radar plots should only be used when all data points > 0)',1), 18007 => array('Number of titles does not match number of points in plot.',0), 18008 => array('Each radar plot must have the same number of data points.',0), /* ** jpgraph_regstat */ 19001 => array('Spline: Number of X and Y coordinates must be the same',0), 19002 => array |