-
Notifications
You must be signed in to change notification settings - Fork 20
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
Grab po files for the docs. #252
Conversation
But in order to successfully run the command, one will need to `pip install` the dependencies for the sphinx-docs/requirements.txt file.
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"]) |
There was a problem hiding this comment.
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.
Aside from one comment, changes look good. |
Submodule should be updated to include changes from this PR, then this can be merged. |
Merge conflicts? :( |
Rebase! |
@@ -36,7 +36,7 @@ | |||
CROWDIN_API_URL = "https://api.crowdin.com/api/project" | |||
|
|||
|
|||
class Command(test_wrappings.Command): | |||
class Command(BaseCommand): |
There was a problem hiding this comment.
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!
Grab po files for the docs.
What's inside:
import_all_child_modules
vestiges.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.