MedicOneSystems / MedicOneSystems/livewire-datatables
Make "FILTERS ACTIVE" translatable
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.2k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
there's FILTERS ACTIVE hardcoded so doesn't allow translation.
@if($this->activeFilters)
<span class="text-xl text-blue-400 uppercase">FILTERS ACTIVE</span>
@endif
shouldn't it be __('Filters active') instead to be consisten with other parts of the code?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the views for the hardcoded “FILTERS ACTIVE” text shown in the issue and inspect nearby translated labels. Update that label consistently with the existing translation approach, then verify the rendered filters state uses a translatable string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 52/100