Skip to content

Commit bc0d9f4

Browse files
committed
fix: add ai badge to bult action
1 parent 8e068c8 commit bc0d9f4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,9 @@ export default class I18nPlugin extends AdminForthPlugin {
417417
id: 'translate_all',
418418
label: 'Translate selected',
419419
icon: 'flowbite:language-outline',
420+
badge: 'AI',
420421
// if optional `confirm` is provided, user will be asked to confirm action
421-
confirm: 'Are you sure you want to translate selected items?',
422+
confirm: 'Are you sure you want to translate selected items? Only fully empty strings will be translated',
422423
allowed: async ({ resource, adminUser, selectedIds, allowedActions }) => {
423424
process.env.HEAVY_DEBUG && console.log('allowedActions', JSON.stringify(allowedActions));
424425
return allowedActions.edit;

0 commit comments

Comments
 (0)