Skip to content

Commit

Permalink
- fixed lang issues
Browse files Browse the repository at this point in the history
- added `intl:prepare` to precommit
  • Loading branch information
TobiaszCudnik committed Jun 17, 2019
1 parent e56be2c commit 29c0e4c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"intl:import": "bash scripts/intl-import.sh",
"tsc": "tsc --project tsconfig.prod.json",
"tslint": "tslint --fix --project tslint.prod.json 'src/**/*.{ts,tsx}'",
"precommit": "yarn tsc && yarn prettier && yarn tslint && yarn test-unit:prepare && yarn test-unit",
"precommit": "yarn tsc; yarn prettier; yarn tslint; yarn test-unit:prepare; yarn test-unit; yarn intl:prepare",
"prettier": "prettier src/**.{ts,tsx} --write",
"serve": "node src/serve.js & local-ssl-proxy --source 3000 --target 5000",
"encrypt-fixtures": "travis encrypt-file cypress/fixtures/accounts.json cypress/fixtures/accounts.json.enc --add",
Expand Down
8 changes: 4 additions & 4 deletions src/containers/onboarding/ImportExportPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class ImportExportPage extends React.Component<Props, State> {
{importOverride && (
<Typography className={classes.overrideInfo}>
<FormattedMessage
id="onboarding-import-export.import-override"
id="onboarding-import-export.import-override-confirm"
description={
'Notice emphasizing that there\'s no undo after overriding'
}
Expand All @@ -207,7 +207,7 @@ class ImportExportPage extends React.Component<Props, State> {
<label htmlFor="import-data-file">
<Button component="span" fullWidth={true}>
<FormattedMessage
id="onboarding-import-export.title"
id="onboarding-import-export.select-file"
description="Button caption for selecting a file"
defaultMessage="Select file"
/>
Expand Down Expand Up @@ -282,8 +282,8 @@ class ImportExportPage extends React.Component<Props, State> {

<Button component="span" fullWidth={true} onClick={this.handleExport}>
<FormattedMessage
id="onboarding-import-export.title"
description="Choose network screen title"
id="onboarding-import-export.download-button"
description="Download exported data button title"
defaultMessage="Download"
/>
</Button>
Expand Down

0 comments on commit 29c0e4c

Please sign in to comment.