diff --git a/.i18nrc.json b/.i18nrc.json
index 8afed2ed8caf5..eb9263c04732c 100644
--- a/.i18nrc.json
+++ b/.i18nrc.json
@@ -15,7 +15,7 @@
"kbnVislibVisTypes": "src/legacy/core_plugins/kbn_vislib_vis_types",
"visTypeMarkdown": "src/legacy/core_plugins/vis_type_markdown",
"metricVis": "src/legacy/core_plugins/metric_vis",
- "vega": "src/legacy/core_plugins/vega",
+ "visTypeVega": "src/legacy/core_plugins/vis_type_vega",
"tableVis": "src/legacy/core_plugins/table_vis",
"regionMap": "src/legacy/core_plugins/region_map",
"statusPage": "src/legacy/core_plugins/status_page",
diff --git a/src/legacy/core_plugins/vega/index.ts b/src/legacy/core_plugins/vis_type_vega/index.ts
similarity index 89%
rename from src/legacy/core_plugins/vega/index.ts
rename to src/legacy/core_plugins/vis_type_vega/index.ts
index b391949959593..669ffde8121d5 100644
--- a/src/legacy/core_plugins/vega/index.ts
+++ b/src/legacy/core_plugins/vis_type_vega/index.ts
@@ -24,6 +24,9 @@ import { LegacyPluginApi, LegacyPluginInitializer } from '../../../../src/legacy
const vegaPluginInitializer: LegacyPluginInitializer = ({ Plugin }: LegacyPluginApi) =>
new Plugin({
+ // TODO: ID property should be changed from 'vega' to 'vis_type_vega'
+ // It is required to change the configuration property
+ // vega.enableExternalUrls -> vis_type_vega.enableExternalUrls
id: 'vega',
require: ['kibana', 'elasticsearch', 'visualizations', 'interpreter', 'data'],
publicDir: resolve(__dirname, 'public'),
diff --git a/src/legacy/core_plugins/vega/package.json b/src/legacy/core_plugins/vis_type_vega/package.json
similarity index 100%
rename from src/legacy/core_plugins/vega/package.json
rename to src/legacy/core_plugins/vis_type_vega/package.json
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vega_graph.hjson b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_graph.hjson
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vega_graph.hjson
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_graph.hjson
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vega_image_512.png b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_image_512.png
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vega_image_512.png
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_image_512.png
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vega_map_image_256.png b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_map_image_256.png
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vega_map_image_256.png
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_map_image_256.png
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vega_map_test.hjson b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_map_test.hjson
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vega_map_test.hjson
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_map_test.hjson
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vega_tooltip_test.hjson b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_tooltip_test.hjson
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vega_tooltip_test.hjson
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_tooltip_test.hjson
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vega_visualization.js b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_visualization.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vega_visualization.js
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vega_visualization.js
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vegalite_graph.hjson b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_graph.hjson
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vegalite_graph.hjson
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_graph.hjson
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vegalite_image_256.png b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_image_256.png
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vegalite_image_256.png
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_image_256.png
diff --git a/src/legacy/core_plugins/vega/public/__tests__/vegalite_image_512.png b/src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_image_512.png
similarity index 100%
rename from src/legacy/core_plugins/vega/public/__tests__/vegalite_image_512.png
rename to src/legacy/core_plugins/vis_type_vega/public/__tests__/vegalite_image_512.png
diff --git a/src/legacy/core_plugins/vega/public/_vega_editor.scss b/src/legacy/core_plugins/vis_type_vega/public/_vega_editor.scss
similarity index 100%
rename from src/legacy/core_plugins/vega/public/_vega_editor.scss
rename to src/legacy/core_plugins/vis_type_vega/public/_vega_editor.scss
diff --git a/src/legacy/core_plugins/vega/public/_vega_vis.scss b/src/legacy/core_plugins/vis_type_vega/public/_vega_vis.scss
similarity index 100%
rename from src/legacy/core_plugins/vega/public/_vega_vis.scss
rename to src/legacy/core_plugins/vis_type_vega/public/_vega_vis.scss
diff --git a/src/legacy/core_plugins/vega/public/data_model/__tests__/es_query_parser.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/es_query_parser.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/__tests__/es_query_parser.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/es_query_parser.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/__tests__/search_cache.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/search_cache.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/__tests__/search_cache.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/search_cache.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/__tests__/time_cache.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/time_cache.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/__tests__/time_cache.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/time_cache.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/__tests__/vega_parser.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/vega_parser.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/__tests__/vega_parser.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/__tests__/vega_parser.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/ems_file_parser.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/ems_file_parser.js
similarity index 92%
rename from src/legacy/core_plugins/vega/public/data_model/ems_file_parser.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/ems_file_parser.js
index c48a4c477cce5..5e8e21be0a86c 100644
--- a/src/legacy/core_plugins/vega/public/data_model/ems_file_parser.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/data_model/ems_file_parser.js
@@ -36,7 +36,7 @@ export class EmsFileParser {
*/
parseUrl(obj, url) {
if (typeof url.name !== 'string') {
- throw new Error(i18n.translate('vega.emsFileParser.missingNameOfFileErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.emsFileParser.missingNameOfFileErrorMessage', {
defaultMessage: '{dataUrlParam} with {dataUrlParamValue} requires {nameParam} parameter (name of the file)',
values: {
dataUrlParam: '"data.url"',
@@ -65,7 +65,7 @@ export class EmsFileParser {
for (const { obj, name } of requests) {
const foundLayer = layers.find(v => v.name === name);
if (!foundLayer) {
- throw new Error(i18n.translate('vega.emsFileParser.emsFileNameDoesNotExistErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.emsFileParser.emsFileNameDoesNotExistErrorMessage', {
defaultMessage: '{emsfile} {emsfileName} does not exist',
values: { emsfileName: JSON.stringify(name), emsfile: 'emsfile' },
}));
diff --git a/src/legacy/core_plugins/vega/public/data_model/es_query_parser.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/es_query_parser.js
similarity index 88%
rename from src/legacy/core_plugins/vega/public/data_model/es_query_parser.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/es_query_parser.js
index fb1968fd110d0..f900a51f929ce 100644
--- a/src/legacy/core_plugins/vega/public/data_model/es_query_parser.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/data_model/es_query_parser.js
@@ -61,7 +61,7 @@ export class EsQueryParser {
if (body === undefined) {
url.body = body = {};
} else if (!_.isPlainObject(body)) {
- throw new Error(i18n.translate('vega.esQueryParser.urlBodyValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.urlBodyValueTypeErrorMessage', {
defaultMessage: '{configName} must be an object',
values: { configName: 'url.body' },
}));
@@ -72,7 +72,7 @@ export class EsQueryParser {
delete url[LEGACY_CONTEXT];
if (legacyContext !== undefined) {
if (body.query !== undefined) {
- throw new Error(i18n.translate('vega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage', {
defaultMessage: '{dataUrlParam} must not have legacy {legacyContext} and {bodyQueryConfigName} values at the same time',
values: {
legacyContext: `"${LEGACY_CONTEXT}"`,
@@ -81,17 +81,18 @@ export class EsQueryParser {
},
}));
} else if (usesContext) {
- throw new Error(i18n.translate('vega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage', {
- defaultMessage: '{dataUrlParam} must not have {legacyContext} together with {context} or {timefield}',
- values: {
- legacyContext: `"${LEGACY_CONTEXT}"`,
- context: `"${CONTEXT}"`,
- timefield: `"${TIMEFIELD}"`,
- dataUrlParam: '"data.url"',
- },
- }));
+ throw new Error(
+ i18n.translate('visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage', {
+ defaultMessage: '{dataUrlParam} must not have {legacyContext} together with {context} or {timefield}',
+ values: {
+ legacyContext: `"${LEGACY_CONTEXT}"`,
+ context: `"${CONTEXT}"`,
+ timefield: `"${TIMEFIELD}"`,
+ dataUrlParam: '"data.url"',
+ },
+ }));
} else if (legacyContext !== true && (typeof legacyContext !== 'string' || legacyContext.length === 0)) {
- throw new Error(i18n.translate('vega.esQueryParser.legacyContextCanBeTrueErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.legacyContextCanBeTrueErrorMessage', {
// eslint-disable-next-line max-len
defaultMessage: 'Legacy {legacyContext} can either be {trueValue} (ignores time range picker), or it can be the name of the time field, e.g. {timestampParam}',
values: { legacyContext: `"${LEGACY_CONTEXT}"`, trueValue: 'true', timestampParam: '"@timestamp"' },
@@ -107,7 +108,7 @@ export class EsQueryParser {
}
result += '}';
- this._onWarning(i18n.translate('vega.esQueryParser.legacyUrlShouldChangeToWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.esQueryParser.legacyUrlShouldChangeToWarningMessage', {
defaultMessage: 'Legacy {urlParam}: {legacyUrl} should change to {result}',
values: {
legacyUrl: `"${LEGACY_CONTEXT}": ${JSON.stringify(legacyContext)}`,
@@ -119,7 +120,7 @@ export class EsQueryParser {
if (body.query !== undefined) {
if (usesContext) {
- throw new Error(i18n.translate('vega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage', {
defaultMessage: '{urlContext} and {timefield} must not be used when {queryParam} is set',
values: {
timefield: `url.${TIMEFIELD}`,
@@ -222,7 +223,7 @@ export class EsQueryParser {
if (size === true) {
size = 50; // by default, try to get ~80 values
} else if (typeof size !== 'number') {
- throw new Error(i18n.translate('vega.esQueryParser.autointervalValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.autointervalValueTypeErrorMessage', {
defaultMessage: '{autointerval} must be either {trueValue} or a number',
values: {
autointerval: `"${AUTOINTERVAL}"`,
@@ -250,7 +251,7 @@ export class EsQueryParser {
this._injectContextVars(subObj, isQuery);
continue;
default:
- throw new Error(i18n.translate('vega.esQueryParser.timefilterValueErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.timefilterValueErrorMessage', {
defaultMessage: '{timefilter} property must be set to {trueValue}, {minValue}, or {maxValue}',
values: {
timefilter: `"${TIMEFILTER}"`,
@@ -295,7 +296,7 @@ export class EsQueryParser {
if (opts.shift) {
const shift = opts.shift;
if (typeof shift !== 'number') {
- throw new Error(i18n.translate('vega.esQueryParser.shiftMustValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.shiftMustValueTypeErrorMessage', {
defaultMessage: '{shiftParam} must be a numeric value',
values: {
shiftParam: '"shift"',
@@ -325,7 +326,7 @@ export class EsQueryParser {
multiplier = 1000;
break;
default:
- throw new Error(i18n.translate('vega.esQueryParser.unknownUnitValueErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.esQueryParser.unknownUnitValueErrorMessage', {
defaultMessage: 'Unknown {unitParamName} value. Must be one of: [{unitParamValues}]',
values: {
unitParamName: '"unit"',
diff --git a/src/legacy/core_plugins/vega/public/data_model/search_cache.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/search_cache.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/search_cache.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/search_cache.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/time_cache.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/time_cache.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/time_cache.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/time_cache.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/url_parser.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/url_parser.js
similarity index 90%
rename from src/legacy/core_plugins/vega/public/data_model/url_parser.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/url_parser.js
index 837a443404d1e..edc84179e5b4c 100644
--- a/src/legacy/core_plugins/vega/public/data_model/url_parser.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/data_model/url_parser.js
@@ -37,7 +37,7 @@ export class UrlParser {
parseUrl(obj, urlObj) {
let url = urlObj.url;
if (!url) {
- throw new Error(i18n.translate('vega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage', {
defaultMessage: '{dataUrlParam} requires a {urlParam} parameter in a form "{formLink}"',
values: {
dataUrlParam: '"data.url"',
@@ -49,7 +49,7 @@ export class UrlParser {
const query = urlObj.query;
if (!query) {
- this._onWarning(i18n.translate('vega.urlParser.urlShouldHaveQuerySubObjectWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.urlParser.urlShouldHaveQuerySubObjectWarningMessage', {
defaultMessage: 'Using a {urlObject} should have a {subObjectName} sub-object',
values: {
urlObject: '"url": {"%type%": "url", "url": ...}',
diff --git a/src/legacy/core_plugins/vega/public/data_model/utils.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/utils.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/data_model/utils.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/utils.js
diff --git a/src/legacy/core_plugins/vega/public/data_model/vega_parser.js b/src/legacy/core_plugins/vis_type_vega/public/data_model/vega_parser.js
similarity index 90%
rename from src/legacy/core_plugins/vega/public/data_model/vega_parser.js
rename to src/legacy/core_plugins/vis_type_vega/public/data_model/vega_parser.js
index ad76d424459f3..dc51dbce220fa 100644
--- a/src/legacy/core_plugins/vega/public/data_model/vega_parser.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/data_model/vega_parser.js
@@ -78,7 +78,7 @@ export class VegaParser {
this.spec = hjson.parse(this.spec, { legacyRoot: false });
}
if (!_.isPlainObject(this.spec)) {
- throw new Error(i18n.translate('vega.vegaParser.invalidVegaSpecErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.invalidVegaSpecErrorMessage', {
defaultMessage: 'Invalid Vega specification',
}));
}
@@ -131,7 +131,7 @@ export class VegaParser {
this.spec.projections.length !== 1 ||
this.spec.projections[0].name !== 'projection'
) {
- throw new Error(i18n.translate('vega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage', {
defaultMessage: 'Internal error: Vega-Lite compiler should have generated a single projection object',
}));
}
@@ -185,7 +185,7 @@ export class VegaParser {
delete this.spec.width;
delete this.spec.height;
} else {
- this._onWarning(i18n.translate('vega.vegaParser.widthAndHeightParamsAreIgnoredWithAutosizeFitWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.widthAndHeightParamsAreIgnoredWithAutosizeFitWarningMessage', {
defaultMessage: 'The {widthParam} and {heightParam} params are ignored with {autosizeParam}',
values: {
autosizeParam: 'autosize=fit',
@@ -207,7 +207,7 @@ export class VegaParser {
if (this._config.controlsLocation === undefined) {
this.containerDir = 'column';
} else {
- throw new Error(i18n.translate('vega.vegaParser.unrecognizedControlsLocationValueErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.unrecognizedControlsLocationValueErrorMessage', {
defaultMessage: 'Unrecognized {controlsLocationParam} value. Expecting one of [{locToDirMap}]',
values: { locToDirMap: `"${locToDirMap.keys().join('", "')}"`, controlsLocationParam: 'controlsLocation' }
}));
@@ -215,7 +215,7 @@ export class VegaParser {
}
const dir = this._config.controlsDirection;
if (dir !== undefined && dir !== 'horizontal' && dir !== 'vertical') {
- throw new Error(i18n.translate('vega.vegaParser.unrecognizedDirValueErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.unrecognizedDirValueErrorMessage', {
defaultMessage: 'Unrecognized {dirParam} value. Expecting one of [{expectedValues}]',
values: { expectedValues: '"horizontal", "vertical"', dirParam: 'dir' },
}));
@@ -234,12 +234,12 @@ export class VegaParser {
result = this.spec._hostConfig;
delete this.spec._hostConfig;
if (!_.isPlainObject(result)) {
- throw new Error(i18n.translate('vega.vegaParser.hostConfigValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.hostConfigValueTypeErrorMessage', {
defaultMessage: 'If present, {configName} must be an object',
values: { configName: '"_hostConfig"' },
}));
}
- this._onWarning(i18n.translate('vega.vegaParser.hostConfigIsDeprecatedWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.hostConfigIsDeprecatedWarningMessage', {
defaultMessage: '{deprecatedConfigName} has been deprecated. Use {newConfigName} instead.',
values: {
deprecatedConfigName: '"_hostConfig"',
@@ -251,7 +251,7 @@ export class VegaParser {
result = this.spec.config.kibana;
delete this.spec.config.kibana;
if (!_.isPlainObject(result)) {
- throw new Error(i18n.translate('vega.vegaParser.kibanaConfigValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.kibanaConfigValueTypeErrorMessage', {
defaultMessage: 'If present, {configName} must be an object',
values: { configName: 'config.kibana' },
}));
@@ -270,7 +270,7 @@ export class VegaParser {
if (result.position === undefined) {
result.position = 'top';
} else if (['top', 'right', 'bottom', 'left'].indexOf(result.position) === -1) {
- throw new Error(i18n.translate('vega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage', {
defaultMessage: 'Unexpected value for the {configurationName} configuration',
values: { configurationName: 'result.position' },
}));
@@ -279,7 +279,7 @@ export class VegaParser {
if (result.padding === undefined) {
result.padding = 16;
} else if (typeof result.padding !== 'number') {
- throw new Error(i18n.translate('vega.vegaParser.paddingConfigValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.paddingConfigValueTypeErrorMessage', {
defaultMessage: '{configName} is expected to be a number',
values: { configName: 'config.kibana.result.padding' },
}));
@@ -291,7 +291,7 @@ export class VegaParser {
} else if (typeof result.centerOnMark === 'boolean') {
result.centerOnMark = result.centerOnMark ? Number.MAX_VALUE : -1;
} else if (typeof result.centerOnMark !== 'number') {
- throw new Error(i18n.translate('vega.vegaParser.centerOnMarkConfigValueTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.centerOnMarkConfigValueTypeErrorMessage', {
defaultMessage: '{configName} is expected to be {trueValue}, {falseValue}, or a number',
values: { configName: 'config.kibana.result.centerOnMark', trueValue: 'true', falseValue: 'false' },
}));
@@ -318,7 +318,7 @@ export class VegaParser {
res[name] = parsed;
return;
}
- this._onWarning(i18n.translate('vega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage', {
defaultMessage: '{configName} is not valid',
values: { configName: `config.kibana.${name}` },
}));
@@ -335,7 +335,7 @@ export class VegaParser {
// `false` is a valid value
res.mapStyle = this._config.mapStyle === undefined ? `default` : this._config.mapStyle;
if (res.mapStyle !== `default` && res.mapStyle !== false) {
- this._onWarning(i18n.translate('vega.vegaParser.mapStyleValueTypeWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.mapStyleValueTypeWarningMessage', {
defaultMessage: '{mapStyleConfigName} may either be {mapStyleConfigFirstAllowedValue} or {mapStyleConfigSecondAllowedValue}',
values: {
mapStyleConfigName: 'config.kibana.mapStyle',
@@ -354,7 +354,7 @@ export class VegaParser {
if (!Array.isArray(maxBounds) || maxBounds.length !== 4 ||
!maxBounds.every(v => typeof v === 'number' && Number.isFinite(v))
) {
- this._onWarning(i18n.translate('vega.vegaParser.maxBoundsValueTypeWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.maxBoundsValueTypeWarningMessage', {
defaultMessage: '{maxBoundsConfigName} must be an array with four numbers',
values: {
maxBoundsConfigName: 'config.kibana.maxBounds',
@@ -373,7 +373,7 @@ export class VegaParser {
if (val === undefined) {
dstObj[paramName] = dflt;
} else if (typeof val !== 'boolean') {
- this._onWarning(i18n.translate('vega.vegaParser.someKibanaParamValueTypeWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.someKibanaParamValueTypeWarningMessage', {
defaultMessage: '{configName} must be a boolean value',
values: {
configName: `config.kibana.${paramName}`
@@ -392,7 +392,7 @@ export class VegaParser {
*/
_parseSchema() {
if (!this.spec.$schema) {
- this._onWarning(i18n.translate('vega.vegaParser.inputSpecDoesNotSpecifySchemaWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.inputSpecDoesNotSpecifySchemaWarningMessage', {
defaultMessage: 'The input spec does not specify a {schemaParam}, defaulting to {defaultSchema}',
values: { defaultSchema: `"${DEFAULT_SCHEMA}"`, schemaParam: '"$schema"' },
}));
@@ -404,7 +404,7 @@ export class VegaParser {
const libVersion = isVegaLite ? vegaLite.version : vega.version;
if (versionCompare(schema.version, libVersion) > 0) {
- this._onWarning(i18n.translate('vega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage', {
+ this._onWarning(i18n.translate('visTypeVega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage', {
defaultMessage: 'The input spec uses {schemaLibrary} {schemaVersion}, but current version of {schemaLibrary} is {libraryVersion}.',
values: {
schemaLibrary: schema.library,
@@ -436,7 +436,7 @@ export class VegaParser {
const parser = this._urlParsers[type];
if (parser === undefined) {
- throw new Error(i18n.translate('vega.vegaParser.notSupportedUrlTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.notSupportedUrlTypeErrorMessage', {
defaultMessage: '{urlObject} is not supported',
values: {
urlObject: 'url: {"%type%": "${type}"}',
@@ -475,7 +475,7 @@ export class VegaParser {
if (key === 'data' && _.isPlainObject(obj.url)) {
// Assume that any "data": {"url": {...}} is a request for data
if (obj.values !== undefined || obj.source !== undefined) {
- throw new Error(i18n.translate('vega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage', {
defaultMessage: 'Data must not have more than one of {urlParam}, {valuesParam}, and {sourceParam}',
values: {
urlParam: '"url"',
diff --git a/src/legacy/core_plugins/vega/public/default.spec.hjson b/src/legacy/core_plugins/vis_type_vega/public/default.spec.hjson
similarity index 100%
rename from src/legacy/core_plugins/vega/public/default.spec.hjson
rename to src/legacy/core_plugins/vis_type_vega/public/default.spec.hjson
diff --git a/src/legacy/core_plugins/vega/public/help_menus/vega_action_menu.js b/src/legacy/core_plugins/vis_type_vega/public/help_menus/vega_action_menu.js
similarity index 93%
rename from src/legacy/core_plugins/vega/public/help_menus/vega_action_menu.js
rename to src/legacy/core_plugins/vis_type_vega/public/help_menus/vega_action_menu.js
index f09f2f6f42370..6f136e3679f30 100644
--- a/src/legacy/core_plugins/vega/public/help_menus/vega_action_menu.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/help_menus/vega_action_menu.js
@@ -60,7 +60,7 @@ export class VegaActionsMenu extends Component {
onClick={this.onButtonClick}
aria-label={
}
@@ -74,7 +74,7 @@ export class VegaActionsMenu extends Component {
onClick={(event) => { this.closePopover(); this.props.formatHJson(event); }}
>
@@ -84,7 +84,7 @@ export class VegaActionsMenu extends Component {
onClick={(event) => { this.closePopover(); this.props.formatJson(event); }}
>
diff --git a/src/legacy/core_plugins/vega/public/help_menus/vega_help_menu.js b/src/legacy/core_plugins/vis_type_vega/public/help_menus/vega_help_menu.js
similarity index 92%
rename from src/legacy/core_plugins/vega/public/help_menus/vega_help_menu.js
rename to src/legacy/core_plugins/vis_type_vega/public/help_menus/vega_help_menu.js
index 06fe096fec98f..fe0819a729490 100644
--- a/src/legacy/core_plugins/vega/public/help_menus/vega_help_menu.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/help_menus/vega_help_menu.js
@@ -58,7 +58,7 @@ export class VegaHelpMenu extends Component {
onClick={this.onButtonClick}
aria-label={
}
@@ -75,7 +75,7 @@ export class VegaHelpMenu extends Component {
onClick={() => { this.closePopover(); }}
>
@@ -88,7 +88,7 @@ export class VegaHelpMenu extends Component {
onClick={() => { this.closePopover(); }}
>
@@ -101,7 +101,7 @@ export class VegaHelpMenu extends Component {
onClick={() => { this.closePopover(); }}
>
diff --git a/src/legacy/core_plugins/vega/public/helpers/index.js b/src/legacy/core_plugins/vis_type_vega/public/helpers/index.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/helpers/index.js
rename to src/legacy/core_plugins/vis_type_vega/public/helpers/index.js
diff --git a/src/legacy/core_plugins/vega/public/helpers/vega_config_provider.js b/src/legacy/core_plugins/vis_type_vega/public/helpers/vega_config_provider.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/helpers/vega_config_provider.js
rename to src/legacy/core_plugins/vis_type_vega/public/helpers/vega_config_provider.js
diff --git a/src/legacy/core_plugins/vega/public/index.scss b/src/legacy/core_plugins/vis_type_vega/public/index.scss
similarity index 100%
rename from src/legacy/core_plugins/vega/public/index.scss
rename to src/legacy/core_plugins/vis_type_vega/public/index.scss
diff --git a/src/legacy/core_plugins/vega/public/index.ts b/src/legacy/core_plugins/vis_type_vega/public/index.ts
similarity index 100%
rename from src/legacy/core_plugins/vega/public/index.ts
rename to src/legacy/core_plugins/vis_type_vega/public/index.ts
diff --git a/src/legacy/core_plugins/vega/public/legacy.ts b/src/legacy/core_plugins/vis_type_vega/public/legacy.ts
similarity index 100%
rename from src/legacy/core_plugins/vega/public/legacy.ts
rename to src/legacy/core_plugins/vis_type_vega/public/legacy.ts
diff --git a/src/legacy/core_plugins/vega/public/plugin.ts b/src/legacy/core_plugins/vis_type_vega/public/plugin.ts
similarity index 100%
rename from src/legacy/core_plugins/vega/public/plugin.ts
rename to src/legacy/core_plugins/vis_type_vega/public/plugin.ts
diff --git a/src/legacy/core_plugins/vega/public/shim/index.ts b/src/legacy/core_plugins/vis_type_vega/public/shim/index.ts
similarity index 100%
rename from src/legacy/core_plugins/vega/public/shim/index.ts
rename to src/legacy/core_plugins/vis_type_vega/public/shim/index.ts
diff --git a/src/legacy/core_plugins/vega/public/shim/legacy_dependencies_plugin.ts b/src/legacy/core_plugins/vis_type_vega/public/shim/legacy_dependencies_plugin.ts
similarity index 100%
rename from src/legacy/core_plugins/vega/public/shim/legacy_dependencies_plugin.ts
rename to src/legacy/core_plugins/vis_type_vega/public/shim/legacy_dependencies_plugin.ts
diff --git a/src/legacy/core_plugins/vega/public/shim/vega_legacy_module.ts b/src/legacy/core_plugins/vis_type_vega/public/shim/vega_legacy_module.ts
similarity index 100%
rename from src/legacy/core_plugins/vega/public/shim/vega_legacy_module.ts
rename to src/legacy/core_plugins/vis_type_vega/public/shim/vega_legacy_module.ts
diff --git a/src/legacy/core_plugins/vega/public/vega_editor_controller.js b/src/legacy/core_plugins/vis_type_vega/public/vega_editor_controller.js
similarity index 97%
rename from src/legacy/core_plugins/vega/public/vega_editor_controller.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_editor_controller.js
index cd50f63ba1ae3..f91beff59a34f 100644
--- a/src/legacy/core_plugins/vega/public/vega_editor_controller.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/vega_editor_controller.js
@@ -64,7 +64,7 @@ export class VegaEditorController {
} catch (err) {
// This is a common case - user tries to format an invalid HJSON text
toastNotifications.addError(err, {
- title: i18n.translate('vega.editor.formatError', {
+ title: i18n.translate('visTypeVega.editor.formatError', {
defaultMessage: 'Error formatting spec',
}),
});
diff --git a/src/legacy/core_plugins/vega/public/vega_editor_template.html b/src/legacy/core_plugins/vis_type_vega/public/vega_editor_template.html
similarity index 100%
rename from src/legacy/core_plugins/vega/public/vega_editor_template.html
rename to src/legacy/core_plugins/vis_type_vega/public/vega_editor_template.html
diff --git a/src/legacy/core_plugins/vega/public/vega_fn.js b/src/legacy/core_plugins/vis_type_vega/public/vega_fn.js
similarity index 97%
rename from src/legacy/core_plugins/vega/public/vega_fn.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_fn.js
index c18d06a4a1ee8..e92d51668989c 100644
--- a/src/legacy/core_plugins/vega/public/vega_fn.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/vega_fn.js
@@ -30,7 +30,7 @@ export const createVegaFn = (dependencies) => ({
'null',
],
},
- help: i18n.translate('vega.function.help', {
+ help: i18n.translate('visTypeVega.function.help', {
defaultMessage: 'Vega visualization',
}),
args: {
diff --git a/src/legacy/core_plugins/vega/public/vega_request_handler.js b/src/legacy/core_plugins/vis_type_vega/public/vega_request_handler.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/vega_request_handler.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_request_handler.js
diff --git a/src/legacy/core_plugins/vega/public/vega_type.js b/src/legacy/core_plugins/vis_type_vega/public/vega_type.js
similarity index 97%
rename from src/legacy/core_plugins/vega/public/vega_type.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_type.js
index 3dd3a6a23af07..b4e516cd873f1 100644
--- a/src/legacy/core_plugins/vega/public/vega_type.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/vega_type.js
@@ -37,7 +37,7 @@ export const createVegaTypeDefinition = (dependencies) => {
return visFactory.createBaseVisualization({
name: 'vega',
title: 'Vega',
- description: i18n.translate('vega.type.vegaDescription', {
+ description: i18n.translate('visTypeVega.type.vegaDescription', {
defaultMessage: 'Create custom visualizations using Vega and Vega-Lite',
description: 'Vega and Vega-Lite are product names and should not be translated',
}),
diff --git a/src/legacy/core_plugins/vega/public/vega_view/vega_base_view.js b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_base_view.js
similarity index 97%
rename from src/legacy/core_plugins/vega/public/vega_view/vega_base_view.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_base_view.js
index 750ddeace3a5a..a4a327bcc9390 100644
--- a/src/legacy/core_plugins/vega/public/vega_view/vega_base_view.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_base_view.js
@@ -147,7 +147,7 @@ export class VegaBaseView {
// because user can only supply pure JSON data structure.
uri = uri.url;
} else if (!this._enableExternalUrls) {
- throw new Error(i18n.translate('vega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage', {
defaultMessage: 'External URLs are not enabled. Add {enableExternalUrls} to {kibanaConfigFileName}',
values: {
enableExternalUrls: 'vega.enableExternalUrls: true',
@@ -246,7 +246,7 @@ export class VegaBaseView {
const handlerFunc = vegaFunctions[funcName];
if (!handlerFunc || !this[handlerFunc]) {
// in case functions don't match the list above
- throw new Error(i18n.translate('vega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage', {
defaultMessage: '{funcName} is not defined for this graph',
values: { funcName: `${funcName}()` },
}));
@@ -325,7 +325,7 @@ export class VegaBaseView {
const startDate = dateMath.parse(start);
const endDate = dateMath.parse(end);
if (!startDate || !endDate || !startDate.isValid() || !endDate.isValid()) {
- throw new Error(i18n.translate('vega.vegaParser.baseView.timeValuesTypeErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.vegaParser.baseView.timeValuesTypeErrorMessage', {
defaultMessage: 'Error setting time filter: both time values must be either relative or absolute dates. {start}, {end}',
values: {
start: `start=${JSON.stringify(start)}`,
diff --git a/src/legacy/core_plugins/vega/public/vega_view/vega_map_layer.js b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_layer.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/vega_view/vega_map_layer.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_layer.js
diff --git a/src/legacy/core_plugins/vega/public/vega_view/vega_map_view.js b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_view.js
similarity index 91%
rename from src/legacy/core_plugins/vega/public/vega_view/vega_map_view.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_view.js
index d05b4cf938cd7..f733d19c0c383 100644
--- a/src/legacy/core_plugins/vega/public/vega_view/vega_map_view.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_map_view.js
@@ -45,7 +45,7 @@ export class VegaMapView extends VegaBaseView {
...await this._serviceSettings.getAttributesForTMSLayer(baseMapOpts, true, isDarkMode),
};
if (!baseMapOpts) {
- this.onWarn(i18n.translate('vega.mapView.mapStyleNotFoundWarningMessage', {
+ this.onWarn(i18n.translate('visTypeVega.mapView.mapStyleNotFoundWarningMessage', {
defaultMessage: '{mapStyleParam} was not found',
values: { mapStyleParam: `"mapStyle": ${JSON.stringify(mapStyle)}` },
}));
@@ -59,13 +59,13 @@ export class VegaMapView extends VegaBaseView {
if (value === undefined) {
value = dflt;
} else if (value < min) {
- this.onWarn(i18n.translate('vega.mapView.resettingPropertyToMinValueWarningMessage', {
+ this.onWarn(i18n.translate('visTypeVega.mapView.resettingPropertyToMinValueWarningMessage', {
defaultMessage: 'Resetting {name} to {min}',
values: { name: `"${name}"`, min },
}));
value = min;
} else if (value > max) {
- this.onWarn(i18n.translate('vega.mapView.resettingPropertyToMaxValueWarningMessage', {
+ this.onWarn(i18n.translate('visTypeVega.mapView.resettingPropertyToMaxValueWarningMessage', {
defaultMessage: 'Resetting {name} to {max}',
values: { name: `"${name}"`, max },
}));
@@ -77,7 +77,7 @@ export class VegaMapView extends VegaBaseView {
let minZoom = validate('minZoom', mapConfig.minZoom, limitMinZ, limitMinZ, limitMaxZ);
let maxZoom = validate('maxZoom', mapConfig.maxZoom, limitMaxZ, limitMinZ, limitMaxZ);
if (minZoom > maxZoom) {
- this.onWarn(i18n.translate('vega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage', {
+ this.onWarn(i18n.translate('visTypeVega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage', {
defaultMessage: '{minZoomPropertyName} and {maxZoomPropertyName} have been swapped',
values: {
minZoomPropertyName: '"minZoom"',
diff --git a/src/legacy/core_plugins/vega/public/vega_view/vega_tooltip.js b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_tooltip.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/vega_view/vega_tooltip.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_tooltip.js
diff --git a/src/legacy/core_plugins/vega/public/vega_view/vega_view.js b/src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_view.js
similarity index 100%
rename from src/legacy/core_plugins/vega/public/vega_view/vega_view.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_view/vega_view.js
diff --git a/src/legacy/core_plugins/vega/public/vega_visualization.js b/src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js
similarity index 89%
rename from src/legacy/core_plugins/vega/public/vega_visualization.js
rename to src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js
index a4753a0e8d712..dc1b297e36588 100644
--- a/src/legacy/core_plugins/vega/public/vega_visualization.js
+++ b/src/legacy/core_plugins/vis_type_vega/public/vega_visualization.js
@@ -40,7 +40,7 @@ export const createVegaVisualization = ({ serviceSettings }) => class VegaVisual
if (index) {
idxObj = await findObjectByTitle(this.savedObjectsClient, 'index-pattern', index);
if (!idxObj) {
- throw new Error(i18n.translate('vega.visualization.indexNotFoundErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.visualization.indexNotFoundErrorMessage', {
defaultMessage: 'Index {index} not found',
values: { index: `"${index}"` },
}));
@@ -48,7 +48,7 @@ export const createVegaVisualization = ({ serviceSettings }) => class VegaVisual
} else {
idxObj = await this._vis.API.indexPatterns.getDefault();
if (!idxObj) {
- throw new Error(i18n.translate('vega.visualization.unableToFindDefaultIndexErrorMessage', {
+ throw new Error(i18n.translate('visTypeVega.visualization.unableToFindDefaultIndexErrorMessage', {
defaultMessage: 'Unable to find default index',
}));
}
@@ -64,7 +64,7 @@ export const createVegaVisualization = ({ serviceSettings }) => class VegaVisual
*/
async render(visData, visParams, status) {
if (!visData && !this._vegaView) {
- toastNotifications.addWarning(i18n.translate('vega.visualization.unableToRenderWithoutDataWarningMessage', {
+ toastNotifications.addWarning(i18n.translate('visTypeVega.visualization.unableToRenderWithoutDataWarningMessage', {
defaultMessage: 'Unable to render without data',
}));
return;
@@ -79,7 +79,7 @@ export const createVegaVisualization = ({ serviceSettings }) => class VegaVisual
this._vegaView.onError(error);
} else {
toastNotifications.addError(error, {
- title: i18n.translate('vega.visualization.renderErrorTitle', {
+ title: i18n.translate('visTypeVega.visualization.renderErrorTitle', {
defaultMessage: 'Vega error',
}),
});
diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json
index 87c577383b36c..06b199444bf49 100644
--- a/x-pack/plugins/translations/translations/ja-JP.json
+++ b/x-pack/plugins/translations/translations/ja-JP.json
@@ -3671,60 +3671,60 @@
"tsvb.visPicker.timeSeriesLabel": "時系列",
"tsvb.visPicker.topNLabel": "トップ N",
"tsvb.yesButtonLabel": "はい",
- "vega.editor.formatError": "仕様のフォーマット中にエラーが発生",
- "vega.editor.reformatAsHJSONButtonLabel": "HJSON に変換",
- "vega.editor.reformatAsJSONButtonLabel": "JSON に変換しコメントを削除",
- "vega.editor.vegaDocumentationLinkText": "Vega ドキュメント",
- "vega.editor.vegaEditorOptionsButtonAriaLabel": "Vega エディターオプション",
- "vega.editor.vegaHelpButtonAriaLabel": "Vega ヘルプ",
- "vega.editor.vegaHelpLinkText": "Kibana Vega ヘルプ",
- "vega.editor.vegaLiteDocumentationLinkText": "Vega-Lite ドキュメンテーション",
- "vega.emsFileParser.emsFileNameDoesNotExistErrorMessage": "{emsfile} {emsfileName} が存在しません",
- "vega.emsFileParser.missingNameOfFileErrorMessage": "{dataUrlParamValue} の {dataUrlParam} には {nameParam} パラメーター (ファイル名) が必要です",
- "vega.esQueryParser.autointervalValueTypeErrorMessage": "{autointerval} は文字 {trueValue} または数字である必要があります",
- "vega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage": "{dataUrlParam} はレガシー {legacyContext} と {bodyQueryConfigName} の値を同時に含めることができません。",
- "vega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage": "{dataUrlParam} は {legacyContext} と同時に {context} または {timefield} を含めることができません",
- "vega.esQueryParser.legacyContextCanBeTrueErrorMessage": "レガシー {legacyContext} は {trueValue} (時間範囲ピッカーを無視)、または時間フィールドの名前のどちらかです。例: {timestampParam}",
- "vega.esQueryParser.legacyUrlShouldChangeToWarningMessage": "レガシー {urlParam}: {legacyUrl} を {result} に変更する必要があります",
- "vega.esQueryParser.shiftMustValueTypeErrorMessage": "{shiftParam} は数値でなければなりません",
- "vega.esQueryParser.timefilterValueErrorMessage": "{timefilter} のプロパティは {trueValue}、{minValue}、または {maxValue} に設定する必要があります",
- "vega.esQueryParser.unknownUnitValueErrorMessage": "不明な {unitParamName} 値。[{unitParamValues}] の内の 1 つでなければなりません",
- "vega.esQueryParser.urlBodyValueTypeErrorMessage": "{configName} はオブジェクトでなければなりません",
- "vega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage": "{urlContext} と {timefield} は {queryParam} が設定されている場合使用できません",
- "vega.function.help": "Vega ビジュアライゼーション",
- "vega.mapView.mapStyleNotFoundWarningMessage": "{mapStyleParam} が見つかりませんでした",
- "vega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage": "{minZoomPropertyName} と {maxZoomPropertyName} が交換されました",
- "vega.mapView.resettingPropertyToMaxValueWarningMessage": "{name} を {max} にリセットしています",
- "vega.mapView.resettingPropertyToMinValueWarningMessage": "{name} を {min} にリセットしています",
- "vega.type.vegaDescription": "Vega と Vega-Lite を使用してカスタムビジュアライゼーションを作成します。",
- "vega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage": "{dataUrlParam} には「{formLink}」の形で {urlParam} パラメーターが必要です",
- "vega.urlParser.urlShouldHaveQuerySubObjectWarningMessage": "{urlObject} を使用するには {subObjectName} サブオブジェクトが必要です",
- "vega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage": "外部 URL が無効です。{enableExternalUrls} を {kibanaConfigFileName} に追加します",
- "vega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage": "このグラフには {funcName} が定義されていません",
- "vega.vegaParser.baseView.timeValuesTypeErrorMessage": "時間フィルターの設定エラー: 両方の時間の値は相対的または絶対的な日付である必要があります。 {start}、{end}",
- "vega.vegaParser.centerOnMarkConfigValueTypeErrorMessage": "{configName} は {trueValue}、{falseValue}、または数字でなければなりません",
- "vega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage": "データには {urlParam}、{valuesParam}、 {sourceParam} の内複数を含めることができません",
- "vega.vegaParser.hostConfigIsDeprecatedWarningMessage": "{deprecatedConfigName} は廃止されました。代わりに {newConfigName} を使用してください。",
- "vega.vegaParser.hostConfigValueTypeErrorMessage": "{configName} が含まれている場合、オブジェクトでなければなりません",
- "vega.vegaParser.inputSpecDoesNotSpecifySchemaWarningMessage": "インプット仕様で {schemaParam} が指定されていないため、デフォルトで {defaultSchema} になります",
- "vega.vegaParser.invalidVegaSpecErrorMessage": "無効な Vega 仕様",
- "vega.vegaParser.kibanaConfigValueTypeErrorMessage": "{configName} が含まれている場合、オブジェクトでなければなりません",
- "vega.vegaParser.mapStyleValueTypeWarningMessage": "{mapStyleConfigName} は {mapStyleConfigFirstAllowedValue} か {mapStyleConfigSecondAllowedValue} のどちらかです",
- "vega.vegaParser.maxBoundsValueTypeWarningMessage": "{maxBoundsConfigName} は 4 つの数字の配列でなければなりません",
- "vega.vegaParser.notSupportedUrlTypeErrorMessage": "{urlObject} はサポートされていません",
- "vega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage": "インプット仕様に {schemaLibrary} {schemaVersion} が使用されていますが、現在のバージョンの {schemaLibrary} は {libraryVersion} です。’",
- "vega.vegaParser.paddingConfigValueTypeErrorMessage": "{configName} は数字でなければなりません",
- "vega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage": "{configName} は有効ではありません",
- "vega.vegaParser.someKibanaParamValueTypeWarningMessage": "{configName} はブール値でなければなりません",
- "vega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage": "{configurationName} 構成に予期せぬ値が使用されています",
- "vega.vegaParser.unrecognizedControlsLocationValueErrorMessage": "認識されない {controlsLocationParam} 値[{locToDirMap}] のいずれかである必要があります",
- "vega.vegaParser.unrecognizedDirValueErrorMessage": "認識されない {dirParam} 値[{expectedValues}] のいずれかである必要があります",
- "vega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage": "内部エラー:Vega-Lite コンパイラーがシングルプロジェクションオブジェクトを生成したはずです",
- "vega.vegaParser.widthAndHeightParamsAreIgnoredWithAutosizeFitWarningMessage": "{widthParam} と {heightParam} パラメーターは {autosizeParam} で無視されます",
- "vega.visualization.indexNotFoundErrorMessage": "インデックス {index} が見つかりません",
- "vega.visualization.renderErrorTitle": "Vega エラー",
- "vega.visualization.unableToFindDefaultIndexErrorMessage": "デフォルトのインデックスが見つかりません",
- "vega.visualization.unableToRenderWithoutDataWarningMessage": "データなしにはレンダリングできません",
+ "visTypeVega.editor.formatError": "仕様のフォーマット中にエラーが発生",
+ "visTypeVega.editor.reformatAsHJSONButtonLabel": "HJSON に変換",
+ "visTypeVega.editor.reformatAsJSONButtonLabel": "JSON に変換しコメントを削除",
+ "visTypeVega.editor.vegaDocumentationLinkText": "Vega ドキュメント",
+ "visTypeVega.editor.vegaEditorOptionsButtonAriaLabel": "Vega エディターオプション",
+ "visTypeVega.editor.vegaHelpButtonAriaLabel": "Vega ヘルプ",
+ "visTypeVega.editor.vegaHelpLinkText": "Kibana Vega ヘルプ",
+ "visTypeVega.editor.vegaLiteDocumentationLinkText": "Vega-Lite ドキュメンテーション",
+ "visTypeVega.emsFileParser.emsFileNameDoesNotExistErrorMessage": "{emsfile} {emsfileName} が存在しません",
+ "visTypeVega.emsFileParser.missingNameOfFileErrorMessage": "{dataUrlParamValue} の {dataUrlParam} には {nameParam} パラメーター (ファイル名) が必要です",
+ "visTypeVega.esQueryParser.autointervalValueTypeErrorMessage": "{autointerval} は文字 {trueValue} または数字である必要があります",
+ "visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage": "{dataUrlParam} はレガシー {legacyContext} と {bodyQueryConfigName} の値を同時に含めることができません。",
+ "visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage": "{dataUrlParam} は {legacyContext} と同時に {context} または {timefield} を含めることができません",
+ "visTypeVega.esQueryParser.legacyContextCanBeTrueErrorMessage": "レガシー {legacyContext} は {trueValue} (時間範囲ピッカーを無視)、または時間フィールドの名前のどちらかです。例: {timestampParam}",
+ "visTypeVega.esQueryParser.legacyUrlShouldChangeToWarningMessage": "レガシー {urlParam}: {legacyUrl} を {result} に変更する必要があります",
+ "visTypeVega.esQueryParser.shiftMustValueTypeErrorMessage": "{shiftParam} は数値でなければなりません",
+ "visTypeVega.esQueryParser.timefilterValueErrorMessage": "{timefilter} のプロパティは {trueValue}、{minValue}、または {maxValue} に設定する必要があります",
+ "visTypeVega.esQueryParser.unknownUnitValueErrorMessage": "不明な {unitParamName} 値。[{unitParamValues}] の内の 1 つでなければなりません",
+ "visTypeVega.esQueryParser.urlBodyValueTypeErrorMessage": "{configName} はオブジェクトでなければなりません",
+ "visTypeVega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage": "{urlContext} と {timefield} は {queryParam} が設定されている場合使用できません",
+ "visTypeVega.function.help": "Vega ビジュアライゼーション",
+ "visTypeVega.mapView.mapStyleNotFoundWarningMessage": "{mapStyleParam} が見つかりませんでした",
+ "visTypeVega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage": "{minZoomPropertyName} と {maxZoomPropertyName} が交換されました",
+ "visTypeVega.mapView.resettingPropertyToMaxValueWarningMessage": "{name} を {max} にリセットしています",
+ "visTypeVega.mapView.resettingPropertyToMinValueWarningMessage": "{name} を {min} にリセットしています",
+ "visTypeVega.type.vegaDescription": "Vega と Vega-Lite を使用してカスタムビジュアライゼーションを作成します。",
+ "visTypeVega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage": "{dataUrlParam} には「{formLink}」の形で {urlParam} パラメーターが必要です",
+ "visTypeVega.urlParser.urlShouldHaveQuerySubObjectWarningMessage": "{urlObject} を使用するには {subObjectName} サブオブジェクトが必要です",
+ "visTypeVega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage": "外部 URL が無効です。{enableExternalUrls} を {kibanaConfigFileName} に追加します",
+ "visTypeVega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage": "このグラフには {funcName} が定義されていません",
+ "visTypeVega.vegaParser.baseView.timeValuesTypeErrorMessage": "時間フィルターの設定エラー: 両方の時間の値は相対的または絶対的な日付である必要があります。 {start}、{end}",
+ "visTypeVega.vegaParser.centerOnMarkConfigValueTypeErrorMessage": "{configName} は {trueValue}、{falseValue}、または数字でなければなりません",
+ "visTypeVega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage": "データには {urlParam}、{valuesParam}、 {sourceParam} の内複数を含めることができません",
+ "visTypeVega.vegaParser.hostConfigIsDeprecatedWarningMessage": "{deprecatedConfigName} は廃止されました。代わりに {newConfigName} を使用してください。",
+ "visTypeVega.vegaParser.hostConfigValueTypeErrorMessage": "{configName} が含まれている場合、オブジェクトでなければなりません",
+ "visTypeVega.vegaParser.inputSpecDoesNotSpecifySchemaWarningMessage": "インプット仕様で {schemaParam} が指定されていないため、デフォルトで {defaultSchema} になります",
+ "visTypeVega.vegaParser.invalidVegaSpecErrorMessage": "無効な Vega 仕様",
+ "visTypeVega.vegaParser.kibanaConfigValueTypeErrorMessage": "{configName} が含まれている場合、オブジェクトでなければなりません",
+ "visTypeVega.vegaParser.mapStyleValueTypeWarningMessage": "{mapStyleConfigName} は {mapStyleConfigFirstAllowedValue} か {mapStyleConfigSecondAllowedValue} のどちらかです",
+ "visTypeVega.vegaParser.maxBoundsValueTypeWarningMessage": "{maxBoundsConfigName} は 4 つの数字の配列でなければなりません",
+ "visTypeVega.vegaParser.notSupportedUrlTypeErrorMessage": "{urlObject} はサポートされていません",
+ "visTypeVega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage": "インプット仕様に {schemaLibrary} {schemaVersion} が使用されていますが、現在のバージョンの {schemaLibrary} は {libraryVersion} です。’",
+ "visTypeVega.vegaParser.paddingConfigValueTypeErrorMessage": "{configName} は数字でなければなりません",
+ "visTypeVega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage": "{configName} は有効ではありません",
+ "visTypeVega.vegaParser.someKibanaParamValueTypeWarningMessage": "{configName} はブール値でなければなりません",
+ "visTypeVega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage": "{configurationName} 構成に予期せぬ値が使用されています",
+ "visTypeVega.vegaParser.unrecognizedControlsLocationValueErrorMessage": "認識されない {controlsLocationParam} 値[{locToDirMap}] のいずれかである必要があります",
+ "visTypeVega.vegaParser.unrecognizedDirValueErrorMessage": "認識されない {dirParam} 値[{expectedValues}] のいずれかである必要があります",
+ "visTypeVega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage": "内部エラー:Vega-Lite コンパイラーがシングルプロジェクションオブジェクトを生成したはずです",
+ "visTypeVega.vegaParser.widthAndHeightParamsAreIgnoredWithAutosizeFitWarningMessage": "{widthParam} と {heightParam} パラメーターは {autosizeParam} で無視されます",
+ "visTypeVega.visualization.indexNotFoundErrorMessage": "インデックス {index} が見つかりません",
+ "visTypeVega.visualization.renderErrorTitle": "Vega エラー",
+ "visTypeVega.visualization.unableToFindDefaultIndexErrorMessage": "デフォルトのインデックスが見つかりません",
+ "visTypeVega.visualization.unableToRenderWithoutDataWarningMessage": "データなしにはレンダリングできません",
"xpack.apm.agentMetrics.java.heapMemoryChartTitle": "ヒープ領域",
"xpack.apm.agentMetrics.java.heapMemorySeriesCommitted": "平均実行割当",
"xpack.apm.agentMetrics.java.heapMemorySeriesMax": "平均制限",
@@ -10712,4 +10712,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "ログテキストが必要です。",
"xpack.watcher.watcherDescription": "アラートの作成、管理、監視によりデータへの変更を検知します。"
}
-}
\ No newline at end of file
+}
diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json
index 39be032e6381d..6d0c506670c96 100644
--- a/x-pack/plugins/translations/translations/zh-CN.json
+++ b/x-pack/plugins/translations/translations/zh-CN.json
@@ -3671,60 +3671,60 @@
"tsvb.visPicker.timeSeriesLabel": "时间序列",
"tsvb.visPicker.topNLabel": "前 N 个",
"tsvb.yesButtonLabel": "是",
- "vega.editor.formatError": "格式化规范时出错",
- "vega.editor.reformatAsHJSONButtonLabel": "重新格式化为 HJSON",
- "vega.editor.reformatAsJSONButtonLabel": "重新格式化为 JSON,删除注释",
- "vega.editor.vegaDocumentationLinkText": "Vega 文档",
- "vega.editor.vegaEditorOptionsButtonAriaLabel": "Vega 编辑器选项",
- "vega.editor.vegaHelpButtonAriaLabel": "Vega 帮助",
- "vega.editor.vegaHelpLinkText": "Kibana Vega 帮助",
- "vega.editor.vegaLiteDocumentationLinkText": "Vega-Lite 文档",
- "vega.emsFileParser.emsFileNameDoesNotExistErrorMessage": "{emsfile} {emsfileName} 不存在",
- "vega.emsFileParser.missingNameOfFileErrorMessage": "具有 {dataUrlParamValue} 的 {dataUrlParam} 需要 {nameParam} 参数(文件名)",
- "vega.esQueryParser.autointervalValueTypeErrorMessage": "{autointerval} 必须为 {trueValue} 或数字",
- "vega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage": "{dataUrlParam} 不得同时具有旧的 {legacyContext} 和 {bodyQueryConfigName} 值",
- "vega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage": "{dataUrlParam} 不得同时具有 {legacyContext} 与 {context} 或 {timefield}",
- "vega.esQueryParser.legacyContextCanBeTrueErrorMessage": "旧 {legacyContext} 可以为 {trueValue}(忽略时间范围选取器),也可以为时间字段的名称,例如 {timestampParam}",
- "vega.esQueryParser.legacyUrlShouldChangeToWarningMessage": "旧 {urlParam}:{legacyUrl} 应更改为 {result}",
- "vega.esQueryParser.shiftMustValueTypeErrorMessage": "{shiftParam} 必须为数值",
- "vega.esQueryParser.timefilterValueErrorMessage": "{timefilter} 属性必须设置为 {trueValue}、{minValue} 或 {maxValue}",
- "vega.esQueryParser.unknownUnitValueErrorMessage": "{unitParamName} 值未知。必须为以下值之一:[{unitParamValues}]",
- "vega.esQueryParser.urlBodyValueTypeErrorMessage": "{configName} 必须为对象",
- "vega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage": "设置了 {queryParam} 时,不得使用 {urlContext} 和 {timefield}",
- "vega.function.help": "Vega 可视化",
- "vega.mapView.mapStyleNotFoundWarningMessage": "找不到 {mapStyleParam}",
- "vega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage": "已交换 {minZoomPropertyName} 和 {maxZoomPropertyName}",
- "vega.mapView.resettingPropertyToMaxValueWarningMessage": "将 {name} 重置为 {max}",
- "vega.mapView.resettingPropertyToMinValueWarningMessage": "将 {name} 重置为 {min}",
- "vega.type.vegaDescription": "使用 Vega 和 Vega-Lite 创建定制可视化",
- "vega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage": "{dataUrlParam} 需要以 “{formLink}” 形式的 {urlParam} 参数",
- "vega.urlParser.urlShouldHaveQuerySubObjectWarningMessage": "使用 {urlObject} 应具有 {subObjectName} 子对象",
- "vega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage": "未启用外部 URL。将 {enableExternalUrls} 添加到 {kibanaConfigFileName}",
- "vega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage": "没有为此图表定义 {funcName}",
- "vega.vegaParser.baseView.timeValuesTypeErrorMessage": "设置时间筛选时出错:时间值必须为相对日期或绝对日期。{start}、{end}",
- "vega.vegaParser.centerOnMarkConfigValueTypeErrorMessage": "{configName} 应为 {trueValue}、{falseValue} 或数字",
- "vega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage": "数据不得包含 {urlParam}、{valuesParam} 和 {sourceParam} 中的多个值",
- "vega.vegaParser.hostConfigIsDeprecatedWarningMessage": "{deprecatedConfigName} 已弃用。请改用 {newConfigName}。",
- "vega.vegaParser.hostConfigValueTypeErrorMessage": "如果存在,{configName} 必须为对象",
- "vega.vegaParser.inputSpecDoesNotSpecifySchemaWarningMessage": "输入规范未指定 {schemaParam},其默认值为 {defaultSchema}",
- "vega.vegaParser.invalidVegaSpecErrorMessage": "Vega 规范无效",
- "vega.vegaParser.kibanaConfigValueTypeErrorMessage": "如果存在,{configName} 必须为对象",
- "vega.vegaParser.mapStyleValueTypeWarningMessage": "{mapStyleConfigName} 可能为 {mapStyleConfigFirstAllowedValue} 或 {mapStyleConfigSecondAllowedValue}",
- "vega.vegaParser.maxBoundsValueTypeWarningMessage": "{maxBoundsConfigName} 必须为具有四个数字的数组",
- "vega.vegaParser.notSupportedUrlTypeErrorMessage": "不支持 {urlObject}",
- "vega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage": "输入规范使用 {schemaLibrary} {schemaVersion},但 {schemaLibrary} 的当前版本为 {libraryVersion}。",
- "vega.vegaParser.paddingConfigValueTypeErrorMessage": "{configName} 应为数字",
- "vega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage": "{configName} 无效",
- "vega.vegaParser.someKibanaParamValueTypeWarningMessage": "{configName} 必须为布尔值",
- "vega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage": "意外的 {configurationName} 配置值",
- "vega.vegaParser.unrecognizedControlsLocationValueErrorMessage": "无法识别的 {controlsLocationParam} 值。应为 [{locToDirMap}] 之一",
- "vega.vegaParser.unrecognizedDirValueErrorMessage": "{dirParam} 值无法识别。应为 [{expectedValues}] 之一",
- "vega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage": "内部错误:Vega-Lite 编译器应已生成单个投影对象",
- "vega.vegaParser.widthAndHeightParamsAreIgnoredWithAutosizeFitWarningMessage": "使用 {autosizeParam} 时,将忽略 {widthParam} 和 {heightParam} 参数",
- "vega.visualization.indexNotFoundErrorMessage": "找不到索引 {index}",
- "vega.visualization.renderErrorTitle": "Vega 错误",
- "vega.visualization.unableToFindDefaultIndexErrorMessage": "找不到默认索引",
- "vega.visualization.unableToRenderWithoutDataWarningMessage": "没有数据时无法渲染",
+ "visTypeVega.editor.formatError": "格式化规范时出错",
+ "visTypeVega.editor.reformatAsHJSONButtonLabel": "重新格式化为 HJSON",
+ "visTypeVega.editor.reformatAsJSONButtonLabel": "重新格式化为 JSON,删除注释",
+ "visTypeVega.editor.vegaDocumentationLinkText": "Vega 文档",
+ "visTypeVega.editor.vegaEditorOptionsButtonAriaLabel": "Vega 编辑器选项",
+ "visTypeVega.editor.vegaHelpButtonAriaLabel": "Vega 帮助",
+ "visTypeVega.editor.vegaHelpLinkText": "Kibana Vega 帮助",
+ "visTypeVega.editor.vegaLiteDocumentationLinkText": "Vega-Lite 文档",
+ "visTypeVega.emsFileParser.emsFileNameDoesNotExistErrorMessage": "{emsfile} {emsfileName} 不存在",
+ "visTypeVega.emsFileParser.missingNameOfFileErrorMessage": "具有 {dataUrlParamValue} 的 {dataUrlParam} 需要 {nameParam} 参数(文件名)",
+ "visTypeVega.esQueryParser.autointervalValueTypeErrorMessage": "{autointerval} 必须为 {trueValue} 或数字",
+ "visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage": "{dataUrlParam} 不得同时具有旧的 {legacyContext} 和 {bodyQueryConfigName} 值",
+ "visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage": "{dataUrlParam} 不得同时具有 {legacyContext} 与 {context} 或 {timefield}",
+ "visTypeVega.esQueryParser.legacyContextCanBeTrueErrorMessage": "旧 {legacyContext} 可以为 {trueValue}(忽略时间范围选取器),也可以为时间字段的名称,例如 {timestampParam}",
+ "visTypeVega.esQueryParser.legacyUrlShouldChangeToWarningMessage": "旧 {urlParam}:{legacyUrl} 应更改为 {result}",
+ "visTypeVega.esQueryParser.shiftMustValueTypeErrorMessage": "{shiftParam} 必须为数值",
+ "visTypeVega.esQueryParser.timefilterValueErrorMessage": "{timefilter} 属性必须设置为 {trueValue}、{minValue} 或 {maxValue}",
+ "visTypeVega.esQueryParser.unknownUnitValueErrorMessage": "{unitParamName} 值未知。必须为以下值之一:[{unitParamValues}]",
+ "visTypeVega.esQueryParser.urlBodyValueTypeErrorMessage": "{configName} 必须为对象",
+ "visTypeVega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage": "设置了 {queryParam} 时,不得使用 {urlContext} 和 {timefield}",
+ "visTypeVega.function.help": "Vega 可视化",
+ "visTypeVega.mapView.mapStyleNotFoundWarningMessage": "找不到 {mapStyleParam}",
+ "visTypeVega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage": "已交换 {minZoomPropertyName} 和 {maxZoomPropertyName}",
+ "visTypeVega.mapView.resettingPropertyToMaxValueWarningMessage": "将 {name} 重置为 {max}",
+ "visTypeVega.mapView.resettingPropertyToMinValueWarningMessage": "将 {name} 重置为 {min}",
+ "visTypeVega.type.vegaDescription": "使用 Vega 和 Vega-Lite 创建定制可视化",
+ "visTypeVega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage": "{dataUrlParam} 需要以 “{formLink}” 形式的 {urlParam} 参数",
+ "visTypeVega.urlParser.urlShouldHaveQuerySubObjectWarningMessage": "使用 {urlObject} 应具有 {subObjectName} 子对象",
+ "visTypeVega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage": "未启用外部 URL。将 {enableExternalUrls} 添加到 {kibanaConfigFileName}",
+ "visTypeVega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage": "没有为此图表定义 {funcName}",
+ "visTypeVega.vegaParser.baseView.timeValuesTypeErrorMessage": "设置时间筛选时出错:时间值必须为相对日期或绝对日期。{start}、{end}",
+ "visTypeVega.vegaParser.centerOnMarkConfigValueTypeErrorMessage": "{configName} 应为 {trueValue}、{falseValue} 或数字",
+ "visTypeVega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage": "数据不得包含 {urlParam}、{valuesParam} 和 {sourceParam} 中的多个值",
+ "visTypeVega.vegaParser.hostConfigIsDeprecatedWarningMessage": "{deprecatedConfigName} 已弃用。请改用 {newConfigName}。",
+ "visTypeVega.vegaParser.hostConfigValueTypeErrorMessage": "如果存在,{configName} 必须为对象",
+ "visTypeVega.vegaParser.inputSpecDoesNotSpecifySchemaWarningMessage": "输入规范未指定 {schemaParam},其默认值为 {defaultSchema}",
+ "visTypeVega.vegaParser.invalidVegaSpecErrorMessage": "Vega 规范无效",
+ "visTypeVega.vegaParser.kibanaConfigValueTypeErrorMessage": "如果存在,{configName} 必须为对象",
+ "visTypeVega.vegaParser.mapStyleValueTypeWarningMessage": "{mapStyleConfigName} 可能为 {mapStyleConfigFirstAllowedValue} 或 {mapStyleConfigSecondAllowedValue}",
+ "visTypeVega.vegaParser.maxBoundsValueTypeWarningMessage": "{maxBoundsConfigName} 必须为具有四个数字的数组",
+ "visTypeVega.vegaParser.notSupportedUrlTypeErrorMessage": "不支持 {urlObject}",
+ "visTypeVega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage": "输入规范使用 {schemaLibrary} {schemaVersion},但 {schemaLibrary} 的当前版本为 {libraryVersion}。",
+ "visTypeVega.vegaParser.paddingConfigValueTypeErrorMessage": "{configName} 应为数字",
+ "visTypeVega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage": "{configName} 无效",
+ "visTypeVega.vegaParser.someKibanaParamValueTypeWarningMessage": "{configName} 必须为布尔值",
+ "visTypeVega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage": "意外的 {configurationName} 配置值",
+ "visTypeVega.vegaParser.unrecognizedControlsLocationValueErrorMessage": "无法识别的 {controlsLocationParam} 值。应为 [{locToDirMap}] 之一",
+ "visTypeVega.vegaParser.unrecognizedDirValueErrorMessage": "{dirParam} 值无法识别。应为 [{expectedValues}] 之一",
+ "visTypeVega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage": "内部错误:Vega-Lite 编译器应已生成单个投影对象",
+ "visTypeVega.vegaParser.widthAndHeightParamsAreIgnoredWithAutosizeFitWarningMessage": "使用 {autosizeParam} 时,将忽略 {widthParam} 和 {heightParam} 参数",
+ "visTypeVega.visualization.indexNotFoundErrorMessage": "找不到索引 {index}",
+ "visTypeVega.visualization.renderErrorTitle": "Vega 错误",
+ "visTypeVega.visualization.unableToFindDefaultIndexErrorMessage": "找不到默认索引",
+ "visTypeVega.visualization.unableToRenderWithoutDataWarningMessage": "没有数据时无法渲染",
"xpack.apm.agentMetrics.java.heapMemoryChartTitle": "堆内存",
"xpack.apm.agentMetrics.java.heapMemorySeriesCommitted": "已提交平均值",
"xpack.apm.agentMetrics.java.heapMemorySeriesMax": "限制平均值",
@@ -10711,4 +10711,4 @@
"xpack.watcher.watchActions.logging.logTextIsRequiredValidationMessage": "“日志文本”必填。",
"xpack.watcher.watcherDescription": "通过创建、管理和监测警报来检测数据中的更改。"
}
-}
\ No newline at end of file
+}