-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
https://developer.wordpress.org/plugins/internationalization/how-to-internationalize-your-plugin/ says regarding declaring a text domain:
After WordPress 4.6 came out, the Text Domain header is no longer required if it’s the same as the plugin slug. It’s now the default value.
However, this plugin does not declare a text domain, and uses multiple text domains.
In the start and end of this quoted section, we use 'pym_shortcode'
Elsewhere in the plugin, we use 'pym-embeds':
Neither of those matches the .org plugin slug of pym-shortcode, which is what is most likely that this plugin has been installed under
- pick a text domain
- update all text-domain strings to that domain
- declare the text domain explicitly
- add note in PR template about new translatable strings matching the project one