10000 Fix i18n in JS and PHP by pedro-mendonca · Pull Request #65 · DevinWalker/wp-rollback · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix i18n in JS and PHP #65

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

Merged
merged 2 commits into from
Dec 30, 2023
Merged

Conversation

pedro-mendonca
Copy link
Contributor
@pedro-mendonca pedro-mendonca commented Dec 29, 2023

Description

Add missing gettext to JS strings to allow translation.
Add missing comments to translators for strings with variables.
Add missing textdomain.

How Has This Been Tested?

Built the package with npm run build.
Built the .pot with the new strings.
Translated all the new strings to Portuguese.
Built the json files for the JS translation.
The strings now appear translated as desired.

Screenshots (jpeg or gifs if applicable):

imagem
imagem

Types of changes

New strings for translation from JS code.

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

@DevinWalker DevinWalker merged commit b41599d into DevinWalker:develop Dec 30, 2023
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.

2 participants
0