Repository navigation
Scan for esc_xml_*() localization helpers - #221
Merged
Merged
Conversation
Member
|
Most of the functionality is covered by Behat tests, not unit tests. Those should be rather self explanatory. |
Contributor
Author
maybe self explanatory if I knew how to write behat tests :-) I'll guess I'll have to learn. |
Member
|
@pbiron You can basically just amend this part with i18n-command/features/makepot.feature Lines 344 to 398 in b2ebd76 Copy & paste :-) |
Contributor
Author
|
the behat tests have been updated and, yeah, travis was happy...so I guess I did the mods correctly :-) |
schlessera
approved these changes
Jul 8, 2020
esc_xml_*() localization helpers
Member
schlessera
added a commit
that referenced
this pull request
Jan 6, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses #220.
This the first time I've looked at the
i18n make-potcode, 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.