Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Jan 30, 2020
1 parent 1952d75 commit 0b9ca29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/kbn-plugin-generator/sao_template/sao.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = function({ name, targetPath, isKibanaPlugin }) {
},
generateEslint: {
type: 'confirm',
message: 'Should generate custom eslint file be used?',
message: 'Would you like to use a custom eslint file?',
default: !isKibanaPlugin,
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const <%= upperCamelCaseName %>App = ({ basename, notifications, http, na
http.get('/api/<%= snakeCase(name) %>/example').then(res => {
setTimestamp(res.time);
// Use the core notifications service to display a success message.
notifications.toasts.addSuccess(i18n.translate('banana.dataUpdated', {
notifications.toasts.addSuccess(i18n.translate('<%= camelCase(name) %>.dataUpdated', {
defaultMessage: 'Data updated',
}));
});
Expand Down

0 comments on commit 0b9ca29

Please sign in to comment.