feat: add i18n support for Vietnamese and English
Some checks failed
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
Tests / PHP 8.5 (push) Has been cancelled

This commit is contained in:
2026-05-04 10:40:39 +00:00
parent 3a8db5cae6
commit 8c6b71cb8a
64 changed files with 4652 additions and 254 deletions

View File

@@ -27,7 +27,7 @@ class FeedbackChannelsTable
TextColumn::make('slug')
->searchable(),
TextColumn::make('color')
->label('Color')
->label(__('app.color'))
->formatStateUsing(fn ($state) => sprintf(
'<span style="display:inline-block;width:24px;height:24px;background:%s;border-radius:6px;border:1px solid #d1d5db;" title="%s"></span>',
$state ?: '#6b7280',
@@ -36,10 +36,10 @@ class FeedbackChannelsTable
->html(),
IconColumn::make('is_active')
->boolean()
->label('Active'),
->label(__('app.status_active')),
TextColumn::make('feedbacks_count')
->counts('feedbacks')
->label('Feedbacks'),
->label(__('app.feedbacks')),
TextColumn::make('created_at')
->dateTime()
->sortable()