Refactor SMS and Coupon resources to utilize localization for labels and messages, enhancing internationalization support. Update .env.example to change APP_LOCALE to 'tk'.

This commit is contained in:
Mekan1206
2026-06-03 22:10:17 +05:00
parent 96eefd70ba
commit 6f3069f619
75 changed files with 2830 additions and 47 deletions

View File

@@ -16,22 +16,28 @@ class PhoneVerificationsTable
->defaultSort('created_at', 'desc')
->columns([
TextColumn::make('id')
->label(__('filament.fields.id'))
->sortable(),
TextColumn::make('phone')
->label(__('filament.fields.phone'))
->formatStateUsing(fn (string $state): string => format_phone($state))
->searchable()
->sortable()
->copyable(),
TextColumn::make('expires_at')
->label(__('filament.fields.expires_at'))
->dateTime()
->sortable(),
IconColumn::make('verified')
->label(__('filament.fields.verified'))
->boolean()
->sortable(),
TextColumn::make('created_at')
->label(__('filament.fields.created_at'))
->dateTime()
->sortable(),
TextColumn::make('updated_at')
->label(__('filament.fields.updated_at'))
->dateTime()
->sortable()
->toggleable(isToggledHiddenByDefault: true),