Skip to content

Commit 79cc718

Browse files
committed
Update component namespace in button labels
The namespace in button labels was updated from 'lazy' to 'lazy-ui' to align with the recent renaming of the component. This change will ensure consistency across all the codebase and proper localization of the button labels. The unnecessary data in the themes.php file was also removed to keep the code clean. Overall, these changes aim to maintain code quality and readability.
1 parent c733ecf commit 79cc718

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

resources/lang/en/themes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?php
22

33
return [
4-
'',
54
];

resources/views/btn/back.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
@if($slot->isNotEmpty())
1616
{{ $slot }}
1717
@else
18-
{{ __('lazy::buttons.back') }}
18+
{{ __('lazy-ui::buttons.back') }}
1919
@endif
2020
</x-lazy-btn>

resources/views/btn/create.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
])
44

55
<x-lazy-btn xs light :href="$href" {{ $attributes }}>
6-
{{ $slot ?: __('lazy::buttons.create') }}
6+
{{ $slot ?: __('lazy-ui::buttons.create') }}
77
</x-lazy-btn>

resources/views/btn/delete.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
href="#"
1313
@click.prevent="showModal = true"
1414
x-bind:href="$props.href"
15-
outline error sm :label="__('lazy::buttons.delete')" sm class="mr-2">
15+
outline error sm :label="__('lazy-ui::buttons.delete')" sm class="mr-2">
1616
</x-lazy-btn>
1717

1818

0 commit comments

Comments
 (0)