Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add translation finder with a command #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bambamboole
Copy link
Owner

This PR adds a command to statically search through code and extract translation usages.
The heavy lifting is done by some regex search which I borrowed from laravel-translation-manager.

Will perform some additional testing before we can take it on

Copy link

codecov bot commented May 12, 2024

Codecov Report

Attention: Patch coverage is 71.42857% with 24 lines in your changes missing coverage. Please review.

Project coverage is 79.79%. Comparing base (ab812d8) to head (ceb23b0).
Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
src/LaravelTranslationDumperServiceProvider.php 13.63% 19 Missing ⚠️
src/Console/FindTranslationsCommand.php 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main       #5      +/-   ##
============================================
+ Coverage     75.96%   79.79%   +3.82%     
- Complexity       39       51      +12     
============================================
  Files             4        6       +2     
  Lines           129      198      +69     
============================================
+ Hits             98      158      +60     
- Misses           31       40       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant