close
Skip to content

Add text domain to translation target#499

Merged
mikachan merged 2 commits into
WordPress:trunkfrom
Olein-jp:add-text-domain
Jan 3, 2024
Merged

Add text domain to translation target#499
mikachan merged 2 commits into
WordPress:trunkfrom
Olein-jp:add-text-domain

Conversation

@Olein-jp

Copy link
Copy Markdown
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.

@matiasbenedetto matiasbenedetto left a comment

Copy link
Copy Markdown
Contributor

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'
) }
value={ theme.recommended_plugins }

Copy link
Copy Markdown
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.

@Olein-jp Olein-jp Dec 29, 2023

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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.

@mikachan mikachan left a comment

Copy link
Copy Markdown
Member

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.

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