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

fix: resolve unsupported use of trans_choice (resolves #2022) #2023

Merged

Conversation

greatislander
Copy link
Collaborator

@greatislander greatislander commented Nov 29, 2023

This PR fixes some circumstances where trans_choice was used in a way that prevented Localizator from picking up the strings.

Prerequisites

If this PR changes PHP code or dependencies:

  • I've run composer format and fixed any code formatting issues.
  • I've run composer analyze and addressed any static analysis issues.
  • I've run php artisan test and ensured that all tests pass.
  • I've run composer localize to update localization source files and committed any changes.

BEGIN_COMMIT_OVERRIDE
fix: resolve unsupported use of trans_choice (resolves #2022) #2023
END_COMMIT_OVERRIDE

@greatislander greatislander added the bug Something isn't working label Nov 29, 2023
@greatislander greatislander self-assigned this Nov 29, 2023
@greatislander greatislander enabled auto-merge (squash) November 29, 2023 16:12
Copy link
Collaborator

@jobara jobara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@greatislander I guess it was the format of the trans_choice that was the problem, as I see it's working for the other uses.

@greatislander greatislander merged commit e4ffdc3 into accessibility-exchange:dev Nov 29, 2023
7 checks passed
@michelled michelled added this to the 1.2.4 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Localizator doesn't fetch strings in trans_choice function
3 participants