Skip to content

Commit 6f02342

Browse files
SerVitasikCopilot
andauthored
Update adminforth/modules/restApi.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 4921567 commit 6f02342

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/modules/restApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
16141614
return { error: await tr(`Action {actionId} not found`, 'errors', { actionId }) };
16151615
}
16161616
if (!action.bulkHandler) {
1617-
return { error: `Action "${actionId}" has no bulkHandler` };
1617+
return { error: await tr(`Action "{actionId}" has no bulkHandler`, 'errors', { actionId }) };
16181618
}
16191619
if (action.allowed) {
16201620
const execAllowed = await action.allowed({ adminUser, standardAllowedActions: allowedActions });

0 commit comments

Comments
 (0)