Skip to content

Commit

Permalink
🌐 Add i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Oct 11, 2021
1 parent 0d1e287 commit 97f4079
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/plugins/vis_types/vega/public/data_model/vega_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,10 @@ The URL is an identifier only. Kibana and your browser will never access this UR
return { isVegaLite, libVersion };
} catch (e) {
throw Error(
'The URL for the JSON "$schema" is incorrect. Correct the URL, then click Update.'
i18n.translate('visTypeVega.vegaParser.notValidSchemaForInputSpec', {
defaultMessage:
'The URL for the JSON "$schema" is incorrect. Correct the URL, then click Update.',
})
);
}
}
Expand Down

0 comments on commit 97f4079

Please sign in to comment.