summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2024-02-28 02:53:11 +0100
committerGitHub <noreply@github.com>2024-02-28 02:53:11 +0100
commit0f9f24479a1ae1736da5424b8ca21e9c7afc533a (patch)
treeb921beaf31de0f849181a7dee6545745fed2520d /apps
parent7560415105c9013b53ebd0bebb0998a4e51303e6 (diff)
parent214dead8a80e903f4e0dd5eaabf9a72ef1088118 (diff)
downloadnextcloud-server-0f9f24479a1ae1736da5424b8ca21e9c7afc533a.tar.gz
nextcloud-server-0f9f24479a1ae1736da5424b8ca21e9c7afc533a.zip
Merge pull request #40667 from nextcloud/rakekniven-patch-2
Diffstat (limited to 'apps')
-rw-r--r--apps/files/src/actions/moveOrCopyAction.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/src/actions/moveOrCopyAction.ts b/apps/files/src/actions/moveOrCopyAction.ts
index 0249c27208c..348bb7bb805 100644
--- a/apps/files/src/actions/moveOrCopyAction.ts
+++ b/apps/files/src/actions/moveOrCopyAction.ts
@@ -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) {