Scan for esc_xml_*()
localization helpers
#221
Merged
Conversation
Most of the functionality is covered by Behat tests, not unit tests. Those should be rather self explanatory. |
maybe self explanatory if I knew how to write behat tests :-) I'll guess I'll have to learn. |
@pbiron You can basically just amend this part with i18n-command/features/makepot.feature Lines 344 to 398 in b2ebd76 Copy & paste :-) |
the behat tests have been updated and, yeah, travis was happy...so I guess I did the mods correctly :-) |
esc_xml_*()
localization helpers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Addresses #220.
This the first time I've looked at the
i18n make-pot
code, so I'm not positive this PR does what I think it does :-)I looked at the existing unit tests and couldn't figure out how to add a test for
esc_xml__()
, etc. Pointers on how to write that test greatly appreciated.