i18n(masters): translate Specializare column tokens (Edit was skipped)

Prior 'Everything up-to-date' commit was a no-op because Edit failed.
Now the change lands. Splits specialization by '/' and __()-translates
each token, matching Reports.php + CalendarBoard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-26 10:42:26 +00:00
parent 8b77d8ae7e
commit 6b5ab02e68
@@ -99,7 +99,12 @@ class MasterResource extends Resource
->columns([
Tables\Columns\ColorColumn::make('color')->label(''),
Tables\Columns\TextColumn::make('name')->searchable()->sortable(),
Tables\Columns\TextColumn::make('specialization')->label(__('Specializare'))->placeholder('—'),
Tables\Columns\TextColumn::make('specialization')
->label(__('Specializare'))
->placeholder('—')
->formatStateUsing(fn ($state) => $state
? implode(' / ', array_map(fn ($p) => __(trim($p)), explode('/', $state)))
: null),
Tables\Columns\TextColumn::make('phone')->copyable()->placeholder('—'),
Tables\Columns\TextColumn::make('hourly_rate')->label(__('Tarif/h'))->money('MDL')->alignRight()->placeholder('—'),
Tables\Columns\TextColumn::make('status')