Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
afsakar authored and github-actions[bot] committed Jan 28, 2024
1 parent 9889490 commit c5ce042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Actions/TranslatableAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function (Field $component) {
} else {
$text = $component->getState();
}

try {
$googleTranslate = $googleTranslate->translate($source, $data['target'], $text);
$component->state($googleTranslate);
Expand All @@ -65,7 +65,7 @@ function (Field $component) {
} catch (\Exception $exception) {
Notification::make()
->title(__('filament-translate-action::filament-translate-action.error_title'))
->body(__('filament-translate-action::filament-translate-action.error_message'). '<br/>' . $exception->getMessage())
->body(__('filament-translate-action::filament-translate-action.error_message') . '<br/>' . $exception->getMessage())
->danger()
->send();

Expand Down

0 comments on commit c5ce042

Please sign in to comment.