Skip to content

Commit

Permalink
Fix typo in using i18n (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
neeilya authored and janhenrikoverland committed May 28, 2019
1 parent a1fef66 commit adb59d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/app/i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2019-05-22T13:11:50.814Z\n"
"PO-Revision-Date: 2019-05-22T13:11:50.814Z\n"
"POT-Creation-Date: 2019-05-28T11:59:48.644Z\n"
"PO-Revision-Date: 2019-05-28T11:59:48.644Z\n"

msgid "Rename successful"
msgstr ""
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/components/Visualization/Visualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Visualization extends Component {
onError = err => {
const error =
(err && err.message) ||
i18n('Error generating chart, please try again');
i18n.t('Error generating chart, please try again');

this.props.acSetLoadError(error);
};
Expand Down

0 comments on commit adb59d4

Please sign in to comment.