Skip to content

Commit f631d45

Browse files
authored
Merge pull request #50 from blemli/translate-de
Add German translation and use translation key for tooltip
2 parents 831d9a3 + 41a54ba commit f631d45

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

resources/lang/de/general.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?php
2+
3+
return [
4+
'clear_cache' => 'Cache leeren',
5+
'success' => 'Cache erfolgreich geleert',
6+
];

resources/views/livewire/clear-cache-button.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
icon="heroicon-o-trash"
44
color="gray"
55
class="flex-shrink-0 w-10 h-10 rounded-full"
6-
tooltip="Clear Cache"
6+
:tooltip="__('filament-clear-cache::general.clear_cache')"
77
wire:click="clear"
88
wire:loading.attr="disabled"
99
x-data="{ visible: true }"

0 commit comments

Comments
 (0)