chore: fixed translatable string

This commit is contained in:
Jannat Patel
2026-01-13 19:16:36 +05:30
parent 775d5ecf3a
commit 57c7a8d85c

View File

@@ -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') {