From 57c7a8d85c3829915b3e4e285cf60028a4020f71 Mon Sep 17 00:00:00 2001 From: Jannat Patel Date: Tue, 13 Jan 2026 19:16:36 +0530 Subject: [PATCH] chore: fixed translatable string --- frontend/src/utils/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/index.js b/frontend/src/utils/index.js index 4f8c1c81..1954a630 100644 --- a/frontend/src/utils/index.js +++ b/frontend/src/utils/index.js @@ -629,7 +629,7 @@ export const validateFile = async ( return msg } if (!file.type.startsWith(`${fileType}/`)) { - return error(__(`Only ${fileType} file is allowed.`)) + return error(__('Only {0} file is allowed.').format(fileType)) } if (file.type === 'image/svg+xml') {