Skip to content

Commit

Permalink
fix(i18n): Corrected grammar
Browse files Browse the repository at this point in the history
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
  • Loading branch information
rakekniven authored and AndyScherzinger committed Feb 27, 2024
1 parent 455a209 commit e9daa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/actions/moveOrCopyAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export const handleCopyMoveNodeTo = async (node: Node, destination: Folder, meth
if (error?.response?.status === 412) {
throw new Error(t('files', 'A file or folder with that name already exists in this folder'))
} else if (error?.response?.status === 423) {
throw new Error(t('files', 'The files is locked'))
throw new Error(t('files', 'The file is locked'))
} else if (error?.response?.status === 404) {
throw new Error(t('files', 'The file does not exist anymore'))
} else if (error.message) {
Expand Down

0 comments on commit e9daa1c

Please sign in to comment.