|
| 1 | +/*!@license |
| 2 | +* Infragistics.Web.ClientUI data source localization resources <build_number> |
| 3 | +* |
| 4 | +* Copyright (c) 2011-<year> Infragistics Inc. |
| 5 | +* |
| 6 | +* http://www.infragistics.com/ |
| 7 | +* |
| 8 | +*/ |
| 9 | + |
| 10 | +(function (factory) { |
| 11 | + if (typeof define === "function" && define.amd) { |
| 12 | + define( ["jquery"], factory ); |
| 13 | + } else { |
| 14 | + return factory(jQuery); |
| 15 | + } |
| 16 | +} |
| 17 | +(function ($) { |
| 18 | + $.ig = $.ig || {}; |
| 19 | + $.ig.locale = $.ig.locale || {}; |
| 20 | + $.ig.locale['zh-cn'] = $.ig.locale['zh-cn'] || {}; |
| 21 | + $.ig.DataSourceLocale = $.ig.DataSourceLocale || {}; |
| 22 | + |
| 23 | + $.ig.locale['zh-cn'].DataSourceLocale = { |
| 24 | + invalidDataSource: "The supplied data source is invalid. It happens to be a scalar.", |
| 25 | + unknownDataSource: "Cannot determine the data source type. Please specify if it is JSON or XML data.", |
| 26 | + errorParsingArrays: "There was an error parsing the array data and applying the defined data schema: ", |
| 27 | + errorParsingJson: "There was an error parsing the JSON data and applying the defined data schema: ", |
| 28 | + errorParsingXml: "There was an error parsing the XML data and applying the defined data schema: ", |
| 29 | + errorParsingHtmlTable: "There was an error extracting the data from the HTML Table and applying the schema : ", |
| 30 | + errorExpectedTbodyParameter: "Expected a tbody or a table as a parameter.", |
| 31 | + errorTableWithIdNotFound: "The HTML Table with the following ID was not found: ", |
| 32 | + errorParsingHtmlTableNoSchema: "There was an error parsing the Table DOM: ", |
| 33 | + errorParsingJsonNoSchema: "There was an error parsing/evaluating the JSON string: ", |
| 34 | + errorParsingXmlNoSchema: "There was an error parsing the XML string: ", |
| 35 | + errorXmlSourceWithoutSchema: "The supplied data source is an xml document, but there is no defined data schema ($.IgDataSchema) ", |
| 36 | + errorUnrecognizedFilterCondition: " The filter condition that was passed was not recognized: ", |
| 37 | + errorRemoteRequest: "The remote request to fetch data has failed: ", |
| 38 | + errorSchemaMismatch: "The input data doesn't match the schema, the following field couldn't be mapped: ", |
| 39 | + errorSchemaFieldCountMismatch: "The input data doesn't match the schema in terms of number of fields. ", |
| 40 | + errorUnrecognizedResponseType: "The response type was either not set correctly, or it was not possible to detect it automatically. Please set settings.responseDataType and/or settings.responseContentType.", |
| 41 | + hierarchicalTablesNotSupported: "Tables are not supported for HierarchicalSchema", |
| 42 | + cannotBuildTemplate: "The jQuery template could not be built. There are no records present in the data source, and no columns defined.", |
| 43 | + unrecognizedCondition: "Unrecognized filtering condition in the following expression: ", |
| 44 | + fieldMismatch: "The following expression contains an invalid field or filtering condition: ", |
| 45 | + noSortingFields: "There are no fields specified. You need to specify at least one field to sort by, when calling sort().", |
| 46 | + filteringNoSchema: "There is no schema / fields specified. You need to specify a schema with field definitions and types to be able to filter the data source.", |
| 47 | + noSaveChanges: "Saving changes was not successful. Server did not return Success object or returned Success:false.", |
| 48 | + errorUnexpectedCustomFilterFunction: "An unexpected value was provided for a custom filtering function. A function or string is expected." |
| 49 | + }; |
| 50 | + |
| 51 | + $.ig.DataSourceLocale.locale = $.ig.DataSourceLocale.locale || $.ig.locale['zh-cn'].DataSourceLocale; |
| 52 | + return $.ig.locale['zh-cn'].DataSourceLocale; |
| 53 | +}));// REMOVE_FROM_COMBINED_FILES |
0 commit comments