Commit Graph

5 Commits

Author SHA1 Message Date
Rostislav Wolny
b137e3fb0c Add workaround for translations for of opt-in block in editor
We currently don't have tooling for passing translations from scripts to wp.i18n.
This solution provides a temporary way of passing translated strings to wp.i18n for scripts that are
used outside admin pages that are handled via MailPoet.
[MAILPOET-3920]
2021-11-24 13:00:10 +01:00
Rostislav Wolny
f95bd95923 Remove registering translations for front end checkout opt-in
The front end block doesn't contain any translatable strings and
so far we don't generate any translation files for scripts.
[MAILPOET-3920]
2021-11-24 13:00:10 +01:00
Rostislav Wolny
bdab97bc00 Use WPFunctions wrapper in MarketingOptinBlock
[MAILPOET-3920]
2021-11-24 13:00:10 +01:00
Rostislav Wolny
98804d981c Add strict types to newly added php files
[MAILPOET-3920]
2021-11-24 13:00:10 +01:00
Mike Jolley
72d4db26e3 Checkbox implementation and refactor naming structure
[MAILPOET-3920]
2021-11-24 13:00:10 +01:00