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 text domain to translation target #499

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

Olein-jp
Copy link
Contributor

When I was using the plugin in a Japanese environment, I found a few points that were translated but not adapted.

After checking the source code, I found that the text domain was not described in the corresponding sections, so I added them.

I also found a few other cases, so we took the same measures.

Copy link
Contributor

@matiasbenedetto matiasbenedetto left a comment

Choose a reason for hiding this comment

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

Hi! @Olein-jp, thanks for submitting this PR.
It seems like the translation domain for the string you updated is already there, and the PR is only changing whitespaces, or I'm missing something else?

Plugin Description`, 'create-block-theme' ) }
Plugin Description`,
'create-block-theme'
) }
value={ theme.recommended_plugins }
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems like the translation domain (create-block-theme) is already there.

Copy link
Contributor Author

@Olein-jp Olein-jp Dec 29, 2023

Choose a reason for hiding this comment

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

bdd7389

I added text domain here, but it gave me a JS syntax error, so I adjusted the whitespace separately.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, looks like the text domain was missing from here.

Copy link
Member

@mikachan mikachan left a comment

Choose a reason for hiding this comment

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

Thanks for this, @Olein-jp! Looks good to me, and I can't see any other missing text domains in any other __() calls.

@mikachan mikachan merged commit e0d9fc4 into WordPress:trunk Jan 3, 2024
1 check 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.

3 participants