Enhancements to Portfolio Settings and Automation
Portfolio Badges Visibility
The "Show Badges on Portfolio" toggle has been relocated from the Automation Settings to the Portfolio Settings page. This move aligns the feature with its conceptual location, placing portfolio customization options in a more intuitive and accessible area.
// Filament\Pages\PortfolioSettings.php
Toggle::make('visibility_badges')
->label(__('filament.portfolio_settings.fields.badges_visibility'))
->helperText(__('filament.portfolio_settings.fields.badges_visibility_help')),
Now, users can control the visibility of their earned badges directly within the Portfolio Settings, alongside other portfolio appearance configurations.
Auto-Sync Frequency Translation Fix
Corrected an issue where the AutoSyncFrequency enum referenced outdated account settings keys. The enum now correctly references filament.automation_settings keys for frequency translations.
// app\Enums\AutoSyncFrequency.php
return match ($this) {
self::Daily => __('filament.automation_settings.auto_sync.frequency_daily'),
self::Weekly => __('filament.automation_settings.auto_sync.frequency_weekly'),
};
Day of Week Translation
Translated day names have been added to the DayOfWeek enum across all four supported languages. This ensures consistent and localized representation of day names throughout the application.
// app\Enums\DayOfWeek.php
return match ($this) {
self::Sunday => __('filament.automation_settings.days.sunday'),
self::Monday => __('filament.automation_settings.days.monday'),
...
};
This change enhances the user experience by providing fully translated options within the automation settings.
Spanish Translation Update
The Spanish translation for "Newsletter" has been updated from "BoletÃn Informativo" to "Newsletter". This change aligns with the universally used anglicism for newsletter.