Skip to content

Commit

Permalink
add translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Kezik committed Jan 29, 2025
1 parent a6a8609 commit c66d3e5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export const CodeAppView: FC<ViewProps> = ({
const modalOptions = useMemo(
() => [
{
label: "Don't save",
label: t("Don't save"),
dataQa: 'not-save-option',
className: 'button-secondary',
onClick: () => {
Expand All @@ -236,7 +236,7 @@ export const CodeAppView: FC<ViewProps> = ({
},
},
{
label: 'Save',
label: t('Save'),
dataQa: 'save-option',
onClick: () => {
dispatch(CodeEditorActions.saveAllModifiedFiles());
Expand All @@ -245,7 +245,7 @@ export const CodeAppView: FC<ViewProps> = ({
},
},
],
[editorConfirmation, dispatch, handleSubmit],
[t, editorConfirmation, handleSubmit, dispatch],
);

register('sourceFiles', validators['sourceFiles']);
Expand Down

0 comments on commit c66d3e5

Please sign in to comment.