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):
Types of changes
New strings for translation from JS code.
Checklist:
[x] My code is tested.
[x] My code follows the WordPress code style.
[x] My code follows has proper inline documentation.
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):
Types of changes
New strings for translation from JS code.
Checklist: