Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1420225 - Read legacy files when scanning for Sources in transforms #30

Merged
merged 1 commit into from
Nov 29, 2017

Conversation

stasm
Copy link
Contributor

@stasm stasm commented Nov 27, 2017

https://bugzilla.mozilla.org/show_bug.cgi?id=1420225

This is a simple change which makes it unnecessary to use maybe_add_localization—at all.

@@ -139,7 +139,7 @@ def maybe_add_localization(self, path):
else:
self.localization_resources[path] = collection

def add_transforms(self, path, reference, transforms):
def add_transforms(self, target, reference, transforms):
"""Define transforms for path using reference as template.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to adjust the comment to change from path to target, too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, I considered it but thought that the current comment was still OK. Happy to change it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think an udpate would be good, as right now, for path isn't good English, if path isn't the argument.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, agreed. I updated the comment and also added two sentences about what those paths are supposed to be relative to.

@stasm stasm merged commit eb6bab1 into projectfluent:master Nov 29, 2017
@stasm stasm deleted the 1420225-auto-add-legacy branch November 29, 2017 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants