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

Added if/else block for correct i18n extraction #9196

Merged
merged 2 commits into from May 20, 2024

Conversation

merwhite11
Copy link
Contributor

Closes #
Addendum to:
#8981

Eliminates the need for a hard-coded-in-English variable here: #8981 (comment)

Technical

Added an if/else block ...repeats syntax, but extracts correctly in .pot

Testing

Ran docker compose run --rm -uroot home ./scripts/i18n-messages extract to ensure message extracted correctly.

Screenshot

Stakeholders

@cdrini

Copy link
Collaborator

@cdrini cdrini left a comment

Choose a reason for hiding this comment

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

Lgtm, thanks @merwhite11 ! Would you mind rebasing/regenerating the messages.pot file to fix the conflict?

@cdrini cdrini added the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label May 20, 2024
@github-actions github-actions bot removed the Needs: Submitter Input Waiting on input from the creator of the issue/pr [managed] label May 20, 2024
@merwhite11
Copy link
Contributor Author

@cdrini alright, rebased and resolved conflict by manually accepting all incoming changes from most updated pot file in master. Then I ran the extraction command so that the extraction of this new change will be added on top of the up-to-date pot file.

@cdrini cdrini merged commit f9a526f into internetarchive:master May 20, 2024
4 checks passed
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.

None yet

2 participants