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

Grab po files for the docs. #252

Merged

Conversation

MCGallaspy
Copy link
Contributor

What's inside:

  • Remove some import_all_child_modules vestiges.
  • Update the update_pot command to grab messages from the docs, in addition to the app.

The submodule needs to incorporate changes from this branch in order for this to work, and furthermore before you run this command you need to first grab the dependencies from sphinx-docs/requirements.txt in the submodule.

But in order to successfully run the command, one will need to `pip
install` the dependencies for the sphinx-docs/requirements.txt file.
@MCGallaspy MCGallaspy added this to the 0.14.x milestone Apr 4, 2015
os.chdir(os.path.join("ka-lite-submodule", "sphinx-docs"))
p = Popen(["make", "gettext"])
p.wait()
p = Popen(["sphinx-intl", "update", "-p", "_build/locale", "-l", "en"])
Copy link
Collaborator

Choose a reason for hiding this comment

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

The central server uses python2.7, so it's preferred to use subprocess.call in here.

@aronasorman
Copy link
Collaborator

Aside from one comment, changes look good.

@MCGallaspy
Copy link
Contributor Author

Submodule should be updated to include changes from this PR, then this can be merged.

@MCGallaspy
Copy link
Contributor Author

Merge conflicts? :(

@aronasorman
Copy link
Collaborator

Rebase!

@@ -36,7 +36,7 @@
CROWDIN_API_URL = "https://api.crowdin.com/api/project"


class Command(test_wrappings.Command):
class Command(BaseCommand):
Copy link
Collaborator

Choose a reason for hiding this comment

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

This thing has been fixed in 3 branches so far. Ha!

aronasorman added a commit that referenced this pull request Apr 8, 2015
@aronasorman aronasorman merged commit fd701c8 into fle-internal:develop Apr 8, 2015
@aronasorman aronasorman removed the has PR label Apr 8, 2015
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.

2 participants