Skip to content

Commit 4dabc76

Browse files
Merge pull request #54 from maxime9446/patch-1
Add Translation DeleteComment Tooltip
2 parents ab2a099 + 09ff935 commit 4dabc76

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

resources/lang/en/filament-comments.php

+2
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
'notifications.deleted' => 'Comment deleted.',
1111

1212
'modal.heading' => 'Comments',
13+
14+
'comments.delete.tooltip' => 'Delete comment'
1315
];

resources/views/comments.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
wire:click="delete({{ $comment->id }})"
4040
icon="{{ config('filament-comments.icons.delete') }}"
4141
color="danger"
42-
tooltip="Delete comment"
42+
tooltip={{ __('filament-comments::filament-comments.comments.delete.tooltip') }}
4343
/>
4444
</div>
4545
@endif

0 commit comments

Comments
 (0)