Skip to content

Commit

Permalink
wrap string for translation. #1285
Browse files Browse the repository at this point in the history
  • Loading branch information
davemfish committed Aug 11, 2023
1 parent ddfa5f3 commit 9ff067c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions workbench/src/renderer/components/OpenButton/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ class OpenButton extends React.Component {
} catch (error) {
logger.error(error);
alert(
'No InVEST model data can be parsed from the file:\n {{filepath}}',
{ filepath: data.filePaths[0] }
t(
'No InVEST model data can be parsed from the file:\n {{filepath}}',
{ filepath: data.filePaths[0] }
)
);
return;
}
Expand Down

0 comments on commit 9ff067c

Please sign in to comment.