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

Fixed #23788 -- Used new JavaScript support in recent gettext #3499

Closed
wants to merge 1 commit into from

Conversation

claudep
Copy link
Member

@claudep claudep commented Nov 11, 2014

JavaScript string extraction support has been added in gettext
0.18.3.

JavaScript string extraction support has been added in gettext
0.18.3.
@@ -63,19 +63,21 @@ def process(self, command, domain):
command.stdout.write('processing file %s in %s\n' % (self.file, self.dirpath))
_, file_ext = os.path.splitext(self.file)
if domain == 'djangojs' and file_ext in command.extensions:
is_templatized = True
thefile = self.file
Copy link
Member

Choose a reason for hiding this comment

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

Not the greatest variable name...

@aaugustin
Copy link
Member

I left some minor comments, otherwise this looks good!

@claudep
Copy link
Member Author

claudep commented Nov 11, 2014

About thefile/work_file, I didn't really change anything, just moving things around and mirroring the non-js extraction code. I could do some cleanup, but maybe in a separate commit?

@claudep claudep closed this Nov 11, 2014
@claudep claudep deleted the 23788 branch November 11, 2014 21:53
@aaugustin
Copy link
Member

Indeed, sorry, I missed that. If you want to do some cleanup while you're in the area, that can't hurt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants